/* =============================================================
   Teqworks Theme — Main Stylesheet
   v1.0.0
   ============================================================= */

/* ── RESET & ROOT ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:     #ff6600;
  --orange-lt:  #ff8533;
  --orange-dim: rgba(255,102,0,0.12);
  --navy:       #1a2b3c;
  --blue:       #2557a7;
  --blue-lt:    #3a6fc4;
  --slate:      #4a6580;
  --steel:      #6b8299;
  --silver:     #c2cdd8;
  --mist:       #e8edf2;
  --fog:        #f0f4f7;
  --white:      #ffffff;
  --ink:        #111c28;
  --ink-mid:    #2e3f52;
  --ink-light:  #5a7080;
  --border:     rgba(26,43,60,0.1);
  --shadow:     rgba(26,43,60,0.08);
  --shadow-md:  rgba(26,43,60,0.14);
}

html { scroll-behavior: smooth; }

/* Century Gothic heading stack — system font (Win/Mac), geometric fallbacks elsewhere */
:root {
  --font-heading: 'Century Gothic', 'AppleGothic', 'Trebuchet MS', 'Gill Sans', 'URW Gothic L', sans-serif;
  --font-body:    'Epilogue', 'Segoe UI', system-ui, sans-serif;
  --font-quote:   'Fraunces', Georgia, 'Times New Roman', serif;
}

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

img { max-width: 100%; height: auto; }
a { color: inherit; }

/* ── NAVIGATION ── */
.site-nav {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: 72px;
  transition: box-shadow 0.3s;
}

.site-nav.scrolled { box-shadow: 0 4px 24px var(--shadow); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; padding: 0 5%;
}

.site-logo { display: flex; align-items: center; text-decoration: none; }

/* Cap logo regardless of intrinsic image size — WP custom logo wraps in .custom-logo-link */
.site-logo img,
.site-logo .custom-logo,
.custom-logo-link img {
  height: 56px !important;
  width: auto !important;
  max-width: 320px !important;
  max-height: 56px !important;
  display: block;
  object-fit: contain;
}

.custom-logo-link { display: flex; align-items: center; }

.logo-fallback {
  font-family: var(--font-heading);
  font-weight: 800; font-size: 1.4rem; color: var(--navy);
  display: flex; align-items: center; gap: 10px;
}

.logo-mark {
  width: 38px; height: 38px; background: var(--orange);
  border-radius: 6px; display: flex; align-items: center;
  justify-content: center; font-size: 0.85rem;
  font-weight: 800; color: #fff;
}

/* Primary menu */
#primary-menu {
  display: flex; gap: 32px; list-style: none;
  align-items: center; margin: 0; padding: 0;
}

#primary-menu a {
  color: var(--ink-light); text-decoration: none;
  font-size: 0.88rem; font-weight: 500;
  letter-spacing: 0.01em; transition: color 0.2s;
}

#primary-menu a:hover { color: var(--navy); }

#primary-menu .current-menu-item > a,
#primary-menu .current_page_item > a { color: var(--navy); font-weight: 600; }

.nav-cta-btn {
  background: var(--orange); color: #fff !important;
  padding: 10px 22px; border-radius: 5px;
  font-weight: 600 !important; font-size: 0.88rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.nav-cta-btn:hover { background: var(--orange-lt) !important; transform: translateY(-1px); }

/* Mobile toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}

.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); transition: all 0.3s;
}

/* Mobile menu open state */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  padding: 100px 5% 80px;
  display: grid; grid-template-columns: 55% 45%;
  gap: 60px; align-items: center;
  position: relative;
  background: linear-gradient(160deg, var(--white) 55%, var(--fog) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 50%, black 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 80% at 80% 50%, black 30%, transparent 80%);
  opacity: 0.5; pointer-events: none;
}

.hero::after {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--orange);
}

.hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
  animation: fadeUp 0.7s ease both;
}

.eyebrow-line { width: 36px; height: 2px; background: var(--orange); flex-shrink: 0; }

.eyebrow-text {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 4.2vw, 4rem);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -0.02em; color: var(--navy);
  margin-bottom: 24px;
  animation: fadeUp 0.7s 0.1s ease both;
}

.h1-italic { font-style: italic; color: var(--blue); }
.h1-accent { color: var(--orange); }

