/*
Theme Name: Softwiz Infotech
Theme URI: https://softwizinfotech.com
Author: Softwiz Infotech
Author URI: https://softwizinfotech.com
Description: Custom WordPress theme for Softwiz Infotech — Legacy .NET Specialists. Built from original Pencil design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Private
Text Domain: softwiz
*/

/* =========================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ========================================= */
:root {
  /* Colors */
  --primary:        #1565C0;
  --primary-dark:   #0D47A1;
  --primary-light:  #E3F0FC;
  --accent:         #4CAF50;
  --accent-dark:    #388E3C;
  --dark:           #0A2540;
  --dark-secondary: #163A5F;
  --dark-text:      #0A2540;
  --body-text:      #5A6A7A;
  --muted-text:     #8899AA;
  --border:         #E0E7EE;
  --light-bg:       #F4F7FA;
  --card-bg:        #FFFFFF;
  --white:          #FFFFFF;
  --gradient-start: #1565C0;
  --gradient-end:   #4CAF50;

  /* Typography */
  --font-heading: 'DM Sans', 'Inter', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Spacing */
  --container-max: 1280px;
  --container-pad: clamp(1.5rem, 5vw, 5rem);
  --section-pad:   clamp(4rem, 8vw, 7rem);

  /* Radius */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-pill: 100px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(10,37,64,0.08), 0 1px 2px rgba(10,37,64,0.04);
  --shadow-md:  0 4px 16px rgba(10,37,64,0.10), 0 2px 6px rgba(10,37,64,0.06);
  --shadow-lg:  0 12px 40px rgba(10,37,64,0.14);
  --shadow-accent: 0 8px 24px rgba(76,175,80,0.28);
}

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

html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  color: var(--body-text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* =========================================
   CONTAINER
   ========================================= */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  width: 100%;
}

/* =========================================
   TYPOGRAPHY SCALE
   ========================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 3.75rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.04em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p  { line-height: 1.7; }

.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.625rem;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  transition: all 0.22s ease;
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(76,175,80,0.35); }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: var(--white); }

.btn-dark {
  background: var(--dark-secondary);
  color: var(--white);
}
.btn-dark:hover { background: var(--primary); }

.btn svg, .btn .icon { width: 16px; height: 16px; flex-shrink: 0; }
.btn-lg { padding: 1rem 2rem; font-size: 1.0625rem; }

/* =========================================
   TOP BAR
   ========================================= */
.top-bar {
  background: var(--dark);
  height: 36px;
  display: flex;
  align-items: center;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.75rem;
}

.top-bar__item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--muted-text);
  transition: color 0.2s;
}
.top-bar__item:hover { color: var(--white); }

.top-bar__item svg { width: 12px; height: 12px; color: var(--accent); flex-shrink: 0; }
.top-bar__item--whatsapp svg { color: #25D366; }

/* =========================================
   HEADER / NAVIGATION
   ========================================= */
.site-header {
  background: #F8FAFB;
  border-bottom: 1px solid rgba(10,37,64,0.07);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(10,37,64,0.12); }

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo img { width: 34px; height: 34px; border-radius: 6px; }
.site-logo__text span { color: var(--primary); }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.875rem;
}

.primary-nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #3D5068;
  transition: color 0.2s;
  position: relative;
}
.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s;
  border-radius: 2px;
}
.primary-nav a:hover, .primary-nav a.current-menu-item { color: var(--dark); }
.primary-nav a:hover::after, .primary-nav a.current-menu-item::after { transform: scaleX(1); }

.nav-cta { margin-left: 0.5rem; padding: 0.5rem 1.25rem; font-size: 0.8125rem; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  background: var(--white);
  padding: clamp(4rem, 8vw, 6rem) 0 0;
  overflow: hidden;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  line-height: 1.05;
  color: var(--dark);
  letter-spacing: -0.05em;
}
.hero__title .highlight { color: var(--primary); }

.hero__desc {
  font-size: clamp(1rem, 2vw, 1.3125rem);
  color: var(--muted-text);
  max-width: 640px;
  line-height: 1.55;
}

