/* ============================================================
   VitalMed Lab — style.css
   Theme: Premium Pharmaceutical / Skincare Laboratory
   Colors derived from logo: Deep Navy, Royal Blue, Sky Teal
   ============================================================ */

/* ── Google Fonts ── imported in HTML <head> */

/* ── CSS Variables ── */
:root {
  /* Brand colors from logo */
  --navy:         #0d1f3c;   /* deep navy — logo text dark */
  --navy-mid:     #162d52;   /* mid navy */
  --navy-light:   #1e4080;   /* royal blue — logo bowl */
  --blue:         #1565c0;   /* mid blue */
  --blue-bright:  #2979c8;   /* bright logo blue */
  --sky:          #29b6e8;   /* sky / teal — logo "Compounding Concepts" */
  --sky-light:    #4dd0f5;   /* lighter sky accent */
  --white:        #ffffff;
  --off-white:    #f5f8fc;
  --surface:      #edf2f9;
  --silver:       #b8cde0;
  --silver-mid:   #d4e2ef;
  --text-dark:    #0d1f3c;
  --text-mid:     #2c4a72;
  --text-light:   #6888aa;

  /* Semantic */
  --accent:       var(--sky);
  --accent-hover: var(--sky-light);
  --cta-bg:       var(--sky);
  --cta-text:     var(--navy);

  /* Fonts */
  --font-display: 'Playfair Display', serif;
  --font-head:    'Raleway', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'Space Mono', monospace;

  /* Spacing */
  --section-pad:  7rem 2rem;
  --container:    1200px;

  /* Effects */
  --ease:         all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:  all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-sm:    0 2px 16px rgba(13,31,60,0.08);
  --shadow-md:    0 8px 40px rgba(13,31,60,0.14);
  --shadow-lg:    0 20px 80px rgba(13,31,60,0.22);
  --shadow-blue:  0 8px 32px rgba(41,121,200,0.25);
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --radius-pill:  100px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; }

/* ── Page system ── */
.page { display: none; }
.page.active { display: block; }

/* ============================================================
   HEADER / NAV
============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 76px;
  background: rgba(13, 31, 60, 0.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(41, 182, 232, 0.12);
  transition: var(--ease);
}
#site-header.scrolled {
  height: 64px;
  background: rgba(13, 31, 60, 0.99);
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}
.nav-wrap {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-logo img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);  /* white version on dark header */
  transition: var(--ease);
}
.nav-logo:hover img { filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(41,182,232,0.6)); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(184, 205, 224, 0.8);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  transition: var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 1.5px;
  background: var(--sky);
  transition: left 0.3s ease, right 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { left: 0.9rem; right: 0.9rem; }

/* CTA nav button */
.nav-cta-btn {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy) !important;
  background: var(--sky);
  padding: 0.55rem 1.4rem !important;
  border-radius: var(--radius-pill) !important;
  transition: var(--ease-spring) !important;
  cursor: pointer;
}
.nav-cta-btn::after { display: none !important; }
.nav-cta-btn:hover {
  background: var(--sky-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(41,182,232,0.4);
  color: var(--navy) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 9px 10px;
  background: rgba(41, 182, 232, 0.12);
  border: 1px solid rgba(41, 182, 232, 0.35);
  border-radius: 6px;
  transition: var(--ease);
}
.hamburger:hover {
  background: rgba(41, 182, 232, 0.22);
  border-color: var(--sky);
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--ease);
}
.hamburger.open {
  background: rgba(41, 182, 232, 0.2);
  border-color: var(--sky);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--navy-mid);
  border-top: 1px solid rgba(41,182,232,0.12);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}
.mobile-menu.open { max-height: 400px; display: flex; }
.mobile-menu a {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  cursor: pointer;
  transition: var(--ease);
}
.mobile-menu a:hover { color: var(--sky); background: rgba(41,182,232,0.06); padding-left: 2.5rem; }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: var(--ease-spring);
  white-space: nowrap;
}
.btn-sky {
  background: var(--sky);
  color: var(--navy);
}
.btn-sky:hover {
  background: var(--sky-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(41,182,232,0.4);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  border-color: var(--sky);
  color: var(--sky);
  transform: translateY(-2px);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ============================================================
   LAYOUT UTILITIES
============================================================ */
.container { max-width: var(--container); margin: 0 auto; }
.section    { padding: var(--section-pad); }
.section-sm { padding: 4rem 2rem; }
.bg-white   { background: var(--white); }
.bg-off     { background: var(--off-white); }
.bg-surface { background: var(--surface); }
.bg-navy    { background: var(--navy); }
.bg-navy-mid{ background: var(--navy-mid); }

/* ── Section labels ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 1.5px;
  background: var(--sky);
  flex-shrink: 0;
}

/* ── Headings ── */
.h-display {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.1;
  color: var(--white);
  font-weight: 700;
}
.h-display em { font-style: italic; color: var(--sky); }

.h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.15;
  color: var(--text-dark);
  font-weight: 700;
}
.h1-light { color: var(--white); }
.h1 em, .h1-light em { font-style: italic; color: var(--sky); }

.h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
  color: var(--text-dark);
  font-weight: 700;
}
.h2-light { color: var(--white); }

