/* ═══════════════════════════════════════════════════════════════════
   VBM — Valley Business Machines
   site.css
   Fonts: Saira (headings), Poppins (body)
═══════════════════════════════════════════════════════════════════ */

/* ── CSS Variables ─────────────────────────────────────────────── */
:root {
  /* Brand Colors */
  --color-dark:        #757575;   /* VBM brand gray */
  --color-darker:      #5a5a5a;
  --color-accent:      #a80303;   /* VBM brand red */
  --color-accent-light:#d40404;
  --color-white:       #ffffff;
  --color-off-white:   #f8f8f6;
  --color-light-gray:  #eeeeec;
  --color-text:        #5a5a5a;   /* VBM darker gray — was #1a1a1a */
  --color-text-muted:  #666;

  /* Typography */
  --font-heading: 'Audiowide', sans-serif;
  --font-body:    'Saira Semi Condensed', sans-serif;

  /* Layout */
  --max-width: 1280px;
  --header-height: 96px;
  --section-pad-y: clamp(60px, 8vw, 120px);
  --section-pad-x: clamp(20px, 5vw, 80px);

  /* Transitions */
  --transition: 0.25s ease;
  --transition-slow: 0.4s ease;
}

/* ── Skip Navigation (Accessibility) ──────────────────────────── */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-nav:focus {
  top: 0;
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

/* ── Reset / Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

/* ── Typography ────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
h1 { font-size: clamp(1.4rem, 2.8vw, 2.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { font-size: 1rem; }

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 40px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-dark);
  border-color: var(--color-accent);
}
.btn--primary:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
}

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

/* ── Container ─────────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--section-pad-x);
}

/* Full-width section wrapper — no max-width constraint */
.section-wide {
  width: 100%;
}


/* ════════════════════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-dark);
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 2.5rem;
  overflow: hidden;
}

/* Logo */
.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.header-logo img {
  height: 72px;
  width: auto;
  max-height: calc(var(--header-height) - 16px);
  object-fit: contain;
  filter: brightness(1.05);
  transition: opacity var(--transition);
}
.header-logo:hover img { opacity: 0.85; }

/* ── Desktop Nav ───────────────────────────────────────────────── */
.header-nav { display: flex; align-items: center; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-item { position: static; }

/* Invisible bridge below each nav button — prevents close when
   mouse moves from button down into the mega menu panel */
.nav-item--folder {
  position: relative; /* scopes ::after to this item only */
}
.nav-item--folder::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 40px; /* invisible bridge from button to mega menu panel */
  z-index: 999;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0 1.1rem;
  height: var(--header-height);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-light-gray);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.nav-link:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.nav-folder-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 1.1rem;
  height: var(--header-height);
  /* Extra bottom padding creates a larger hover hit-zone */
  padding-bottom: 16px;
  margin-bottom: -16px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: rgba(255,255,255,0.88);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: default;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.nav-folder-btn:hover,
.nav-item--folder.is-open .nav-folder-btn {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.nav-chevron {
  width: 10px;
  height: 7px;
  transition: transform var(--transition);
  flex-shrink: 0;
  opacity: 0.7;
}
.nav-item--folder.is-open .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* ── Mega-Menu (full-width slide-down like Kelley Create) ──────── */
.nav-mega-menu {
  /* Positioned relative to the HEADER, not the nav item */
  position: fixed;
  top: var(--header-height);
  /* Negative margin + top padding creates an invisible buffer zone
     that keeps the hover alive as mouse moves from button into menu */
  margin-top: -8px;
  padding-top: 8px;
  left: 0;
  right: 0;
  width: 100%;
  background: #888888;
  border-top: 2px solid var(--color-accent);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);

  /* Slide-down animation */
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 999;
  overflow: hidden;
}

.nav-item--folder.is-open .nav-mega-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-menu-inner {
  display: flex;
  gap: 0;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem var(--section-pad-x);
}

/* Each column group */
.mega-col {
  flex: 1;
  padding: 0 1.5rem;
  border-right: 1px solid rgba(168,3,3,0.6);
  display: flex;
  flex-direction: column;
}
.mega-col:first-child { padding-left: 0; }
.mega-col:last-child  { border-right: none; padding-right: 0; }

.mega-col-label {
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  min-height: 4.2em;
  padding-bottom: 0.6rem;
  margin-bottom: 0.85rem;
  position: relative;
}
.mega-col-label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(168,3,3,0.25);
}