.hero__btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__visual {
  width: 100%;
  height: clamp(280px, 35vw, 480px);
  background: linear-gradient(135deg, var(--primary-light) 0%, #dbeeff 50%, #e8f5e9 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__visual-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding: 2.5rem;
  width: 100%;
  max-width: 900px;
}

.hero__visual-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.hero__visual-card .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.hero__visual-card .line {
  height: 8px;
  border-radius: 4px;
  background: var(--light-bg);
}
.hero__visual-card .line.short { width: 60%; }
.hero__visual-card .line.long  { width: 90%; }

.hero__visual-badge {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
}
.hero__visual-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

/* =========================================
   TECH STACK STRIP
   ========================================= */
.tech-strip {
  background: var(--white);
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.tech-strip__label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-text);
  margin-bottom: 1.25rem;
}

.tech-strip__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.tech-item:hover { opacity: 1; }

.tech-item__icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.tech-item__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services {
  background: var(--light-bg);
  padding: var(--section-pad) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
}

.section-header h2 { max-width: 700px; }
.section-header p  { max-width: 680px; color: var(--muted-text); font-size: 1.125rem; }

.services__top-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.service-feat-card {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.5rem;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}
.service-feat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(21,101,192,0.15), transparent 60%);
}

.feat-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.feat-badge .label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.feat-badge svg { width: 18px; height: 18px; color: var(--muted-text); }

.service-feat-card h3 {
  color: var(--white);
  font-size: 1.625rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
  position: relative;
}
.service-feat-card p {
  color: var(--muted-text);
  font-size: 0.9375rem;
  line-height: 1.7;
  position: relative;
}
.service-feat-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--accent);
  position: relative;
  transition: gap 0.2s;
}
.service-feat-card .learn-more:hover { gap: 0.75rem; }

.service-right-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  flex: 1;
  transition: box-shadow 0.25s, transform 0.25s;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.service-card__icon {
  width: 52px; height: 52px;
  background: var(--light-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-card__icon svg { width: 26px; height: 26px; color: var(--dark); }

.service-card__body h4 {
  font-size: 1.125rem;
  margin-bottom: 0.375rem;
  color: var(--dark);
}
.service-card__body p { font-size: 0.9rem; color: var(--muted-text); line-height: 1.6; }

.services__bottom-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-mini-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow 0.25s, transform 0.25s;
}
.service-mini-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.service-mini-card__top {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.service-mini-card__top svg { width: 26px; height: 26px; color: var(--primary); }
.service-mini-card h4 { font-size: 1.0625rem; color: var(--dark); }
.service-mini-card p  { font-size: 0.875rem; color: var(--muted-text); line-height: 1.65; }

/* =========================================
   PORTFOLIO SECTION
   ========================================= */
.portfolio {
  background: var(--white);
  padding: var(--section-pad) 0;
  overflow: hidden;
}

.portfolio__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
}

.portfolio__header-left {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.portfolio__nav {
  display: flex;
  gap: 0.75rem;
}
.port-nav-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  cursor: pointer;
}
.port-nav-btn--prev {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--muted-text);
}
.port-nav-btn--prev:hover { border-color: var(--dark); color: var(--dark); }
.port-nav-btn--next {
  background: var(--accent);
  color: white;
}
.port-nav-btn--next:hover { background: var(--accent-dark); }
.port-nav-btn svg { width: 20px; height: 20px; }

.portfolio__scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 1rem;
  cursor: grab;
}
.portfolio__scroll:active { cursor: grabbing; }
.portfolio__scroll::-webkit-scrollbar { display: none; }

.portfolio-card {
  flex: 0 0 520px;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  transition: transform 0.3s;
}
.portfolio-card:hover { transform: scale(1.02); }

.portfolio-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.portfolio-card:hover .portfolio-card__img { transform: scale(1.05); }

.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,15,30,0.92) 0%, rgba(5,15,30,0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1.75rem;
}

.portfolio-card__cat {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.6875rem;
  font-weight: 700;
  color: white;
  width: fit-content;
}

.portfolio-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
}
.portfolio-card__desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portfolio-card__tech {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.tech-tag {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 0.2rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--muted-text);
  font-weight: 500;
}
.scroll-hint svg { width: 14px; height: 14px; }

/* =========================================
   DISRUPTION CTA BANNER
   ========================================= */
.disruption-cta {
  background: var(--dark);
  padding: 3.5rem 0;
}

.disruption-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.disruption-cta__left { flex: 1; display: flex; flex-direction: column; gap: 0.875rem; }