.hero-sub {
  font-size: 1.08rem; color: var(--ink-light);
  max-width: 500px; line-height: 1.8;
  margin-bottom: 40px; font-weight: 300;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeUp 0.7s 0.3s ease both;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--orange); color: #fff;
  font-family: var(--font-body);
  font-weight: 600; font-size: 0.92rem;
  padding: 15px 30px; border-radius: 5px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 20px rgba(255,102,0,0.3);
}

.btn-primary:hover {
  background: var(--orange-lt); transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,102,0,0.35);
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--navy);
  font-family: var(--font-body);
  font-weight: 500; font-size: 0.92rem;
  padding: 15px 28px; border-radius: 5px;
  text-decoration: none; border: 1.5px solid var(--silver);
  transition: border-color 0.2s, background 0.2s;
}

.btn-ghost:hover { border-color: var(--slate); background: var(--fog); }

.hero-visual { position: relative; z-index: 2; animation: fadeUp 0.7s 0.2s ease both; }

.hero-card-main {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 32px;
  box-shadow: 0 12px 48px var(--shadow-md);
  margin-bottom: 14px; border-left: 4px solid var(--orange);
}

.card-tag {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}

.card-tag::before {
  content: ''; display: inline-block;
  width: 6px; height: 6px;
  background: var(--orange); border-radius: 50%;
}

.hero-card-main blockquote {
  font-family: var(--font-quote);
  font-style: italic; font-weight: 300;
  font-size: 1.15rem; line-height: 1.55;
  color: var(--ink-mid); margin-bottom: 18px;
}

.quote-author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px; border-top: 1px solid var(--border);
}

.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700; font-size: 0.9rem; color: #fff;
}

.author-info strong { display: block; font-size: 0.87rem; font-weight: 600; color: var(--navy); }
.author-info span { font-size: 0.77rem; color: var(--ink-light); }

.hero-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }

.stat-mini {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 10px; padding: 16px 14px;
  box-shadow: 0 3px 12px var(--shadow); text-align: center;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.5rem; font-weight: 700;
  color: var(--navy); line-height: 1;
}

.stat-num span { color: var(--orange); }
.stat-label { font-size: 0.72rem; color: var(--ink-light); margin-top: 4px; line-height: 1.3; }

/* ── MANIFESTO STRIP ── */
.manifesto-strip {
  background: var(--navy); padding: 60px 5%;
  position: relative; overflow: hidden;
}

.manifesto-strip::before {
  content: '\201C'; position: absolute;
  font-family: var(--font-heading);
  font-size: 24rem; line-height: 0.8;
  color: rgba(255,255,255,0.03);
  top: -20px; left: 3%; pointer-events: none;
}

.manifesto-strip::after {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--orange);
}

.manifesto-inner { max-width: 780px; margin: 0 auto; text-align: center; }

.manifesto-inner p {
  font-family: var(--font-quote);
  font-style: italic; font-weight: 300;
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  color: rgba(255,255,255,0.88); line-height: 1.55; margin-bottom: 18px;
}

.manifesto-inner cite {
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); font-style: normal;
}

/* ── SECTION SHARED ── */
.section-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.eyebrow-dash { width: 26px; height: 2px; background: var(--orange); flex-shrink: 0; }
.section-label { font-size: 0.73rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--orange); }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.02em; color: var(--navy);
  margin-bottom: 14px;
}

.section-title em { font-style: italic; color: var(--blue); }

.section-sub {
  color: var(--ink-light); font-size: 1rem;
  max-width: 540px; line-height: 1.8;
  font-weight: 300; margin-bottom: 52px;
}

/* ── PHILOSOPHY ── */
.philosophy { background: var(--fog); padding: 96px 5%; }

.philosophy-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--border);
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}

.philosophy-card {
  background: var(--white); padding: 44px 36px;
  transition: background 0.25s; position: relative;
}

.philosophy-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}

.philosophy-card:hover { background: #fafcff; }
.philosophy-card:hover::after { transform: scaleX(1); }

.phil-icon { font-size: 2rem; margin-bottom: 18px; display: block; }

.philosophy-card h3 {
  font-family: var(--font-heading);
  font-weight: 700; font-size: 1.15rem;
  margin-bottom: 12px; color: var(--navy);
}

.philosophy-card p { color: var(--ink-light); font-size: 0.9rem; line-height: 1.7; font-weight: 300; }

/* ── DIFFERENCE ── */
.difference { background: var(--white); padding: 96px 5%; }

.difference-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }

.outcomes-list { list-style: none; }

.outcome-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--border);
}

.outcome-item:last-child { border-bottom: none; }

.outcome-check {
  width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px;
  background: var(--orange); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.68rem; font-weight: 700;
}

.outcome-body strong { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 3px; color: var(--navy); }
.outcome-body span { color: var(--ink-light); font-size: 0.87rem; font-weight: 300; }

.vs-panel { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: 0 8px 36px var(--shadow-md); }
.vs-header { display: grid; grid-template-columns: 1fr 1fr; }
.vs-col-head { padding: 16px 22px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; }
.vs-col-head.them { background: var(--fog); color: var(--steel); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.vs-col-head.us { background: var(--navy); color: rgba(255,255,255,0.85); border-bottom: 3px solid var(--orange); }
.vs-row { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--border); }
.vs-cell { padding: 14px 22px; font-size: 0.86rem; line-height: 1.5; }
.vs-cell.them { background: var(--white); color: var(--ink-light); border-right: 1px solid var(--border); }
.vs-cell.them::before { content: '\2717  '; color: #cc3333; font-weight: 700; }
.vs-cell.us { background: rgba(26,43,60,0.02); color: var(--navy); font-weight: 500; }
.vs-cell.us::before { content: '\2713  '; color: var(--orange); font-weight: 700; }

/* ── SERVICES ── */
.services { background: var(--fog); padding: 96px 5%; }

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

.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 34px 28px;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}

.service-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-lt));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover { transform: translateY(-4px); box-shadow: 0 14px 44px var(--shadow-md); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { font-size: 1.9rem; margin-bottom: 16px; display: block; }
.service-card h3 { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; color: var(--navy); margin-bottom: 10px; }
.service-card p { color: var(--ink-light); font-size: 0.88rem; line-height: 1.65; font-weight: 300; }
.service-link { display: inline-flex; align-items: center; gap: 6px; color: var(--orange); font-size: 0.82rem; font-weight: 600; text-decoration: none; margin-top: 16px; transition: gap 0.2s; }
.service-link:hover { gap: 10px; }

/* ── TESTIMONIALS (written) ── */
.testimonials { background: var(--mist); padding: 96px 5%; }

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.testi-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 30px; box-shadow: 0 4px 16px var(--shadow); border-top: 3px solid var(--orange); }
.testi-stars { color: var(--orange); font-size: 0.88rem; margin-bottom: 14px; }
.testi-card blockquote { font-family: var(--font-quote); font-style: italic; font-weight: 300; font-size: 1rem; line-height: 1.65; color: var(--ink-mid); margin-bottom: 18px; }
.testi-footer { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--border); }
.testi-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-size: 0.82rem; font-weight: 700; color: #fff; flex-shrink: 0; }
.testi-info strong { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.testi-info span { font-size: 0.76rem; color: var(--ink-light); }

/* ── LONG-FORM VIDEO ── */
.video-feature { background: var(--navy); padding: 96px 5%; position: relative; overflow: hidden; }
.video-feature::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--orange); }
.video-feature::before { content: ''; position: absolute; width: 800px; height: 800px; background: radial-gradient(circle, rgba(255,102,0,0.07) 0%, transparent 65%); top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; }