.mega-col a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  padding: 0.42rem 0;
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  font-family: var(--font-body);
  font-weight: 400;
  border-left: 2px solid transparent;
  padding-left: 0.6rem;
  margin-left: -0.6rem;
  transition: color var(--transition), border-color var(--transition), padding-left var(--transition);
  line-height: 1.4;
}
.mega-col a:hover {
  color: var(--color-accent-light);
  border-left-color: var(--color-accent);
  padding-left: 1rem;
}
.mega-col a em {
  font-style: normal;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  display: block;
}

/* External link indicator */
.mega-col a[target="_blank"]::after {
  content: '↗';
  font-size: 0.7rem;
  opacity: 0.5;
  margin-left: auto;
  flex-shrink: 0;
}

/* ── Mobile Burger ─────────────────────────────────────────────── */
.mobile-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}
.mobile-burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-white);
  transition: transform var(--transition), opacity var(--transition);
  border-radius: 2px;
}
.mobile-burger.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mobile-burger.is-active span:nth-child(2) { opacity: 0; }
.mobile-burger.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile Menu ───────────────────────────────────────────────── */
.mobile-menu {
  background: var(--color-darker);
  border-top: 1px solid rgba(255,255,255,0.08);
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }

.mobile-nav-list { padding: 0.5rem 0 1rem; }

.mobile-nav-item { border-bottom: 1px solid rgba(255,255,255,0.06); }

.mobile-folder-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.5rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.9);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  text-align: left;
}
.mobile-folder-btn .nav-chevron { width: 12px; height: 8px; }
.mobile-nav-item--folder.is-open .mobile-folder-btn { color: var(--color-accent); }
.mobile-nav-item--folder.is-open .nav-chevron { transform: rotate(180deg); }

.mobile-nav-direct {
  display: block;
  padding: 1rem 1.5rem;
  color: rgba(255,255,255,0.9);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.mobile-nav-direct:hover { color: var(--color-accent); }

.mobile-submenu { display: none; padding: 0 1.5rem 0.75rem 1.5rem; }
.mobile-nav-item--folder.is-open .mobile-submenu { display: block; }

.mobile-submenu li { padding: 0; }
.mobile-submenu a {
  display: block;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  color: rgba(255,255,255,0.72);
  font-size: 0.875rem;
  border-left: 2px solid rgba(255,255,255,0.1);
  transition: color var(--transition), border-color var(--transition);
}
.mobile-submenu a:hover {
  color: var(--color-accent-light);
  border-left-color: var(--color-accent);
}
.mobile-group-label {
  display: block;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 0.5rem 0.25rem 1rem;
}


/* ════════════════════════════════════════════════════════════════
   HERO SECTION
════════════════════════════════════════════════════════════════ */
/* Static fallback background — replace with video once available */
.hero-static-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      160deg,
      #1a2a1a 0%,
      #2c3e2c 25%,
      #1e3040 55%,
      #0f1f2e 100%
    );
  z-index: 0;
}
/* Subtle texture overlay to add depth */
.hero-static-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 50% at 60% 40%, rgba(168,3,3,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(30,50,60,0.6) 0%, transparent 60%);
}
.hero-section {
  position: relative;
  min-height: clamp(400px, 50vh, 600px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-dark);
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(38,38,38,0.3) 0%,
    rgba(38,38,38,0.6) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--section-pad-y) var(--section-pad-x);
}

/* Line 1: MODERN TECHNOLOGY. LOCAL SERVICE. — white, all caps */
.hero-title {
  font-family: 'Audiowide', sans-serif;
  font-size: clamp(1.1rem, 2.2vw, 2.2rem);
  font-weight: 400;
  color: #ffffff;
  white-space: nowrap;
  letter-spacing: 0.06em;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0,0,0,0.8);
}

/* Line 2: TAILORED FOR ALASKA. — white, all caps, same weight */
.hero-sub {
  font-family: 'Audiowide', sans-serif;
  font-size: clamp(1.1rem, 2.2vw, 2.2rem);
  font-weight: 400;
  color: #ffffff;
  white-space: nowrap;
  letter-spacing: 0.06em;
  line-height: 1.2;
  margin: 0.35em 0 0 0;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0,0,0,0.8);
}

