/* ============================================================
   WeSpotHire LLC — Brand Redesign
   Primary: #C62828 (extracted from logo shield)
   ============================================================ */

/* ── 1. Design Tokens ─────────────────────────────────────── */
:root {
  /* Brand Red — from logo */
  --red:        #C62828;
  --red-dark:   #8E0000;
  --red-mid:    #B71C1C;
  --red-light:  #E53935;
  --red-pale:   #FFF5F5;
  --red-border: rgba(198,40,40,.18);

  /* Neutrals */
  --dark:       #0A0F1E;
  --dark-2:     #111827;
  --dark-3:     #1F2937;
  --gray-dark:  #374151;
  --gray:       #6B7280;
  --gray-light: #9CA3AF;
  --border:     #E5E7EB;
  --light:      #F8FAFC;
  --light-2:    #EEF2F7;
  --white:      #FFFFFF;

  /* Success */
  --green: #10B981;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;

  /* Layout */
  --container: 1200px;
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl:32px;

  /* Shadows */
  --shadow-xs:  0 1px 2px rgba(0,0,0,.05);
  --shadow-sm:  0 1px 4px rgba(0,0,0,.08);
  --shadow-md:  0 4px 12px rgba(0,0,0,.10);
  --shadow-lg:  0 10px 24px rgba(0,0,0,.10);
  --shadow-xl:  0 20px 40px rgba(0,0,0,.12);
  --shadow-red: 0 6px 20px rgba(198,40,40,.38);
  --shadow-red-sm: 0 3px 10px rgba(198,40,40,.28);

  /* Transitions */
  --ease: cubic-bezier(.4,0,.2,1);
  --t:    .22s cubic-bezier(.4,0,.2,1);
  --t-lg: .38s cubic-bezier(.4,0,.2,1);
}

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

/* ── 3. Typography ────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--dark-2);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1rem; font-weight: 700; }
p  { color: var(--gray); line-height: 1.75; }

/* ── 4. Layout ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 128px 0; }
.section-dark { background: var(--dark-2); }
.section-light { background: var(--light); }
.section-red { background: linear-gradient(135deg, var(--red) 0%, var(--red-mid) 100%); }

/* ── 5. Utilities ─────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--red);
  background: var(--red-pale); border: 1px solid var(--red-border);
  padding: 5px 14px; border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.eyebrow-light { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.9); }
.text-red   { color: var(--red); }
.text-white { color: var(--white); }
.text-gray  { color: var(--gray); }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }

/* Section Header */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p  { font-size: .97rem; }
.section-header.left { text-align: left; margin-left: 0; }

