/* ════════════════════════════════════════════════════════════════
   THEME — edit colors and fonts here; everything below inherits them
   ════════════════════════════════════════════════════════════════ */
:root {
  --navy-950: #060d1a;   /* darkest backgrounds (benefits band, footer) */
  --navy-900: #0a1830;   /* dark section backgrounds */
  --navy-800: #122447;   /* solutions panel */
  --navy-700: #1b3260;   /* lighter panel accents */
  --blue-400: #3b82f6;   /* primary accent (buttons, icons, highlights) */
  --blue-300: #60a5fa;   /* lighter accent (hover, kickers) */
  --ink:      #16233b;   /* body text on light backgrounds */
  --ink-soft: #4b5a75;   /* secondary text on light backgrounds */
  --paper:    #f4f7fb;   /* light section backgrounds */
  --white:    #ffffff;

  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1140px;
}

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

/* scroll-padding keeps anchor targets clear of the fixed header */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--blue-300); }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; }

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 400;
}
.section-title strong { font-weight: 800; }
.section-title.center { text-align: center; }

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 14px 32px;
  border-radius: 4px;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary { background: var(--blue-400); color: var(--white); }
.btn-primary:hover { background: var(--blue-300); transform: translateY(-2px); }

/* ── Header / nav ─────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  background: rgba(6, 13, 26, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}

.nav-brand { display: flex; align-items: center; gap: 18px; min-width: 0; }
.nav-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.75);
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  padding-left: 18px;
  white-space: nowrap;
}

.logo-img { height: 44px; width: auto; }
.footer-brand .logo-img { height: 52px; margin-bottom: 4px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover { color: var(--white); border-color: var(--blue-300); }
.nav-links .nav-cta {
  border: 1.5px solid var(--blue-300);
  border-radius: 4px;
  padding: 8px 20px;
}
.nav-links .nav-cta:hover { background: var(--blue-400); border-color: var(--blue-400); }

.nav-toggle { display: none; }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero.jpg') center / cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(6, 13, 26, 0.92) 0%, rgba(6, 13, 26, 0.6) 55%, rgba(6, 13, 26, 0.35) 100%);
}
.hero-content { position: relative; z-index: 1; }

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.hero-sub {
  margin: 22px 0 34px;
  max-width: 480px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ── Solutions (icon quick-view tabs + sliding panels) ─────────── */
.solutions {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  padding: 90px 0;
}
.solutions-head {
  max-width: 680px;
  margin: 0 auto 44px;
  text-align: center;
}
.solutions-head .section-title { margin-bottom: 16px; }
.solutions-lead { color: rgba(255, 255, 255, 0.82); }

/* Icon quick-view strip */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 52px;
}
.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 200px;
  padding: 20px 28px;
  background: none;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s;
}
.tab:hover { border-color: var(--blue-300); color: var(--white); }
.tab:focus-visible { outline: 2px solid var(--blue-300); outline-offset: 3px; }
.tab.is-active {
  border-color: var(--blue-400);
  background: rgba(59, 130, 246, 0.14);
  color: var(--white);
  transform: translateY(-2px);
}
.tab-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--blue-400);
  border-radius: 8px;
  color: var(--blue-300);
  transition: background 0.2s, color 0.2s;
}
.tab-icon svg { width: 26px; height: 26px; }
.tab.is-active .tab-icon { background: var(--blue-400); color: var(--white); }

/* Sliding panels */
.tab-viewport { position: relative; }
.tab-panels { padding: 0 72px; }
.tab-panel {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
  animation: panel-in 0.45s ease both;
}
.tab-panel[hidden] { display: none; }
@keyframes panel-in {
  from { opacity: 0; transform: translateX(var(--panel-from, 32px)); }
  to   { opacity: 1; transform: none; }
}

.tab-panel .section-title { margin-bottom: 18px; }
.panel-copy > p { color: rgba(255, 255, 255, 0.82); margin-bottom: 16px; }
.panel-copy .feature { margin-bottom: 24px; }
.panel-copy .feature:last-child { margin-bottom: 0; }
.panel-note {
  font-style: italic;
  color: var(--white) !important;
  border-left: 3px solid var(--blue-400);
  padding-left: 16px;
  margin-top: 22px;
}
.panel-photo img,
.panel-gallery img {
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
.panel-gallery { display: grid; gap: 24px; }
/* two photos side by side inside a gallery; both crop to squares so
   mixed portrait/landscape shots sit on one tidy row */
.panel-gallery-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel-gallery-row figure {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
.panel-gallery-row img { width: 100%; height: 100%; object-fit: cover; }
/* "compact" galleries crop tall photos to 4:3 so a stacked pair still
   fits on screen together alongside the panel copy */
.panel-gallery.compact figure {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
.panel-gallery.compact img { width: 100%; height: 100%; object-fit: cover; }
.panel-gallery figcaption {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.9);
}

/* Side arrows */
.tab-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: rgba(6, 13, 26, 0.4);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  transition: border-color 0.2s, background 0.2s;
}
.tab-arrow:hover { border-color: var(--blue-400); background: var(--blue-400); }
.tab-arrow:focus-visible { outline: 2px solid var(--blue-300); outline-offset: 3px; }
.tab-arrow svg { width: 22px; height: 22px; }
.tab-arrow-prev { left: 0; }
.tab-arrow-next { right: 0; }

/* ── Eyebrow tags (small kicker labels used above section headings) ── */
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 14px;
}
.eyebrow.light { color: var(--blue-300); }