.disruption-cta__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
}
.disruption-cta__badge svg { width: 18px; height: 18px; }

.disruption-cta__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.disruption-cta__sub {
  font-size: 0.9375rem;
  color: var(--muted-text);
  line-height: 1.65;
  max-width: 540px;
}

.disruption-cta__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

.disruption-cta__note {
  font-size: 0.8125rem;
  color: var(--muted-text);
  text-align: center;
  font-weight: 500;
}

/* =========================================
   WHY CHOOSE US
   ========================================= */
.why-us {
  background: var(--white);
  padding: var(--section-pad) 0;
}

.why-us__inner {
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 4rem;
  align-items: center;
}

.why-us__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
  height: 480px;
}

.why-us__visual-img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.why-us__exp-badge {
  position: absolute;
  bottom: -1.5rem; left: 1.5rem;
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.why-us__exp-badge .num {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.why-us__exp-badge .label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-text);
  text-align: center;
}

.why-us__content { display: flex; flex-direction: column; gap: 1.75rem; }
.why-us__content h2 { line-height: 1.15; }
.why-us__content > p { font-size: 1.0625rem; color: var(--muted-text); line-height: 1.7; }

.features-list { display: flex; flex-direction: column; gap: 1.25rem; }

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-item__check {
  width: 34px; height: 34px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-item__check svg { width: 17px; height: 17px; color: var(--primary); }

.feature-item__text h4 { font-size: 0.9375rem; color: var(--dark); margin-bottom: 0.25rem; }
.feature-item__text p  { font-size: 0.875rem; color: var(--muted-text); }

/* =========================================
   .NET HERITAGE TIMELINE
   ========================================= */
.heritage {
  background: var(--dark);
  padding: var(--section-pad) 0;
}

.heritage .section-header h2 { color: var(--white); }
.heritage .section-header p  { color: var(--muted-text); }

.timeline-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.era {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: filter 0.2s;
}
.era:hover { filter: brightness(1.1); }
.era:nth-child(1) { background: #0D2F52; }
.era:nth-child(2) { background: #0E3360; }
.era:nth-child(3) { background: #0D3875; }
.era:nth-child(4) { background: #0C3D8A; }
.era:nth-child(5) { background: #1452A8; }

.era__period {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
}
.era__year  { font-size: 0.6875rem; font-weight: 500; color: #5A7090; }
.era__title { font-size: 0.9375rem; font-weight: 600; color: var(--white); line-height: 1.3; }
.era__desc  { font-size: 0.8125rem; color: var(--muted-text); line-height: 1.6; }

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.proof-card {
  background: #0D2F52;
  border: 1px solid #1E3A5A;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: border-color 0.2s;
}
.proof-card:hover { border-color: var(--accent); }
.proof-card svg { width: 24px; height: 24px; color: var(--accent); }
.proof-card h4  { font-size: 1rem; color: var(--white); }
.proof-card p   { font-size: 0.875rem; color: var(--muted-text); line-height: 1.65; }

/* =========================================
   HOW WE WORK (PROCESS)
   ========================================= */
.process {
  background: var(--light-bg);
  padding: var(--section-pad) 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 2.75rem; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--primary-light), var(--accent));
  z-index: 0;
}

.process-step {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
  transition: box-shadow 0.25s;
}
.process-step:hover { box-shadow: var(--shadow-md); }

.step-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  box-shadow: 0 6px 20px rgba(21,101,192,0.2);
}

.process-step h4 { font-size: 1.0625rem; color: var(--dark); }
.process-step p  { font-size: 0.875rem; color: var(--muted-text); line-height: 1.65; }

/* =========================================
   STATS SECTION
   ========================================= */
.stats {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #2E8BC0 100%);
  padding: 4rem 0;
}

.stats__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  flex: 1;
}

.stat-item .num {
  font-size: clamp(2.5rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-item .label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}

.stat-divider {
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.15);
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--dark);
  padding-top: 3.5rem;
}

.newsletter-strip {
  background: #0D2F52;
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3rem;
}

.nl-left { flex: 1; display: flex; flex-direction: column; gap: 0.375rem; }

.nl-tag {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.125rem;
}
.nl-tag svg { width: 13px; height: 13px; }

.nl-left h3 {
  font-size: 1.375rem;
  color: var(--white);
  letter-spacing: -0.02em;
}
.nl-left p {
  font-size: 0.875rem;
  color: var(--muted-text);
  line-height: 1.55;
  max-width: 440px;
}

.nl-form {
  display: flex;
  gap: 0.625rem;
  align-items: center;
  flex-shrink: 0;
}

.nl-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #163A5F;
  border-radius: var(--radius-pill);
  padding: 0.625rem 1.125rem;
  min-width: 240px;
}
.nl-input svg { width: 14px; height: 14px; color: #5A7090; flex-shrink: 0; }
.nl-input input {
  background: none; border: none; outline: none;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--white);
  width: 100%;
}
.nl-input input::placeholder { color: #5A7090; }
.nl-btn { padding: 0.625rem 1.25rem; font-size: 0.875rem; }

.footer-top {
  display: grid;
  grid-template-columns: 320px 1fr 180px 220px;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #1E3A5A;
}

.footer-brand { display: flex; flex-direction: column; gap: 1.25rem; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
}
.footer-logo img { width: 34px; height: 34px; border-radius: 6px; }

.footer-brand p {
  font-size: 0.875rem;
  color: var(--muted-text);
  line-height: 1.7;
}

.social-links { display: flex; gap: 0.75rem; }
.social-link {
  width: 36px; height: 36px;
  background: #163A5F;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted-text);
  transition: all 0.2s;
}
.social-link:hover { background: var(--primary); color: white; }
.social-link svg { width: 16px; height: 16px; }

.footer-col { display: flex; flex-direction: column; gap: 0.875rem; }
.footer-col-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}
.footer-col a {
  font-size: 0.875rem;
  color: var(--muted-text);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--muted-text);
  line-height: 1.5;
}
.footer-contact-item svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}
.footer-bottom .copy {
  font-size: 0.8125rem;
  color: #5A7090;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-size: 0.8125rem;
  color: #5A7090;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--muted-text); }

/* =========================================
   STICKY ENQUIRY TAB
   ========================================= */
.sticky-enquiry {
  position: fixed;
  right: -136px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center center;
  background: var(--accent);
  color: white;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-pill) var(--radius-pill) 0 0;
  cursor: pointer;
  transition: right 0.3s ease;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-accent);
}
.sticky-enquiry:hover { right: -128px; }
.sticky-enquiry svg { width: 14px; height: 14px; }

