/* =============================================
   BIZASYS — Main Stylesheet
   Fonts: Archivo (headings), Roboto (body), Roboto Slab (accent)
   Colors: Primary #314F80, Accent #EB8A37, Text #54595F
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;600;700;800;900&family=Roboto:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Roboto+Slab:wght@300;400;500;600&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:     #314F80;
  --primary-dk:  #243d66;
  --accent:      #EB8A37;
  --accent-dk:   #AD5207;
  --text:        #54595F;
  --text-dark:   #1a1a1a;
  --text-light:  #7A7A7A;
  --bg-light:    #F2EFEC;
  --bg-warm:     #E9E3DD;
  --bg-white:    #ffffff;
  --footer-bg:   #1c1c2e;

  --space-xs:    8px;
  --space-sm:    16px;
  --space-md:    24px;
  --space-lg:    40px;
  --space-xl:    64px;
  --space-2xl:   96px;

  --max-w:       1140px;
  --radius:      8px;
  --radius-lg:   16px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.07);
  --shadow:      0 4px 20px rgba(0,0,0,0.11);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.14);
  --transition:  0.22s ease;
  --focus-ring:  0 0 0 3px rgba(235,138,55,0.45);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  animation: pageFadeIn 0.35s ease;
}

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
p + p { margin-top: 14px; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ---- Utilities ---- */
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  top: -60px; left: 16px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius);
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 10px; }

/* Reusable CTA wrapper */
.section-cta {
  text-align: center;
  margin-top: var(--space-lg);
}

/* Service subtitle (used on services page) */
.service-subtitle {
  font-family: 'Roboto Slab', serif;
  font-size: 20px;
  color: var(--accent-dk);
  margin-bottom: 18px;
  font-weight: 500;
  line-height: 1.4;
}

/* Prose paragraphs */
.prose p { margin-bottom: 16px; }
.prose p:last-child { margin-bottom: 0; }

/* =============================================
   NAVIGATION
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.nav-logo img { height: 44px; width: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-menu a {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  letter-spacing: 0.4px;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 4px;
  outline: none;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active        { color: var(--primary); }
.nav-menu a:hover::after,
.nav-menu a.active::after { transform: scaleX(1); }
.nav-menu a:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 3px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  border-radius: var(--radius);
}
.nav-toggle:focus-visible { box-shadow: var(--focus-ring); outline: none; }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 730px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: bottom center;
  color: #fff;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 42, 62, 0.52);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 48px var(--space-md);
}

.hero h1 {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: 4px;
  word-spacing: 10px;
  line-height: 1.18;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}

.hero p {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.90);
  margin-bottom: 40px;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1.2px;
  padding: 14px 36px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  outline: none;
}
.btn:focus-visible { box-shadow: var(--focus-ring); outline: none; }
.btn:active { transform: translateY(1px); }

.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-accent:hover { background: var(--accent-dk); border-color: var(--accent-dk); }

.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dk); border-color: var(--primary-dk); }

.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-white:hover { background: var(--bg-light); }

/* =============================================
   SECTION COMMONS
   ============================================= */
section { padding: 88px 0; }

.section-label {
  display: inline-block;
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 800;
  color: var(--primary);
  text-transform: capitalize;
  letter-spacing: 0.8px;
  line-height: 1.22;
  margin-bottom: 14px;
}

.section-subtitle {
  font-family: 'Roboto', sans-serif;
  font-size: 17px;
  color: var(--text-light);
  max-width: 680px;
  margin-bottom: 52px;
  line-height: 1.75;
}

/* =============================================
   HOMEPAGE — What We Do
   ============================================= */
.services-section { background: var(--bg-white); }

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

.service-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border-top: 4px solid transparent;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
  border-top-color: var(--accent);
}

.service-card h3 {
  font-family: 'Archivo', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  text-transform: capitalize;
  letter-spacing: 0.3px;
  margin-bottom: 14px;
  line-height: 1.3;
}

.service-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.75;
}

/* =============================================
   HOMEPAGE — Why Choose Us
   ============================================= */