/* Mobile: allow hero text to wrap instead of clipping */
@media (max-width: 768px) {
  .hero-title,
  .hero-sub {
    white-space: normal;
    font-size: clamp(1rem, 5vw, 1.6rem);
    padding: 0 1rem;
  }
}


/* ════════════════════════════════════════════════════════════════
   ABOUT BLURB SECTION
════════════════════════════════════════════════════════════════ */
.about-blurb {
  background: var(--color-off-white);
  padding: var(--section-pad-y) 0;  /* no horizontal padding — inner handles it */
}

.about-blurb-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
  text-align: center;
}

.about-blurb p {
  font-size: clamp(1rem, 1.1vw, 1.2rem);
  line-height: 1.85;
  color: var(--color-text);
  max-width: 1100px;
  margin: 0 auto;
}
.about-blurb p strong { font-weight: 600; }


/* ════════════════════════════════════════════════════════════════
   SERVICES SECTION
════════════════════════════════════════════════════════════════ */
.services-section {
  padding: var(--section-pad-y) clamp(20px, 4vw, 60px);
  background: var(--color-white);
}

/* Full-width wrapper — no max-width so grid fills the screen */
.services-container {
  width: 100%;
}

.section-title {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 70px);
}
.section-title h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}
.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(var(--grid-cols, 4), 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--color-off-white);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--color-light-gray);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  border-color: var(--color-accent);
}

.service-card-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 8px;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.service-card .card-link {
  margin-top: auto;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}
.service-card:hover .card-link {
  border-bottom-color: var(--color-accent);
}


/* ════════════════════════════════════════════════════════════════
   TESTIMONIALS SECTION
════════════════════════════════════════════════════════════════ */
.testimonials-section {
  background: var(--color-dark);
  padding: var(--section-pad-y) var(--section-pad-x);
  overflow: hidden;
}

.testimonials-section .section-title h2 {
  color: var(--color-white);
}
.testimonials-section .section-title h2::after {
  background: var(--color-accent);
}

.testimonials-carousel {
  position: relative;
  width: 100%;
}

.testimonials-track-wrapper {
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  flex: 0 0 100%;
  padding: 0 1rem;
}

@media (min-width: 900px) {
  .testimonial-slide { flex: 0 0 33.333%; }
}

.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 2rem 2rem 1.5rem;
  height: 100%;
}

.testimonial-card .quote-mark {
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 0.8;
  color: var(--color-accent);
  display: block;
  margin-bottom: 0.5rem;
}

.testimonial-card p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.75;
  font-style: italic;
}

.testimonial-card .attribution {
  margin-top: 1.25rem;
  font-style: normal;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}
.carousel-btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-dark);
}
.carousel-btn svg { width: 18px; height: 14px; }

.carousel-dots {
  display: flex;
  gap: 8px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  border: none;
}
.carousel-dot.is-active {
  background: var(--color-accent);
  transform: scale(1.25);
}


/* ════════════════════════════════════════════════════════════════
   CONTACT FORM SECTION
════════════════════════════════════════════════════════════════ */
.contact-section {
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--color-off-white);
}

.contact-section .section-title h2 { text-transform: uppercase; }

.contact-form-wrap {
  max-width: 680px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
}

.form-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-light-gray);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(168,3,3,0.15);
}
.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-required { color: #c0392b; }

/* Radio button group */
.radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.4rem;
  flex-wrap: wrap;
}
.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 400;
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.radio-label input[type="radio"] {
  -webkit-appearance: radio;
  appearance: radio;
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--color-accent);
  outline: none;
  box-shadow: none;
}

/* Honeypot — hidden from humans, filled by bots */
.form-hp { position:absolute; left:-9999px; top:-9999px; opacity:0; height:0; width:0; overflow:hidden; }

.form-submit-row {
  margin-top: 1.5rem;
}
.form-submit-row .btn {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 0.9rem 2rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  background: rgba(168,3,3,0.1);
  border: 1px solid var(--color-accent);
  border-radius: 10px;
  color: var(--color-dark);
  font-size: 0.95rem;
  line-height: 1.6;
}


