/*
Theme Name: Cong Ty Agency
Theme URI: https://congtyagency.com/
Author: Cong Ty Agency
Author URI: https://congtyagency.com/
Description: Custom WordPress theme cho Công Ty Agency — Digital Marketing & Tăng Trưởng Thương Hiệu Toàn Diện. Phong cách Modern Editorial Light + Electric Lime (#E6FF3F) + Obsidian (#121212).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: congtyagency
*/
/* ==========================================================================
   Công Ty Agency — Modern Editorial Light + Electric Lime Design System
   https://congtyagency.com
   ========================================================================== */

:root {
  --bg-page: #FAFAFA;
  --bg-surface: #FFFFFF;
  --bg-muted: #F3F3EF;
  --bg-obsidian: #121212;
  --bg-obsidian-card: #1A1A1A;
  --ink-primary: #111111;
  --ink-secondary: #555555;
  --ink-tertiary: #767676;
  --ink-on-dark: #F7F7F5;
  --ink-on-dark-muted: #A3A39E;

  --lime: #E6FF3F;
  --lime-hover: #D8F520;
  --lime-soft: #F4FFA8;
  --lime-badge: #76A800;
  --lime-badge-bg: #E6FF3F;

  --border-light: #E8E8E3;
  --border-dark: rgba(255, 255, 255, 0.11);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --shadow-subtle: 0 1px 2px rgba(17, 17, 17, 0.04), 0 8px 24px rgba(17, 17, 17, 0.04);
  --shadow-hover: 0 12px 32px rgba(17, 17, 17, 0.08);
  --shadow-modal: 0 24px 64px rgba(0, 0, 0, 0.35);

  --font-display: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1260px;
  --container-wide: 1380px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--ink-primary);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

ul {
  list-style: none;
}

.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;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: 20px;
}

/* Typography Utilities */
h1, h2, h3, h4, .display-num {
  font-family: var(--font-display);
  letter-spacing: -0.028em;
  line-height: 1.15;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: var(--ink-primary);
}

.eyebrow--dark {
  background: var(--ink-primary);
  color: var(--lime);
}

.eyebrow--outline {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--ink-secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.22s var(--ease), background-color 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease), box-shadow 0.22s var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.22s var(--ease);
}

.btn:hover svg {
  transform: translate(2px, -2px);
}

.btn-lime {
  background: var(--lime);
  color: var(--ink-primary);
}

.btn-lime:hover {
  background: var(--lime-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(230, 255, 63, 0.35);
}

.btn-dark {
  background: var(--ink-primary);
  color: #FFFFFF;
}

.btn-dark:hover {
  background: #262626;
  transform: translateY(-1px);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(10px);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--ink-primary);
  border-color: var(--border-light);
}

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

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

/* ==========================================================================
   Header / Sticky Top Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(17, 17, 17, 0.05);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.025em;
  color: var(--ink-primary);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.brand-mark span:nth-child(1) {
  width: 11px;
  height: 15px;
  border-radius: 2px;
  background: var(--ink-primary);
}

.brand-mark span:nth-child(2) {
  width: 7px;
  height: 15px;
  border-radius: 2px;
  background: var(--ink-primary);
}

.brand-mark span:nth-child(3) {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink-primary);
  transition: background-color 0.25s var(--ease);
}

.brand:hover .brand-mark span:nth-child(3) {
  background: #9CC200;
}

.brand--dark {
  color: #FFFFFF;
}

.brand--dark .brand-mark span:nth-child(1),
.brand--dark .brand-mark span:nth-child(2) {
  background: #FFFFFF;
}

.brand--dark .brand-mark span:nth-child(3) {
  background: var(--lime);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-secondary);
  position: relative;
  padding-block: 4px;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--ink-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--ink-primary);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-secondary);
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  transition: color 0.2s ease, background 0.2s ease;
}

.header-phone:hover {
  color: var(--ink-primary);
  background: var(--bg-muted);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  background: #FFFFFF;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink-primary);
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 95;
  background: #FFFFFF;
  padding: 28px 24px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.mobile-drawer.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-list a {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   Hero Section — Full-Bleed Editorial Framed Photography
   ========================================================================== */
.hero-section {
  padding-top: 16px;
  padding-bottom: 12px;
  background: #FFFFFF;
}