.h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

/* ── Divider line ── */
.rule {
  width: 48px; height: 2.5px;
  background: linear-gradient(90deg, var(--sky), var(--blue-bright));
  margin: 1.2rem 0 1.8rem;
  border-radius: 2px;
}
.rule.center { margin: 1.2rem auto 1.8rem; }

/* ── Body text ── */
.body-lg { font-size: 1.05rem; color: var(--text-mid); line-height: 1.8; }
.body-md { font-size: 0.95rem; color: var(--text-mid); line-height: 1.78; }
.body-sm { font-size: 0.85rem; color: var(--text-light); line-height: 1.7; }
.body-lg-light { font-size: 1.05rem; color: var(--silver); line-height: 1.8; }
.body-md-light { font-size: 0.95rem; color: var(--silver); line-height: 1.78; }

/* ── Tags / Chips ── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sky);
  background: rgba(41,182,232,0.1);
  border: 1px solid rgba(41,182,232,0.25);
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-pill);
}
.chip-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* ── Image containers ── */
.img-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.img-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.img-frame:hover img { transform: scale(1.04); }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   HERO SLIDER
============================================================ */
#hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  padding-top: 76px;
}

/* Slides */
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  z-index: 1;
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide.is-active { opacity: 1; z-index: 2; }

/* Background image */
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 9s ease;
}
.slide.is-active .slide-bg { transform: scale(1); }

/* Gradient overlay — heavy left, light right */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(13,31,60,0.94) 0%,
    rgba(13,31,60,0.78) 38%,
    rgba(13,31,60,0.35) 65%,
    rgba(13,31,60,0.08) 100%
  );
}

/* Geometric line pattern overlay */
.slide-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 59px,
      rgba(41,182,232,1) 59px,
      rgba(41,182,232,1) 60px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 59px,
      rgba(41,182,232,1) 59px,
      rgba(41,182,232,1) 60px
    );
  pointer-events: none;
}

/* Slide content */
.slide-content {
  position: relative;
  z-index: 3;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}
.slide-inner { max-width: 640px; }

/* Slide text animations */
.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(41,182,232,0.12);
  border: 1px solid rgba(41,182,232,0.35);
  padding: 0.42rem 1.1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.8rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}
.slide.is-active .slide-badge { opacity: 1; transform: translateY(0); }
.slide-badge-dot {
  width: 7px; height: 7px;
  background: var(--sky);
  border-radius: 50%;
  animation: pulse 2.2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(41,182,232,0.5); }
  50%       { opacity: 0.7; transform: scale(1.2); box-shadow: 0 0 0 6px rgba(41,182,232,0); }
}
.slide-badge-text {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky);
}

.slide-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.3rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease 0.35s, transform 0.75s ease 0.35s;
}
.slide.is-active .slide-title { opacity: 1; transform: translateY(0); }
.slide-title em { font-style: italic; color: var(--sky); }
.slide-title span { display: block; }

.slide-sub {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: rgba(184,205,224,0.9);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 2.2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.5s, transform 0.7s ease 0.5s;
}
.slide.is-active .slide-sub { opacity: 1; transform: translateY(0); }

.slide-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease 0.65s, transform 0.65s ease 0.65s;
}
.slide.is-active .slide-btns { opacity: 1; transform: translateY(0); }

/* Slider stats bar */
.slide-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.65s ease 0.78s, transform 0.65s ease 0.78s;
}
.slide.is-active .slide-stats { opacity: 1; transform: translateY(0); }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--white);
  font-weight: 700;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 0.25rem;
}

