/*
Theme Name: Deep IT Vision
Theme URI: https://deepitvision.com
Author: Deep IT Vision
Description: Lightweight custom theme for Deep IT Vision — AI automation & IT consulting. Built for Core Web Vitals: no page builder, no bundled framework, self-hosted fonts, CSS-driven interactivity.
Version: 1.3.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: deep-it-vision
*/

/* @font-face for Nunito is injected inline via functions.php
   (div_output_font_face) using an ABSOLUTE url(), not defined here as a
   relative path — LiteSpeed Cache's CSS optimizer relocates rules from
   this file into its own generated CSS under a different directory
   (wp-content/litespeed/css/...), and a relative path breaks (404) once
   the rule is no longer served from its original location. */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --c-bg: oklch(98.5% 0.003 265);
  --c-surface: #ffffff;
  --c-surface-alt: oklch(96.5% 0.006 265);
  --c-text: oklch(24% 0.02 265);
  --c-text-muted: oklch(40% 0.02 265);   /* darkened from 48% — 48% failed WCAG AA contrast on white per PageSpeed */
  --c-text-muted-2: oklch(34% 0.02 265); /* darkened from 40% for the same reason */

  --c-accent: oklch(46% 0.16 265);       /* darkened from 52% — PageSpeed flagged white-on-accent buttons failing contrast */
  --c-accent-dark: oklch(38% 0.15 265);  /* darkened correspondingly, so hover stays meaningfully darker than the base */
  --c-accent-tint: oklch(95% 0.035 265);

  --c-accent2: oklch(58% 0.14 300);
  --c-accent2-tint: oklch(95% 0.03 300);
  --c-accent2-text: oklch(40% 0.02 300);
  --c-accent2-link: oklch(48% 0.14 300);

  --c-border: oklch(90% 0.007 265);
  --c-border-strong: oklch(85% 0.02 265);

  --c-cta-bg: oklch(50% 0.15 265);
  --c-footer-bg: oklch(20% 0.025 265);
  --c-footer-text: oklch(75% 0.015 265);
  --c-success: oklch(62% 0.15 145);

  --font-body: 'Nunito', system-ui, -apple-system, sans-serif;

  --container-max: 1240px;
  --container-pad: 48px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-pill: 100px;

  --shadow-sm: 0 8px 30px -12px oklch(24% 0.02 265 / 0.15);
  --shadow-md: 0 16px 32px -12px oklch(24% 0.02 265 / 0.14);
  --shadow-lg: 0 24px 48px -16px oklch(24% 0.02 265 / 0.25);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-bg);
  width: 100%;
  overflow-x: hidden;
  line-height: 1.5;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--c-accent); text-decoration: none; }
a:hover { color: var(--c-accent-dark); }
h1, h2, h3, h4, p { margin: 0; font-family: var(--font-body); }
button { font-family: var(--font-body); cursor: pointer; }
::selection { background: var(--c-accent); color: white; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}
.section { padding: 110px 0 100px; }
.section-tight { padding: 100px 0; }
.section-alt { background: var(--c-surface-alt); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head--left { text-align: left; margin: 0 0 44px; }
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--c-accent); margin-bottom: 14px; text-transform: uppercase;
}
.eyebrow-pill {
  display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--c-accent); background: var(--c-accent-tint); padding: 6px 14px; border-radius: var(--radius-pill);
  margin-bottom: 22px;
}
h2.section-title { font-weight: 800; font-size: 34px; letter-spacing: -0.015em; margin: 0 0 14px; }
.section-lede { font-size: 16px; color: var(--c-text-muted); line-height: 1.6; margin: 0; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 15px; font-weight: 700; padding: 14px 26px; border-radius: var(--radius-pill);
  border: none; transition: background 0.2s, transform 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn-primary { background: var(--c-accent); color: white; box-shadow: 0 10px 24px -8px oklch(52% 0.16 265 / 0.5); }
.btn-primary:hover { background: var(--c-accent-dark); color: white; transform: translateY(-2px); }
.btn-outline { background: white; color: var(--c-text); border: 1.5px solid var(--c-border); }
.btn-outline:hover { border-color: var(--c-accent); color: var(--c-text); transform: translateY(-2px); }
.btn-sm { padding: 10px 12px; font-size: 12.5px; border-radius: var(--radius-pill); }
.btn-block { width: 100%; text-align: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--c-accent); margin-top: 14px; }