.hero-frame {
  position: relative;
  min-height: clamp(540px, 76vh, 720px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #141414;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(32px, 5vw, 64px);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  transform: scale(1.01);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(95deg, rgba(10, 10, 10, 0.84) 0%, rgba(10, 10, 10, 0.62) 44%, rgba(10, 10, 10, 0.16) 100%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.14) 0%, rgba(10, 10, 10, 0.0) 55%, rgba(10, 10, 10, 0.62) 100%);
}

.hero-top-meta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(17, 17, 17, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 500;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(230, 255, 63, 0.22);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  align-items: end;
  gap: 36px;
  margin-top: auto;
  padding-top: 64px;
}

.hero-content h1 {
  color: #FFFFFF;
  font-size: clamp(2.05rem, 3.65vw, 3.45rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.032em;
  max-width: 19ch;
}

.hero-accent {
  color: var(--lime);
}

.hero-lead {
  margin-top: 20px;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16.5px;
  line-height: 1.62;
}

.hero-cta-group {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-editorial-note {
  justify-self: end;
  max-width: 390px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
}

.hero-editorial-kicker {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 8px;
}

.hero-editorial-note p {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

/* ==========================================================================
   Trust Bar — Monochrome Vietnamese Partner Strip
   ========================================================================== */
.trust-bar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  padding: 28px 0;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.trust-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-secondary);
  flex-shrink: 0;
  white-space: nowrap;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.4vw, 34px);
  flex-wrap: nowrap;
}

.partner-mark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #3A3A38;
  opacity: 0.68;
  white-space: nowrap;
  transition: opacity 0.2s ease, color 0.2s ease;
  user-select: none;
}

.partner-mark:hover {
  opacity: 1;
  color: var(--ink-primary);
}

.partner-mark svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ==========================================================================
   Section 2: Editorial About + 3 Big Typographic KPI Cards
   ========================================================================== */
.section {
  padding: clamp(72px, 8.5vw, 118px) 0;
}

.about-section {
  background: var(--bg-page);
}

.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
  gap: 32px 48px;
  align-items: start;
}

.editorial-tag-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-top: 6px;
}

.brand-signature {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #6B9400;
  letter-spacing: -0.01em;
}

.micro-caption {
  font-size: 12px;
  color: var(--ink-tertiary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.editorial-statement {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.75vw, 2.38rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.028em;
  color: var(--ink-primary);
}

.editorial-statement strong {
  font-weight: 700;
}

.about-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* 3 Big Typographic KPI Cards */
.kpi-grid {
  margin-top: clamp(44px, 5vw, 68px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.kpi-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 28px 30px;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.kpi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #D4D4CC;
}

.kpi-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kpi-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.kpi-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.14);
}

.kpi-dot--dark {
  background: var(--ink-primary);
}

.kpi-num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.4vw, 4.1rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink-primary);
  margin-bottom: 14px;
}

.kpi-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-primary);
  margin-bottom: 6px;
}

.kpi-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-secondary);
}

/* ==========================================================================
   Section 3: Services Overview (6 Pillars) + Editorial Spotlight Banner
   ========================================================================== */
.services-section {
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
}

.services-grid {
  margin-top: clamp(40px, 5vw, 60px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition: transform 0.28s var(--ease), background-color 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.service-card:hover {
  background: #FFFFFF;
  transform: translateY(-4px);
  border-color: #CFCFC7;
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-primary);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.service-card:hover .service-icon {
  background: var(--lime);
  border-color: var(--lime);
}

.service-icon svg {
  width: 21px;
  height: 21px;
}

.service-card h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink-primary);
}

.service-card p {
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--ink-secondary);
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.service-chip {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-secondary);
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  background: var(--lime);
  color: var(--ink-primary);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.service-link:hover {
  background: var(--lime-hover);
  transform: translateX(2px);
}

.service-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-tertiary);
}

/* Impact Spotlight Banner (inspired by reference +98% full-photo card) */
.spotlight-banner {
  margin-top: 56px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 4.5vw, 52px);
  color: #FFFFFF;
  background: #141414;
}

.spotlight-banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.spotlight-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 12, 12, 0.72) 0%, rgba(12, 12, 12, 0.38) 50%, rgba(12, 12, 12, 0.86) 100%);
}

