:root {
  --color-lime: #accf3e;
  --color-lime-dark: #9bbd32;
  --color-text: #111;
  --color-muted: #5f6368;
  --color-bg-soft: #f7f8f4;
  --header-height: 84px;
  --ease-soft: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

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

html {
  scroll-behavior: smooth;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: clip;
}

body {
  font-family: "Roboto", sans-serif;
  color: var(--color-text);
  background: #fff;
  line-height: 1.6;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}
main {
  margin: 0;
  padding: 0;
}

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

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

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 110px 0;
}

.eyebrow {
  color: var(--color-lime);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

.about-copy .eyebrow,
.standards-box .eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  color: #7a9d1e;
}

.about-copy .eyebrow::after,
.standards-box .eyebrow::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  border-radius: 999px;
  background: rgba(172, 207, 62, 0.88);
}

.history-section .eyebrow.center,
.priorities-slider-section .eyebrow.center {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 16px;
  color: #7a9d1e;
}

.history-section .eyebrow.center::before,
.history-section .eyebrow.center::after,
.priorities-slider-section .eyebrow.center::before,
.priorities-slider-section .eyebrow.center::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  border-radius: 999px;
  background: rgba(172, 207, 62, 0.86);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 300;
  line-height: 1.1;
}

.center {
  text-align: center;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 3000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.35s ease, height 0.4s var(--ease-soft);
}

.site-header.is-scrolled {
  height: var(--header-height);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

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

.logo {
  height: 100%;
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
}

.logo-img {
  width: clamp(128px, 12vw, 172px);
  transition: width 0.4s var(--ease-soft);
}

.site-header.is-scrolled .logo-img {
  width: clamp(116px, 10vw, 148px);
}

/* Osobny styl logo tylko dla podstrony O nas */
.logo-img-subpage {
  width: auto;
  height: 54px;
  max-width: none;
  max-height: calc(var(--header-height) - 16px);
  object-fit: contain;
}

.site-header.is-scrolled .logo-img-subpage {
  width: auto;
  height: 54px;
  max-width: none;
}

.main-nav > .nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-item {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #1d1d1d;
  padding: 10px 0;
  transition: color 0.3s;
}

.nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 0;
  height: 2px;
  background: var(--color-lime);
  transition: width 0.3s ease;
}

.nav-item:hover::after,
.nav-item.is-active::after {
  width: 100%;
}
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  padding: 10px 0;
  font-family: "Roboto", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  background: transparent;
  margin: 0;
  line-height: 1.2;
  cursor: pointer;
}
.nav-dropdown-toggle .dropdown-icon {
  font-size: 0.74rem;
  transition: transform 0.26s ease;
}
.has-dropdown {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: -14px;
}
.has-dropdown:hover > .nav-dropdown,
.has-dropdown:focus-within > .nav-dropdown,
.has-dropdown.is-open > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}
.has-dropdown:hover > .nav-dropdown-toggle .dropdown-icon,
.has-dropdown:focus-within > .nav-dropdown-toggle .dropdown-icon,
.has-dropdown.is-open > .nav-dropdown-toggle .dropdown-icon {
  transform: rotate(180deg);
}
.has-dropdown.is-active > .nav-dropdown-toggle::after {
  width: 100%;
}
.nav-dropdown {
  display: block;
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  min-width: 240px;
  list-style: none;
  border-radius: 14px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
  z-index: 2100;
}
.nav-dropdown li + li {
  margin-top: 6px;
  padding-top: 0;
  border-top: none;
}
.nav-dropdown li {
  border-radius: 10px;
  transition: background 0.22s ease;
}
.nav-dropdown li:hover,
.nav-dropdown li:focus-within {
  background: rgba(172, 207, 62, 0.14);
}
.nav-dropdown .nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  color: #111;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  font-weight: 600;
  padding: 10px 12px;
  text-align: left;
}
.nav-dropdown .nav-sub-item::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--color-lime);
  border-bottom: 2px solid var(--color-lime);
  transform: translateY(-1px) rotate(-45deg);
  transition: transform 0.22s ease;
  flex: 0 0 7px;
}
.nav-dropdown li:hover .nav-sub-item::before,
.nav-dropdown li:focus-within .nav-sub-item::before {
  transform: translateX(2px) rotate(-45deg);
}
.nav-dropdown .nav-item::after {
  display: none;
}