.feature {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
}
.feature-icon {
  flex: 0 0 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--blue-400);
  border-radius: 8px;
  color: var(--blue-300);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature h4 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.feature p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); }

/* ── Scroll cue (hero) ────────────────────────────────────────────── */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.scroll-cue:hover { color: var(--white); }
.scroll-cue svg { width: 20px; height: 20px; animation: cue-bounce 2s ease-in-out infinite; }
@keyframes cue-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ── Accordion (finale expandable detail sections) ───────────────── */
.accordion {
  width: 100%;
  margin: 0;
  border-top: 1px solid #e2e8f2;
}
.accordion details {
  border-bottom: 1px solid #e2e8f2;
  padding: 18px 0;
}
.accordion summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--blue-400);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 16px;
}
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details p {
  margin: 14px 0 0;
  color: var(--ink-soft) !important;
  font-size: 0.95rem;
}

/* ── Scroll-reveal transitions ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue svg { animation: none; }
  .tab-panel { animation: none; }
}

/* ── About ────────────────────────────────────────────────────── */
.about {
  padding: 80px 0;
  background: var(--white);
}
.about-grid {
  display: grid;
  max-width: calc(var(--container) + 100px);
  grid-template-columns: 0.8fr 1.2fr;
  gap: 0 40px;
  align-items: center;
}
.about-photo img {
  width: 100%;
  border-radius: 6px;
}
.about-copy { width: 100%; min-width: 0; }
.about-copy .section-title { margin-bottom: 24px; }
.about-copy p { color: var(--ink-soft); font-size: 14px; margin-bottom: 18px; }
.about-accordion {
  max-width: calc(var(--container) + 100px);
  margin-top: 1.7em;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid #e2e8f2;
}
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--blue-400);
  line-height: 1.1;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ── Benefits ─────────────────────────────────────────────────── */
.benefits {
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--white);
  padding: 90px 0;
  text-align: center;
}
.benefits-title {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 60px;
}
.benefits-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.benefit {
  padding: 0 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.benefit:last-child { border-right: none; }
.benefit-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  color: var(--blue-300);
}
.benefit-icon svg { width: 100%; height: 100%; }
.benefit h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.benefit p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }

/* ── Experience ("Built on Proven Experience") ────────────────── */
.trusted { background: var(--paper); padding: 80px 0; text-align: center; }
.trusted .section-title { font-weight: 700; margin-bottom: 24px; }
.trusted-sub {
  max-width: 640px;
  margin: 0 auto 18px;
  color: var(--ink-soft);
}
.trusted-note {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
  margin-top: 26px;
}

/* ── CTA ──────────────────────────────────────────────────────── */
.cta {
  position: relative;
  padding: 130px 0;
  color: var(--white);
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: url('../images/cta-team-meeting.png') center / cover no-repeat;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 13, 26, 0.92) 0%, rgba(6, 13, 26, 0.55) 60%, rgba(6, 13, 26, 0.35) 100%);
}

/* Parallax photos are oversized so the scroll drift never exposes
   a blank band above or below the image (offset is clamped in JS) */
.parallax { top: -110px; bottom: -110px; }
.cta-content { position: relative; z-index: 1; max-width: 560px; }
.cta-kicker {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 14px;
}
.cta h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.cta-sub { color: rgba(255, 255, 255, 0.85); margin-bottom: 32px; }

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.8);
  padding: 56px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.footer-tagline {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 6px;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.footer-contact li:last-child { margin-bottom: 0; }
.footer-contact svg { width: 18px; height: 18px; color: var(--blue-300); flex-shrink: 0; }
.footer-contact a:hover { color: var(--blue-300); }
.footer-legal {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: right;
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .nav-tagline { display: none; }
  .tab { min-width: 0; flex: 1 1 200px; }
  .tab-panels { padding: 0 56px; }
  .tab-panel { grid-template-columns: 1fr; gap: 36px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-accordion { margin-top: 32px; }
  .benefits-row { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .benefit:nth-child(2n) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-contact li { justify-content: center; }
  .footer-legal { text-align: center; }
}

@media (max-width: 680px) {
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
  }
  .nav-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--white);
    margin: 5px 0;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    background: rgba(6, 13, 26, 0.97);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 1.2rem; }

  .tabs { gap: 10px; }
  .tab { flex: 1 1 44%; padding: 14px 10px; font-size: 0.72rem; }
  /* on phones the arrows are hidden — tap the icons or swipe instead */
  .tab-panels { padding: 0; }
  .tab-arrow { display: none; }
  .stats { grid-template-columns: 1fr; gap: 20px; }
  .benefits-row { grid-template-columns: 1fr; }
  .benefit { border-right: none; padding: 0; }
  .scroll-cue { display: none; }
}