.spotlight-top,
.spotlight-bottom {
  position: relative;
  z-index: 2;
}

.spotlight-quote {
  margin-top: 18px;
  max-width: 28ch;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 2.05rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.spotlight-bottom {
  margin-top: 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.spotlight-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.spotlight-avatar {
  position: static;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--lime);
}

.spotlight-author strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.spotlight-author span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.spotlight-stat {
  text-align: right;
}

.spotlight-stat-label {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 4px;
}

.spotlight-stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--lime);
}

/* ==========================================================================
   Section 4: High-Contrast Obsidian Case Studies Band (#121212)
   ========================================================================== */
.cases-section {
  background: var(--bg-obsidian);
  color: var(--ink-on-dark);
}

.cases-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.cases-header-left {
  max-width: 680px;
}

.cases-header h2 {
  margin-top: 16px;
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  font-weight: 600;
  color: #FFFFFF;
}

.cases-header p {
  margin-top: 14px;
  color: var(--ink-on-dark-muted);
  font-size: 15.5px;
  max-width: 56ch;
}

.cases-filters {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-on-dark-muted);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s var(--ease);
}

.filter-btn:hover {
  border-color: rgba(255, 255, 255, 0.32);
  color: #FFFFFF;
}

.filter-btn.is-active {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink-primary);
}

.cases-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.case-card {
  background: var(--bg-obsidian-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.case-card.is-hidden {
  display: none;
}

.case-card:hover {
  transform: translateY(-6px);
  border-color: rgba(230, 255, 63, 0.45);
}

.case-media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #0B0B0B;
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

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

.case-hover-pill {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -44%) scale(0.94);
  opacity: 0;
  background: var(--lime);
  color: var(--ink-primary);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}

.case-card:hover .case-hover-pill,
.case-hover-pill:focus-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.case-metrics-strip {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.metric-pill {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  background: rgba(17, 17, 17, 0.82);
  color: var(--lime);
  border: 1px solid rgba(230, 255, 63, 0.35);
  backdrop-filter: blur(8px);
}

.metric-pill--light {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.22);
}

.case-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.case-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--ink-on-dark-muted);
  margin-bottom: 10px;
}

.case-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.case-body p {
  font-size: 14px;
  line-height: 1.62;
  color: var(--ink-on-dark-muted);
  flex: 1;
}

.case-action {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.case-detail-trigger {
  background: none;
  border: none;
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 0;
}

.case-detail-trigger:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==========================================================================
   Section 5: Roadmap / Process (Sticky Left + Stacked Numbered Steps)
   ========================================================================== */
.roadmap-section {
  background: var(--bg-page);
}

.roadmap-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 48px;
  align-items: start;
}

.roadmap-sticky {
  position: sticky;
  top: calc(var(--header-h) + 36px);
}

.roadmap-sticky h2 {
  margin-top: 16px;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 600;
}

.roadmap-sticky p {
  margin-top: 16px;
  color: var(--ink-secondary);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 44ch;
}

.roadmap-note-box {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 14px;
}

.roadmap-note-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--lime);
  color: var(--ink-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.roadmap-note-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14.5px;
  color: var(--ink-primary);
}

.roadmap-note-box span {
  font-size: 13px;
  color: var(--ink-secondary);
}

.roadmap-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.step-card:hover,
.step-card.is-active {
  border-color: var(--ink-primary);
  box-shadow: var(--shadow-hover);
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: var(--bg-page);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-primary);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.step-card.is-active .step-num,
.step-card:hover .step-num {
  background: var(--lime);
  border-color: var(--lime);
}

.step-duration {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-tertiary);
  background: var(--bg-muted);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.step-phase {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6B9400;
  margin-bottom: 6px;
}

.step-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-secondary);
}

.step-deliverables {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-light);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.step-deliverables span {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-primary);
  background: var(--bg-page);
  padding: 5px 11px;
  border-radius: 8px;
}

/* ==========================================================================
   Section 6: Signature Electric Lime Band + Service Packages
   ========================================================================== */