/* ============================================================
   NAVBAR
   ============================================================ */
#mobile-nav-drawer { display: none; } /* only ever shown inside the <=1024px query below, via .is-open */
#navbar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px 32px; margin: 16px 32px; border-radius: var(--radius-pill);
  position: sticky; top: 16px; background: white; box-shadow: var(--shadow-sm); z-index: 30;
}
.navbar-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.navbar-brand span { font-weight: 800; font-size: 19px; letter-spacing: -0.01em; white-space: nowrap; color: var(--c-text); }
#navbar-links { display: flex; align-items: center; gap: 26px; flex-shrink: 0; }
#navbar-links > a, .nav-dropdown-link {
  color: var(--c-text); font-size: 14.5px; font-weight: 500; white-space: nowrap; transition: color 0.2s;
}
#navbar-links > a:hover, .nav-dropdown-link:hover { color: var(--c-accent); }
/* .nav-dropdown stacks its trigger row above the panel (block, not flex) —
   this matters once .nav-panel becomes position:static on mobile (see the
   1024px breakpoint below): if .nav-dropdown were still flex-row there,
   the panel would join the link+caret as a THIRD item in that same row
   instead of dropping below them, which is exactly what was making the
   trigger disappear/get squeezed and the panel overflow sideways. */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { display: flex; align-items: center; gap: 2px; }
.nav-dropdown-caret {
  background: none; border: none; padding: 4px; cursor: pointer; display: flex; align-items: center;
  color: var(--c-text); flex-shrink: 0; border-radius: 6px;
}
.nav-dropdown-caret:hover { color: var(--c-accent); background: var(--c-surface-alt); }
.nav-dropdown-caret svg { transition: transform 0.2s; }
.nav-dropdown-caret[aria-expanded="true"] svg { transform: rotate(180deg); }
/* .nav-panel is the invisible HOVER TARGET — it starts flush at top:100%
   (no gap) so the mouse never crosses a dead zone that isn't part of any
   hoverable element between the trigger and the visible box. The 16px
   visual gap lives on .nav-panel-inner (padding-top) instead, which is
   still inside .nav-panel's hit area. */
.nav-panel {
  position: absolute; top: 100%; width: 640px; z-index: 20; display: none;
}
.nav-panel.is-open { display: block; }
.nav-panel-inner {
  background: white; border-radius: 18px; box-shadow: var(--shadow-lg);
  padding: 26px; margin-top: 16px; display: flex; gap: 24px;
}

/* Desktop mouse: open the megamenu on hover, no click needed. Gated to
   real pointer devices so touchscreens (which don't have a true hover
   state) keep using the click-based JS toggle instead. */
@media (hover: hover) and (pointer: fine) {
  .nav-dropdown:hover .nav-panel { display: block; }
  .nav-dropdown:hover .nav-dropdown-caret svg { transform: rotate(180deg); }
}
/* True centering under each trigger regardless of panel width — avoids
   the hardcoded-offset math that made Industries visibly off-center. */