/* ── 6. Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; border-radius: var(--radius-lg);
  transition: background var(--t), color var(--t), box-shadow var(--t), transform var(--t), border-color var(--t);
  white-space: nowrap; cursor: pointer;
}
.btn-sm  { padding: 10px 20px; font-size: .85rem; border-radius: var(--radius); }
.btn-md  { padding: 13px 28px; font-size: .92rem; }
.btn-lg  { padding: 16px 36px; font-size: 1rem; }
.btn-xl  { padding: 19px 44px; font-size: 1.05rem; }

.btn-primary {
  background: var(--red); color: var(--white);
  box-shadow: var(--shadow-red-sm);
}
.btn-primary:hover {
  background: var(--red-mid); box-shadow: var(--shadow-red);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent; color: var(--red);
  border: 2px solid var(--red);
}
.btn-outline:hover {
  background: var(--red); color: var(--white);
  box-shadow: var(--shadow-red-sm);
}

.btn-outline-white {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

.btn-dark {
  background: var(--dark-2); color: var(--white);
}
.btn-dark:hover { background: var(--dark-3); transform: translateY(-2px); }

.btn-ghost {
  background: transparent; color: var(--red);
  padding-left: 0; padding-right: 0;
}
.btn-ghost:hover { gap: 13px; }
.btn-ghost svg, .btn-ghost .arrow { transition: transform var(--t); }
.btn-ghost:hover .arrow { transform: translateX(4px); }

/* ── 7. Badges & Tags ─────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 12px;
  border-radius: var(--radius-sm);
}
.badge-red   { background: var(--red-pale); color: var(--red); }
.badge-dark  { background: rgba(255,255,255,.1); color: rgba(255,255,255,.9); }
.badge-green { background: rgba(16,185,129,.1); color: var(--green); }

/* ── 8. Navigation ────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0;
  transition: background var(--t), box-shadow var(--t), padding var(--t);
}
.nav.scrolled {
  background: var(--white);
  box-shadow: 0 1px 0 var(--border), 0 2px 16px rgba(0,0,0,.06);
  padding: 14px 0;
}
.nav-inner {
  display: flex; align-items: center; gap: 32px;
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.nav-logo { height: 40px; width: auto; }
.nav-brand-text {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 800; letter-spacing: -.03em;
  color: var(--dark-2);
}
.nav-brand-text span { color: var(--red); }

.nav-menu {
  display: flex; align-items: center; gap: 4px;
  margin-left: auto;
}
.nav-link {
  padding: 8px 14px;
  font-size: .875rem; font-weight: 600;
  color: var(--dark-3);
  border-radius: var(--radius);
  transition: color var(--t), background var(--t);
}
.nav-link:hover { color: var(--red); background: var(--red-pale); }
.nav-link.active { color: var(--red); }

.nav-hero-link { color: var(--dark-3); }
.nav-hero-link:hover { color: var(--red); background: var(--red-pale); }

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 28px; padding: 4px; margin-left: auto;
}
.nav-toggle span {
  display: block; width: 100%; height: 2px;
  background: var(--dark-2); border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.nav.scrolled .nav-hero-link { color: var(--dark-3); }
.nav.scrolled .nav-hero-link:hover { color: var(--red); background: var(--red-pale); }

/* Nav default (non-hero pages) already white */
.nav { background: var(--white); box-shadow: 0 1px 0 var(--border); }

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: fixed; inset: 0; top: 0; z-index: 999;
  background: var(--white);
  padding: 24px;
  flex-direction: column; gap: 4px;
  overflow-y: auto;
}
.nav-drawer.open { display: flex; }
.nav-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.nav-drawer-close {
  width: 36px; height: 36px; border-radius: var(--radius);
  background: var(--light); color: var(--gray-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.nav-drawer-link {
  display: block; padding: 14px 16px;
  font-size: 1rem; font-weight: 600; color: var(--dark-3);
  border-radius: var(--radius); border-bottom: 1px solid var(--border);
  transition: color var(--t), background var(--t);
}
.nav-drawer-link:hover { color: var(--red); background: var(--red-pale); }
.nav-drawer .btn { margin-top: 20px; width: 100%; justify-content: center; }

/* ── 9. Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--white);
  padding: 160px 0 100px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

/* Decorative soft shapes */
.hero::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(198,40,40,.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -80px; left: 5%;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(198,40,40,.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.03) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}

.hero-copy {}
.hero-eyebrow { margin-bottom: 24px; }

.hero-title {
  color: var(--dark-2);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800; letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--red-light), var(--red));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.05rem; color: var(--gray);
  line-height: 1.75; margin-bottom: 40px;
  max-width: 520px;
}

.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.hero-trust {
  display: flex; align-items: center; gap: 16px;
  margin-top: 48px; padding-top: 40px;
  border-top: 1px solid var(--border);
}
.hero-trust-label {
  font-size: .78rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--gray-light);
  white-space: nowrap;
}
.hero-trust-stats { display: flex; gap: 32px; }
.hero-trust-stat .val {
  display: block; font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 800;
  color: var(--dark-2); line-height: 1;
}
.hero-trust-stat .lbl {
  font-size: .72rem; color: var(--gray);
  text-transform: uppercase; letter-spacing: .06em;
}

/* Hero Visual */
.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-xl);
  padding: 28px;
  backdrop-filter: blur(12px);
}
.hero-card-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}
.hero-card-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.hero-card-dot:nth-child(1) { background: #FF5F57; }
.hero-card-dot:nth-child(2) { background: #FEBC2E; }
.hero-card-dot:nth-child(3) { background: #28C840; }
.hero-card-title {
  font-size: .8rem; font-weight: 600;
  color: rgba(255,255,255,.5); margin-left: 8px;
}
.hero-metric-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-bottom: 20px;
}
.hero-metric {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 16px;
}
.hero-metric-val {
  display: block;
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 800;
  color: var(--white); line-height: 1; margin-bottom: 4px;
}
.hero-metric-val.red { color: var(--red-light); }
.hero-metric-label {
  font-size: .72rem; color: rgba(255,255,255,.45);
  text-transform: uppercase; letter-spacing: .05em;
}
.hero-bar-row {
  display: flex; flex-direction: column; gap: 10px;
}
.hero-bar-item { display: flex; align-items: center; gap: 10px; }
.hero-bar-label { font-size: .72rem; color: rgba(255,255,255,.5); width: 80px; flex-shrink: 0; }
.hero-bar-track {
  flex: 1; height: 6px; background: rgba(255,255,255,.07);
  border-radius: 3px; overflow: hidden;
}
.hero-bar-fill {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-light));
  animation: barGrow 1.2s var(--ease) forwards;
  width: 0;
}
.hero-bar-fill.w90 { animation-delay: .2s; --target: 90%; }
.hero-bar-fill.w75 { animation-delay: .4s; --target: 75%; }
.hero-bar-fill.w60 { animation-delay: .6s; --target: 60%; }
.hero-bar-pct { font-size: .72rem; color: rgba(255,255,255,.5); width: 30px; text-align: right; flex-shrink: 0; }