.lime-band {
  background: linear-gradient(135deg, #ECFF5E 0%, #E6FF3F 55%, #F4FFA8 100%);
  color: var(--ink-primary);
  padding: clamp(64px, 7.5vw, 96px) 0;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.lime-band-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
  gap: 36px 56px;
  align-items: start;
}

.lime-band-left h2 {
  margin-top: 16px;
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 600;
}

.lime-band-left p {
  margin-top: 16px;
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(17, 17, 17, 0.78);
  max-width: 40ch;
}

.lime-checklist {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lime-check-item {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(17, 17, 17, 0.14);
  padding: 16px 0;
  cursor: pointer;
  transition: opacity 0.22s ease, transform 0.22s var(--ease);
}

.lime-check-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.3vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: rgba(17, 17, 17, 0.42);
  transition: color 0.22s ease;
}

.lime-check-item:hover .lime-check-title,
.lime-check-item.is-active .lime-check-title {
  color: var(--ink-primary);
}

.lime-check-detail {
  max-height: 0;
  overflow: hidden;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(17, 17, 17, 0.82);
  transition: max-height 0.3s var(--ease), margin-top 0.3s var(--ease);
}

.lime-check-item.is-active .lime-check-detail {
  max-height: 120px;
  margin-top: 8px;
}

/* Pricing Packages */
.pricing-section {
  background: #FFFFFF;
}

.section-header-center {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.section-header-center h2 {
  margin-top: 16px;
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  font-weight: 600;
}

.section-header-center p {
  margin-top: 14px;
  font-size: 15.5px;
  color: var(--ink-secondary);
}

.pricing-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.price-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

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

.price-card--featured {
  background: var(--bg-obsidian);
  color: #FFFFFF;
  border-color: var(--bg-obsidian);
  position: relative;
}

.price-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: var(--ink-primary);
  margin-bottom: 18px;
}

.price-badge--muted {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--ink-secondary);
}

.price-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.price-sub {
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.55;
  min-height: 44px;
}

.price-card--featured .price-sub {
  color: var(--ink-on-dark-muted);
}

.price-value-box {
  margin: 24px 0;
  padding: 20px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.price-card--featured .price-value-box {
  border-color: var(--border-dark);
}

.price-amount {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.5vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.price-period {
  font-size: 13.5px;
  color: var(--ink-tertiary);
  margin-left: 4px;
}

.price-card--featured .price-period {
  color: var(--ink-on-dark-muted);
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-secondary);
}

.price-card--featured .price-features li {
  color: rgba(255, 255, 255, 0.88);
}

.price-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.price-card .btn {
  width: 100%;
}

/* ==========================================================================
   Section 7: Client Testimonials (Editorial Portrait Cards)
   ========================================================================== */
.testimonials-section {
  background: var(--bg-page);
  border-top: 1px solid var(--border-light);
}

.testimonials-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.testimonial-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #161616;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
}

.testimonial-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.55s var(--ease);
}

.testimonial-card:hover img {
  transform: scale(1.04);
}

.testimonial-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0.04) 22%, rgba(12, 12, 12, 0.64) 64%, rgba(12, 12, 12, 0.92) 100%);
}

.testimonial-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
}

.testimonial-result {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: var(--ink-primary);
  margin-bottom: 14px;
}

.testimonial-content blockquote {
  font-size: 15px;
  line-height: 1.58;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
  margin-bottom: 16px;
}

.testimonial-meta {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.testimonial-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
}

.testimonial-meta span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.74);
}

/* ==========================================================================
   Section 8: FAQ + Final CTA & Contact Form
   ========================================================================== */
.contact-section {
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: start;
}

.contact-left h2 {
  margin-top: 16px;
  font-size: clamp(1.85rem, 3.1vw, 2.65rem);
  font-weight: 600;
}

.contact-left > p {
  margin-top: 14px;
  color: var(--ink-secondary);
  font-size: 15.5px;
}

.direct-channels {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.channel-card {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-page);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.channel-card:hover {
  border-color: var(--ink-primary);
  background: #FFFFFF;
}

.channel-card span {
  display: block;
  font-size: 12px;
  color: var(--ink-tertiary);
  margin-bottom: 4px;
}

.channel-card strong {
  font-family: var(--font-display);
  font-size: 14.5px;
  color: var(--ink-primary);
}

/* FAQ Accordion */
.faq-wrap {
  margin-top: 36px;
}

.faq-heading {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-tertiary);
  margin-bottom: 12px;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 0;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-primary);
}

