/* ── Base ── */
html, body {
  margin: 0; padding: 0; background-color: #F5F5F2;
  background-image: radial-gradient(circle, rgba(14,17,16,0.07) 1px, transparent 1px);
  background-size: 26px 26px;
}
*, *::before, *::after { box-sizing: border-box; }

/* ── Nav ── */
.nav-links {
  display: flex; align-items: center; gap: 22px; margin-left: auto; margin-right: 18px;
  font-size: 16px; font-weight: 500;
}
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px;
  margin-left: 18px; font-size: 20px; font-weight: 700;
  font-variant-numeric: tabular-nums; transition: color 0.18s ease; flex-shrink: 0;
}
.nav-phone:hover { color: rgba(255,255,255,0.9) !important; }
.nav-cta { transition: filter 0.18s ease, transform 0.18s ease; }
.nav-cta:hover { filter: brightness(1.1); transform: scale(0.96); }
.nav-links a { transition: color 0.18s ease; white-space: nowrap; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -10px;
  height: 2px; background: #74D436; border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover { color: #fff !important; }
.nav-links a:hover::after { transform: scaleX(1); }
.footer-facebook { transition: color 0.18s ease, transform 0.18s ease; }
.footer-facebook:hover { color: #1877f2 !important; transform: translateY(-2px); }
.footer-cta-btn { transition: filter 0.2s ease, transform 0.2s ease; }
.footer-cta-btn:hover { filter: brightness(1.1); transform: translateY(-3px); }
.footer-col-link { transition: color 0.18s ease, transform 0.18s ease; }
.footer-col-link:hover { color: #fff !important; transform: translateX(3px); }
.footer-legal a { transition: color 0.18s ease; }
.footer-legal a:hover { color: rgba(255,255,255,0.9) !important; }
.footer-nebtech-link { transition: color 0.18s ease; }
.footer-nebtech-link:hover { color: #74D436 !important; }
.nav-dropdown-panel a::after,
.nav-dropdown-panel a:hover::after { content: none !important; }
.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px; margin-left: 8px; flex-shrink: 0;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: #fff;
  border-radius: 2px; transition: transform .2s, opacity .2s;
}
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(14,17,16,0.97); font-family: "Onest", system-ui, sans-serif;
  flex-direction: column; align-items: center; justify-content: center; gap: 28px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { text-decoration: none; font-size: 32px; font-weight: 600; }

/* ── PageHero ── */
.page-hero { padding: 70px 40px 50px; max-width: 1280px; margin: 0 auto; }
.page-hero-title {
  font-size: 110px; font-weight: 600; letter-spacing: -4px;
  line-height: 0.92; margin: 0; max-width: 1100px;
}

/* ── CTA banner (about + services bottom sections) ── */
.cta-banner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; padding: 70px 60px; border-radius: 24px; margin: 0 40px 60px;
}
.cta-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ── Footer ── */
.site-footer { padding: 70px 40px 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; align-items: start; }
.footer-tagline { font-size: 56px; font-weight: 500; letter-spacing: -2px; line-height: 0.95; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 15px;
}
.footer-legal { display: flex; gap: 24px; }

/* ── About page ── */
.story-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: flex-start; }
.story-h2 { font-size: 56px; font-weight: 500; letter-spacing: -2px; line-height: 1; margin: 0; }
.member-grid { display: grid; gap: 80px; align-items: center; }
.member-name { font-size: 84px; font-weight: 600; letter-spacing: -3px; line-height: 0.92; margin: 0; }

/* ── Services page ── */
.service-row {
  display: grid; grid-template-columns: 120px 1fr 1.2fr 200px;
  gap: 32px; align-items: flex-start;
}
.service-title { font-size: 38px; font-weight: 500; letter-spacing: -1.4px; line-height: 1.05; margin: 0 0 14px; }
.service-num-big { font-size: 32px; font-weight: 500; letter-spacing: -1px; margin-bottom: 6px; }

/* ── Membership page ── */
.tiers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.tier-price { font-size: 84px; font-weight: 600; letter-spacing: -3px; line-height: 1; margin-top: 14px; }
.hiw-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: flex-start; }
.hiw-h2 { font-size: 56px; font-weight: 500; letter-spacing: -2px; line-height: 1; margin: 0; }