.burger {
  display: none;
  width: 38px;
  height: 28px;
  background: transparent;
  border: none;
  position: relative;
}

.burger .bar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30px;
  height: 2px;
  margin-left: -15px;
  margin-top: -1px;
  background: #111;
  border-radius: 999px;
  transition: transform 0.3s var(--ease-soft), opacity 0.2s ease;
}

.burger .bar:nth-child(1) {
  transform: translateY(-8px);
}

.burger .bar:nth-child(3) {
  transform: translateY(8px);
}

.burger.toggle .bar:nth-child(1) {
  transform: rotate(45deg);
}

.burger.toggle .bar:nth-child(2) {
  opacity: 0;
}

.burger.toggle .bar:nth-child(3) {
  transform: rotate(-45deg);
}

/* SUBHEADER */
.subhero {
  position: relative;
  min-height: clamp(380px, 52vh, 470px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.subhero-bg {
  position: absolute;
  inset: 0;
  background: url("../img/hero-onas.webp") center 44% / cover no-repeat;
  transform: scale(1.04);
}

.subhero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.subhero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14%;
  z-index: 1;
  color: #fff;
  padding: 0;
}

.subhero-ribbon {
  display: inline-flex;
  align-items: center;
  min-width: min(640px, 88vw);
  min-height: 84px;
  padding: 0 34px;
  font-size: clamp(1.5rem, 4vw, 3.1rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, rgba(172, 207, 62, 0.88) 0%, rgba(172, 207, 62, 0.72) 58%, rgba(172, 207, 62, 0) 100%);
}

.subhero h1 {
  font-size: clamp(2.1rem, 5.7vw, 5rem);
  line-height: 1;
  text-transform: uppercase;
  margin: 12px 0 14px;
}

.subhero-lead {
  max-width: 760px;
  font-size: clamp(1rem, 2.3vw, 1.35rem);
  color: rgba(255, 255, 255, 0.95);
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.about-copy h2 {
  margin: 14px 0 22px;
  font-size: clamp(1.8rem, 3.4vw, 3.1rem);
  line-height: 1.14;
  font-weight: 400;
}

.about-copy p {
  color: var(--color-muted);
  margin-bottom: 14px;
  font-size: 1.02rem;
}

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.fact-card {
  background: #fff;
  border: 1px solid #e9ecef;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 24px 20px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fact-card-wide {
  grid-column: 1 / -1;
  min-height: 134px;
}

.fact-value {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  font-weight: 800;
  color: var(--color-lime);
  line-height: 1;
  margin-bottom: 8px;
}

.fact-prefix {
  font-size: 0.9rem;
  color: #6f752f;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  margin-right: 8px;
}

.counter {
  font-variant-numeric: tabular-nums;
}

.fact-label {
  font-size: 0.95rem;
  color: #50555a;
}

.history-section {
  background: #fafafa;
}

.history-layout {
  margin-top: 44px;
  display: grid;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: 1fr 0.85fr;
  gap: 34px;
  align-items: start;
}

.history-milestones {
  position: relative;
  width: 100%;
  max-width: 680px;
  justify-self: start;
  padding-left: 56px;
}

.history-milestones::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(to bottom, rgba(172, 207, 62, 0.18), var(--color-lime), rgba(172, 207, 62, 0.2));
}

.milestone-item {
  position: relative;
  margin-bottom: 16px;
}

.milestone-item:last-child {
  margin-bottom: 0;
}

.milestone-trigger {
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  padding: 2px 0 2px 0;
  cursor: pointer;
}

.milestone-item::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 12px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-lime);
  border: 3px solid #fff;
  box-shadow: 0 0 0 7px rgba(172, 207, 62, 0.2);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  animation: milestone-halo-pulse 2.3s ease-in-out infinite;
}

.milestone-item::after {
  content: "";
  position: absolute;
  left: -42px;
  top: 5px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(172, 207, 62, 0.45);
  opacity: 0;
  pointer-events: none;
  animation: milestone-pulse 2.3s ease-out infinite;
}

.milestone-item:nth-child(2)::before,
.milestone-item:nth-child(2)::after {
  animation-delay: 0.45s;
}

.milestone-item:nth-child(3)::before,
.milestone-item:nth-child(3)::after {
  animation-delay: 0.9s;
}