/* ── Slider Controls ── */
.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  transform: translateY(-50%);
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  transition: var(--ease);
}
.slider-arrow:hover {
  background: rgba(41,182,232,0.22);
  border-color: var(--sky);
  transform: translateY(-50%) scale(1.08);
}
.slider-arrow svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
#slider-prev { left: 2rem; }
#slider-next { right: 2rem; }

/* ── Dots ── */
#slider-dots {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.slider-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--ease);
}
.slider-dot.is-active {
  background: var(--sky);
  border-color: var(--sky);
  width: 28px;
  border-radius: 4px;
}

/* ── Counter ── */
.slider-counter {
  position: absolute;
  bottom: 2.2rem;
  right: 2.2rem;
  z-index: 10;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
}
.slider-counter .current { color: var(--white); font-weight: 700; }

/* ── Progress bar ── */
.slider-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2.5px;
  background: rgba(255,255,255,0.08);
  z-index: 10;
}
.slider-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-bright), var(--sky));
  width: 0%;
}

/* ── Slide thumbnail strip (right side) ── */
.slide-thumbstrip {
  position: absolute;
  right: 2.2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.thumb-item {
  width: 8px; height: 40px;
  border-radius: 4px;
  background: rgba(255,255,255,0.12);
  cursor: pointer;
  transition: var(--ease);
}
.thumb-item.is-active { background: var(--sky); height: 60px; }
.thumb-item:hover:not(.is-active) { background: rgba(255,255,255,0.3); }

/* ============================================================
   WHO WE ARE
============================================================ */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.who-img-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}
.who-img-mosaic .img-frame:first-child { grid-column: 1 / -1; height: 270px; }
.who-img-mosaic .img-frame:not(:first-child) { height: 180px; }

.who-text .body-md { margin-bottom: 1rem; }
.who-text .body-md:last-of-type { margin-bottom: 2rem; }

/* ── Inline stats ── */
.inline-stats {
  display: flex;
  gap: 2.5rem;
  padding: 1.8rem 0;
  border-top: 1px solid var(--silver-mid);
  border-bottom: 1px solid var(--silver-mid);
  margin: 2rem 0;
}
.istat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
  font-weight: 700;
  line-height: 1;
}
.istat-num span { color: var(--sky); }
.istat-label { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-light); margin-top: 0.3rem; }

/* ============================================================
   SERVICES / WHAT WE DO
============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.svc-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(13,31,60,0.07);
  box-shadow: var(--shadow-sm);
  transition: var(--ease);
  position: relative;
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-bright), var(--sky));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(41,182,232,0.2); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card-img { height: 210px; overflow: hidden; }
.svc-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.svc-card:hover .svc-card-img img { transform: scale(1.06); }
.svc-card-body { padding: 1.8rem; }
.svc-icon {
  width: 46px; height: 46px;
  background: rgba(41,182,232,0.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  transition: var(--ease);
}
.svc-card:hover .svc-icon { background: rgba(41,182,232,0.18); }
.svc-icon svg { width: 22px; height: 22px; stroke: var(--sky); stroke-width: 2; fill: none; }
.svc-title { font-family: var(--font-display); font-size: 1.25rem; color: var(--text-dark); margin-bottom: 0.6rem; }
.svc-desc { font-size: 0.88rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 1.2rem; }

/* ============================================================
   PROCESS STRIP
============================================================ */
.process-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  margin-top: 4rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.proc-step {
  background: rgba(255,255,255,0.03);
  padding: 2.2rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: var(--ease);
  cursor: default;
}
.proc-step:last-child { border-right: none; }
.proc-step:hover { background: rgba(41,182,232,0.07); }
.proc-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--sky);
  margin-bottom: 1rem;
}
.proc-icon { font-size: 1.8rem; margin-bottom: 0.8rem; display: block; }
.proc-title { font-family: var(--font-head); font-size: 0.82rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; letter-spacing: 0.02em; }
.proc-desc { font-size: 0.75rem; color: rgba(184,205,224,0.6); line-height: 1.6; }