.video-feature-inner { max-width: 900px; margin: 0 auto; position: relative; z-index: 2; }
.video-feature-header { text-align: center; margin-bottom: 44px; }
.video-feature-header .section-eyebrow { justify-content: center; }
.video-feature-header .section-label { color: var(--orange); }
.video-feature-header .eyebrow-dash { background: var(--orange); }
.video-feature-header .section-title { color: #fff; margin-bottom: 12px; }
.video-feature-header .section-title em { color: var(--orange); font-style: italic; }
.video-feature-header p { color: rgba(255,255,255,0.55); font-size: 1rem; font-weight: 300; line-height: 1.75; max-width: 560px; margin: 0 auto; }

.video-thumb-wrap { position: relative; border-radius: 14px; overflow: hidden; cursor: pointer; box-shadow: 0 24px 80px rgba(0,0,0,0.5); transition: transform 0.3s, box-shadow 0.3s; }
.video-thumb-wrap:hover { transform: translateY(-4px); box-shadow: 0 32px 96px rgba(0,0,0,0.6); }

.video-thumb-bg { width: 100%; aspect-ratio: 16/9; background: url('https://img.youtube.com/vi/5mHxHWQBvlA/maxresdefault.jpg') center/cover no-repeat; display: block; position: relative; }
.video-thumb-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(26,43,60,0.25) 0%, rgba(26,43,60,0.55) 100%); transition: background 0.3s; }
.video-thumb-wrap:hover .video-thumb-bg::after { background: linear-gradient(to bottom, rgba(26,43,60,0.15) 0%, rgba(26,43,60,0.4) 100%); }

.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 3; width: 84px; height: 84px; background: var(--orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 32px rgba(255,102,0,0.55); transition: transform 0.25s, box-shadow 0.25s, background 0.2s; }
.video-thumb-wrap:hover .play-btn { transform: translate(-50%,-50%) scale(1.1); box-shadow: 0 12px 48px rgba(255,102,0,0.7); background: var(--orange-lt); }
.play-btn svg { width: 30px; height: 30px; fill: #fff; margin-left: 5px; }

.video-duration { position: absolute; bottom: 18px; right: 18px; z-index: 3; background: rgba(0,0,0,0.7); color: #fff; font-size: 0.78rem; font-weight: 600; padding: 4px 10px; border-radius: 4px; letter-spacing: 0.04em; }

.video-caption { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 20px; color: rgba(255,255,255,0.4); font-size: 0.82rem; }
.video-caption::before, .video-caption::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.1); }

/* ── LIGHTBOX ── */
.lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(10,15,26,0.96); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-inner { width: 90%; max-width: 960px; position: relative; }
.lightbox-frame { width: 100%; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; box-shadow: 0 32px 96px rgba(0,0,0,0.7); }
.lightbox-frame iframe { width: 100%; height: 100%; border: none; display: block; }
.lightbox-close { position: absolute; top: -48px; right: 0; background: none; border: none; color: rgba(255,255,255,0.6); font-size: 2rem; cursor: pointer; line-height: 1; transition: color 0.2s; }
.lightbox-close:hover { color: #fff; }

/* ── VIDEO CAROUSEL ── */
.video-carousel-section { background: var(--fog); padding: 96px 5%; overflow: hidden; }
.carousel-viewport { position: relative; margin-top: 44px; }
.carousel-track-wrap { overflow: hidden; }
.carousel-track { display: flex; gap: 20px; transition: transform 0.45s cubic-bezier(0.25,0.46,0.45,0.94); will-change: transform; }

.vid-card { flex: 0 0 300px; background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px var(--shadow); cursor: pointer; transition: transform 0.25s, box-shadow 0.25s; }
.vid-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px var(--shadow-md); }
.vid-card-thumb { position: relative; aspect-ratio: 16/9; background: var(--navy); overflow: hidden; }
.vid-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.vid-card:hover .vid-card-thumb img { transform: scale(1.04); }
.vid-card-thumb::after { content: ''; position: absolute; inset: 0; background: rgba(26,43,60,0.35); transition: background 0.3s; }
.vid-card:hover .vid-card-thumb::after { background: rgba(26,43,60,0.2); }
.vid-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 2; width: 48px; height: 48px; background: var(--orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 18px rgba(255,102,0,0.5); transition: transform 0.2s, background 0.2s; }
.vid-card:hover .vid-play-btn { transform: translate(-50%,-50%) scale(1.12); background: var(--orange-lt); }
.vid-play-btn svg { width: 17px; height: 17px; fill: #fff; margin-left: 3px; }
.vid-card-body { padding: 18px 20px 20px; }
.vid-card-name { font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem; color: var(--navy); margin-bottom: 4px; }
.vid-card-role { font-size: 0.78rem; color: var(--ink-light); margin-bottom: 10px; }
.vid-card-quote { font-family: var(--font-quote); font-style: italic; font-weight: 300; font-size: 0.88rem; line-height: 1.55; color: var(--ink-mid); border-left: 2px solid var(--orange); padding-left: 10px; }

.carousel-controls { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.carousel-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--white); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s, border-color 0.2s, transform 0.15s; }
.carousel-btn:hover { background: var(--orange); border-color: var(--orange); transform: scale(1.05); }
.carousel-btn:hover svg { stroke: #fff; }
.carousel-btn svg { width: 18px; height: 18px; stroke: var(--navy); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.2s; }
.carousel-dots { display: flex; gap: 6px; align-items: center; }
.carousel-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--silver); cursor: pointer; transition: background 0.2s, transform 0.2s; }
.carousel-dot.active { background: var(--orange); transform: scale(1.3); }