/* ── News page ── */
.featured-article { display: grid; grid-template-columns: 1.3fr 1fr; border-radius: 24px; overflow: hidden; text-decoration: none; }
.featured-image { position: relative; min-height: 460px; }
.featured-content { padding: 50px; display: flex; flex-direction: column; justify-content: space-between; }
.featured-h2 { font-size: 64px; font-weight: 500; letter-spacing: -2.5px; line-height: 0.95; margin: 24px 0 22px; }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* ── Quote page ── */
.quote-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: flex-start; }
.quote-h1 { font-size: 80px; font-weight: 600; letter-spacing: -3px; line-height: 0.95; margin: 0 0 28px; }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

/* ════════════════════════════════════════
   MEDIUM  ≤ 1280px  (nav compression)
════════════════════════════════════════ */
@media (max-width: 1280px) {
  .nav-phone { display: none; }
  .nav-links { gap: 14px; font-size: 14px; }
}

/* ════════════════════════════════════════
   TABLET  ≤ 1024px
════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* Nav collapses to hamburger on iPad and below */
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  /* Content sizing */
  .page-hero { padding: 52px 32px 40px; }
  .page-hero-title { font-size: 80px; letter-spacing: -3px; }
  .footer-tagline { font-size: 42px; letter-spacing: -1.5px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-logo-col { display: none; }
  .cta-banner { padding: 50px 44px; }
  .story-h2 { font-size: 44px; letter-spacing: -1.5px; }
  .member-name { font-size: 64px; letter-spacing: -2.5px; }
  .featured-h2 { font-size: 48px; letter-spacing: -2px; }
  .quote-h1 { font-size: 60px; letter-spacing: -2.5px; }
  .hiw-h2 { font-size: 44px; letter-spacing: -1.5px; }
}

/* ════════════════════════════════════════
   MOBILE  ≤ 768px
════════════════════════════════════════ */
@media (max-width: 768px) {

  /* PageHero */
  .page-hero { padding: 32px 20px 28px; }
  .page-hero-title { font-size: 46px; letter-spacing: -2px; }

  /* CTA banner */
  .cta-banner { flex-direction: column; align-items: flex-start; padding: 36px 28px; margin: 0 12px 40px; border-radius: 18px; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions a { text-align: center; }

  /* Footer */
  .site-footer { padding: 48px 20px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 32px; }
  .footer-tagline { font-size: 34px; letter-spacing: -1.2px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; gap: 12px; }

  /* About */
  .story-grid { grid-template-columns: 1fr; gap: 28px; }
  .story-h2 { font-size: 34px; letter-spacing: -1.2px; }
  .member-grid { grid-template-columns: 1fr !important; gap: 28px; }
  .member-photo { order: -1 !important; }
  .member-name { font-size: 52px; letter-spacing: -2px; }

  /* Services */
  .service-row { grid-template-columns: 1fr; gap: 16px; }
  .service-title { font-size: 26px; letter-spacing: -0.8px; }
  .service-num-big { font-size: 24px; }

  /* Membership */
  .tiers-grid { grid-template-columns: 1fr; }
  .tier-price { font-size: 56px; letter-spacing: -2px; }
  .hiw-grid { grid-template-columns: 1fr; gap: 32px; }
  .hiw-h2 { font-size: 34px; letter-spacing: -1.2px; }

  /* News */
  .featured-article { grid-template-columns: 1fr; }
  .featured-image { min-height: 240px; }
  .featured-content { padding: 30px 28px; }
  .featured-h2 { font-size: 32px; letter-spacing: -1.2px; margin: 16px 0 14px; }
  .articles-grid { grid-template-columns: 1fr; }

  /* Quote */
  .quote-layout { grid-template-columns: 1fr; gap: 32px; }
  .quote-h1 { font-size: 44px; letter-spacing: -1.8px; }
  .quote-form { grid-template-columns: 1fr; }

}

/* ════════════════════════════════════════
   SMALL MOBILE  ≤ 480px
════════════════════════════════════════ */
@media (max-width: 480px) {
  .page-hero-title { font-size: 36px; letter-spacing: -1.5px; }
  .footer-grid { grid-template-columns: 1fr; }
  .member-name { font-size: 40px; letter-spacing: -1.5px; }
}