/* Float badges on hero card */
.hero-float-badge {
  position: absolute;
  background: var(--white); border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  animation: floatBadge 3s ease-in-out infinite;
}
.hero-float-badge-1 { top: -20px; right: -20px; animation-delay: 0s; }
.hero-float-badge-2 { bottom: 20px; left: -30px; animation-delay: 1.5s; }
.hero-float-icon {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--red-pale); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.hero-float-val {
  font-family: var(--font-display);
  font-size: .95rem; font-weight: 700; color: var(--dark-2);
  display: block; line-height: 1.2;
}
.hero-float-lbl { font-size: .72rem; color: var(--gray); }

/* ── 10. Stats Strip ──────────────────────────────────────── */
.stats-strip { padding: 0; background: var(--white); }
.stats-inner {
  display: grid; grid-template-columns: repeat(5,1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin: -40px auto 0; position: relative; z-index: 10;
  background: var(--white);
}
.stat-cell {
  padding: 32px 24px; text-align: center;
  border-right: 1px solid var(--border);
  transition: background var(--t);
}
.stat-cell:last-child { border-right: none; }
.stat-cell:hover { background: var(--light); }
.stat-val {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 800;
  color: var(--red); line-height: 1; margin-bottom: 6px;
}
.stat-label {
  font-size: .78rem; color: var(--gray);
  text-transform: uppercase; letter-spacing: .06em;
  font-weight: 600; line-height: 1.4;
}

/* ── 11. Services ─────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  position: relative; overflow: hidden;
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.service-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-lg);
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px;
  background: var(--red-pale); border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--red); font-size: 1.4rem; margin-bottom: 20px;
  transition: background var(--t), color var(--t), box-shadow var(--t);
}
.service-card:hover .service-icon {
  background: var(--red); color: var(--white);
  box-shadow: var(--shadow-red-sm);
}
.service-title { margin-bottom: 10px; }
.service-desc  { font-size: .875rem; line-height: 1.7; margin-bottom: 18px; }
.service-tags  { display: flex; flex-wrap: wrap; gap: 6px; }
.service-tag {
  font-size: .7rem; font-weight: 600; padding: 3px 10px;
  background: var(--light); color: var(--gray);
  border-radius: var(--radius-sm); border: 1px solid var(--border);
}

/* ── 12. Process ──────────────────────────────────────────── */
.process-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0; position: relative;
}
.process-grid::before {
  content: ''; position: absolute;
  top: 34px; left: calc(12.5% + 28px); right: calc(12.5% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--red) 0%, var(--border) 100%);
}
.process-step { text-align: center; padding: 0 20px; position: relative; }
.process-num {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 800;
  color: var(--gray-light);
  transition: background var(--t), border-color var(--t), color var(--t), box-shadow var(--t);
  position: relative; z-index: 1;
}
.process-step.active .process-num,
.process-step:hover .process-num {
  background: var(--red); border-color: var(--red);
  color: var(--white); box-shadow: var(--shadow-red);
}
.process-step-title { font-size: .97rem; font-weight: 700; color: var(--dark-2); margin-bottom: 8px; }
.process-step-desc  { font-size: .83rem; color: var(--gray); line-height: 1.65; }

/* ── 13. Industries ───────────────────────────────────────── */
.industries-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
.industry-card {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  height: 380px; cursor: pointer;
}
.industry-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.industry-card:hover img { transform: scale(1.06); }
.industry-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,14,30,.92) 0%, rgba(10,14,30,.3) 50%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px;
  transition: background var(--t-lg);
}
.industry-card:hover .industry-overlay {
  background: linear-gradient(to top, rgba(198,40,40,.88) 0%, rgba(198,40,40,.3) 60%, transparent 100%);
}
.industry-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: rgba(255,255,255,.15); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; margin-bottom: 12px;
  backdrop-filter: blur(8px);
}
.industry-title { font-size: 1.2rem; color: var(--white); margin-bottom: 8px; }
.industry-desc  {
  font-size: .82rem; color: rgba(255,255,255,.7);
  line-height: 1.6; max-height: 0; overflow: hidden;
  transition: max-height var(--t-lg), opacity var(--t-lg);
  opacity: 0;
}
.industry-card:hover .industry-desc { max-height: 100px; opacity: 1; }
.industry-use-cases {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px;
}
.industry-uc {
  font-size: .7rem; font-weight: 600; padding: 3px 8px;
  background: rgba(255,255,255,.15); color: rgba(255,255,255,.85);
  border-radius: var(--radius-sm); backdrop-filter: blur(4px);
}