/* ════════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.8);
  padding: clamp(40px, 5vw, 70px) var(--section-pad-x) 0;
  font-family: var(--font-heading);
  text-transform: uppercase;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  max-width: none;
  margin: 0;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  align-items: center;
}

.footer-logo-link img {
  height: 72px;
  width: auto;
  object-fit: contain;
  max-width: 250px;
}

.footer-address-col address {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
}

.footer-contact-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-contact-col a {
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-contact-col a:hover { color: var(--color-accent); }

.footer-cta-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-cta-col .btn {
  text-align: center;
  width: 100%;
}

.footer-social-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-social-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}
.footer-fb-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer-fb-link:hover { color: #fff; }
.footer-fb-icon {
  width: 20px;
  height: 20px;
  fill: #1877f2;
  flex-shrink: 0;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}


/* ════════════════════════════════════════════════════════════════
   INNER PAGE HERO (reusable — kept for forms/contact/about)
════════════════════════════════════════════════════════════════ */
.page-hero {
  background:
    /* subtle diagonal lines */
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,0.03) 0px,
      rgba(255,255,255,0.03) 1px,
      transparent 1px,
      transparent 18px
    ),
    /* warm radial glow behind text */
    radial-gradient(
      ellipse 60% 80% at 50% 40%,
      rgba(168,3,3,0.12) 0%,
      transparent 70%
    ),
    /* base color */
    var(--color-dark);
  padding: clamp(50px, 6vw, 90px) var(--section-pad-x);
  text-align: center;
}
.page-hero h1 {
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.page-hero h1 span { color: var(--color-accent); }
.page-hero p {
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 1rem auto 0;
}

/* Light hero variant — no background, dark text, tight spacing */
.page-hero--light {
  background: none;
  padding: clamp(24px, 3vw, 40px) var(--section-pad-x) clamp(12px, 2vw, 24px);
}
.page-hero--light h1 {
  color: var(--color-dark);
}
.page-hero--light h1 span {
  color: var(--color-accent);
}
.page-hero--light p {
  color: var(--color-text-muted);
}

/* ════════════════════════════════════════════════════════════════
   SERVICE PAGE LAYOUT (Squarespace-matching)
════════════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════════════════
   SERVICE PAGE — POLISHED LAYOUT
════════════════════════════════════════════════════════════════ */

/* Outer wrapper */
.sp-page {
  background: var(--color-white);
  padding: clamp(48px, 6vw, 90px) clamp(24px, 5vw, 80px);
}
.sp-inner {
  max-width: 1400px;
  margin: 0 auto;
}

/* ── Hero row: left text + right images ── */
.sp-hero {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 3rem;
  align-items: start;
  margin-bottom: 0;
  padding-bottom: 3rem;
}
@media (max-width: 900px) {
  .sp-hero { grid-template-columns: 1fr; }
  .sp-hero-images {
    display: block;
    margin-top: 2rem;
    min-height: 220px;
  }
  .sp-img-rect { height: 220px; max-width: 100%; margin-left: 0; }
  .sp-img-circle { width: 110px; height: 110px; bottom: -20px; }
}

/* ── Left column ── */
.sp-hero-text h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  color: var(--color-accent);
  line-height: 1.2;
  margin-bottom: 0.6rem;
}
/* De-emphasise "at VBM Technology Management Partners" */
.sp-hero-text h1 .sp-h1-sub {
  display: block;
  font-size: 0.6em;
  color: var(--color-darker);
  font-weight: 400;
  letter-spacing: 0.01em;
  margin-top: 0.2rem;
}
.sp-hero-text .sp-subtitle {
  font-size: clamp(0.88rem, 1vw, 1rem);
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.sp-hero-text .sp-divider {
  width: 260px;
  border: none;
  border-top: 1px solid rgba(0,0,0,0.12);
  margin: 1.5rem 0;
}
/* Intro paragraph — dark charcoal, not red */
.sp-hero-text .sp-intro {
  font-size: clamp(0.92rem, 1.05vw, 1.05rem);
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.8;
}

/* Contact Us button */
.btn-contact {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.8rem 2.2rem;
  border-radius: 50px;
  text-decoration: none;
  margin: 0.5rem 0 1.5rem;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 14px rgba(168,3,3,0.25);
}
.btn-contact:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168,3,3,0.35);
}

/* ── Right column — images ── */
.sp-hero-images {
  position: relative;
  min-height: 360px;
  padding-bottom: 30px;
}
.sp-img-rect {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  margin-left: auto;
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
}
.sp-img-circle {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--color-accent);
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}

