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

:root {
  --nest-dark: #0d3d3a;
  --nest-mid: #1a5c56;
  --nest-bg: #f6f6f1;
  --nest-light: #eef3ed;
  --nest-gold: #c9913a;
  --nest-text: #294a46;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Open Sans", Arial, sans-serif;
  background: #fbfcf8;
  color: var(--nest-dark);
}

a {
  text-decoration: none;
}

.site-nav {
  height: 78px;
  background: linear-gradient(135deg, #00323a 0%, #002b33 100%);
  display: flex;
  align-items: center;
  padding: 0 64px 0 40px;
  position: relative;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.brand-wrap {
  display: flex;
  align-items: center;
  color: #fff;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: 190px;
  height: auto;
  flex-shrink: 0;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0 0 0 72px;
  padding: 0;
}

.nav-links a {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 30px 0 24px;
  display: inline-flex;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--nest-gold);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 15px;
  height: 3px;
  border-radius: 99px;
  background: var(--nest-gold);
}

.partner-nav-btn {
  margin-left: 24px;
  background: var(--nest-gold);
  color: #082f2d;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 5px;
  font-size: 0.82rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  line-height: 1;
  box-shadow: 0 12px 24px rgba(201, 145, 58, 0.22);
  transition: transform 0.2s ease, background 0.2s ease;
}

.partner-nav-btn:hover {
  color: #082f2d;
  background: #d9a344;
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: transparent;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-toggle span,
.mobile-toggle span::before,
.mobile-toggle span::after {
  width: 18px;
  height: 2px;
  background: #fff;
  display: block;
  border-radius: 99px;
  position: relative;
  content: "";
}

.mobile-toggle span::before,
.mobile-toggle span::after {
  position: absolute;
  left: 0;
}

.mobile-toggle span::before {
  top: -6px;
}

.mobile-toggle span::after {
  top: 6px;
}

.mobile-menu {
  display: none;
  background: #00323a;
  padding: 18px 24px 24px;
  position: relative;
  z-index: 90;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  color: #fff;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 700;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--nest-gold);
}

.mobile-menu .partner-nav-btn {
  display: inline-flex;
  margin: 18px 0 0;
  border-bottom: none;
  color: #082f2d;
  padding: 14px 22px;
}

.page-shell {
  background: #fbfcf8;
}

.container {
  width: 88%;
  max-width: 1180px;
  margin: 0 auto;
}

.hero {
  background: linear-gradient(135deg, #f8fbf7 0%, #edf4ec 100%);
  border-bottom: 1px solid rgba(13, 61, 58, 0.09);
  padding: 70px 0 62px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 54px;
  align-items: center;
}

.kicker {
  color: #9a6720;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

h1 {
  font-size: 3.7rem;
  line-height: 1.06;
  font-weight: 900;
  margin-bottom: 20px;
  max-width: 760px;
}

.partners-hero-title {
  color: var(--nest-dark);
  font-family: "Sora", "Open Sans", Arial, sans-serif;
  font-size: clamp(4.2rem, 4.9vw, 5.4rem);
  font-weight: 900;
  line-height: 0.98;
  margin-bottom: 26px;
  max-width: 900px;
  text-wrap: balance;
}

.partners-hero-title span {
  display: block;
  color: var(--nest-gold);
}

.hero p,
.lead {
  color: var(--nest-text);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 760px;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border-radius: 6px;
  padding: 12px 20px;
  font-size: 0.85rem;
  font-weight: 900;
}

.btn.primary {
  background: var(--nest-dark);
  color: #fff;
}

.cta-band .btn.primary {
  background: var(--nest-gold);
  color: #082f2d;
}

.btn.secondary {
  border: 1px solid rgba(13, 61, 58, 0.22);
  color: var(--nest-dark);
  background: rgba(255, 255, 255, 0.5);
}

.hero-image {
  overflow: hidden;
  border-radius: 8px;
  min-height: 330px;
  border: 1px solid rgba(13, 61, 58, 0.12);
  box-shadow: 0 18px 36px rgba(13, 61, 58, 0.1);
}

.hero-image img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  display: block;
}

.section {
  padding: 54px 0;
}

.section.compact {
  padding: 38px 0;
}

.section.alt {
  background: #f2f6ef;
  border-top: 1px solid rgba(13, 61, 58, 0.07);
  border-bottom: 1px solid rgba(13, 61, 58, 0.07);
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 900;
  margin-bottom: 10px;
}

.section-head p {
  color: var(--nest-text);
  line-height: 1.7;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.grid.four {
  grid-template-columns: repeat(4, 1fr);
}

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

.card {
  background: #fff;
  border: 1px solid rgba(13, 61, 58, 0.12);
  border-radius: 8px;
  padding: 26px 24px;
  min-height: 190px;
  box-shadow: 0 12px 28px rgba(13, 61, 58, 0.05);
}

.partner-logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.partner-logo-card {
  min-height: 150px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(13, 61, 58, 0.1);
  border-radius: 8px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 32px rgba(13, 61, 58, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.partner-logo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 61, 58, 0.22);
  box-shadow: 0 22px 44px rgba(13, 61, 58, 0.11);
}

.partner-logo-card img {
  display: block;
  width: 100%;
  max-width: 118px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.card h3 {
  font-size: 1.1rem;
  line-height: 1.35;
  font-weight: 900;
  margin-bottom: 10px;
}

.card p,
.card li {
  color: var(--nest-text);
  font-size: 0.9rem;
  line-height: 1.65;
}

.card ul,
.roadmap-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.card li,
.roadmap-list li {
  padding-left: 20px;
  position: relative;
}

.card li::before,
.roadmap-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--nest-gold);
}

.metric {
  background: #fff;
  border: 1px solid rgba(13, 61, 58, 0.12);
  border-radius: 8px;
  padding: 24px;
}

.metric strong {
  display: block;
  color: var(--nest-dark);
  font-size: 2rem;
  line-height: 1;
  font-weight: 900;
  margin-bottom: 10px;
}

.metric span {
  color: var(--nest-text);
  font-size: 0.86rem;
  line-height: 1.5;
}

.cta-band {
  background: linear-gradient(135deg, #004f49 0%, #003c39 60%, #002d2b 100%);
  color: #fff;
  border-radius: 8px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.cta-band h2 {
  font-size: 1.9rem;
  line-height: 1.25;
  font-weight: 900;
  margin-bottom: 8px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  margin: 0;
}

.upload-panel {
  background: #fff;
  border: 1px dashed rgba(13, 61, 58, 0.32);
  border-radius: 8px;
  padding: 28px;
}

.upload-panel label {
  display: block;
  color: var(--nest-dark);
  font-weight: 900;
  margin-bottom: 12px;
}

.upload-panel input {
  width: 100%;
  border: 1px solid rgba(13, 61, 58, 0.18);
  border-radius: 6px;
  padding: 12px;
  background: #f9fbf8;
}

.site-footer {
  position: relative;
  background: linear-gradient(135deg, #00323a 0%, #002b33 100%);
  color: #fff;
  overflow: hidden;
  padding: 42px 64px 26px;
}

.footer-inner {
  width: 86%;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 26% 18% 20% 30%;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 22px;
}

.footer-logo {
  display: block;
  width: 190px;
  height: auto;
  flex-shrink: 0;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  line-height: 1.65;
  max-width: 290px;
}

.footer-column h3,
.footer-contact h3 {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-column ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li,
.footer-contact li {
  margin-bottom: 8px;
}

.footer-column a,
.footer-contact li {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  line-height: 1.45;
}

.footer-column a:hover,
.footer-bottom-links a:hover {
  color: var(--nest-gold);
}

.footer-contact li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  align-items: start;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
}

.footer-bottom {
  width: 86%;
  max-width: 1280px;
  margin: 30px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  position: relative;
  z-index: 2;
}

.footer-bottom-links {
  display: flex;
  gap: 22px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1100px) {
  .site-nav {
    padding: 0 28px;
  }

  .nav-links,
  .site-nav > .partner-nav-btn {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

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

  .hero-image {
    max-width: 620px;
  }

  .grid.four,
  .grid.three {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-logo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .site-nav {
    padding: 0 20px;
  }

  .brand-logo {
    width: 160px;
  }

  .container {
    width: 90%;
  }

  .hero {
    padding: 48px 0 44px;
  }

  h1 {
    font-size: 2.35rem;
  }

  .partners-hero-title {
    font-size: clamp(2.8rem, 12vw, 4rem);
    line-height: 1.02;
  }

  .section {
    padding: 42px 0;
  }

  .grid.four,
  .grid.three,
  .grid.two,
  .partner-logo-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }

  .site-footer {
    padding: 38px 24px 26px;
  }

  .footer-inner,
  .footer-bottom {
    width: 90%;
  }

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

  .footer-bottom {
    flex-direction: column;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: 8px;
  }
}