/* ── 14. Case Study ───────────────────────────────────────── */
.case-study {
  background: var(--dark-2);
  border-radius: var(--radius-2xl);
  padding: 64px;
  position: relative; overflow: hidden;
}
.case-study::before {
  content: ''; position: absolute;
  top: -100px; right: -100px; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(198,40,40,.15) 0%, transparent 70%);
  pointer-events: none;
}
.case-study::after {
  content: ''; position: absolute;
  bottom: -60px; left: -60px; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(198,40,40,.08) 0%, transparent 70%);
  pointer-events: none;
}
.case-study-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.case-study-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--red-light); margin-bottom: 6px;
}
.case-study h2 { color: var(--white); margin-bottom: 16px; }
.case-study-desc { color: rgba(255,255,255,.6); line-height: 1.75; margin-bottom: 32px; }
.case-study-metrics {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
}
.cs-metric {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg); padding: 20px; text-align: center;
  transition: background var(--t), border-color var(--t);
}
.cs-metric:hover { background: rgba(198,40,40,.12); border-color: rgba(198,40,40,.2); }
.cs-val {
  display: block;
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 800;
  color: var(--red-light); line-height: 1; margin-bottom: 6px;
}
.cs-lbl { font-size: .75rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .06em; }

/* ── 15. Testimonials ─────────────────────────────────────── */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.testimonial-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 36px 30px;
  transition: box-shadow var(--t), transform var(--t);
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.star { color: #F59E0B; font-size: .9rem; }
.testimonial-quote {
  font-size: .93rem; line-height: 1.75;
  color: var(--gray-dark); margin-bottom: 24px;
  font-style: italic;
  position: relative; padding-left: 16px;
}
.testimonial-quote::before {
  content: '';
  position: absolute; left: 0; top: 4px;
  width: 3px; height: calc(100% - 8px);
  background: var(--red); border-radius: 2px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--red), var(--red-mid));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: .9rem;
}
.testimonial-name { font-size: .9rem; font-weight: 700; color: var(--dark-2); }
.testimonial-role { font-size: .78rem; color: var(--gray); }