#services-panel { left: 50%; transform: translateX(-50%); max-width: calc(100vw - 40px); }
#industries-panel { width: 520px; left: 50%; transform: translateX(-50%); max-width: calc(100vw - 40px); }
.nav-panel-items { flex: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
#industries-panel .nav-panel-items { display: flex; flex-direction: column; }
.nav-panel-items a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; transition: background 0.15s; }
.nav-panel-items a:hover { background: var(--c-surface-alt); }
.nav-panel-icon { width: 30px; height: 30px; border-radius: 50%; background: var(--c-accent-tint); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-panel-items span { font-size: 13px; font-weight: 600; color: var(--c-text); }
.nav-panel-cta { width: 190px; flex-shrink: 0; background: var(--c-accent-tint); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; }
#industries-panel .nav-panel-cta { background: var(--c-accent2-tint); }
.nav-panel-cta strong { font-weight: 800; font-size: 14.5px; margin-bottom: 8px; display: block; }
.nav-panel-cta p { font-size: 12.5px; line-height: 1.55; color: var(--c-text-muted-2); margin: 0 0 16px; }
.nav-panel-cta .btn-primary { margin-bottom: 10px; }
.nav-panel-cta .link-arrow { margin-top: 0; font-size: 12px; }
#industries-panel .btn-primary { background: var(--c-accent2); }
#industries-panel .link-arrow { color: var(--c-accent2-link); }

#navbar-cta { background: var(--c-accent); color: white; font-size: 14px; font-weight: 700; padding: 11px 22px; border-radius: var(--radius-pill); flex-shrink: 0; transition: background 0.2s; }
#navbar-cta:hover { background: var(--c-accent-dark); color: white; }
#drawer-cta { display: none; }
#hamburger-btn {
  display: none; background: none; border: none; padding: 6px; flex-shrink: 0; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
}
#hamburger-btn:hover { background: var(--c-surface-alt); }
#hamburger-btn svg line { transition: transform 0.2s, opacity 0.2s; transform-origin: center; }
#hamburger-btn.is-open .ham-top { transform: translateY(6px) rotate(45deg); }
#hamburger-btn.is-open .ham-mid { opacity: 0; }
#hamburger-btn.is-open .ham-bottom { transform: translateY(-6px) rotate(-45deg); }
#mega-backdrop { position: fixed; inset: 0; z-index: 15; background: oklch(20% 0.02 265 / 0.15); display: none; }
#mega-backdrop.is-open { display: block; }

/* ============================================================
   HERO
   ============================================================ */
#sec-hero { position: relative; overflow: hidden; }
#sec-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(oklch(90% 0.012 265) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 85%);
  z-index: 0;
}
#hero-row { display: flex; align-items: center; gap: 64px; padding: 96px 0 100px; position: relative; z-index: 1; }
#hero-left { flex: 1.1; min-width: 0; }
#hero-h1 { font-weight: 800; font-size: 52px; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 22px; }
#hero-h1 .accent-text {
  background: linear-gradient(90deg, var(--c-accent), var(--c-accent2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lede { font-size: 17.5px; line-height: 1.65; color: var(--c-text-muted); max-width: 520px; margin: 0 0 34px; }
.hero-ctas { display: flex; gap: 14px; margin-bottom: 28px; }
.hero-trust { display: flex; align-items: center; gap: 10px; }
.hero-trust-avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--c-accent-tint); display: flex; align-items: center;
  justify-content: center; font-weight: 800; font-size: 11.5px; color: var(--c-accent); flex-shrink: 0;
}
.hero-trust span { font-size: 13.5px; color: var(--c-text-muted); }
#hero-visual { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; position: relative; }

/* ============================================================
   TRUST SIGNALS
   ============================================================ */
#trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 0 28px; border-left: 1px solid var(--c-border-strong); }
.trust-item:first-child { padding-left: 0; border-left: none; }
.trust-bar { width: 32px; height: 3px; background: var(--c-accent); margin-bottom: 16px; }
.trust-item h3 { font-weight: 800; font-size: 15px; color: var(--c-text); margin-bottom: 8px; }
.trust-item p { font-size: 13px; line-height: 1.6; color: var(--c-text-muted); }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  border: 1px solid var(--c-border); border-radius: var(--radius-md); padding: 26px; background: white;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--c-border-strong); }
.icon-circle { width: 52px; height: 52px; border-radius: 50%; background: var(--c-accent-tint); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.icon-circle svg { stroke: var(--c-accent); }
.icon-circle--accent2 { background: var(--c-accent2-tint); }
.icon-circle--accent2 svg { stroke: var(--c-accent2); }
.card h3 { font-weight: 700; font-size: 15.5px; margin: 0 0 8px; }
.card p { font-size: 13.5px; line-height: 1.55; color: var(--c-text-muted); }

.card-feature { grid-column: span 2; background: var(--c-accent-tint); border: 1px solid oklch(88% 0.02 265); border-radius: var(--radius-md); padding: 30px; display: flex; align-items: center; gap: 22px; transition: box-shadow 0.2s, transform 0.2s; }
.card-feature:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-feature .icon-circle { width: 64px; height: 64px; background: white; margin-bottom: 0; }
.card-feature h3 { font-size: 17px; }
.card-feature p { font-size: 14px; max-width: 420px; margin: 0 0 10px; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
#wcu-row { display: flex; align-items: stretch; gap: 16px; }
.wcu-card { flex: 1; border: 1.5px solid var(--c-border); border-radius: var(--radius-md); padding: 26px; transition: box-shadow 0.2s, border-color 0.2s; }
.wcu-card:hover { box-shadow: 0 14px 28px -10px oklch(24% 0.02 265 / 0.12); border-color: var(--c-border-strong); }
.wcu-num { width: 34px; height: 34px; border-radius: 9px; background: var(--c-accent); color: white; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; margin-bottom: 18px; }
.wcu-card h3 { font-weight: 700; font-size: 16px; margin: 0 0 10px; }
.wcu-card p { font-size: 13.5px; line-height: 1.6; color: var(--c-text-muted); }
.wcu-arrow { display: flex; align-items: center; flex-shrink: 0; color: oklch(80% 0.02 265); }

/* ============================================================
   ASSESSMENT
   ============================================================ */
#assessment-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; max-width: 1100px; margin: 0 auto; padding: 100px 48px; }
.assessment-item {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; cursor: pointer;
  margin-bottom: 10px; transition: background 0.2s, border-color 0.2s; border: 1.5px solid var(--c-border); background: white;
}
.assessment-item.is-checked { border-color: var(--c-accent); background: var(--c-accent-tint); }
.assessment-check { width: 20px; height: 20px; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1.5px solid var(--c-border-strong); background: white; }
.assessment-item.is-checked .assessment-check { border-color: var(--c-accent); background: var(--c-accent); }
.assessment-item span { font-size: 14px; color: var(--c-text); }
#assessment-result { font-size: 13.5px; line-height: 1.6; color: var(--c-accent); font-weight: 600; margin: 18px 0 0; min-height: 40px; }
.assessment-form { background: white; border-radius: var(--radius-lg); padding: 34px; box-shadow: 0 20px 40px -16px oklch(24% 0.02 265 / 0.12); }
.assessment-form h3 { font-weight: 800; font-size: 19px; margin: 0 0 6px; }
.assessment-form p { font-size: 13.5px; color: var(--c-text-muted); margin: 0 0 22px; }

/* ============================================================
   FORMS
   ============================================================ */
input[type="text"], input[type="email"], input[type="tel"], textarea {
  padding: 14px 16px; border-radius: 10px; border: 1px solid var(--c-border); font-size: 14px; font-family: var(--font-body);
  width: 100%; min-height: 48px; box-sizing: border-box;
}
/* Browser default placeholder gray fails WCAG contrast at this size —
   PageSpeed flagged every CF7 input's placeholder text specifically. */
input::placeholder, textarea::placeholder { color: var(--c-text-muted); opacity: 1; }
.form-stack { display: flex; flex-direction: column; gap: 12px; }
/* Submit buttons are real form controls too — same touch-target minimum. */
input[type="submit"], button[type="submit"] { min-height: 44px; }

/* ============================================================
   INSIGHTS / BLOG CARDS
   ============================================================ */
#insights-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.insight-card { background: white; border: 1px solid var(--c-border); border-radius: var(--radius-md); overflow: hidden; }
.insight-card img, .insight-card svg { width: 100%; height: 200px; object-fit: cover; }
.insight-body { padding: 26px; }
.insight-meta { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--c-accent); margin-bottom: 10px; text-transform: uppercase; }
.insight-body h3 { font-weight: 700; font-size: 18px; line-height: 1.35; margin: 0 0 10px; }
.insight-body p { font-size: 14px; line-height: 1.6; color: var(--c-text-muted); }

/* ============================================================
   LEADERSHIP
   ============================================================ */
.leadership-card { border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 44px; background: white; display: flex; align-items: flex-start; gap: 24px; max-width: 1000px; margin: 0 auto; }
.leadership-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--c-accent-tint); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; color: var(--c-accent); flex-shrink: 0; }
.leadership-card p { font-size: 15.5px; line-height: 1.7; color: var(--c-text); margin: 0 0 16px; }
.leadership-name { font-weight: 700; font-size: 14.5px; }
.leadership-title { font-size: 13px; color: var(--c-text-muted); margin-bottom: 10px; }