/* ============================================================
   WHY US
============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--ease);
  position: relative;
  overflow: hidden;
}
.why-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-bright), var(--sky));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.why-card:hover { background: rgba(41,182,232,0.06); border-color: rgba(41,182,232,0.2); transform: translateY(-4px); }
.why-card:hover::after { transform: scaleX(1); }
.why-icon { font-size: 2rem; display: block; margin-bottom: 1rem; }
.why-title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.why-desc { font-size: 0.84rem; color: var(--silver); line-height: 1.65; }

/* ============================================================
   INDUSTRIES
============================================================ */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  margin-top: 3.5rem;
}
.ind-card {
  background: var(--white);
  border: 1px solid rgba(13,31,60,0.07);
  border-radius: var(--radius-md);
  padding: 2rem 1.2rem 1.8rem;
  text-align: center;
  transition: var(--ease);
  cursor: default;
}
.ind-card:hover {
  border-color: var(--sky);
  transform: translateY(-5px);
  box-shadow: var(--shadow-blue);
}
.ind-icon { font-size: 2.2rem; display: block; margin-bottom: 0.9rem; }
.ind-title { font-family: var(--font-head); font-size: 0.88rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.4rem; }
.ind-desc { font-size: 0.76rem; color: var(--text-light); line-height: 1.55; }

/* ============================================================
   QUALITY SECTION
============================================================ */
.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.qual-features { display: grid; gap: 1.4rem; margin-top: 2rem; }
.qual-feat {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem;
  border-radius: var(--radius-sm);
  transition: var(--ease);
}
.qual-feat:hover { background: rgba(41,182,232,0.05); }
.qual-feat-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  background: rgba(41,182,232,0.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.qual-feat-title { font-family: var(--font-head); font-size: 0.9rem; font-weight: 700; margin-bottom: 0.3rem; }
.qual-feat-desc { font-size: 0.82rem; color: var(--text-mid); line-height: 1.6; }

/* ── Metric cards ── */
.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.metric-card {
  background: var(--navy);
  border-radius: var(--radius-sm);
  padding: 1.4rem;
  text-align: center;
  border: 1px solid rgba(41,182,232,0.15);
}
.metric-val {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--sky);
  font-weight: 700;
  line-height: 1;
}
.metric-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
  margin-top: 0.4rem;
}

/* ============================================================
   PARTNER CTA
============================================================ */
.cta-section {
  background: linear-gradient(135deg, #070f1e 0%, #0d1f3c 50%, #112240 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(21,101,192,0.12), transparent 65%),
    radial-gradient(ellipse 40% 60% at 80% 50%, rgba(41,182,232,0.08), transparent 60%);
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.cta-content .body-lg-light { margin-bottom: 1.2rem; }

/* ============================================================
   PAGE HERO (inner pages)
============================================================ */
.page-hero {
  background: linear-gradient(135deg, #070f1e 0%, #0d1f3c 60%, #112a48 100%);
  padding: 10rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 65% 40%, rgba(41,182,232,0.07), transparent 65%),
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(41,182,232,0.025) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(41,182,232,0.025) 80px);
  pointer-events: none;
}
.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ============================================================
   ABOUT PAGE
============================================================ */
.about-body-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: start;
}
.about-text p { margin-bottom: 1.2rem; }
.about-text p:last-of-type { margin-bottom: 2rem; }
.about-img-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.about-img-mosaic .img-frame:first-child { grid-column: 1 / -1; height: 230px; }
.about-img-mosaic .img-frame:not(:first-child) { height: 160px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.val-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--ease);
}
.val-card:hover { background: rgba(41,182,232,0.06); border-color: rgba(41,182,232,0.2); }
.val-num { font-family: var(--font-display); font-size: 2.8rem; color: rgba(41,182,232,0.2); line-height: 1; margin-bottom: 0.5rem; }
.val-title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.val-desc { font-size: 0.84rem; color: var(--silver); line-height: 1.65; }

/* ============================================================
   SERVICES PAGE
============================================================ */
.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
  padding: 4.5rem 0;
  border-bottom: 1px solid rgba(13,31,60,0.08);
}
.svc-row:last-child { border-bottom: none; }
.svc-row.flip { direction: rtl; }
.svc-row.flip > * { direction: ltr; }
.svc-row-num { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.2em; color: var(--sky); margin-bottom: 0.4rem; }
.svc-row-title { font-family: var(--font-display); font-size: 2rem; color: var(--text-dark); margin-bottom: 1rem; }
.svc-row-desc { font-size: 0.95rem; color: var(--text-mid); line-height: 1.78; margin-bottom: 1.6rem; }
.svc-row-feats { display: grid; gap: 0.6rem; }
.svc-row-feat {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--text-mid);
}
.svc-row-feat::before {
  content: '';
  width: 16px; height: 16px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='7' fill='none' stroke='%2329b6e8' stroke-width='1.5'/%3E%3Cpath d='M5 8l2 2 4-4' stroke='%2329b6e8' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  margin-top: 0.15rem;
}