.why-section {
  background: var(--bg-warm);
  background-image: url('images/team-bg.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(233, 227, 221, 0.91);
}

.why-section .container { position: relative; z-index: 1; }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 60px;
  margin-top: 52px;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.why-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.why-item h4 {
  font-family: 'Archivo', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.2px;
  margin-bottom: 10px;
  text-transform: capitalize;
  line-height: 1.3;
}

.why-item p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.75;
}

/* =============================================
   HOMEPAGE — Case Study Previews
   ============================================= */
.cases-section { background: var(--bg-white); }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}

.case-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.case-card:hover { box-shadow: var(--shadow-lg); }

.case-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(49,79,128,0.92) 45%, rgba(49,79,128,0.12) 100%);
  z-index: 1;
  transition: opacity var(--transition);
}

.case-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.45s ease;
}

.case-card:hover .case-card-bg { transform: scale(1.05); }

.case-card-body {
  position: relative;
  z-index: 2;
  padding: 28px 24px;
  color: #fff;
}

.case-card-body h3 {
  font-family: 'Archivo', sans-serif;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: capitalize;
  line-height: 1.3;
}

.case-card-body p {
  font-size: 14px;
  opacity: 0.88;
  margin-bottom: 16px;
  line-height: 1.65;
}

.case-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: gap var(--transition);
}
.case-card:hover .case-link { gap: 8px; }

/* =============================================
   CONTACT FORM
   ============================================= */
.contact-section {
  background: var(--primary);
  background-image: linear-gradient(160deg, var(--primary-dk) 0%, var(--primary) 60%, #3d6499 100%);
  color: #fff;
}

.contact-section .section-title  { color: #fff; }
.contact-section .section-subtitle { color: rgba(255,255,255,0.80); }

.contact-form {
  max-width: 680px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  padding: 13px 16px;
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.10);
  color: #fff;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.42); }
.form-group select option { color: #333; background: #fff; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.15);
  box-shadow: 0 0 0 3px rgba(235,138,55,0.30);
}

.form-group textarea { resize: vertical; min-height: 120px; }
.form-full { grid-column: 1 / -1; }
.form-submit { text-align: center; margin-top: 32px; }

/* Feedback messages */
.form-msg {
  margin-top: 18px;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  display: none;
  text-align: center;
}
.form-msg.success { background: rgba(0,200,80,0.18); color: #a8ffcb; border: 1px solid rgba(0,200,80,0.30); display: block; }
.form-msg.error   { background: rgba(255,80,80,0.18); color: #ffc8c8; border: 1px solid rgba(255,80,80,0.30); display: block; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.70);
  padding: 52px 0 28px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.footer-logo img { height: 40px; filter: brightness(0) invert(1); opacity: 0.85; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 32px;
}

.footer-nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
  letter-spacing: 0.3px;
}
.footer-nav a:hover { color: var(--accent); }
.footer-nav a:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 2px; }

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  border-top: 1px solid rgba(255,255,255,0.09);
  padding-top: 20px;
  width: 100%;
  text-align: center;
}

/* =============================================
   PAGE HERO (inner pages) — Option 5 style
   ============================================= */
.page-hero {
  background: linear-gradient(120deg, #1e2d4a 0%, #243d66 40%, var(--primary) 100%);
  padding: 40px 0 36px;
  color: #fff;
}

.page-hero .container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Breadcrumb */
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.page-hero-breadcrumb a,
.page-hero-breadcrumb span {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.page-hero-breadcrumb a:hover    { color: rgba(255,255,255,0.80); }
.page-hero-breadcrumb .sep       { color: rgba(255,255,255,0.28); font-size: 12px; }
.page-hero-breadcrumb .current   { color: rgba(255,255,255,0.82); font-weight: 500; }

.page-hero h1 {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: capitalize;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.2;
}

.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.70);
  font-style: italic;
  margin-bottom: 28px;
}

/* Stat boxes */
.page-hero-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.09);
  border: 0.5px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 12px 18px;
  flex: 1;
  min-width: 160px;
  transition: background var(--transition), border-color var(--transition);
}
.hero-stat:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(235,138,55,0.45);
}

.hero-stat-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(235,138,55,0.18);
  border: 0.5px solid rgba(235,138,55,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-stat-icon svg {
  width: 18px;
  height: 18px;
}

.hero-stat-val {
  font-family: 'Archivo', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  letter-spacing: 0.3px;
}

.hero-stat-lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.62);
  line-height: 1.4;
  margin-top: 2px;
}