/* ── Bullet list section — light gray band ── */
.sp-bullets-band {
  background: var(--color-off-white);
  border-radius: 16px;
  padding: 2.5rem 2.5rem 1.5rem;
  margin: 0 0 2.5rem;
}
.sp-bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 3rem;
}
@media (max-width: 700px) {
  .sp-bullets { grid-template-columns: 1fr; }
  .sp-bullets-band { padding: 1.5rem 1.25rem 0.5rem; }
}
.sp-bullet {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.sp-bullet:last-child,
.sp-bullet:nth-last-child(2):nth-child(odd) { border-bottom: none; }
.sp-bullet h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.sp-bullet h3::before {
  content: '•';
  color: var(--color-accent);
  font-size: 1.3rem;
  line-height: 1.1;
  flex-shrink: 0;
}
.sp-bullet p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  padding-left: 1.1rem;
}

/* ── Closing paragraph — subtle band ── */
.sp-closing-band {
  background: var(--color-off-white);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  border-left: 4px solid var(--color-accent);
}
.sp-closing {
  font-size: clamp(0.92rem, 1.05vw, 1.05rem);
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.8;
  margin: 0;
}

/* ── Inner Content Section ────────────────────────────────────── */
.content-section {
  padding: var(--section-pad-y) var(--section-pad-x);
}
.content-section .inner {
  max-width: 1600px;
  margin: 0 auto;
}


/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════════ */
@media (max-width: 1280px) {
  .nav-folder-btn,
  .nav-link {
    font-size: 0.85rem;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
    letter-spacing: 0.03em;
  }
  .header-inner { padding: 0 1rem; }
}
@media (max-width: 1050px) {
  .header-nav { display: none; }
  .mobile-burger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  :root { --header-height: 72px; }
  .contact-form-wrap { padding: 2rem 1.25rem; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-logo-link img { margin: 0 auto; }
  .footer-cta-col { align-items: center; }
}

/* Forms */
.form-page { padding: var(--section-pad-y) var(--section-pad-x); background: var(--color-off-white); }
.form-page-inner { max-width: 720px; margin: 0 auto; }
.embedded-form-wrapper {
  background: var(--color-white);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  margin-top: 2rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; } }
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0 0;
}
@media (max-width: 700px) { .about-stats { grid-template-columns: repeat(2, 1fr); } }

.about-stat {
  text-align: center;
  padding: 2rem;
  background: var(--color-off-white);
  border-radius: 10px;
  border-top: 4px solid var(--color-accent);
}
.about-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-accent);
  display: block;
}
.about-stat .stat-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

/* ── About Page — Mission Statement ───────────────────────────── */
.about-mission {
  max-width: 1060px;
  margin: 0 auto;
  padding: 1.5rem 0 1rem;
}
.mission-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.mission-text {
  text-align: left;
}
.mission-text p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--color-text);
}
.mission-photo img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.12);
}
@media (max-width: 768px) {
  .mission-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .mission-text {
    text-align: center;
  }
  .mission-photo {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ── About Page — Value Pillar Cards (hover-reveal) ───────────── */
.about-pillars {
  padding: 2rem 0 3rem;
}
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1.5rem;
  justify-items: center;
}
/* Center the bottom row when there are 5 cards (3+2) */
.pillar-grid .pillar-card:nth-child(4),
.pillar-grid .pillar-card:nth-child(5) {
  max-width: 100%;
}
@media (min-width: 801px) {
  .pillar-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .pillar-grid .pillar-card:nth-child(1),
  .pillar-grid .pillar-card:nth-child(2),
  .pillar-grid .pillar-card:nth-child(3) {
    grid-column: span 2;
  }
  .pillar-grid .pillar-card:nth-child(4) {
    grid-column: 2 / span 2;
  }
  .pillar-grid .pillar-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}
@media (max-width: 800px) {
  .pillar-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}

.pillar-card {
  position: relative;
  background: var(--color-off-white);
  border-radius: 12px;
  border: 1px solid var(--color-light-gray);
  min-height: 440px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: default;
}
.pillar-card:hover,
.pillar-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  border-color: var(--color-accent);
  outline: none;
}

/* Front face — icon + title + tagline */
.pillar-front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 2rem;
  height: 100%;
  transition: opacity 0.35s ease;
}
.pillar-icon {
  width: 90px;
  height: 90px;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}