/* ── 16. About / Why Us ───────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-wrap img {
  width: 100%; height: 480px; object-fit: cover;
  border-radius: var(--radius-xl); display: block;
}
.about-badge {
  position: absolute; bottom: 24px; right: -20px;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 16px 20px; box-shadow: var(--shadow-xl);
  text-align: center; min-width: 120px;
}
.about-badge-val {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 800;
  color: var(--red); display: block; line-height: 1; margin-bottom: 4px;
}
.about-badge-lbl { font-size: .72rem; color: var(--gray); text-transform: uppercase; letter-spacing: .05em; }

.about-body {}
.about-body h2 { margin-bottom: 16px; }
.about-body > p { margin-bottom: 32px; }
.about-values { display: flex; flex-direction: column; gap: 14px; }
.about-value {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 20px; background: var(--light);
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  transition: border-color var(--t), box-shadow var(--t);
}
.about-value:hover { border-color: var(--red-border); box-shadow: var(--shadow-sm); }
.about-value-icon {
  width: 40px; height: 40px; border-radius: var(--radius);
  background: var(--red-pale); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; flex-shrink: 0;
}
.about-value h4 { font-size: .87rem; margin-bottom: 2px; }
.about-value p  { font-size: .8rem; line-height: 1.55; }

/* ── 17. CTA Banner ───────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-mid) 50%, var(--red-dark) 100%);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner-inner {
  position: relative; z-index: 1;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cta-banner p  { color: rgba(255,255,255,.75); font-size: 1.05rem; margin-bottom: 36px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-banner-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ── 18. Contact ──────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 64px; align-items: start;
}
.contact-info h2 { margin-bottom: 14px; }
.contact-info > p { margin-bottom: 32px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-item-icon {
  width: 46px; height: 46px; border-radius: var(--radius-lg);
  background: var(--red-pale); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.contact-item-label {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--gray-light); margin-bottom: 3px;
}
.contact-item-value {
  font-size: .93rem; font-weight: 500; color: var(--dark-3);
  transition: color var(--t);
}
a.contact-item-value:hover { color: var(--red); }

.call-box {
  background: linear-gradient(135deg, var(--red), var(--red-mid));
  border-radius: var(--radius-xl); padding: 24px; color: var(--white);
}
.call-box-title { font-weight: 700; font-size: .95rem; margin-bottom: 6px; color: var(--white); }
.call-box p { color: rgba(255,255,255,.7); font-size: .84rem; margin-bottom: 16px; line-height: 1.65; }
.call-box-btn {
  display: inline-block; padding: 10px 20px;
  background: var(--white); color: var(--red);
  font-weight: 700; font-size: .88rem;
  border-radius: var(--radius); transition: background var(--t);
}
.call-box-btn:hover { background: var(--light); }

.contact-form-wrap {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 48px;
  box-shadow: var(--shadow-md);
}
.contact-form-wrap h3 { margin-bottom: 6px; }
.contact-form-wrap > p { font-size: .86rem; margin-bottom: 28px; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field label { font-size: .82rem; font-weight: 600; color: var(--gray-dark); }
.form-input {
  width: 100%; padding: 12px 15px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: .91rem; color: var(--dark-2); background: var(--white);
  outline: none; transition: border-color var(--t), box-shadow var(--t);
  resize: vertical; -webkit-appearance: none; appearance: none;
}
.form-input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(198,40,40,.1);
}
.form-submit {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px; width: 100%;
  background: var(--red); color: var(--white);
  font-size: .97rem; font-weight: 600; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-red); cursor: pointer;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
}
.form-submit:hover:not(:disabled) {
  background: var(--red-mid); transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}
.form-submit:disabled { opacity: .65; cursor: not-allowed; }
.form-privacy { font-size: .74rem; color: var(--gray-light); text-align: center; margin-top: 4px; }
.form-alert {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 16px; border-radius: var(--radius);
  font-size: .87rem; font-weight: 500;
}
.form-alert.success { background: rgba(16,185,129,.08); color: #059669; border: 1px solid rgba(16,185,129,.25); }
.form-alert.error   { background: rgba(239,68,68,.08); color: #dc2626; border: 1px solid rgba(239,68,68,.25); }
.form-alert.error a { color: #dc2626; text-decoration: underline; }

/* ── 19. Footer ───────────────────────────────────────────── */
.footer {
  background: var(--dark);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand { }
.footer-logo {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.footer-logo img { height: 36px; width: auto; filter: brightness(0) invert(1); }
.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 800; color: var(--white); letter-spacing: -.02em;
}
.footer-logo-text span { color: var(--red-light); }
.footer-tagline {
  font-size: .875rem; color: rgba(255,255,255,.45);
  line-height: 1.7; margin-bottom: 24px; max-width: 280px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social-link {
  width: 38px; height: 38px; border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); font-size: .9rem;
  transition: background var(--t), color var(--t);
}
.footer-social-link:hover { background: var(--red); color: var(--white); }

.footer-col h5 {
  font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.5);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: .875rem; color: rgba(255,255,255,.55);
  transition: color var(--t);
}
.footer-col a:hover { color: var(--red-light); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  padding: 24px 0;
}
.footer-copy { font-size: .8rem; color: rgba(255,255,255,.3); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-size: .78rem; color: rgba(255,255,255,.3);
  transition: color var(--t);
}
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ── 20. Scroll Animations ────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-left {
  opacity: 0; transform: translateX(-30px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.fade-left.visible { opacity: 1; transform: translateX(0); }
.fade-right {
  opacity: 0; transform: translateX(30px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.fade-right.visible { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }
.delay-5 { transition-delay: .40s; }
.delay-6 { transition-delay: .48s; }

/* ── 21. Keyframes ────────────────────────────────────────── */
@keyframes barGrow {
  from { width: 0; }
  to   { width: var(--target, 80%); }
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(198,40,40,.4); }
  50%       { box-shadow: 0 0 0 12px rgba(198,40,40,0); }
}

/* ── 22. Scroll-to-top ────────────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 500;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--red); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-red); cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: opacity var(--t), transform var(--t);
  font-size: 1rem;
}
.scroll-top.show { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: translateY(-3px); }

/* ── 23. FAQ ──────────────────────────────────────────────── */
.faq-wrap { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%; text-align: left; padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 700; font-size: .95rem; color: var(--dark-2);
  cursor: pointer; background: none; border: none;
  transition: color var(--t);
}
.faq-question:hover { color: var(--red); }
.faq-icon { font-size: .95rem; transition: transform var(--t); flex-shrink: 0; color: var(--gray); }
.faq-icon.open { transform: rotate(180deg); color: var(--red); }
.faq-answer { font-size: .9rem; color: var(--gray); line-height: 1.75; padding-bottom: 20px; }

/* ── 24. Page Hero (inner pages) ──────────────────────────── */
.page-hero {
  background: var(--dark);
  padding: 140px 0 80px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(198,40,40,.14) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 14px; }
.page-hero-subtitle { font-size: 1rem; color: rgba(255,255,255,.6); max-width: 600px; line-height: 1.75; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 16px;
  font-size: .8rem;
}
.breadcrumb a { color: rgba(255,255,255,.45); transition: color var(--t); }
.breadcrumb a:hover { color: var(--red-light); }
.breadcrumb-sep { color: rgba(255,255,255,.25); }
.breadcrumb-current { color: rgba(255,255,255,.75); font-weight: 500; }

/* ── 25. Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner          { grid-template-columns: 1fr; }
  .hero-visual         { display: none; }
  .stats-inner         { grid-template-columns: repeat(3,1fr); }
  .stat-cell:nth-child(4),
  .stat-cell:nth-child(5) { display: none; }
  .services-grid       { grid-template-columns: 1fr 1fr; }
  .process-grid        { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-grid::before{ display: none; }
  .industries-grid     { grid-template-columns: 1fr 1fr; }
  .testimonials-grid   { grid-template-columns: 1fr 1fr; }
  .about-grid          { grid-template-columns: 1fr; }
  .about-img-wrap      { display: none; }
  .case-study-inner    { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid        { grid-template-columns: 1fr; }
  .footer-grid         { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section             { padding: 64px 0; }
  .nav-menu, .nav-cta  { display: none; }
  .nav-toggle          { display: flex; }
  .stats-inner         { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(4),
  .stat-cell:nth-child(5) { display: block; }
  .services-grid       { grid-template-columns: 1fr; }
  .industries-grid     { grid-template-columns: 1fr; }
  .testimonials-grid   { grid-template-columns: 1fr; }
  .case-study          { padding: 40px 24px; }
  .case-study-metrics  { grid-template-columns: repeat(3,1fr); }
  .contact-form-wrap   { padding: 28px 20px; }
  .form-row            { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-title          { font-size: 2rem; }
  .hero-actions        { flex-direction: column; align-items: flex-start; }
  .stats-inner         { grid-template-columns: 1fr; border-radius: var(--radius); }
  .case-study-metrics  { grid-template-columns: 1fr 1fr; }
  .footer-grid         { grid-template-columns: 1fr; }
  .footer-bottom       { flex-direction: column; align-items: center; }
}

/* ══════════════════════════════════════════════════════════
   INNER PAGE COMPONENTS
══════════════════════════════════════════════════════════ */

/* ── About Page ─────────────────────────────────────────── */
.mission-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.mission-img img {
  width: 100%; height: 460px; object-fit: cover;
  border-radius: var(--radius-xl);
}
.mission-body h2 { margin-bottom: 16px; }
.mission-body p  { margin-bottom: 20px; }

.values-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 20px;
}
.value-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 32px 24px; text-align: center;
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.value-card:hover {
  box-shadow: var(--shadow-lg); transform: translateY(-5px);
  border-color: var(--red-border);
}
.value-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--red-pale); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin: 0 auto 16px;
  transition: background var(--t), color var(--t);
}
.value-card:hover .value-icon { background: var(--red); color: var(--white); }
.value-card h4 { margin-bottom: 8px; }
.value-card p  { font-size: .85rem; }

