/* =========================================================
   Pinnacle — INDEX (Grayscale palette)
   Palette: F8F9FA, E9ECEF, DEE2E6, CED4DA, ADB5BD,
            6C757D, 495057, 343A40, 212529
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* palette */
  --g-50: #f8f9fa;
  --g-100: #e9ecef;
  --g-200: #dee2e6;
  --g-300: #ced4da;
  --g-400: #adb5bd;
  --g-500: #6c757d;
  --g-600: #495057;
  --g-700: #343a40;
  --g-800: #212529;

  /* semantics */
  --c-bg: var(--g-50);
  --c-text: var(--g-800);
  --c-text-weak: var(--g-600);
  --c-accent: var(--g-600);
  --c-accent-2: var(--g-700);

  --btn-grad-1: var(--g-500);
  --btn-grad-2: var(--g-700);

  --r10: 10px;
  --r12: 12px;
  --r14: 14px;
  --r16: 16px;

  --shadow-soft: 0 2px 10px rgba(0, 0, 0, 0.06);
  --shadow-pop: 0 14px 32px rgba(0, 0, 0, 0.18);
}

/* ---------- Base / Resets ---------- */
* {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
img,
svg,
video {
  max-width: 100%;
  height: auto;
}
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
}

/* Hide scrollbars (single consolidated block) */
html,
body {
  -ms-overflow-style: none; /* IE & old Edge */
  scrollbar-width: none; /* Firefox */
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none; /* Chrome, Safari, new Edge */
}

/* ---------------- Containers ---------------- */
.container,
.text-container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

/* =========================================================
   NAV (desktop + dropdown)
   ========================================================= */
.navigation {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100px;
  position: relative;
  z-index: 100;
  width: 100%;
  padding-right: clamp(16px, 4vw, 52px);
  padding: 10px clamp(16px, 3vw, 36px);
  padding-right: clamp(16px, 4vw, 52px);
  margin-inline: 0;
}
.logo-box {
  width: 300px;
  height: 90px;
}
.logo-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.menu-desktop {
  margin-left: auto;
}
.navigation nav ul.menu {
  display: flex;
  gap: clamp(18px, 3vw, 44px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.navigation nav li {
  position: relative;
}
.navigation nav a {
  text-decoration: none;
  color: var(--g-800);
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 8px;
}
.navigation > nav > ul > li > a:hover {
  background: rgba(255, 255, 255, 0.12);
}
.menu .active > a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 10px;
}

/* dropdown */
.navigation .dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 210px;
  list-style: none;
  margin: 0;
  padding: 8px;
  background: #fff;
  color: var(--c-text);
  border: 1px solid var(--g-200);
  border-radius: 12px;
  box-shadow: var(--shadow-pop);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}
.navigation .dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 18px;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  background: #fff;
  border-left: 1px solid var(--g-200);
  border-top: 1px solid var(--g-200);
}
.navigation li:hover > .dropdown,
.navigation li:focus-within > .dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.navigation .dropdown a {
  display: block;
  padding: 10px 12px;
  color: var(--c-text-weak);
  font-weight: 600;
  border-radius: 8px;
}
.navigation .dropdown a:hover {
  background: var(--g-100);
  color: var(--g-800);
}
@media (max-width: 820px) {
  .navigation .dropdown {
    left: auto;
    right: 0;
  }
}

/* About Context */
.about-page {
  padding: clamp(24px, 4vw, 48px) 0;
  color: var(--c-text);
}

/* Title + intro */
.about-page h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--g-800);
  font-weight: 900;
}

.about-page .lead {
  margin: 0 0 1.25rem;
  font-size: clamp(18px, 2.2vw, 20px);
  line-height: 1.7;
  color: var(--g-700);
}

.about-page p {
  margin: 0 0 1rem;
  line-height: 1.7;
  color: var(--g-700);
}

.about-page h2 {
  margin: 1.75rem 0 0.75rem;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.25;
  color: var(--g-800);
  font-weight: 800;
  letter-spacing: 0.005em;
}

.about-page .feature-list {
  margin: 28px 0 12px;
  display: grid;
  gap: 16px 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  padding: 0;
}
@media (max-width: 880px) {
  .about-page .feature-list {
    grid-template-columns: 1fr;
  }
}