/* ============================================================
   CTA BAND + CONTACT BAR
   ============================================================ */
#cta-band { background: var(--c-cta-bg); margin-top: 60px; }
#cta-inner { max-width: 820px; margin: 0 auto; padding: 80px 48px 60px; text-align: center; }
#cta-inner h2 { font-weight: 800; font-size: 32px; letter-spacing: -0.015em; color: white; margin: 0 0 14px; }
#cta-inner > p { font-size: 16px; color: oklch(95% 0.02 265); margin: 0 0 32px; }
#cta-form-row { max-width: 680px; margin: 0 auto; }

/* ============================================================
   CONTACT FORM 7 — generic baseline (Contact page's full form uses
   this, unmodified). The compact CTA-band and assessment-box forms
   below use their own layout on top of this baseline.
   ============================================================ */
.div-cf7-wrap .wpcf7-form p { margin: 0 0 12px; }
.div-cf7-wrap .wpcf7-form-control:not([type="submit"]):not([type="checkbox"]):not([type="radio"]) { width: 100%; }
.div-cf7-wrap .wpcf7-form input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; width: 100%;
  font-size: 15px; font-weight: 700; padding: 14px 26px; border-radius: var(--radius-sm);
  border: none; background: var(--c-accent); color: white; cursor: pointer; transition: background 0.2s;
}
.div-cf7-wrap .wpcf7-form input[type="submit"]:hover { background: var(--c-accent-dark); }
.div-cf7-wrap .wpcf7-response-output { border-radius: var(--radius-sm); font-size: 13.5px; margin-top: 12px !important; }
.div-cf7-wrap .wpcf7-not-valid-tip { font-size: 12.5px; margin-top: 4px; }

/* CTA band form — a single pill-shaped row directly on the dark band,
   no white card wrapper, no visible labels (placeholders only). Uses
   the "cf7-row" wrapper div from the exact form code in the setup guide. */
/* CSS Grid, not flex-wrap — flex-wrap let the submit button drop onto
   its own line whenever the 3 inputs didn't leave enough room, and a
   lone wrapped item doesn't reliably end up visually centered the way
   you'd expect. Grid guarantees one deterministic row: 3 equal input
   columns + a content-sized button column, no wrapping ambiguity. */
.div-cf7-cta .cf7-row { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 10px; align-items: center; }
.div-cf7-cta .wpcf7-form-control-wrap { display: block; }
/* .div-cf7-wrap.div-cf7-cta (both classes chained, no space) beats the
   generic ".div-cf7-wrap .wpcf7-form input[type=submit]" rule above on
   specificity — a plain ".div-cf7-cta input[...]" descendant selector
   would lose that fight and silently fall back to the generic style. */
.div-cf7-wrap.div-cf7-cta input:not([type="submit"]) {
  width: 100%; padding: 14px 18px; border-radius: var(--radius-pill); border: none; font-size: 14px;
}
.div-cf7-wrap.div-cf7-cta input[type="submit"] {
  width: auto; background: var(--c-footer-bg); color: white; font-size: 14.5px; font-weight: 700;
  padding: 14px 26px; border-radius: var(--radius-pill); border: none; white-space: nowrap; cursor: pointer; transition: background 0.2s;
}
.div-cf7-wrap.div-cf7-cta input[type="submit"]:hover { background: oklch(12% 0.02 265); }
.div-cf7-cta .wpcf7-not-valid-tip { color: oklch(92% 0.08 95); }
.div-cf7-cta .wpcf7-response-output { color: white; border-color: oklch(100% 0 0 / 0.4) !important; }

/* Assessment box form — stays inside the existing white card, just a
   short vertical stack with placeholders only (no default CF7 labels).
   wpautop is disabled for this form (see div_disable_autop_for_compact_forms
   in inc/helpers.php), so there's no automatic <p> per field — each
   field's wrap span is forced to block display instead to stack them. */