/* ── COMMUNITY ── */
.community { background: var(--white); padding: 96px 5%; }
.community-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.community-story p { color: var(--ink-light); font-size: 0.95rem; line-height: 1.82; font-weight: 300; margin-bottom: 18px; }
.community-story strong { color: var(--navy); font-weight: 600; }

.community-cta-box { background: var(--navy); border-radius: 12px; padding: 40px; border-top: 4px solid var(--orange); box-shadow: 0 8px 40px rgba(26,43,60,0.2); }
.community-cta-box .eyebrow-dash { background: var(--orange); }
.community-cta-box .section-label { color: var(--orange); }
.community-cta-box h3 { font-family: var(--font-heading); font-size: 1.55rem; font-weight: 700; color: #fff; margin-bottom: 14px; line-height: 1.25; }
.community-cta-box p { font-size: 0.9rem; line-height: 1.75; color: rgba(255,255,255,0.6); font-weight: 300; margin-bottom: 28px; }
.btn-orange { display: inline-flex; align-items: center; gap: 10px; background: var(--orange); color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 0.88rem; padding: 13px 26px; border-radius: 5px; text-decoration: none; transition: background 0.2s; }
.btn-orange:hover { background: var(--orange-lt); }

.initiatives { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.initiative-item { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; background: rgba(255,255,255,0.05); border-radius: 8px; border: 1px solid rgba(255,255,255,0.08); }
.initiative-icon { font-size: 1.3rem; flex-shrink: 0; }
.initiative-item strong { display: block; font-size: 0.86rem; color: #fff; margin-bottom: 2px; }
.initiative-item span { font-size: 0.78rem; color: rgba(255,255,255,0.45); }

/* ── INDUSTRIES ── */
.industries { background: var(--fog); padding: 96px 5%; }
.industries-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-bottom: 44px; }
.industry-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.industry-tile { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 20px 12px; text-align: center; transition: background 0.2s, border-color 0.2s, transform 0.2s; cursor: default; }
.industry-tile:hover { background: var(--navy); border-color: var(--navy); transform: translateY(-3px); }
.industry-tile:hover .itile-name { color: rgba(255,255,255,0.8); }
.itile-icon { font-size: 1.55rem; margin-bottom: 8px; display: block; }
.itile-name { font-size: 0.76rem; font-weight: 600; color: var(--ink-mid); transition: color 0.2s; }

/* ── AWARDS ── */
.awards-strip { background: var(--navy); padding: 52px 5%; border-top: 3px solid var(--orange); }
.awards-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 36px; }
.award-item { display: flex; align-items: center; gap: 16px; }
.award-icon { font-size: 2.2rem; }
.award-text strong { display: block; font-family: var(--font-heading); font-size: 0.98rem; font-weight: 700; color: #fff; }
.award-text span { font-size: 0.78rem; color: var(--steel); }
.award-sep { width: 1px; height: 44px; background: rgba(255,255,255,0.1); }

/* ── CONTACT ── */
.contact-section { background: var(--white); padding: 100px 5%; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.contact-left .section-sub { margin-bottom: 28px; }
.contact-perks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.contact-perk { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--ink-mid); }
.perk-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.contact-phone-block { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border); }
.contact-phone-block p { font-size: 0.82rem; color: var(--ink-light); margin-bottom: 6px; }
.contact-phone-block a { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: var(--navy); text-decoration: none; transition: color 0.2s; }
.contact-phone-block a:hover { color: var(--orange); }

.contact-form-box { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 44px; box-shadow: 0 8px 36px var(--shadow-md); border-top: 4px solid var(--orange); }
.contact-form-box h3 { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; color: var(--navy); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-light); }
.field input, .field select, .field textarea { background: var(--fog); border: 1px solid var(--border); border-radius: 6px; padding: 12px 14px; font-family: var(--font-body); font-size: 0.9rem; color: var(--ink); transition: border-color 0.2s, background 0.2s; outline: none; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); background: var(--white); }
.field textarea { resize: vertical; min-height: 88px; }
.btn-submit { width: 100%; background: var(--orange); color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; padding: 15px; border: none; border-radius: 5px; cursor: pointer; transition: background 0.2s, transform 0.15s; margin-top: 6px; box-shadow: 0 4px 18px rgba(255,102,0,0.28); }
.btn-submit:hover { background: var(--orange-lt); transform: translateY(-1px); }