.about-page .feature-list li {
  align-items: flex-start;
  gap: 12px;

  padding: 12px 14px;
  background: var(--g-50);
  border: 1px solid var(--g-200);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);

  font-size: 17px;
  line-height: 1.55;
  color: var(--c-text-weak);

  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;

  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.about-page .feature-list li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  margin-top: 2px;

  border-radius: 9999px;
  background: linear-gradient(135deg, var(--g-500), var(--g-700));
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.about-page .feature-list li strong {
  color: var(--g-800);
  font-weight: 800;
  white-space: nowrap;
  margin-right: 4px;
}

.about-page .feature-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--g-300);
}

/* Callout (optional blurb/CTA) */
.about-page .callout {
  margin: 1.25rem 0;
  padding: clamp(14px, 2vw, 18px);
  background: color-mix(in oklab, var(--g-200) 22%, #fff);
  border: 1px solid var(--g-200);
  border-radius: var(--r12);
  box-shadow: var(--shadow-soft);
  color: var(--g-700);
}
.about-page .callout strong {
  color: var(--g-800);
}

/* Split section (optional image + text) */
.about-page .split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 3vw, 28px);
  align-items: start;
  margin: 1.25rem 0;
}
@media (min-width: 880px) {
  .about-page .split {
    grid-template-columns: 1.15fr 1fr;
  }
}
.about-page .card {
  background: #fff;
  border: 1px solid var(--g-200);
  border-radius: var(--r12);
  box-shadow: var(--shadow-soft);
  padding: clamp(16px, 3vw, 22px);
}

/* Small utility styles just for About */
.about-page .muted {
  color: var(--g-600);
}
.about-page .tight > * + * {
  margin-top: 0.5rem;
}

/* Breadcrumb (optional) */
.about-page .breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.92rem;
  color: var(--g-600);
  margin: 0 0 0.75rem;
}
.about-page .breadcrumbs a {
  color: var(--g-600);
  text-decoration: none;
  font-weight: 600;
}
.about-page .breadcrumbs a:hover {
  color: var(--g-800);
}
.about-page .breadcrumbs .sep {
  opacity: 0.55;
}

/* Button (reuses your gradient) */
.about-page .btn-primary {
  padding: 12px 18px;
  border-radius: var(--r10);
  background-image: linear-gradient(
    45deg,
    var(--btn-grad-1),
    var(--btn-grad-2)
  );
  background-size: 200% auto;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  display: inline-block;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
  transition: background-position 0.35s ease, transform 0.15s ease;
}
.about-page .btn-primary:hover {
  background-position: right center;
}
.about-page .btn-primary:active {
  transform: scale(0.97);
}

/* Optional hero banner if you add one later */
.about-hero {
  background: linear-gradient(
    180deg,
    color-mix(in oklab, var(--g-800) 92%, #000),
    var(--g-700)
  );
  color: #fff;
  padding: clamp(36px, 6vw, 72px) 0;
  margin-bottom: clamp(16px, 3vw, 28px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-pop);
}
.about-hero .about-hero__title {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  font-weight: 900;
  margin: 0 0 0.5rem;
}
.about-hero .about-hero__sub {
  color: #e9ecef;
  font-size: clamp(16px, 2.2vw, 20px);
  margin: 0;
  max-width: 65ch;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .about-page .btn-primary {
    transition: none;
  }
}

/* Footer */
.site-footer {
  background: var(--g-800);
  color: var(--g-100);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 48px 0 36px;
}
.footer-brand .brand-logo {
  margin-bottom: 12px;
}
.footer-brand .brand-blurb {
  margin: 8px 0 16px;
  color: var(--g-300);
  line-height: 1.6;
}
.contact-list {
  display: grid;
  gap: 8px;
  padding-inline-start: 0;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--g-100);
  opacity: 0.92;
}
.socials {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.social-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 9999px;
  background: transparent;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.social-icon:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

.footer-col {
  position: relative;
}
.footer-col h4 {
  margin: 0 0 12px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.01em;
  padding-top: clamp(12px, 2vw, 18px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-col ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col a {
  color: #e9ecef;
  text-decoration: none;
  font-weight: 600;
}
.footer-col a:hover {
  color: #fff;
}
.footer-col:not(:first-of-type)::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}
.footer-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.08)
  );
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 0 14px;
  color: #ced4da;
  font-size: 14px;
}
.footer-bottom .madeby {
  opacity: 0.9;
}

