/*
  =============================================================
  global.css — SOURCE FILE (NOT LOADED BY ANY HTML PAGE)
  =============================================================
  NOTE FOR DEVELOPERS:
    This file has been merged into core.css for performance.
    No HTML page loads this file directly anymore.
    To edit nav, footer, or buttons, open css/core.css and
    find SECTIONS 6–9. This file is kept as a reference only.
  =============================================================
  global.css — Navigation, Footer & Shared Utilities
  =============================================================
  Shared nav and footer styles used on every page.
  Load order: fonts.css → style.css → global.css → page.css
  =============================================================
*/


/* =============================================================
   SHARED UTILITIES
   ============================================================= */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section-headline {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-headline--centered {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 16px;
}


/* =============================================================
   BUTTONS
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  border: 1.5px solid transparent;
  white-space: nowrap;
}

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

.btn--primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}

.btn--ghost {
  background: transparent;
  color: var(--color-black);
  border-color: var(--color-black);
}

.btn--ghost:hover {
  background: var(--color-surface);
}

.btn--outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn--outline-white:hover {
  background: rgba(255,255,255,0.08);
}

.btn--lg {
  padding: 14px 28px;
  font-size: 16px;
}


/* =============================================================
   NAVIGATION
   ============================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav__logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-black);
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-body-text);
  text-decoration: none;
  transition: color 0.2s;
}

.nav__link:hover {
  color: var(--color-black);
}

.nav__cta {
  margin-left: 8px;
  font-size: 14px;
  padding: 10px 20px;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-black);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* =============================================================
   FOOTER
   ============================================================= */
.footer {
  background: var(--color-black);
  border-top: 1px solid #1f1f1f;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding-block: 64px;
}

.footer__brand {
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
  text-decoration: none;
  margin-bottom: 10px;
}

.footer__tagline {
  font-size: 14px;
  color: var(--color-body-text);
  margin-bottom: 6px;
}

.footer__sub {
  font-size: 13px;
  color: var(--color-body-text);
}

.footer__heading {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-body-text);
  margin-bottom: 16px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav a {
  font-size: 14px;
  color: #9a9183;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__nav a:hover {
  color: var(--color-white);
}

.footer__contact-link {
  display: block;
  font-size: 14px;
  color: #9a9183;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer__contact-link:hover {
  color: var(--color-white);
}

.footer__note {
  font-size: 14px;
  color: #9a9183;
  margin-top: 8px;
}

.footer__bottom {
  border-top: 1px solid #1f1f1f;
  padding-block: 24px;
}

.footer__bottom p {
  font-size: 13px;
  color: #6b7280;
  text-align: center;
  margin: 0;
}


/* =============================================================
   RESPONSIVE — TABLET (max-width: 1023px)
   ============================================================= */
@media (max-width: 1023px) {

  .footer__inner {
    gap: 32px;
    padding-block: 48px;
  }

  /* Hamburger kicks in at tablet too — 6 links won't fit */
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

  .nav__links.is-open {
    max-height: 400px;
    padding: 16px 24px 24px;
  }

  .nav__link {
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--color-border);
    font-size: 16px;
  }

  .nav__cta {
    margin-left: 0;
    margin-top: 16px;
    width: 100%;
    justify-content: center;
  }

}


/* =============================================================
   RESPONSIVE — MOBILE (max-width: 767px)
   ============================================================= */
@media (max-width: 767px) {

  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

  .nav__links.is-open {
    max-height: 400px;
    padding: 16px 24px 24px;
  }

  .nav__link {
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--color-border);
    font-size: 16px;
  }

  .nav__cta {
    margin-left: 0;
    margin-top: 16px;
    width: 100%;
    justify-content: center;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 48px;
  }

}