/* ============================================================
   PROCESS DETAIL PAGE
============================================================ */
.process-timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding-left: 5rem;
}
.process-timeline::before {
  content: '';
  position: absolute;
  left: 2.2rem;
  top: 0; bottom: 0;
  width: 1.5px;
  background: linear-gradient(to bottom, var(--sky), rgba(41,182,232,0.05));
}
.proc-item {
  position: relative;
  margin-bottom: 4rem;
}
.proc-item:last-child { margin-bottom: 0; }
.proc-item-num {
  position: absolute;
  left: -5rem;
  top: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid rgba(41,182,232,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--sky);
  font-weight: 700;
  z-index: 1;
}
.proc-item-title { font-family: var(--font-display); font-size: 1.6rem; color: var(--text-dark); margin-bottom: 0.8rem; }
.proc-item-desc { font-size: 0.95rem; color: var(--text-mid); line-height: 1.78; margin-bottom: 1.2rem; }

/* ============================================================
   CONTACT PAGE
============================================================ */
.contact-section {
  min-height: 100vh;
  padding: 10rem 2rem 6rem;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.contact-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
}
.contact-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 5rem;
  position: relative;
  z-index: 1;
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.contact-icon {
  width: 46px; height: 46px;
  background: rgba(41,182,232,0.1);
  border: 1px solid rgba(41,182,232,0.22);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-label {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.25rem;
}
.contact-val { font-size: 0.92rem; color: var(--silver); line-height: 1.55; }

/* Contact Form */
.contact-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  backdrop-filter: blur(12px);
}
.form-title { font-family: var(--font-display); font-size: 1.5rem; color: var(--white); margin-bottom: 0.4rem; }
.form-sub { font-size: 0.85rem; color: var(--silver); margin-bottom: 2rem; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 0.55rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--white);
  outline: none;
  transition: var(--ease);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(184,205,224,0.35); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sky);
  background: rgba(41,182,232,0.06);
  box-shadow: 0 0 0 3px rgba(41,182,232,0.1);
}
.form-group select option { background: var(--navy-mid); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-success-msg { display: none; text-align: center; padding: 2.5rem 1rem; }
.form-success-icon { font-size: 3.5rem; margin-bottom: 1rem; display: block; }
.form-success-title { font-family: var(--font-display); font-size: 1.4rem; color: var(--white); margin-bottom: 0.6rem; }
.form-success-sub { font-size: 0.9rem; color: var(--silver); }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: #05101f;
  border-top: 1px solid rgba(41,182,232,0.1);
  padding: 5rem 2rem 2.5rem;
}
.footer-grid {
  max-width: 1340px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}
.footer-brand-logo { height: 48px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1) opacity(0.8); }
.footer-brand-desc { font-size: 0.84rem; color: rgba(184,205,224,0.5); line-height: 1.7; max-width: 280px; }
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 1.4rem;
}
.footer-col a {
  display: block;
  font-size: 0.84rem;
  color: rgba(184,205,224,0.5);
  margin-bottom: 0.7rem;
  cursor: pointer;
  transition: color 0.25s, padding-left 0.25s;
}
.footer-col a:hover { color: var(--white); padding-left: 4px; }
.footer-bottom {
  max-width: 1340px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-copy { font-size: 0.78rem; color: rgba(184,205,224,0.35); }
.footer-tagline { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; color: var(--sky); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
  .page-hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .who-grid { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .quality-grid { grid-template-columns: 1fr; gap: 3rem; }
  .cta-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-body-grid { grid-template-columns: 1fr; gap: 3rem; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --section-pad: 4.5rem 1.5rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr 1fr; }
  .svc-row { grid-template-columns: 1fr; gap: 2.5rem; }
  .svc-row.flip { direction: ltr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .process-strip { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .slide-thumbstrip { display: none; }
  #slider-prev, #slider-next { display: none; }
  .inline-stats { gap: 1.5rem; }
}
@media (max-width: 480px) {
  .industry-grid { grid-template-columns: 1fr; }
  .who-img-mosaic { grid-template-columns: 1fr; }
  .who-img-mosaic .img-frame:first-child { grid-column: 1; }
  .about-img-mosaic { grid-template-columns: 1fr; }
  .about-img-mosaic .img-frame:first-child { grid-column: 1; }
  .metric-row { grid-template-columns: 1fr; }
}