@media (min-width: 881px) {
  .hamburger-btn,
  .menu-mobile {
    display: none !important;
  }
  .menu-desktop {
    display: block;
  }
}
@media (max-width: 880px) {
  .navigation {
    height: 72px;
    padding: 8px clamp(14px, 4vw, 20px);
    max-width: 100%;
  }
  .logo-box {
    width: 180px;
    height: 54px;
  }
  .hamburger-btn {
    display: block;
  }
  .menu-desktop {
    display: none;
  }
  html,
  body {
    overflow-x: hidden;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 36px 0 24px;
  }
  .footer-col:not(:first-of-type)::before {
    display: none;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .btn-primary {
    margin-left: auto;
    margin-right: auto;
  }
}

/* =========================================================
   MOBILE NAV (hamburger + drawer)
   ========================================================= */
#menu_checkbox {
  display: none;
}
.hamburger-btn {
  position: fixed;
  top: 14px;
  right: 16px;
  width: 46px;
  height: 46px;
  display: none;
  z-index: 1100;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(52, 58, 64, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) inset;
  padding: 12px;
  box-sizing: border-box;
}
.hamburger-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: transform 0.35s ease, opacity 0.25s ease;
}
.hamburger-btn span + span {
  margin-top: 6px;
}
#menu_checkbox:checked + .hamburger-btn span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
#menu_checkbox:checked + .hamburger-btn span:nth-child(2) {
  opacity: 0;
}
#menu_checkbox:checked + .hamburger-btn span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.menu-mobile {
  --drawer-w: min(82vw, 420px);
  --t: 0.42s;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--drawer-w);
  padding: clamp(12px, 3vw, 20px);
  padding-top: calc(72px + 16px);
  color: #fff;
  background: linear-gradient(
    180deg,
    rgba(33, 37, 41, 0.96),
    rgba(52, 58, 64, 0.92)
  );
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-top-right-radius: 24px;
  border-bottom-right-radius: 24px;
  box-shadow: 12px 0 30px rgba(0, 0, 0, 0.28);
  transform: translateX(-105%);
  transition: transform var(--t) cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1050;
  overflow-y: auto;
}
.menu-mobile::before {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: var(--drawer-w);
  background: rgba(33, 37, 41, 0.4);
  opacity: 0;
  transition: opacity var(--t) ease;
  pointer-events: none;
  z-index: -1;
}
#menu_checkbox:checked ~ .menu-mobile {
  transform: translateX(0);
  --t: 0.68s;
}
#menu_checkbox:checked ~ .menu-mobile::before {
  opacity: 1;
}

.mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.menu-mobile a {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}
.mobile-group details {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  overflow: hidden;
}
.mobile-group summary {
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 800;
  color: #fff;
  list-style: none;
  position: relative;
}
.mobile-group summary::-webkit-details-marker {
  display: none;
}
.mobile-group summary::after {
  content: "›";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  font-size: 20px;
  opacity: 0.85;
}
.mobile-group details[open] summary::after {
  transform: translateY(-50%) rotate(90deg);
}
.mobile-group details ul {
  list-style: none;
  margin: 0;
  padding: 6px 8px 12px 10px;
}
.mobile-group details ul a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 700;
  color: #e9ecef;
}
.mobile-group details ul a:hover {
  background: rgba(255, 255, 255, 0.1);
}
.menu-mobile > .mobile-list > li > a {
  display: block;
  padding: 12px 2px;
  font-size: 18px;
}

/* Breakpoints */
@media (min-width: 881px) {
  .hamburger-btn,
  .menu-mobile {
    display: none !important;
  }
  .menu-desktop {
    display: block;
  }
}
@media (max-width: 880px) {
  .navigation {
    height: 72px;
    padding: 8px clamp(14px, 4vw, 20px);
    max-width: 100%;
  }
  .logo-box {
    width: 180px;
    height: 54px;
  }
  .hamburger-btn {
    display: block;
  }
  .menu-desktop {
    display: none;
  }
  html,
  body {
    overflow-x: hidden;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 36px 0 24px;
  }
  .footer-col:not(:first-of-type)::before {
    display: none;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .btn-primary {
    margin-left: auto;
    margin-right: auto;
  }
}

.tel-link,
a[href^="tel"] {
  color: inherit;
  text-decoration: none;
}
.tel-link:hover,
.tel-link:focus {
  text-decoration: underline; /* or keep none */
}
.tel-link:visited {
  color: inherit;
}