@media (max-width: 767px) {
  .page-hero-stats { flex-direction: column; }
  .hero-stat       { flex: none; min-width: 0; }
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-intro { background: var(--bg-white); }

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-split img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  max-height: 420px;
}

.about-philosophy { background: var(--bg-warm); }

.about-vision {
  background: var(--primary);
  background-image: linear-gradient(135deg, var(--primary-dk) 0%, var(--primary) 100%);
  color: #fff;
  text-align: center;
}
.about-vision .section-title { color: #fff; }
.about-vision .section-label { color: var(--accent); }
.about-vision .vision-body {
  font-size: 18px;
  color: rgba(255,255,255,0.84);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.85;
}

.about-pillars { background: var(--bg-light); }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 52px;
}

.pillar-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.pillar-card h3 {
  font-family: 'Archivo', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
  text-transform: capitalize;
  margin-bottom: 12px;
  line-height: 1.3;
}

.pillar-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.75;
}

/* =============================================
   SERVICES PAGE
   ============================================= */
.service-section { padding: 88px 0; }
.service-section:nth-child(even) { background: var(--bg-light); }

.service-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.service-layout.reverse { direction: rtl; }
.service-layout.reverse > * { direction: ltr; }

.service-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}

.service-text .prose { margin-bottom: 0; }

.service-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
}

.feature-item {
  padding: 20px 18px;
  background: #fff;
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service-section:nth-child(even) .feature-item { background: var(--bg-warm); }

.feature-item h4 {
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  text-transform: capitalize;
  letter-spacing: 0.2px;
  margin-bottom: 8px;
  line-height: 1.3;
}

.feature-item p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}

/* Services/Cases shared CTA banner */
.cta-banner {
  background: var(--primary);
  background-image: linear-gradient(135deg, var(--primary-dk) 0%, var(--primary) 100%);
  padding: 80px 0;
  text-align: center;
  color: #fff;
}

.cta-banner h2 {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: 0.8px;
}

.cta-banner p {
  font-size: 18px;
  color: rgba(255,255,255,0.80);
  margin-bottom: 36px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* =============================================
   CASE STUDIES PAGE
   ============================================= */
.cases-intro {
  background: var(--bg-warm);
  padding: 52px 0;
  text-align: center;
}

.cases-intro p {
  font-size: 18px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 36px;
}

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

.cases-hero-item {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border-radius: var(--radius-lg);
}

.cases-hero-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(49,79,128,0.88) 50%, transparent 100%);
  z-index: 1;
}

.cases-hero-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.cases-hero-item:hover img { transform: scale(1.06); }

.cases-hero-caption {
  position: relative;
  z-index: 2;
  padding: 24px 22px;
  color: #fff;
}

.cases-hero-caption h3 {
  font-family: 'Archivo', sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.3;
  color: #fff;
}

.cases-hero-caption p {
  font-size: 13px;
  color: #ffffff;
  opacity: 1;
  line-height: 1.6;
  margin-bottom: 12px;
}

.cases-hero-caption a {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: letter-spacing var(--transition);
}
.cases-hero-item:hover .cases-hero-caption a { letter-spacing: 1.6px; }