/* =========================================
   ENQUIRY MODAL
   ========================================= */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,37,64,0.7);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.modal-overlay.active { display: flex; }

.modal {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  width: 100%;
  max-width: 520px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal__close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--light-bg);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.modal__close:hover { background: var(--border); }
.modal__close svg { width: 16px; height: 16px; color: var(--dark); }

.modal h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.modal > p { color: var(--muted-text); font-size: 0.9375rem; margin-bottom: 1.5rem; }

.modal form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-field { display: flex; flex-direction: column; gap: 0.375rem; }
.form-field label { font-size: 0.8125rem; font-weight: 600; color: var(--dark-text); }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--dark);
  background: white;
  outline: none;
  transition: border-color 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--primary); }
.form-field textarea { min-height: 90px; resize: vertical; }
.form-submit { width: 100%; justify-content: center; }

/* =========================================
   INNER PAGES: ABOUT, CONTACT, BLOG etc.
   ========================================= */
.page-hero {
  background: var(--dark);
  padding: 5rem 0 4rem;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p  { color: var(--muted-text); font-size: 1.125rem; max-width: 600px; margin: 0 auto; }

.page-content { padding: var(--section-pad) 0; }

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.blog-card__img { width: 100%; height: 200px; object-fit: cover; }

.blog-card__body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.625rem; }

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--muted-text);
}
.blog-card__cat {
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.2rem 0.625rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}
.blog-card h3 { font-size: 1.0625rem; line-height: 1.35; }
.blog-card h3 a { color: var(--dark); transition: color 0.2s; }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p   { font-size: 0.875rem; color: var(--muted-text); line-height: 1.65; }

.blog-card__read {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 0.5rem;
  transition: gap 0.2s;
}
.blog-card__read:hover { gap: 0.625rem; }
.blog-card__read svg { width: 14px; height: 14px; }

/* Single post */
.post-content { max-width: 760px; margin: 0 auto; }
.post-content h2, .post-content h3 { margin: 2rem 0 1rem; }
.post-content p  { margin-bottom: 1rem; line-height: 1.8; }