.milestone-item:hover::before,
.milestone-item:focus-within::before,
.milestone-item.is-open::before {
  transform: scale(1.08);
  box-shadow: 0 0 0 10px rgba(172, 207, 62, 0.26);
}

.milestone-year {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #76991f;
  line-height: 1.05;
}

.milestone-place {
  display: block;
  margin-top: 3px;
  font-size: 1.03rem;
  font-weight: 500;
  color: #3f4448;
}

.milestone-expand {
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-6px);
  transition: max-height 0.45s var(--ease-soft), opacity 0.35s ease, transform 0.35s ease, margin-top 0.35s ease;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e3e8d8;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.08);
}

.milestone-expand figure {
  height: 280px;
  overflow: hidden;
}

.milestone-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.milestone-expand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.04);
}

.milestone-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.28s linear;
}

.milestone-slide.is-active {
  opacity: 1;
}

.milestone-expand p {
  padding: 12px 14px 14px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #50565b;
}

.milestone-item:hover .milestone-expand,
.milestone-item:focus-within .milestone-expand,
.milestone-item.is-open .milestone-expand {
  margin-top: 10px;
  max-height: 960px;
  opacity: 1;
  transform: translateY(0);
}

@keyframes milestone-halo-pulse {
  0% {
    box-shadow: 0 0 0 7px rgba(172, 207, 62, 0.24);
  }
  55% {
    box-shadow: 0 0 0 14px rgba(172, 207, 62, 0.1);
  }
  100% {
    box-shadow: 0 0 0 7px rgba(172, 207, 62, 0.24);
  }
}

@keyframes milestone-pulse {
  0% {
    transform: scale(0.84);
    opacity: 0.56;
  }
  72% {
    transform: scale(2.2);
    opacity: 0;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.history-story {
  background: #fff;
  border: 1px solid #e5e9dc;
  border-radius: 16px;
  padding: clamp(26px, 3.4vw, 38px);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
}

.history-story h3 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  margin-bottom: 10px;
  color: #17220e;
  font-weight: 500;
}

.history-story p {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: #54595f;
  line-height: 1.78;
}

/* PRIORITIES GRID */
.priorities-slider-section {
  background: #fff;
}

.priority-grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.priority-card {
  position: relative;
  min-height: 420px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.priority-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 0.45s var(--ease-soft);
}

.priority-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.2) 18%, rgba(14, 14, 14, 0.72) 100%);
}

.priority-card-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  color: #fff;
  padding: 16px;
}

.priority-card h3 {
  font-size: clamp(1.1rem, 1.7vw, 1.38rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.26s ease, transform 0.26s ease;
}

.priority-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.52;
  position: absolute;
  left: 16px;
  right: 16px;
  top: 16px;
  bottom: 16px;
  opacity: 0;
  overflow-y: auto;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  scrollbar-width: thin;
}

.priority-card:hover img,
.priority-card.is-open img {
  transform: scale(1.14);
}

.priority-card:hover .priority-card-content,
.priority-card:focus-within .priority-card-content,
.priority-card.is-open .priority-card-content {
  transform: none;
}

.priority-card:hover h3,
.priority-card:focus-within h3,
.priority-card.is-open h3 {
  opacity: 0;
  transform: translateY(8px);
}

.priority-card:hover p,
.priority-card:focus-within p,
.priority-card.is-open p {
  opacity: 0.95;
  transform: translateY(0);
}

/* STANDARDS */
.standards-section {
  position: relative;
  overflow: hidden;
  padding-top: 130px;
  padding-bottom: 130px;
}

.standards-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(17, 17, 17, 0.44), rgba(17, 17, 17, 0.48)), url("../img/zaklad.webp")
    center / cover no-repeat;
  transform: scale(1.03);
}

.standards-box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 16px;
  padding: clamp(28px, 4.2vw, 52px);
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.18);
}

.standards-box h2 {
  margin: 12px 0 18px;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.13;
}

.standards-box p {
  color: #4f5459;
  margin-bottom: 12px;
}

.standards-top {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(20px, 3vw, 34px);
  align-items: stretch;
}

.standards-intro p {
  font-size: 1.02rem;
  line-height: 1.82;
}

.standards-photo {
  border-radius: 14px;
  overflow: hidden;
  min-height: 250px;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.14);
  position: relative;
}