.case-study-detail {
  padding: 88px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.case-study-detail:nth-child(even) { background: var(--bg-light); }

.case-header { margin-bottom: 44px; }

.case-header h2 {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800;
  color: var(--primary);
  text-transform: capitalize;
  letter-spacing: 0.4px;
  margin-bottom: 18px;
  line-height: 1.25;
}

.case-header .case-intro {
  font-size: 16px;
  color: var(--text);
  max-width: 780px;
  line-height: 1.80;
}

.case-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-col {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.case-col:hover { box-shadow: var(--shadow); }
.case-study-detail:nth-child(even) .case-col { background: var(--bg-warm); }

.case-col-label {
  display: inline-block;
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.case-col ul { padding: 0; }

.case-col ul li {
  font-size: 14px;
  color: var(--text);
  padding: 8px 0 8px 22px;
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  line-height: 1.55;
}
.case-col ul li:last-child { border-bottom: none; }
.case-col ul li::before { content: '→'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* =============================================
   SCROLL TO TOP
   ============================================= */
#scrollTop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s, transform 0.3s, background var(--transition);
  z-index: 900;
  pointer-events: none;
}
#scrollTop.visible   { opacity: 1; transform: translateY(0); pointer-events: auto; }
#scrollTop:hover     { background: var(--accent); }
#scrollTop:focus-visible { outline: none; box-shadow: var(--focus-ring); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .services-grid,
  .cases-grid        { grid-template-columns: repeat(2, 1fr); }

  .pillars-grid      { grid-template-columns: repeat(2, 1fr); }

  .about-split,
  .service-layout    { grid-template-columns: 1fr; gap: 40px; }

  .service-layout.reverse { direction: ltr; }

  .why-grid          { grid-template-columns: 1fr 1fr; }

  .cases-hero-grid   { grid-template-columns: 1fr 1fr; }
  .cases-hero-item   { min-height: 220px; }
  .cases-hero-grid .cases-hero-item:last-child { grid-column: 1 / -1; }

  .case-cols         { grid-template-columns: 1fr 1fr; }
  .case-cols .case-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  section { padding: 60px 0; }

  .container { padding: 0 var(--space-sm); }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0; right: 0;
    background: #fff;
    padding: 20px var(--space-md) 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    gap: 18px;
    border-top: 2px solid var(--bg-light);
    animation: slideDown 0.22s ease;
    z-index: 999;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: none; }
  }

  .nav-menu.open { display: flex; }
  .nav-toggle    { display: flex; }

  .services-grid,
  .cases-grid,
  .pillars-grid,
  .service-features,
  .case-cols        { grid-template-columns: 1fr; }

  .cases-hero-grid  { grid-template-columns: 1fr; }
  .cases-hero-grid .cases-hero-item:last-child { grid-column: auto; }
  .case-cols .case-col:last-child { grid-column: auto; }

  .why-grid         { grid-template-columns: 1fr; gap: 28px; }
  .form-grid        { grid-template-columns: 1fr; }

  .hero             { min-height: 540px; }
  .about-split img  { max-height: 280px; }

  .hero h1          { font-size: 28px; }
  .hero p           { font-size: 16px; }
  .section-title    { font-size: 24px; }
  .section-subtitle { font-size: 15px; margin-bottom: 28px; }

  .btn              { padding: 12px 28px; font-size: 14px; }

  .page-hero h1     { font-size: 26px; }
  .page-hero p      { font-size: 15px; }

  .cases-hero-item  { min-height: 220px; }
  .cases-hero-caption { padding: 18px 16px; }
  .cases-hero-caption h3 { font-size: 18px; margin-bottom: 6px; }
  .cases-hero-caption p  { font-size: 12px; margin-bottom: 10px; }

  .case-header h2   { font-size: 22px; }
  .case-intro       { font-size: 15px; }

  .cta-banner h2    { font-size: 22px; }
  .cta-banner p     { font-size: 16px; margin-bottom: 24px; }

  #scrollTop        { bottom: 20px; right: 20px; width: 42px; height: 42px; font-size: 17px; }
}

@media (max-width: 480px) {
  .hero h1          { letter-spacing: 1px; word-spacing: 4px; font-size: 24px; }
  .hero p           { font-size: 14px; }
  .page-hero        { padding: 40px var(--space-md); }
  .page-hero h1     { font-size: 22px; }

  .section-title    { font-size: 20px; }
  .section-subtitle { font-size: 14px; }

  .btn              { padding: 10px 20px; font-size: 13px; }

  .page-hero-stats  { flex-direction: column; }
  .hero-stat        { min-width: auto; }

  .nav-inner        { height: 60px; }
  .nav-logo img     { height: 36px; }

  .cases-hero-caption h3 { font-size: 16px; }
  .cases-hero-caption p  { font-size: 11px; }

  .case-header h2   { font-size: 20px; }

  .cta-banner h2    { font-size: 20px; }
  .cta-banner p     { font-size: 14px; }

  .form-grid,
  .why-grid,
  .case-cols        { gap: 16px; }
}