.team-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
}
.team-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
  transition: box-shadow var(--t), transform var(--t);
  text-align: center;
}
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.team-img {
  width: 100%; height: 220px; object-fit: cover;
  object-position: top;
}
.team-body { padding: 20px; }
.team-name { font-size: 1rem; font-weight: 700; color: var(--dark-2); margin-bottom: 4px; }
.team-role { font-size: .78rem; font-weight: 600; color: var(--red); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.team-bio  { font-size: .82rem; color: var(--gray); line-height: 1.65; }

.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: ''; position: absolute; left: 14px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(to bottom, var(--red), var(--border));
}
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -33px; top: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--red); border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--red-border);
}
.timeline-year {
  font-size: .75rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--red); margin-bottom: 4px;
}
.timeline-item h4 { margin-bottom: 6px; }
.timeline-item p  { font-size: .88rem; }

/* ── Services Page ──────────────────────────────────────── */
.quick-bar {
  background: var(--dark-2); padding: 16px 0;
  position: sticky; top: 72px; z-index: 100;
}
.quick-links {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
.quick-link {
  padding: 7px 18px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.65); font-size: .82rem; font-weight: 600;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.quick-link:hover {
  background: var(--red); color: var(--white); border-color: var(--red);
}
.service-detail {
  padding: 80px 0; border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }
.service-detail-img img {
  width: 100%; height: 380px; object-fit: cover;
  border-radius: var(--radius-xl);
}
.service-detail-icon {
  width: 64px; height: 64px; border-radius: var(--radius-lg);
  background: var(--red-pale); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 20px;
}
.service-detail-body h2 { margin-bottom: 14px; }
.service-detail-body > p { margin-bottom: 24px; }
.feature-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.feature-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .88rem; color: var(--gray-dark); line-height: 1.55;
}
.feature-check { color: var(--red); margin-top: 2px; flex-shrink: 0; }