.pillar-front h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}
.pillar-tagline {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.pillar-hint {
  margin-top: auto;
  padding-top: 1rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  border-top: 2px solid var(--color-accent);
  width: 100%;
  text-align: center;
  padding-top: 0.75rem;
  margin-top: 1.25rem;
}

/* Reveal overlay — slides up from bottom on hover */
.pillar-reveal {
  position: absolute;
  inset: 0;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  font-family: var(--font-body);
}
.pillar-card:hover .pillar-reveal,
.pillar-card:focus-within .pillar-reveal {
  transform: translateY(0);
}
.pillar-card:hover .pillar-front,
.pillar-card:focus-within .pillar-front {
  opacity: 0;
}
.pillar-reveal h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--color-white);
}
.pillar-reveal p {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 0.6rem;
  color: rgba(255,255,255,0.92);
}
.pillar-reveal ul {
  list-style: none;
  padding: 0;
  margin-top: 0.25rem;
}
.pillar-reveal ul li {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.5;
  padding: 0.25rem 0 0.25rem 1.4rem;
  position: relative;
  color: rgba(255,255,255,0.92);
}
.pillar-reveal ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-white);
  font-weight: 700;
}

/* Mobile: tap to reveal (toggled via JS .pillar-card--active class) */
@media (max-width: 800px) {
  .pillar-card {
    min-height: auto;
    overflow: visible;        /* let reveal flow naturally below front */
  }
  .pillar-front {
    padding-bottom: 1rem;
    height: auto;             /* don't stretch to fill card */
  }
  .pillar-reveal {
    position: relative;
    transform: none;
    max-height: 0;
    overflow: hidden;
    padding: 0 2rem;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease;
    border-radius: 0 0 12px 12px;
  }
  .pillar-card--active .pillar-reveal {
    max-height: 600px;        /* generous max — actual height is less */
    opacity: 1;
    padding: 1.75rem 2rem;
  }
  .pillar-card--active .pillar-hint {
    display: none;
  }
  /* Disable hover effects on mobile */
  .pillar-card:hover .pillar-reveal,
  .pillar-card:focus-within .pillar-reveal {
    transform: none;
  }
  .pillar-card:hover .pillar-front,
  .pillar-card:focus-within .pillar-front { opacity: 1; }
  .pillar-card:hover,
  .pillar-card:focus-within {
    transform: none;
    box-shadow: none;
  }
  .pillar-card--active {
    border-color: var(--color-accent);
  }
}

/* ── About Page — "Good Fit" Dark Band ────────────────────────── */
.about-fit-band {
  background: var(--color-dark);
  border-radius: 12px;
  margin: 3rem 0 0;
  padding: 3.5rem 3rem;
}
.fit-inner {
  max-width: 720px;
  margin: 0 auto;
}
.about-fit-band h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-white);
  text-align: center;
  margin-bottom: 2rem;
}
.fit-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2.5rem;
}
@media (max-width: 600px) { .fit-checks { grid-template-columns: 1fr; } }

.fit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.fit-check {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.fit-item span {
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.88);
}

/* ── About Page — CTA Close ───────────────────────────────────── */
.about-cta {
  text-align: center;
  padding: 3.5rem 0 2rem;
}
.about-cta h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}
.about-cta p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  max-width: 520px;
  margin-inline: auto;
  line-height: 1.7;
}
.cta-phone {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}
.cta-phone a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
}
.cta-phone a:hover { text-decoration: underline; }

/* ════════════════════════════════════════════════════════════════
   HERO SLIDESHOW
════════════════════════════════════════════════════════════════ */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Base slide — hidden by default */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  opacity: 0;
  transition: opacity 4.5s ease-in-out;
  will-change: opacity, transform;
}
.hero-slide.active { opacity: 1; }

/* ── ZOOM: Ken Burns subtle scale ── */
.hero-slide--zoom {
  animation: heroZoom 10s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  0%   { transform: scale(1.0); }
  100% { transform: scale(1.06); }
}

/* ── PAN: vertical reveal driven by JavaScript (requestAnimationFrame)
   CSS keyframes cannot override inline background-position, so JS handles it */
.hero-slide--pan {
  /* no background-position here — JS sets it directly */
}

/* Stagger zoom delays so panels don't pulse together */
.hero-slide--zoom:nth-child(1) { animation-delay:  0s; }
.hero-slide--zoom:nth-child(4) { animation-delay: -2s; }
.hero-slide--zoom:nth-child(6) { animation-delay: -4s; }
.hero-slide--zoom:nth-child(8) { animation-delay: -6s; }
.hero-slide--zoom:nth-child(9) { animation-delay: -8s; }

.hero-static-bg { display: none; }