/* ── FOOTER ── */
.site-footer { background: var(--ink); padding: 64px 5% 28px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo img { height: 38px; width: auto; margin-bottom: 16px; display: block; }
.footer-logo-fallback { font-family: var(--font-heading); font-weight: 800; font-size: 1.3rem; color: #fff; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-mark { width: 34px; height: 34px; background: var(--orange); border-radius: 5px; display: flex; align-items: center; justify-content: center; font-size: 0.78rem; font-weight: 800; color: #fff; }
.footer-brand p { color: rgba(255,255,255,0.38); font-size: 0.85rem; line-height: 1.75; max-width: 280px; font-weight: 300; }
.footer-col h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.86rem; font-weight: 300; transition: color 0.2s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: rgba(255,255,255,0.25); font-size: 0.78rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: rgba(255,255,255,0.25); text-decoration: none; font-size: 0.78rem; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.6); }

/* ── SCROLL REVEAL ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  #primary-menu {
    display: none; flex-direction: column; align-items: flex-start;
    position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid var(--border);
    padding: 20px 5%; gap: 16px;
    box-shadow: 0 8px 24px var(--shadow);
  }
  #primary-menu.open { display: flex; }
  .nav-cta-btn { display: none; }
  .hero, .difference-grid, .community-grid, .contact-section, .industries-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero::after { display: none; }
  .hero-stats-row { grid-template-columns: repeat(2, 1fr); }
  .philosophy-grid { grid-template-columns: 1fr; }
  .services-grid, .testi-grid { grid-template-columns: 1fr; }
  .industry-tiles { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .awards-row { justify-content: center; }
  .award-sep { display: none; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-stats-row { grid-template-columns: repeat(2, 1fr); }
  .industry-tiles { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
}

/* ── WORDPRESS BODY CLASSES ── */
/* Ensure nav sits fully below the WP admin bar, never cropped */
.admin-bar .site-nav {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .site-nav { top: 46px; }
}
/* Extra hero push when admin bar is visible */
.admin-bar .hero { padding-top: 132px; }

/* ── GUTENBERG / BLOCK EDITOR COMPAT ── */
.wp-block-image img { border-radius: 8px; }
.wp-block-button__link { background: var(--orange); border-radius: 5px; font-family: var(--font-body); }

/* ── HERO AWARD CARDS ── */
.hero-award-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.award-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 16px;
  box-shadow: 0 4px 18px var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.award-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--shadow-md);
}

/* Kane County card — navy left border */
.award-card--kane {
  border-left: 4px solid var(--orange);
}

/* Inc. card — blue left border */
.award-card--inc {
  border-left: 4px solid var(--blue);
}

.award-card__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.award-card__icon {
  font-size: 1.6rem;
  line-height: 1;
  display: block;
}

/* "2024 / 2025" year pills */
.award-card__years {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.award-card__years span {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
  background: var(--orange);
  border-radius: 3px;
  padding: 1px 5px;
  text-align: center;
  line-height: 1.5;
}

/* Inc. Magazine logo treatment */
.award-card__inc-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--white);
  background: var(--blue);
  border-radius: 6px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.03em;
}

.award-card__body {
  min-width: 0;
}

.award-card__source {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.award-card__title {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 4px;
}

.award-card__detail {
  font-size: 0.72rem;
  color: var(--ink-light);
  font-weight: 300;
  line-height: 1.4;
}

/* Responsive — stack on narrow screens */
@media (max-width: 480px) {
  .hero-award-row {
    grid-template-columns: 1fr;
  }
}