/* =========================================
   BREADCRUMBS
   ========================================= */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted-text);
  padding: 0.875rem 0;
}
.breadcrumb a { color: var(--muted-text); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb svg { width: 12px; height: 12px; }

/* =========================================
   PAGINATION
   ========================================= */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}
.page-number {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1.5px solid var(--border);
  color: var(--dark);
  transition: all 0.2s;
}
.page-number:hover, .page-number.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* =========================================
   UTILITIES
   ========================================= */
.text-center { text-align: center; }
.text-muted  { color: var(--muted-text); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; clip: rect(0,0,0,0); overflow: hidden; }

/* =========================================
   ANIMATIONS
   ========================================= */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1100px) {
  .services__top-row  { grid-template-columns: 1fr; }
  .service-right-stack { flex-direction: row; }
  .why-us__inner      { grid-template-columns: 1fr; }
  .why-us__visual     { height: 340px; }
  .timeline-row       { grid-template-columns: repeat(3, 1fr); }
  .footer-top         { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .services__bottom-row { grid-template-columns: 1fr 1fr; }
  .process-steps  { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .proof-row      { grid-template-columns: 1fr; }
  .blog-grid      { grid-template-columns: 1fr 1fr; }
  .stats__inner   { flex-wrap: wrap; gap: 2rem; }
  .stat-divider   { display: none; }
  .newsletter-strip { flex-direction: column; align-items: flex-start; }
  .disruption-cta__inner { flex-direction: column; }
}

@media (max-width: 720px) {
  .top-bar { display: none; }
  .primary-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .primary-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: white;
    padding: 1.5rem;
    gap: 1.25rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  .site-header { position: relative; }
  .hero__btns  { flex-direction: column; align-items: center; }
  .services__top-row, .services__bottom-row { grid-template-columns: 1fr; }
  .service-right-stack { flex-direction: column; }
  .timeline-row { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .portfolio-card { flex: 0 0 320px; height: 340px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .nl-form { flex-direction: column; align-items: stretch; }
  .nl-input { min-width: unset; }
}

/* ============================================================
   ADDITIONAL PAGE STYLES - About, Founder, Portfolio, Jobs, Services, Case Studies
   ============================================================ */

/* Page Hero */
.page-hero {
  background: var(--color-dark);
  color: white;
  padding: 80px 0 60px;
}
.page-hero h1 { font-size: 2.8rem; color: white; margin: 16px 0; line-height: 1.2; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 640px; margin-bottom: 32px; }
.page-hero .hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.service-hero .hero-ctas { margin-top: 32px; }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.5); font-size: 0.875rem; margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; }
.breadcrumb a:hover { color: white; }
.breadcrumb span { color: rgba(255,255,255,0.3); }
.breadcrumb span:last-child { color: rgba(255,255,255,0.7); }

/* Hero Pill */
.hero-pill {
  display: inline-block;
  background: rgba(var(--color-accent-rgb, 76,175,80), 0.15);
  color: var(--color-accent);
  border: 1px solid rgba(76,175,80,0.3);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Grid 2-col */
.grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media(max-width: 900px) { .grid-2col { grid-template-columns: 1fr; gap: 40px; } }

/* Cards Grid 3 */
.cards-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media(max-width: 900px) { .cards-grid-3 { grid-template-columns: 1fr; } }

/* ---- ABOUT PAGE ---- */
.about-founder-strip { background: var(--color-surface); }
.timeline-strip { display: flex; gap: 0; align-items: flex-start; margin: 40px 0; overflow-x: auto; }
.timeline-dot { display: flex; flex-direction: column; align-items: center; min-width: 120px; }
.dot-circle { width: 16px; height: 16px; border-radius: 50%; background: var(--color-primary); border: 3px solid white; box-shadow: 0 0 0 3px var(--color-primary); margin-bottom: 8px; }
.dot-year { font-weight: 700; color: var(--color-primary); font-size: 0.9rem; }
.dot-label { text-align: center; font-size: 0.8rem; color: var(--color-muted); margin-top: 4px; }
.founder-quote { background: white; border-left: 4px solid var(--color-primary); padding: 24px 32px; margin: 32px 0; border-radius: 0 8px 8px 0; }
.founder-quote p { font-style: italic; font-size: 1.05rem; color: var(--color-dark); margin: 0 0 12px; }
.founder-quote cite { font-size: 0.875rem; color: var(--color-muted); }
.about-story .story-img-frame { position: relative; }
.story-img-placeholder { background: var(--color-surface); height: 320px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.story-year-badge { position: absolute; bottom: -16px; right: -16px; background: var(--color-primary); color: white; padding: 16px 20px; border-radius: 8px; max-width: 200px; }
.story-year-badge .year-num { font-size: 1.5rem; font-weight: 800; }
.story-year-badge .year-label { font-size: 0.75rem; opacity: 0.9; margin-top: 4px; }
.about-story .story-left blockquote { border-left: 4px solid var(--color-accent); padding: 12px 20px; margin: 24px 0; font-style: italic; color: var(--color-dark); }
.mvv-card { background: var(--color-surface); padding: 32px; border-radius: 12px; }
.mvv-card h3 { margin: 12px 0 8px; }
.mvv-icon { width: 48px; height: 48px; background: var(--color-primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; }
.diff-item { display: flex; gap: 20px; margin-bottom: 28px; }
.diff-num { font-size: 1.5rem; font-weight: 800; color: var(--color-border); min-width: 40px; }
.diff-body h4 { margin: 0 0 6px; font-size: 1rem; }
.diff-body p { color: var(--color-muted); margin: 0; }
.why-metrics { display: flex; flex-direction: column; gap: 0; background: var(--color-dark); color: white; border-radius: 16px; overflow: hidden; }
.metric { padding: 32px; }
.metric-num { display: block; font-size: 2.5rem; font-weight: 800; color: var(--color-accent); }
.metric-label { font-size: 0.9rem; opacity: 0.75; }
.metric-div { height: 1px; background: rgba(255,255,255,0.1); }

/* ---- FOUNDER'S JOURNEY ---- */
.founder-chip { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,0.1); padding: 16px 20px; border-radius: 12px; margin-top: 32px; width: fit-content; }
.avatar-circle { width: 48px; height: 48px; border-radius: 50%; background: var(--color-primary); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; color: white; flex-shrink: 0; }
.chip-text strong { display: block; color: white; }
.chip-text span { font-size: 0.8rem; color: rgba(255,255,255,0.65); }
.fj-timeline .timeline-era { display: grid; grid-template-columns: 1fr 40px 1fr; gap: 0; margin-bottom: 0; }
.timeline-era .era-content { background: var(--color-surface); padding: 32px; border-radius: 12px; }
.timeline-era .era-spine { display: flex; flex-direction: column; align-items: center; position: relative; padding: 32px 0; }
.timeline-era .era-spine::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--color-border); transform: translateX(-50%); }
.spine-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--color-primary); position: relative; z-index: 1; margin-top: 32px; }
.era-right .era-content { order: 3; }
.era-right .era-spine { order: 2; }
.era-right > div:first-child { order: 1; }
.era-badges { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.era-year { background: var(--color-primary); color: white; padding: 4px 10px; border-radius: 4px; font-size: 0.8rem; font-weight: 700; }
.era-phase { background: var(--color-surface); border: 1px solid var(--color-border); padding: 4px 10px; border-radius: 4px; font-size: 0.8rem; }
.era-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.era-tag { background: white; border: 1px solid var(--color-border); padding: 3px 8px; border-radius: 4px; font-size: 0.75rem; color: var(--color-muted); }
.big-quote { max-width: 800px; margin: 0 auto 48px; text-align: center; }
.big-quote p { font-size: 1.4rem; font-style: italic; color: var(--color-dark); line-height: 1.6; }
.big-quote cite { font-size: 0.9rem; color: var(--color-muted); margin-top: 16px; display: block; }
.phil-points { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.phil-point { padding: 24px; background: var(--color-surface); border-radius: 10px; }
.phil-icon { width: 40px; height: 40px; background: var(--color-primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; margin-bottom: 12px; }
@media(max-width: 900px) { .phil-points { grid-template-columns: 1fr; } .fj-timeline .timeline-era { grid-template-columns: 1fr; } .timeline-era .era-spine { display: none; } }

/* ---- PORTFOLIO ---- */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn { padding: 8px 20px; border-radius: 100px; border: 1.5px solid var(--color-border); background: white; cursor: pointer; font-size: 0.875rem; font-weight: 500; transition: all 0.2s; }
.filter-btn.active, .filter-btn:hover { background: var(--color-primary); color: white; border-color: var(--color-primary); }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media(max-width: 720px) { .portfolio-grid { grid-template-columns: 1fr; } }
.portfolio-card { background: white; border-radius: 12px; overflow: hidden; border: 1px solid var(--color-border); transition: box-shadow 0.2s; }
.portfolio-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.portfolio-card .card-img { aspect-ratio: 16/9; overflow: hidden; }
.portfolio-card .card-img img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-card .card-body { padding: 24px; }
.portfolio-card .card-tags { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.portfolio-card h3 { font-size: 1.1rem; margin: 0 0 8px; }
.portfolio-card p { color: var(--color-muted); font-size: 0.9rem; }
.portfolio-card .card-link { display: inline-block; margin-top: 12px; font-weight: 600; color: var(--color-primary); font-size: 0.875rem; }
.card-open { background: var(--color-surface); border-style: dashed; }
.card-open .card-body { display: flex; flex-direction: column; justify-content: center; min-height: 200px; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: 600; }
.tag-cat { background: rgba(21,101,192,0.1); color: var(--color-primary); }
.tag-tech { background: var(--color-surface); color: var(--color-muted); border: 1px solid var(--color-border); }

/* ---- JOBS ---- */
.perks-bar { background: var(--color-primary); color: white; padding: 40px 0; }
.perks-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }
@media(max-width: 900px) { .perks-grid { grid-template-columns: repeat(2,1fr); } }
.perk { display: flex; flex-direction: column; gap: 4px; }
.perk .perk-icon { margin-bottom: 8px; opacity: 0.8; }
.perk strong { font-size: 1rem; }
.perk span { font-size: 0.85rem; opacity: 0.8; }
.jobs-list { display: flex; flex-direction: column; gap: 16px; }
.job-card { background: white; border: 1px solid var(--color-border); border-radius: 12px; padding: 32px; display: flex; align-items: center; justify-content: space-between; gap: 32px; transition: box-shadow 0.2s; }
.job-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.job-left { flex: 1; }
.job-badges { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: 600; }
.badge-tech { background: rgba(21,101,192,0.1); color: var(--color-primary); }
.badge-type { background: var(--color-surface); color: var(--color-muted); border: 1px solid var(--color-border); }
.badge-loc { background: rgba(76,175,80,0.1); color: var(--color-accent); }
.badge-urgent { background: rgba(255,80,0,0.1); color: #f44; }
.job-card h3 { font-size: 1.1rem; margin: 0 0 8px; }
.job-card p { color: var(--color-muted); font-size: 0.9rem; margin: 0; }
.card-open { border-style: dashed; background: var(--color-surface); }
@media(max-width: 720px) { .job-card { flex-direction: column; align-items: flex-start; } }

/* ---- SERVICE PAGES ---- */
.challenges-section { background: var(--color-surface); }
.challenges-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; margin-top: 40px; }
@media(max-width: 720px) { .challenges-grid { grid-template-columns: 1fr; } }
.challenge-card { background: white; padding: 28px; border-radius: 10px; border: 1px solid var(--color-border); }
.challenge-icon { width: 40px; height: 40px; border-radius: 8px; background: rgba(21,101,192,0.08); display: flex; align-items: center; justify-content: center; color: var(--color-primary); margin-bottom: 12px; }
.challenge-card h4 { margin: 0 0 8px; font-size: 1rem; }
.challenge-card p { color: var(--color-muted); font-size: 0.9rem; margin: 0; }
.philosophy-section .quote-block { background: var(--color-dark); color: white; padding: 40px; border-radius: 12px; }
.quote-block .quote-mark { font-size: 4rem; line-height: 1; color: var(--color-primary); display: block; margin-bottom: -8px; }
.quote-block p { font-style: italic; font-size: 1.1rem; color: rgba(255,255,255,0.9); }
.quote-block cite { font-size: 0.875rem; color: rgba(255,255,255,0.5); display: block; margin-top: 16px; }
.scope-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media(max-width: 900px) { .scope-grid { grid-template-columns: 1fr; } }
.scope-card { background: var(--color-surface); padding: 24px; border-radius: 10px; border: 1px solid var(--color-border); }
.scope-icon { width: 36px; height: 36px; background: var(--color-primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; margin-bottom: 12px; }
.scope-card h4 { margin: 0 0 8px; font-size: 0.95rem; }
.scope-card p { color: var(--color-muted); font-size: 0.875rem; margin: 0; }
.process-section { background: var(--color-surface); }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 40px; }
@media(max-width: 900px) { .process-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width: 600px) { .process-grid { grid-template-columns: 1fr; } }
.process-step { }
.step-num { font-size: 2rem; font-weight: 800; color: var(--color-border); margin-bottom: 12px; }
.process-step h4 { font-size: 0.95rem; margin: 0 0 8px; }
.process-step p { color: var(--color-muted); font-size: 0.875rem; }
.tech-grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 32px; }
.tech-badge { display: flex; align-items: center; gap: 10px; background: white; border: 1px solid var(--color-border); padding: 12px 20px; border-radius: 8px; font-weight: 600; font-size: 0.9rem; }
.tech-icon { color: var(--color-primary); }
.mid-cta-section { background: var(--color-primary); color: white; padding: 48px 0; }
.mid-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
@media(max-width: 900px) { .mid-cta-inner { flex-direction: column; align-items: flex-start; } }
.mid-cta-left h3 { color: white; font-size: 1.4rem; margin: 0 0 8px; }
.mid-cta-left p { color: rgba(255,255,255,0.8); margin: 0; }
.mid-cta-right { display: flex; flex-direction: column; align-items: center; gap: 8px; white-space: nowrap; }
.mid-cta-right .btn-primary { background: white; color: var(--color-primary); }
.mid-cta-right .btn-primary:hover { background: var(--color-surface); }
.cta-sub { font-size: 0.8rem; color: rgba(255,255,255,0.7); }

/* ---- CASE STUDIES ---- */
.cs-hero { background: var(--color-dark); color: white; padding: 60px 0 0; }
.cs-hero h1 { font-size: 2.4rem; color: white; margin: 16px 0; }
.cs-meta { display: flex; gap: 8px; margin-bottom: 12px; }
.cs-subtitle { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 720px; padding-bottom: 48px; }
.cs-hero-img { width: 100%; max-height: 480px; overflow: hidden; margin-top: 40px; }
.cs-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.cs-body { padding: 60px 0; }
.cs-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
@media(max-width: 900px) { .cs-layout { grid-template-columns: 1fr; } }
.cs-section { margin-bottom: 40px; }
.cs-section h2 { font-size: 1.4rem; border-bottom: 2px solid var(--color-border); padding-bottom: 12px; margin-bottom: 20px; }
.cs-section p { color: var(--color-muted); line-height: 1.7; }
.cs-section ul { color: var(--color-muted); padding-left: 20px; }
.cs-section ul li { margin-bottom: 8px; }
.cs-quote { border-left: 4px solid var(--color-primary); padding: 16px 24px; background: var(--color-surface); margin: 24px 0; font-style: italic; color: var(--color-dark); border-radius: 0 8px 8px 0; }
.cs-sidebar { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 20px; }
.cs-outcome-card, .cs-tech-card, .cs-cta-card { background: var(--color-surface); padding: 28px; border-radius: 12px; border: 1px solid var(--color-border); }
.cs-outcome-card h3, .cs-tech-card h3 { font-size: 1rem; margin: 0 0 12px; color: var(--color-primary); }
.cs-outcome-card p, .cs-tech-card p { font-size: 0.875rem; color: var(--color-muted); margin: 0; }
.cs-cta-card { background: var(--color-dark); color: white; }
.cs-cta-card p { color: rgba(255,255,255,0.75); margin-bottom: 16px; font-size: 0.875rem; }
.related-card { background: white; border-radius: 10px; overflow: hidden; border: 1px solid var(--color-border); }
.related-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.related-body { padding: 20px; }
.related-body h4 { font-size: 0.95rem; margin: 8px 0; }
.related-body a { font-size: 0.875rem; font-weight: 600; color: var(--color-primary); }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 8px; font-weight: 600; border: 2px solid var(--color-primary); color: var(--color-primary); background: transparent; cursor: pointer; transition: all 0.2s; text-decoration: none; }
.btn-outline:hover { background: var(--color-primary); color: white; }