.faq-plus {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.faq-item.is-open .faq-plus {
  background: var(--lime);
  border-color: var(--lime);
  transform: rotate(45deg);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}

.faq-panel p {
  padding-bottom: 18px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-secondary);
}

/* Contact Form Box */
.form-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.8vw, 40px);
}

.form-card-head {
  margin-bottom: 24px;
}

.form-card-head h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-card-head p {
  font-size: 14px;
  color: var(--ink-secondary);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-primary);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #DEDED8;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14.5px;
  color: var(--ink-primary);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink-primary);
  box-shadow: 0 0 0 3px rgba(230, 255, 63, 0.45);
}

.field textarea {
  min-height: 108px;
  resize: vertical;
}

.form-submit-row {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.form-submit-row .btn-lime {
  flex: 1;
  min-width: 210px;
  padding-block: 16px;
}

.form-note {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--ink-tertiary);
}

.form-success {
  display: none;
  background: #FFFFFF;
  border: 1px solid #D5EA45;
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: left;
}

.form-success.is-visible {
  display: block;
}

.form-success-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime);
  color: var(--ink-primary);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.form-success h4 {
  font-size: 20px;
  margin-bottom: 8px;
}

.form-success p {
  font-size: 14.5px;
  color: var(--ink-secondary);
  margin-bottom: 18px;
}

.form-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   Footer — Clean Obsidian Editorial Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-obsidian);
  color: var(--ink-on-dark);
  padding: 72px 0 34px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 0.75fr));
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-brand-desc {
  margin-top: 16px;
  max-width: 36ch;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-on-dark-muted);
}

.footer-cta-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lime);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-links li {
  font-size: 14px;
  color: var(--ink-on-dark-muted);
  line-height: 1.55;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-on-dark-muted);
}

/* ==========================================================================
   Interactive Modal (Case Study Detail & Quick Consult)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}

.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  background: #FFFFFF;
  color: var(--ink-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.28s var(--ease);
}

.modal-backdrop.is-open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 26px;
  border-bottom: 1px solid var(--border-light);
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--bg-page);
  color: var(--ink-primary);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--lime);
  border-color: var(--lime);
}

.modal-body {
  padding: 26px;
}

.modal-case-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.modal-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 20px;
}

.modal-kpi-box {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px;
}

.modal-kpi-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink-primary);
}

.modal-kpi-box span {
  font-size: 12px;
  color: var(--ink-secondary);
}

.modal-case-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0 24px;
}

.modal-case-list li {
  font-size: 14.5px;
  color: var(--ink-secondary);
  padding-left: 18px;
  position: relative;
}

.modal-case-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.25);
}

/* ==========================================================================
   Scroll Reveal Motion (respects prefers-reduced-motion)
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .trust-inner {
    flex-wrap: wrap;
  }
  .trust-logos {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .services-grid,
  .cases-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .header-phone {
    display: none;
  }
}

@media (max-width: 900px) {
  .main-nav,
  .header-actions .btn-lime {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .hero-grid,
  .editorial-split,
  .roadmap-layout,
  .lime-band-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-editorial-note {
    justify-self: start;
    max-width: 100%;
  }
  .roadmap-sticky {
    position: static;
  }
  .kpi-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .kpi-card {
    min-height: 200px;
  }
  .testimonial-card {
    aspect-ratio: 4 / 4.2;
  }
}

@media (max-width: 640px) {
  .container-wide {
    padding-inline: 12px;
  }
  .container {
    padding-inline: 18px;
  }
  .hero-frame {
    min-height: 560px;
    border-radius: 18px;
    padding: 24px 20px 28px;
  }
  .hero-media img {
    object-position: 62% center;
  }
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.72) 55%, rgba(10, 10, 10, 0.88) 100%);
  }
  .services-grid,
  .cases-grid,
  .pricing-grid,
  .form-grid,
  .direct-channels,
  .footer-top,
  .modal-kpis {
    grid-template-columns: 1fr;
  }
  .spotlight-stat {
    text-align: left;
  }
  .trust-logos {
    justify-content: flex-start;
    gap: 18px 24px;
  }
}

/* ==========================================================================
   WordPress Admin Bar Offset
   ========================================================================== */
body.admin-bar .site-header {
  top: 32px;
}