/* ── Industries Page ────────────────────────────────────── */
.industry-section {
  padding: 80px 0; border-bottom: 1px solid var(--border);
}
.industry-section:last-child { border-bottom: none; }
.industry-section-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: start;
}
.industry-section-img img {
  width: 100%; height: 420px; object-fit: cover;
  border-radius: var(--radius-xl);
}
.industry-section-icon {
  width: 60px; height: 60px; border-radius: var(--radius-lg);
  background: var(--red-pale); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
}
.industry-section-body h2 { margin-bottom: 14px; }
.industry-section-body > p { margin-bottom: 24px; }
.use-cases-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 28px;
}
.use-case-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .84rem; color: var(--gray-dark);
  background: var(--light); padding: 12px 14px;
  border-radius: var(--radius); line-height: 1.45;
}
.use-case-item i { color: var(--red); margin-top: 2px; flex-shrink: 0; }
.ind-stats {
  display: flex; gap: 24px; flex-wrap: wrap;
  border-top: 1px solid var(--border); padding-top: 24px;
}
.ind-stat-val {
  display: block; font-family: var(--font-display);
  font-size: 2rem; font-weight: 800; color: var(--red); line-height: 1; margin-bottom: 4px;
}
.ind-stat-lbl {
  font-size: .75rem; color: var(--gray);
  text-transform: uppercase; letter-spacing: .05em; font-weight: 600;
}

/* ── Blog Page ──────────────────────────────────────────── */
.blog-layout {
  display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start;
}
.blog-featured {
  display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-xl);
  overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); margin-bottom: 40px;
  transition: box-shadow var(--t);
}
.blog-featured:hover { box-shadow: var(--shadow-md); }
.blog-featured-img { position: relative; }
.blog-featured-img img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; display: block; }
.blog-featured-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--red); color: var(--white);
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 100px;
}
.blog-featured-body { padding: 36px 32px; display: flex; flex-direction: column; justify-content: center; }
.blog-filter {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px;
}
.blog-filter-btn {
  padding: 7px 18px; border-radius: 100px;
  border: 1.5px solid var(--border);
  font-size: .82rem; font-weight: 600; color: var(--gray);
  background: var(--white); cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.blog-filter-btn:hover,
.blog-filter-btn.active {
  background: var(--red); color: var(--white); border-color: var(--red);
}
.blog-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.blog-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
  transition: box-shadow var(--t), transform var(--t);
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.blog-card-img { position: relative; overflow: hidden; }
.blog-card-img img {
  width: 100%; height: 190px; object-fit: cover;
  transition: transform .5s var(--ease);
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-cat {
  position: absolute; top: 12px; left: 12px;
  background: var(--red); color: var(--white);
  font-size: .7rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 100px;
}
.blog-card-body { padding: 22px; }
.blog-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-bottom: 10px; font-size: .78rem; color: var(--gray);
}
.blog-card-title {
  font-size: .97rem; font-weight: 700; color: var(--dark-2);
  line-height: 1.4; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card-excerpt {
  font-size: .84rem; color: var(--gray); line-height: 1.7; margin-bottom: 16px;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border); padding-top: 14px;
}
.blog-read-more {
  font-size: .82rem; font-weight: 600; color: var(--red);
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap var(--t);
}
.blog-read-more:hover { gap: 8px; }
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.side-widget {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 24px;
}
.side-widget-title {
  font-size: .87rem; font-weight: 700; color: var(--dark-2); margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-pill {
  padding: 5px 14px; border-radius: 100px;
  border: 1.5px solid var(--border);
  font-size: .78rem; font-weight: 600; color: var(--gray);
  transition: background var(--t), color var(--t), border-color var(--t);
  cursor: pointer;
}
.tag-pill:hover { background: var(--red-pale); color: var(--red); border-color: var(--red-border); }
.popular-list { display: flex; flex-direction: column; gap: 14px; }
.popular-item { display: flex; align-items: flex-start; gap: 12px; }
.popular-num {
  width: 26px; height: 26px; flex-shrink: 0;
  background: var(--red-pale); color: var(--red);
  border-radius: 6px; font-size: .78rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.popular-title {
  font-size: .83rem; font-weight: 600; color: var(--dark-2);
  line-height: 1.4; margin-bottom: 3px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.popular-meta { font-size: .73rem; color: var(--gray-light); }
.newsletter-widget {
  background: linear-gradient(135deg, var(--red), var(--red-mid));
  border-radius: var(--radius-xl); padding: 28px; color: var(--white);
}
.newsletter-widget h4 { color: var(--white); font-size: 1rem; margin-bottom: 6px; }
.newsletter-widget p  { color: rgba(255,255,255,.75); font-size: .83rem; margin-bottom: 16px; }
.newsletter-form { display: flex; flex-direction: column; gap: 8px; }
.newsletter-input {
  width: 100%; padding: 10px 14px; border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.12); color: var(--white);
  font-size: .88rem; outline: none;
}
.newsletter-input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-btn {
  width: 100%; padding: 11px; background: var(--white); color: var(--red);
  font-weight: 700; font-size: .88rem; border-radius: var(--radius); cursor: pointer;
}
.newsletter-btn:hover { background: var(--light); }
.side-cta-text { font-size: .875rem; color: var(--gray); margin-bottom: 14px; }
.side-cta-btn {
  display: block; width: 100%; text-align: center;
  padding: 11px; background: var(--red); color: var(--white);
  font-size: .875rem; font-weight: 600; border-radius: var(--radius);
  transition: background var(--t);
}
.side-cta-btn:hover { background: var(--red-mid); }

/* ── Careers Page ───────────────────────────────────────── */
.perks-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
  margin-top: 48px;
}
.perk-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 32px 28px;
  transition: box-shadow var(--t), transform var(--t);
}
.perk-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.perk-icon {
  width: 52px; height: 52px; border-radius: var(--radius-lg);
  background: var(--red-pale); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 18px;
}
.perk-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--dark-2); }
.perk-desc  { font-size: .875rem; color: var(--gray); line-height: 1.75; }