.div-cf7-assessment .wpcf7-form-control-wrap { display: block; margin-bottom: 12px; }
.div-cf7-assessment input[type="submit"] { margin-top: 6px; }
#contact-bar-row { border-top: 1px solid oklch(60% 0.1 265); max-width: var(--container-max); margin: 0 auto; padding: 32px 48px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.contact-bar-label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; color: oklch(85% 0.03 265); margin-bottom: 6px; text-transform: uppercase; }
.contact-bar-value, .contact-bar-value:hover { font-size: 14.5px; font-weight: 600; color: white; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer { background: var(--c-footer-bg); color: var(--c-footer-text); }
#footer-grid { max-width: var(--container-max); margin: 0 auto; padding: 70px 48px 36px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand span { font-weight: 800; font-size: 16.5px; color: white; }
#footer-grid p { font-size: 13.5px; line-height: 1.65; max-width: 280px; margin: 0; }
.footer-col-title { font-size: 12.5px; font-weight: 600; letter-spacing: 0.05em; color: white; margin-bottom: 16px; text-transform: uppercase; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.footer-links a { color: var(--c-footer-text); }
#footer-bottom { border-top: 1px solid oklch(30% 0.025 265); max-width: var(--container-max); margin: 0 auto; padding: 22px 48px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12.5px; }
#footer-bottom .footer-social { display: flex; gap: 18px; }

/* ============================================================
   PAGE HERO (service/industry/about/contact — simpler than home)
   ============================================================ */
.page-hero { padding: 90px 0 70px; }
.page-hero h1 { font-weight: 800; font-size: 42px; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px; max-width: 720px; }
.page-hero p { font-size: 17px; line-height: 1.6; color: var(--c-text-muted); max-width: 640px; }
.breadcrumbs { font-size: 13px; color: var(--c-text-muted); margin-bottom: 20px; }
.breadcrumbs a { color: var(--c-text-muted); }
.breadcrumbs a:hover { color: var(--c-accent); }

/* Narrower single-column article-style page (service/industry detail) */
.page-narrow { max-width: 820px; margin: 0 auto; }
.page-narrow .page-hero { padding: 70px 0 30px; }
.page-narrow .page-hero h1 { font-size: 40px; }
.page-body-section { margin-bottom: 52px; }
.page-body-section h2 { font-weight: 800; font-size: 22px; margin: 0 0 16px; }
.page-body-section > p { font-size: 15.5px; line-height: 1.8; color: oklch(30% 0.015 265); }

/* "Who it's for" / use-case grid */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.info-card { border: 1px solid var(--c-border); border-radius: 14px; padding: 20px; }
.info-card p { font-size: 14px; line-height: 1.6; color: oklch(30% 0.015 265); margin: 0; }

/* Process steps row */
.process-row { display: flex; align-items: stretch; gap: 14px; }
.process-step { flex: 1; border: 1.5px solid var(--c-border); border-radius: var(--radius-md); padding: 22px; }
.process-step-num { width: 32px; height: 32px; border-radius: 9px; background: var(--c-accent); color: white; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; margin-bottom: 14px; }
.process-step h3 { font-weight: 700; font-size: 14.5px; margin: 0 0 8px; }
.process-step p { font-size: 13px; line-height: 1.55; color: var(--c-text-muted); margin: 0; }
.process-arrow { display: flex; align-items: center; flex-shrink: 0; color: oklch(80% 0.02 265); }

/* Promo box — the rounded dark CTA block used mid-page on service/industry/hub pages */
.promo-box { background: var(--c-cta-bg); border-radius: var(--radius-lg); padding: 40px; text-align: center; margin-bottom: 52px; }
.promo-box.promo-box--accent2 { background: var(--c-accent2); }
.promo-box h3 { font-weight: 800; font-size: 22px; color: white; margin: 0 0 18px; }
.promo-box .btn { background: white; color: var(--c-cta-bg); }
.promo-box.promo-box--accent2 .btn { color: var(--c-accent2); }

/* Related services/industries pill links */
.pill-links-label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; color: var(--c-accent); margin-bottom: 14px; text-transform: uppercase; }
.pill-links-label.pill-links-label--accent2 { color: var(--c-accent2); }
.pill-links { display: flex; gap: 10px; flex-wrap: wrap; }
.pill-link { font-size: 13px; font-weight: 600; color: oklch(30% 0.015 265); background: var(--c-surface-alt); border: 1px solid var(--c-border); padding: 8px 16px; border-radius: var(--radius-pill); }
.pill-link--accent2 { background: var(--c-accent2-tint); border-color: oklch(88% 0.03 300); }

@media (max-width: 680px) {
  .page-narrow .page-hero { padding: 44px 0 20px; }
  .page-narrow .page-hero h1 { font-size: 28px; }
  .info-grid { grid-template-columns: 1fr; }
  .process-row { flex-direction: column; }
  .process-arrow { display: none; }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
#about-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 56px; align-items: start; }
.about-avatar { width: 76px; height: 76px; border-radius: 50%; background: var(--c-accent-tint); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 26px; color: var(--c-accent); flex-shrink: 0; }
.tag-pill { font-size: 12.5px; font-weight: 600; color: var(--c-accent-dark); background: var(--c-accent-tint); padding: 6px 14px; border-radius: var(--radius-pill); }
.timeline-item { position: relative; padding-left: 24px; border-left: 2px solid var(--c-border); margin-bottom: 8px; }
.timeline-item:last-child { border-left: none; }
.timeline-dot { position: absolute; left: -7px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--c-accent); border: 2px solid white; box-shadow: 0 0 0 2px oklch(52% 0.16 265 / 0.25); }
.timeline-item h3 { font-weight: 800; font-size: 16px; margin-bottom: 2px; }
.timeline-role { font-size: 14px; font-weight: 600; color: var(--c-text); margin-bottom: 2px; }
.timeline-meta { font-size: 12.5px; color: var(--c-text-muted); margin-bottom: 8px; }
.timeline-item p, .timeline-item ul { font-size: 13.5px; line-height: 1.65; color: oklch(38% 0.015 265); }
.timeline-item ul { padding-left: 18px; line-height: 1.7; }
.sidebar-card { border: 1px solid var(--c-border); border-radius: var(--radius-md); padding: 24px; background: white; }
.sidebar-card-title { font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; color: var(--c-accent); margin-bottom: 14px; text-transform: uppercase; }
.sidebar-card-list { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; color: oklch(30% 0.015 265); }
.edu-card { border: 1px solid var(--c-border); border-radius: 14px; padding: 18px 20px; background: white; }
.edu-card-name { font-size: 14.5px; font-weight: 700; margin-bottom: 3px; }
.edu-card-meta { font-size: 13px; color: var(--c-text-muted); }

@media (max-width: 1024px) {
  #about-grid { grid-template-columns: 1fr; }
  #about-sidebar { order: -1; }
  #contact-grid { grid-template-columns: 1fr !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding-left: 32px; padding-right: 32px; }
  #hero-row { flex-wrap: wrap; padding: 70px 0 60px; gap: 40px; }
  #hero-left, #hero-visual { flex: 1 1 100%; }
  #hero-visual { margin-top: 30px; }
  #hero-h1 { font-size: 40px; }
  #trust-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .trust-item { border-left: none; padding: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  #wcu-row { flex-wrap: wrap; }
  #wcu-row .wcu-card { flex: 1 1 calc(50% - 8px); }
  #assessment-grid { grid-template-columns: 1fr; padding: 70px 32px; gap: 36px; }
  #footer-grid { grid-template-columns: repeat(2, 1fr); padding: 56px 32px 30px; }

  #navbar { margin: 12px 24px; padding: 12px 20px; gap: 10px; }
  #hamburger-btn { display: flex; }
  #navbar-cta { display: none; }
  /* Desktop hover megamenu is fully hidden at this width — the mobile
     drawer below is a separate, independent structure. */
  #navbar-links { display: none; }

  #mobile-nav-drawer {
    display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; gap: 4px; background: white; border-radius: 18px;
    box-shadow: var(--shadow-lg); padding: 10px; z-index: 20; overflow-x: hidden;
    max-height: calc(100vh - 110px); overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  #mobile-nav-drawer.is-open { display: flex; }

  .mobile-nav-link {
    display: flex; align-items: center; gap: 12px; padding: 12px 10px; border-radius: 10px;
    color: var(--c-text); font-size: 14.5px; font-weight: 500;
  }
  .mobile-nav-link:hover { background: var(--c-surface-alt); color: var(--c-text); }
  .mobile-nav-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 18px; height: 18px; color: var(--c-text-muted); }

  .mobile-accordion { border-radius: 10px; }
  .mobile-accordion-trigger {
    display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 10px; border-radius: 10px;
    background: none; border: none; cursor: pointer; font-size: 14.5px; font-weight: 500; color: var(--c-text);
    font-family: var(--font-body); text-align: left; transition: background 0.15s, color 0.15s;
  }
  .mobile-accordion-trigger:hover { background: var(--c-surface-alt); }
  .mobile-accordion-label { flex: 1; }
  .mobile-accordion-chevron { transition: transform 0.2s; flex-shrink: 0; color: var(--c-text-muted); }
  .mobile-accordion-trigger[aria-expanded="true"] .mobile-accordion-chevron { transform: rotate(180deg); }

  /* Color-coding: whichever section is expanded gets a tinted background
     on its own trigger, so it's clear which one you're currently in. */
  .mobile-accordion--services .mobile-accordion-trigger[aria-expanded="true"] { background: var(--c-accent-tint); color: var(--c-accent); }
  .mobile-accordion--services .mobile-accordion-trigger[aria-expanded="true"] .mobile-nav-icon,
  .mobile-accordion--services .mobile-accordion-trigger[aria-expanded="true"] .mobile-accordion-chevron { color: var(--c-accent); }
  .mobile-accordion--industries .mobile-accordion-trigger[aria-expanded="true"] { background: var(--c-accent2-tint); color: var(--c-accent2); }
  .mobile-accordion--industries .mobile-accordion-trigger[aria-expanded="true"] .mobile-nav-icon,
  .mobile-accordion--industries .mobile-accordion-trigger[aria-expanded="true"] .mobile-accordion-chevron { color: var(--c-accent2); }

  .mobile-accordion-panel { display: none; padding: 4px 0 8px 14px; }
  .mobile-accordion-panel.is-open { display: block; }
  .mobile-accordion--services .mobile-accordion-panel { border-left: 2px solid var(--c-accent); margin-left: 20px; }
  .mobile-accordion--industries .mobile-accordion-panel { border-left: 2px solid var(--c-accent2); margin-left: 20px; }

  .mobile-accordion-viewall { display: block; padding: 8px 10px; font-size: 12.5px; font-weight: 700; color: var(--c-accent); }
  .mobile-accordion--industries .mobile-accordion-viewall { color: var(--c-accent2); }

  .mobile-accordion-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--c-text); }
  .mobile-accordion-item:hover { background: var(--c-surface-alt); color: var(--c-text); }

  #mobile-nav-cta { display: block; text-align: center; margin-top: 8px; }
}

@media (max-width: 680px) {
  .container { padding-left: 20px; padding-right: 20px; }
  #navbar { margin: 12px 16px; padding: 10px 16px; }
  #hero-row { padding: 52px 0 44px; gap: 30px; }
  #hero-h1 { font-size: 30px; }
  #trust-grid { grid-template-columns: 1fr; row-gap: 28px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .card-feature { grid-column: span 1; }
  #wcu-row { flex-direction: column; }
  #wcu-row .wcu-arrow { display: none; }
  #wcu-row .wcu-card { flex: 1 1 auto; }
  #assessment-grid { padding: 56px 20px; }
  #footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 48px 24px 24px; }
  #cta-band { margin-top: 36px; }
  #cta-inner { padding: 56px 24px 40px; }
  .div-cf7-cta .cf7-row { grid-template-columns: 1fr; }
  .div-cf7-wrap.div-cf7-cta input[type="submit"] { width: 100%; }
  #contact-bar-row { padding: 24px 24px; flex-direction: column; gap: 16px; }
  .section, .section-tight { padding: 56px 0; }
  .page-hero { padding: 56px 0 40px; }
  .page-hero h1 { font-size: 30px; }
}