.standards-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.standards-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.standards-body {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.standards-body p {
  font-size: 1.01rem;
  line-height: 1.86;
  margin-bottom: 12px;
}

/* CTA */
.cta-strip {
  padding: 70px 0;
  background: #fff;
}

.cta-wrap {
  border-radius: 16px;
  background: var(--color-lime);
  color: #fff;
  padding: 34px 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cta-wrap h3 {
  font-size: clamp(1.35rem, 2.7vw, 2.1rem);
  font-weight: 400;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #111;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 999px;
  padding: 14px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.15);
}

/* FOOTER */
.site-footer {
  background: var(--color-lime);
  color: #fff;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  margin-bottom: 34px;
}

.footer-logo img {
  height: 74px;
  filter: brightness(0) invert(1);
  margin-bottom: 18px;
}

.footer-left address {
  font-style: normal;
  margin-bottom: 14px;
  opacity: 0.92;
}

.hours-label {
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-right {
  text-align: right;
}

.footer-right h4 {
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  opacity: 0.9;
  transition: opacity 0.25s ease;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.36);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.9rem;
}

/* REVEAL HELPERS */
.reveal-up,
.reveal-left,
.reveal-right {
  will-change: transform, opacity;
}

/* RESPONSIVE */
@media (max-width: 1080px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .history-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .history-milestones {
    max-width: 100%;
    justify-self: center;
  }

  .priority-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  html,
  body {
    overflow-x: hidden;
    overflow-x: clip;
  }
  .burger {
    display: flex;
    z-index: 2200;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(82vw, 360px);
    background: #fff;
    box-shadow: -20px 0 35px rgba(0, 0, 0, 0.14);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease-soft);
    padding-top: 126px;
    visibility: hidden;
    pointer-events: none;
  }

  .main-nav.nav-active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .main-nav > .nav-links {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 10px;
    padding: 0 34px;
  }
  .main-nav > .nav-links > li {
    width: auto;
    padding: 6px 0;
    border-bottom: none;
  }
  .main-nav .nav-item {
    display: block;
    width: auto;
    color: #111;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    padding: 8px 0;
    text-align: center;
  }
  .main-nav .nav-item::after {
    display: none;
  }
  .main-nav .has-dropdown {
    width: 100%;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .main-nav .has-dropdown > .nav-dropdown-toggle {
    width: 100%;
    justify-content: center;
  }
  .main-nav .nav-dropdown {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    min-width: 0;
    width: 100%;
    margin-top: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.34s var(--ease-soft), margin-top 0.34s var(--ease-soft);
  }
  .main-nav .has-dropdown.is-open > .nav-dropdown {
    max-height: 340px;
    margin-top: 6px;
  }
  .main-nav .nav-dropdown .nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    text-align: left;
    justify-content: flex-start;
    font-size: 1.02rem;
    font-weight: 600;
    color: #111 !important;
  }
  .main-nav .nav-dropdown .nav-sub-item::before {
    border-right-color: var(--color-lime);
    border-bottom-color: var(--color-lime);
  }
}

@media (max-width: 860px) {
  .history-milestones {
    padding-left: 42px;
  }

  .history-milestones::before {
    left: 20px;
  }

  .milestone-item::before {
    left: -28px;
  }

  .priority-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 84px 0;
  }

  .about-facts {
    grid-template-columns: 1fr;
  }

  .cta-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-right {
    text-align: left;
  }

  .footer-bottom {
    font-size: 0.8rem;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 18px;
  }

  .main-nav {
    width: 88vw;
    padding-top: 116px;
  }

  .main-nav > .nav-links {
    padding: 0 24px;
  }

  .main-nav .nav-item {
    font-size: 1.06rem;
  }

  .subhero {
    min-height: 370px;
  }

  .subhero-content {
    bottom: 10%;
    padding: 0;
  }

  .subhero-ribbon {
    min-height: 64px;
    min-width: min(96vw, 520px);
    padding: 0 18px;
    font-size: clamp(1.1rem, 7.5vw, 1.7rem);
    font-weight: 500;
  }

  .priority-visual-card {
    min-height: 220px;
  }

  .standards-top {
    grid-template-columns: 1fr;
  }

  .standards-photo {
    min-height: 220px;
  }

  .logo-img-subpage {
    height: 46px;
    width: auto;
  }

  .site-header.is-scrolled .logo-img-subpage {
    height: 46px;
    width: auto;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