.jobs-list { display: flex; flex-direction: column; gap: 20px; }
.job-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 28px 32px;
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.job-card:hover {
  box-shadow: var(--shadow-md); border-color: var(--red); transform: translateY(-2px);
}
.job-header { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 14px; }
.job-icon {
  width: 48px; height: 48px; background: var(--red-pale); border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--red); flex-shrink: 0;
}
.job-title { font-size: 1.1rem; font-weight: 700; color: var(--dark-2); margin-bottom: 8px; }
.job-tags  { display: flex; flex-wrap: wrap; gap: 8px; }
.job-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .76rem; font-weight: 600; color: var(--gray);
  background: var(--light); padding: 3px 10px; border-radius: 100px;
}
.job-desc { font-size: .9rem; color: var(--gray); line-height: 1.75; margin-bottom: 20px; }
.job-footer {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid var(--border); padding-top: 18px;
}
.job-salary { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--dark-3); }
.job-salary i { color: var(--green); }
.job-apply {
  display: inline-block; padding: 10px 22px;
  background: var(--red); color: var(--white);
  font-size: .875rem; font-weight: 600; border-radius: var(--radius);
  transition: background var(--t), transform var(--t);
}
.job-apply:hover { background: var(--red-mid); transform: translateY(-2px); }

.open-app-wrap {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start;
}
.open-app-list { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.open-app-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .88rem; color: var(--gray-dark);
}
.open-app-item i { color: var(--green); }
.open-app-form {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 40px; box-shadow: var(--shadow-sm);
}

/* ── Responsive (inner pages) ────────────────────────────── */
@media (max-width: 1024px) {
  .mission-grid         { grid-template-columns: 1fr; }
  .values-grid          { grid-template-columns: 1fr 1fr; }
  .team-grid            { grid-template-columns: 1fr 1fr; }
  .service-detail-grid  { grid-template-columns: 1fr; }
  .service-detail-grid.reverse { direction: ltr; }
  .industry-section-grid{ grid-template-columns: 1fr; }
  .use-cases-grid       { grid-template-columns: 1fr; }
  .blog-layout          { grid-template-columns: 1fr; }
  .blog-featured        { grid-template-columns: 1fr; }
  .blog-featured-img img{ min-height: 240px; }
  .open-app-wrap        { grid-template-columns: 1fr; }
  .perks-grid           { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .team-grid  { grid-template-columns: 1fr 1fr; }
  .blog-grid  { grid-template-columns: 1fr; }
  .sidebar    { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .values-grid  { grid-template-columns: 1fr; }
  .team-grid    { grid-template-columns: 1fr; }
  .perks-grid   { grid-template-columns: 1fr; }
  .open-app-form{ padding: 24px 18px; }
  .job-card     { padding: 20px 16px; }
  .sidebar      { grid-template-columns: 1fr; }
}