body.admin-bar .mobile-drawer {
  top: calc(var(--header-h) + 32px);
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
  body.admin-bar .mobile-drawer {
    top: calc(var(--header-h) + 46px);
  }
}

/* ==========================================================================
   WordPress Blog / Archive / Single / Page / 404 Editorial Styles
   ========================================================================== */
.wp-page-main {
  min-height: 62vh;
  background: var(--bg-page);
}

/* Breadcrumb */
.wp-breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-tertiary);
  margin-bottom: 18px;
}

.wp-breadcrumb a {
  color: var(--ink-secondary);
  transition: color 0.2s ease;
}

.wp-breadcrumb a:hover {
  color: var(--ink-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Blog & Archive Hero */
.wp-page-hero {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  padding: clamp(52px, 6.5vw, 84px) 0 clamp(44px, 5vw, 64px);
}

.wp-page-hero__inner {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.wp-page-title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.15rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.032em;
  color: var(--ink-primary);
}

.wp-page-lead {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--ink-secondary);
  max-width: 62ch;
}

.wp-page-lead p {
  margin: 0;
}

/* Category Filter Bar */
.wp-cat-bar {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wp-cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: var(--bg-page);
  color: var(--ink-secondary);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s var(--ease);
}

.wp-cat-pill:hover {
  border-color: var(--ink-primary);
  color: var(--ink-primary);
  background: #FFFFFF;
}

.wp-cat-pill.is-active {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink-primary);
}

/* Posts Grid */
.wp-archive-section {
  background: var(--bg-page);
  padding: clamp(48px, 6vw, 76px) 0 clamp(68px, 8vw, 100px);
}

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

.post-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #CFCFC7;
}

.post-card__thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border-light);
}

.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.post-card:hover .post-card__thumb img {
  transform: scale(1.04);
}

.post-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 12.5px;
  color: var(--ink-tertiary);
}

.post-card__cat {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: var(--ink-primary);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.post-card__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
  margin-bottom: 10px;
}

.post-card__title a {
  transition: color 0.2s ease;
}

.post-card__title a:hover {
  color: #5A7D00;
}

.post-card__excerpt {
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--ink-secondary);
  flex: 1;
}

.post-card__footer {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.post-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-primary);
  transition: transform 0.2s var(--ease), color 0.2s ease;
}

.post-card__more:hover {
  color: #5A7D00;
  transform: translateX(2px);
}

/* Pagination */
.wp-pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.wp-pagination .navigation {
  width: 100%;
  display: flex;
  justify-content: center;
}

.wp-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.wp-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 15px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: #FFFFFF;
  color: var(--ink-primary);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.2s var(--ease);
}

.wp-pagination a.page-numbers:hover {
  border-color: var(--ink-primary);
  background: var(--bg-muted);
}

.wp-pagination .page-numbers.current {
  background: var(--bg-obsidian);
  border-color: var(--bg-obsidian);
  color: var(--lime);
}

/* Empty State Box */
.wp-empty-box {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 56px);
}

.wp-empty-box h2 {
  margin-top: 16px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
}

.wp-empty-box p {
  margin: 12px auto 26px;
  max-width: 46ch;
  color: var(--ink-secondary);
  font-size: 15px;
}

/* Single Post & Standard Page Header */
.wp-single-hero {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  padding: clamp(44px, 5.5vw, 72px) 0 clamp(36px, 4.5vw, 54px);
}

.wp-single-hero__inner {
  max-width: 820px;
  margin-inline: auto;
}

.wp-single-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  font-size: 13.5px;
  color: var(--ink-tertiary);
  margin-bottom: 16px;
}

.wp-single-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--ink-primary);
}

/* Single Article Body Container */
.wp-single-shell {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(36px, 4.5vw, 52px) 0 clamp(64px, 7.5vw, 96px);
}

.wp-single-cover {
  margin: 0 0 36px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: #FFFFFF;
  box-shadow: var(--shadow-subtle);
}

.wp-single-cover img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
}

/* Long-Form SEO Prose (.wp-prose) */
.wp-prose {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4.2vw, 48px);
  font-size: 16.5px;
  line-height: 1.82;
  color: #242422;
  word-wrap: break-word;
}

.wp-prose > *:first-child {
  margin-top: 0;
}

.wp-prose > *:last-child {
  margin-bottom: 0;
}

.wp-prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.42rem, 2.4vw, 1.88rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.025em;
  color: var(--ink-primary);
  margin: 2.1em 0 0.72em;
  padding-top: 0.4em;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.wp-prose h3 {
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 1.9vw, 1.42rem);
  font-weight: 600;
  line-height: 1.32;
  color: var(--ink-primary);
  margin: 1.75em 0 0.6em;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.wp-prose h4 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink-primary);
  margin: 1.4em 0 0.5em;
}

.wp-prose p {
  margin: 0 0 1.25em;
}

.wp-prose strong,
.wp-prose b {
  color: var(--ink-primary);
  font-weight: 700;
}

.wp-prose a {
  color: #111111;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #B4D900;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: background-color 0.2s ease;
}

.wp-prose a:hover {
  background-color: var(--lime-soft);
}

.wp-prose ul,
.wp-prose ol {
  margin: 0 0 1.35em;
  padding-left: 1.55em;
}

.wp-prose ul {
  list-style: disc;
}

.wp-prose ol {
  list-style: decimal;
}

.wp-prose li {
  margin-bottom: 0.55em;
}

.wp-prose li > ul,
.wp-prose li > ol {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.wp-prose blockquote {
  margin: 1.75em 0;
  padding: 20px 24px;
  border-left: 4px solid var(--lime);
  background: var(--bg-page);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink-primary);
  font-size: 1.04em;
  font-weight: 500;
}

.wp-prose blockquote p:last-child {
  margin-bottom: 0;
}

.wp-prose figure,
.wp-prose .wp-block-image {
  margin: 1.85em 0;
}

.wp-prose img {
  height: auto;
  border-radius: var(--radius-sm);
  margin-inline: auto;
}

.wp-prose figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-tertiary);
}

.wp-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.8em 0;
  font-size: 14.5px;
  line-height: 1.55;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.wp-prose thead th {
  background: var(--bg-obsidian);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 600;
  text-align: left;
  padding: 12px 15px;
  border: 1px solid var(--bg-obsidian);
}

.wp-prose tbody td,
.wp-prose tbody th {
  padding: 11px 15px;
  border: 1px solid var(--border-light);
  vertical-align: top;
}

.wp-prose tbody tr:nth-child(even) {
  background: var(--bg-page);
}

.wp-prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--bg-muted);
  color: var(--ink-primary);
  padding: 2px 6px;
  border-radius: 6px;
}

.wp-prose pre {
  margin: 1.6em 0;
  padding: 18px 20px;
  background: var(--bg-obsidian);
  color: var(--ink-on-dark);
  border-radius: var(--radius-sm);
  overflow-x: auto;
  font-size: 13.5px;
  line-height: 1.65;
}

.wp-prose pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

.wp-prose hr {
  border: 0;
  border-top: 1px solid var(--border-light);
  margin: 2.2em 0;
}

.wp-prose .aligncenter {
  margin-inline: auto;
  text-align: center;
}

/* Single Post Tags */
.wp-single-tags {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wp-tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: #FFFFFF;
  color: var(--ink-secondary);
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.wp-tag-chip:hover {
  border-color: var(--ink-primary);
  color: var(--ink-primary);
}

/* Single Article Bottom CTA Card (Obsidian + Electric Lime) */
.wp-single-cta {
  margin-top: 36px;
  background: var(--bg-obsidian);
  color: var(--ink-on-dark);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4.2vw, 42px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wp-single-cta h3 {
  margin-top: 14px;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 600;
  color: #FFFFFF;
}

.wp-single-cta p {
  margin-top: 10px;
  color: var(--ink-on-dark-muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 58ch;
}

.wp-single-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Related Posts Section */
.wp-related-section {
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  padding: clamp(56px, 6.5vw, 84px) 0;
}

.wp-related-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.wp-related-head h2 {
  margin-top: 12px;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  font-weight: 600;
}

/* 404 Page */
.wp-404-section {
  border-bottom: none;
  padding: clamp(72px, 10vw, 128px) 0;
}

.wp-404-card {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wp-404-code {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 10vw, 6.8rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--ink-primary);
}

.wp-404-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 1024px) {
  .posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .posts-grid {
    grid-template-columns: 1fr;
  }
  .wp-prose {
    padding: 22px 18px;
    font-size: 15.5px;
  }
}