:root,
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --panel: #f8f9fa;
  --border: rgba(0, 0, 0, 0.08);
  --border-light: rgba(0, 0, 0, 0.14);
  --text: #16181d;
  --text-dim: #535661;
  --text-muted: #878a94;
  --accent: #c9791b;
  --accent-2: #a85f0f;
  --accent-soft: rgba(201, 121, 27, 0.08);
  --accent-glow: rgba(201, 121, 27, 0.16);
  --steel: #6e7683;
  --whatsapp: #25D366;
  --header-h: 84px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c0e12;
  --bg-2: #12151b;
  --bg-card: rgba(255, 255, 255, 0.035);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --panel: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.09);
  --border-light: rgba(255, 255, 255, 0.16);
  --text: #f2f0ea;
  --text-dim: #a9a9ad;
  --text-muted: #727379;
  --accent: #e8a13c;
  --accent-2: #d4841f;
  --accent-soft: rgba(232, 161, 60, 0.14);
  --accent-glow: rgba(232, 161, 60, 0.28);
  --steel: #5b6572;
}

/* Base resets */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: #ffffff;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

/* When header is scrolled/shrunk, update scroll padding */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 70px;
  }
}

body {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background: #ffffff;
  color: var(--text);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography: Headings & Paragraphs */
h4 {
  color: #000000;
}

p,
.about-para,
.section-desc,
.description,
.project-summary,
.testimonial-text {
  color: #000000;
  text-align: left;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.section {
  padding: clamp(60px, 8vw, 100px) 0;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-subtitle {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 18px;
}

.section-desc {
  font-size: clamp(15px, 1.8vw, 17px);
  color: #000000;
  line-height: 1.7;
}

.accent-text {
  color: var(--accent);
}

/* Blueprint Grid Background & Glow - Hidden for pure white site background */
.grid-backdrop {
  display: none;
}

.glow {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  min-height: 44px;
  border-radius: var(--radius-md);
  font-family: 'Manrope', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.btn svg {
  width: 17px;
  height: 17px;
  transition: transform var(--transition);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--accent);
  color: #151004;
  box-shadow: 0 4px 18px rgba(232, 161, 60, 0.28);
}

.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 161, 60, 0.38);
}

.btn-secondary {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* ==================== HEADER & NAVBAR ==================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition), height var(--transition);
  border-bottom: 1px solid var(--border);
}

.site-header.scrolled {
  height: 68px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

:root[data-theme="dark"] .site-header.scrolled {
  background: rgba(12, 14, 18, 0.85);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.site-header.scrolled .brand-logo-img {
  height: 38px;
}

.header-container {
  max-width: 1320px;
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
  transition: opacity var(--transition);
  white-space: nowrap;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.14));
  transition: transform var(--transition);
}

.brand-mark:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-mark svg {
  width: 26px;
  height: 26px;
  color: var(--accent);
}

.brand-pvt {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
}

.nav-link {
  font-size: 17px;
  font-weight: 600;
  color: #000000;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color var(--transition);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: #000000;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
  border-radius: 1px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link-cta {
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  background: var(--panel);
  border: 1px solid var(--border);
  color: #000000 !important;
  font-size: 17px;
  font-weight: 600;
}

.nav-link-cta::after {
  display: none;
}

.nav-link-cta:hover {
  background: var(--accent);
  color: #151004 !important;
  border-color: var(--accent);
}

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

.theme-toggle {
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text-dim);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.theme-toggle .moon {
  display: block;
}

.theme-toggle .sun {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .moon {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .sun {
  display: block;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color var(--transition);
}

.mobile-toggle .bar {
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-toggle.active .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 24px clamp(20px, 5vw, 40px) 32px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease;
  z-index: 99;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}

:root[data-theme="dark"] .mobile-drawer {
  background: rgba(12, 14, 18, 0.96);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.4);
}

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

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

.mobile-nav-link {
  font-size: 18px;
  font-weight: 600;
  color: #000000;
  text-decoration: none;
  padding: 12px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #000000;
}

.mobile-nav-link.mobile-cta {
  margin-top: 8px;
  text-align: center;
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius-sm);
  padding: 12px;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  background: #ffffff;
}

.hero-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 30px;
  background: var(--panel);
  border: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.4);
    opacity: 0.5;
  }
}

.wordmark {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4.2vw, 48px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.wordmark-line {
  display: inline-flex;
  flex-wrap: wrap;
}

.wordmark .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
}

.wordmark .accent-word {
  color: var(--accent);
  font-size: 0.82em;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.95;
  display: inline-flex;
  white-space: nowrap;
}

.subtitle-tag {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-dim);
  opacity: 0;
}

.divider {
  width: 50px;
  height: 3px;
  background: var(--accent);
  margin: 24px 0;
  transform: scaleX(0);
  transform-origin: left;
}

.headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(20px, 3.2vw, 30px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  opacity: 0;
  transform: translateY(16px);
}

.description {
  margin-top: 14px;
  max-width: 580px;
  font-size: clamp(15px, 1.6vw, 16.5px);
  line-height: 1.7;
  color: var(--text-dim);
  opacity: 0;
  transform: translateY(16px);
}

/* Hero Stat Bar */
.hero-stat-bar {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 24px);
  padding: 14px clamp(18px, 3vw, 28px);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 100%;
  opacity: 0;
  transform: translateY(18px);
}

.stat-unit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform var(--transition);
}

.stat-unit:hover {
  transform: translateY(-2px);
}

.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  font-variant-numeric: tabular-nums;
}

.stat-plus {
  font-size: 0.8em;
  font-weight: 700;
  color: var(--accent);
  margin-left: 2px;
}

.stat-lbl {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* Email Notify Form */
.notify-form {
  margin-top: 28px;
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 480px;
  opacity: 0;
  transform: translateY(16px);
}

.input-wrap {
  position: relative;
  flex: 1;
}

.input-wrap .mail-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}

.notify-form input {
  width: 100%;
  padding: 13px 16px 13px 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.notify-form input::placeholder {
  color: var(--text-dim);
}

.notify-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.notify-form button {
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--accent);
  color: #1a1305;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow var(--transition);
}

.notify-form button svg {
  width: 15px;
  height: 15px;
}

.notify-form button:hover {
  background: var(--accent-2);
  box-shadow: 0 4px 16px var(--accent-soft);
}

.notify-form button:active {
  transform: scale(0.97);
}

.form-note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-dim);
  opacity: 0;
  min-height: 18px;
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* Hero Right Visual Stage */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-card {
  position: relative;
  width: 100%;
  max-width: 580px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 6vw, 68px) clamp(28px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Company Logo Container with Smooth Transitions */
.logo-wrap {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
  width: 100%;
}

.company-logo {
  max-height: 350px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  display: block;
  transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 12px 36px rgba(232, 161, 60, 0.28));
}

.company-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 20px 52px rgba(232, 161, 60, 0.45));
}

.logo-wrap.logo-placeholder .company-logo {
  display: none;
}

.logo-placeholder-label {
  display: none;
}

.logo-wrap.logo-placeholder {
  width: 220px;
  height: 90px;
  border: 2px dashed var(--border);
  border-radius: 14px;
  background: var(--panel);
  flex-direction: column;
  gap: 6px;
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  justify-content: center;
}

.logo-wrap.logo-placeholder .logo-placeholder-label {
  display: block;
}

/* Floating Badges on Hero Card */
.floating-badge {
  position: absolute;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  z-index: 5;
  transition: transform var(--transition);
}

.floating-badge:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.floating-badge svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
}

.floating-badge strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.floating-badge small {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
}

.floating-badge.top-right {
  top: -18px;
  right: -18px;
}

.floating-badge.bottom-left {
  bottom: -18px;
  left: -18px;
}

/* ==================== ABOUT SECTION ==================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}

.about-visual-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  overflow: hidden;
}

.blueprint-frame {
  position: relative;
  width: 100%;
  height: 350px;
  background: #0c0e12;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.blueprint-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.about-visual-card:hover .blueprint-img {
  transform: scale(1.04);
}

.blueprint-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(12, 14, 18, 0.25) 0%,
      rgba(12, 14, 18, 0.04) 40%,
      rgba(12, 14, 18, 0.65) 100%);
  pointer-events: none;
  transition: background 0.4s ease;
}

.about-visual-card:hover .blueprint-overlay {
  background: linear-gradient(180deg,
      rgba(12, 14, 18, 0.15) 0%,
      rgba(12, 14, 18, 0) 40%,
      rgba(12, 14, 18, 0.55) 100%);
}

.blueprint-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(12, 14, 18, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(232, 161, 60, 0.35);
  border-radius: 999px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #f2f0ea;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.blueprint-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.4);
    opacity: 0.6;
  }
}

.blueprint-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  z-index: 2;
  border-color: rgba(232, 161, 60, 0.6);
  border-style: solid;
}

.blueprint-corner.tl {
  top: 12px;
  left: 12px;
  border-width: 2px 0 0 2px;
}

.blueprint-corner.tr {
  top: 12px;
  right: 12px;
  border-width: 2px 2px 0 0;
}

.blueprint-corner.bl {
  bottom: 12px;
  left: 12px;
  border-width: 0 0 2px 2px;
}

.blueprint-corner.br {
  bottom: 12px;
  right: 12px;
  border-width: 0 2px 2px 0;
}

.blueprint-svg {
  width: 100%;
  height: 100%;
}

.bp-watermark {
  position: absolute;
  bottom: 14px;
  right: 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: #ffffff;
  background: rgba(12, 14, 18, 0.65);
  padding: 4px 9px;
  border-radius: 4px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  z-index: 2;
  pointer-events: none;
}

.about-stat-strip {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.stat-pill {
  flex: 1;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  text-align: center;
}

.pill-number {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}

.pill-text {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.about-content {
  display: flex;
  flex-direction: column;
}

.about-subhead {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.about-para {
  font-size: 15.5px;
  line-height: 1.75;
  color: #000000;
  margin-bottom: 28px;
  text-align: justify;
  text-justify: inter-word;
}

.pillars-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pillar-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(232, 161, 60, 0.2);
}

.pillar-icon svg {
  width: 22px;
  height: 22px;
}

.pillar-item h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 4px;
}

.pillar-item p {
  font-size: 14px;
  color: #000000;
  line-height: 1.5;
}

/* ==================== SERVICES SECTION ==================== */

/* Safety: cards are visible by default; GSAP overrides for animation.
   Prevents invisible cards if ScrollTrigger fails to fire. */
.service-card,
.project-card,
.about-visual-card,
.about-content,
.contact-info-panel,
.contact-form-panel {
  opacity: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 48px rgba(201, 121, 27, 0.14);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(201, 121, 27, 0.22);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 14px var(--accent-soft);
}

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

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-4deg);
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 6px 20px var(--accent-glow);
}

.service-num {
  position: absolute;
  top: 24px;
  right: 26px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(201, 121, 27, 0.2);
  border-radius: 6px;
  padding: 2px 8px;
  letter-spacing: 0.04em;
  transition: all var(--transition);
}

.service-card:hover .service-num {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.service-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-card p {
  font-size: 14.5px;
  color: #000000;
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  margin-top: 16px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features li {
  font-size: 13px;
  color: #000000;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ==================== PROJECTS SECTION ==================== */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 9px 20px;
  border-radius: 30px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-family: 'Manrope', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  color: var(--text);
  border-color: var(--accent);
}

.filter-btn.active {
  background: var(--accent);
  color: #151004;
  border-color: var(--accent);
  box-shadow: 0 4px 14px var(--accent-soft);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 28px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.project-card.hide {
  display: none;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-light);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.project-thumb {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #0d0f14;
}

.project-art {
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  position: relative;
}

.project-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}

.project-card:hover .project-art {
  transform: scale(1.06);
}

.project-art svg {
  width: 100%;
  height: 100%;
  display: block;
}

.project-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(12, 14, 18, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 6px;
}

.project-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 3px solid transparent;
  transition: border-color var(--transition);
}

.project-card:hover .project-info {
  border-top-color: var(--accent);
}

.project-info h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
}

.project-location svg {
  width: 15px;
  height: 15px;
}

.project-summary {
  font-size: 14px;
  color: #000000;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: justify;
}


.project-meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.project-meta .highlight {
  color: var(--text);
  font-weight: 600;
}

/* ==================== STATS SECTION ==================== */
.stats-card {
  background: linear-gradient(135deg, #1a1305 0%, #2d1f06 50%, #1a1305 100%);
  border: 1px solid rgba(201, 121, 27, 0.25);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 60px);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(201, 121, 27, 0.18), 0 0 0 1px rgba(201, 121, 27, 0.1);
  position: relative;
  overflow: hidden;
}

.stats-card::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(232, 161, 60, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

:root[data-theme="light"] .stats-card {
  background: linear-gradient(135deg, #1a1305 0%, #2d1f06 50%, #1a1305 100%);
}

.stats-card .section-subtitle,
.stats-header .section-subtitle {
  color: var(--accent);
  opacity: 0.95;
}

.stats-card .section-title,
.stats-header .section-title,
:root[data-theme="light"] .stats-card .section-title,
:root[data-theme="light"] .stats-header .section-title {
  color: #ffffff;
}

.stats-card .section-desc,
:root[data-theme="light"] .stats-card .section-desc {
  color: rgba(255, 255, 255, 0.82);
}

.stats-header {
  text-align: center;
  margin-bottom: 48px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(24px, 4vw, 40px);
}

.stat-box {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number-wrap {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 5.5vw, 58px);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 40px rgba(232, 161, 60, 0.4);
}

.stat-number-wrap .plus {
  color: var(--accent-2);
  font-size: 0.75em;
  margin-left: 2px;
}

.stat-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #f2f0ea;
  margin-bottom: 6px;
}

.stat-sub {
  font-size: 13px;
  color: rgba(242, 240, 234, 0.6);
  max-width: 200px;
  line-height: 1.4;
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials-slider-container {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

.testimonials-track {
  position: relative;
  min-height: 220px;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateX(30px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
}

.testimonial-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 48px);
  position: relative;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  border-color: var(--accent-glow);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.08);
}

.testimonial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.testimonial-project-meta {
  display: inline-flex;
  align-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-glow);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.3px;
}

.quote-icon {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 38px;
  height: 38px;
  color: var(--border-light);
  opacity: 0.5;
  transition: opacity var(--transition), color var(--transition);
}

.testimonial-card:hover .quote-icon {
  color: var(--accent);
  opacity: 0.35;
}

.quote-icon svg {
  width: 100%;
  height: 100%;
}

.star-rating {
  color: #f39c12;
  font-size: 17px;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: clamp(16px, 1.8vw, 18.5px);
  line-height: 1.75;
  color: var(--text);
  font-style: italic;
  margin-bottom: 28px;
}

.client-profile {
  display: flex;
  align-items: center;
  gap: 16px;
}

.client-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.client-details h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 2px 8px;
  border-radius: 12px;
}

.client-details span {
  font-size: 13.5px;
  color: var(--text-dim);
}

/* Slider Controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.slider-btn svg {
  width: 20px;
  height: 20px;
}

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

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all var(--transition);
}

.slider-dots .dot.active {
  width: 28px;
  border-radius: 10px;
  background: var(--accent);
}

/* ==================== CONTACT SECTION ==================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: flex-start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
}

.contact-info-panel h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.contact-info-panel p {
  font-size: 15px;
  color: #000000;
  line-height: 1.6;
  margin-bottom: 28px;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon svg {
  width: 20px;
  height: 20px;
}

.info-item h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.info-item p,
.info-item p a {
  font-size: 15px;
  color: #000000;
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition);
}

.info-item p a:hover {
  color: var(--accent);
}

.contact-wa-banner {
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: all var(--transition);
}

.contact-wa-banner:hover {
  background: rgba(37, 211, 102, 0.18);
  border-color: var(--whatsapp);
  transform: translateY(-2px);
}

.contact-wa-banner svg {
  width: 32px;
  height: 32px;
  fill: var(--whatsapp);
  flex-shrink: 0;
}

.contact-wa-banner strong {
  display: block;
  font-size: 14px;
  color: var(--text);
}

.contact-wa-banner span {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
}

/* Form Panel */
.contact-form-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-field select {
  cursor: pointer;
}

.form-field select option {
  background: #151821;
  color: #fff;
}

:root[data-theme="light"] .form-field select option {
  background: #fff;
  color: #17181a;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.contact-form-note {
  font-size: 13.5px;
  text-align: center;
  min-height: 20px;
}

/* ==================== FOOTER ==================== */
.site-footer {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 80px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(30px, 4vw, 50px);
  margin-bottom: 60px;
}

.brand-col .brand-mark {
  font-size: 16px;
  margin-bottom: 16px;
}

.brand-col .brand-logo-img {
  height: 40px;
  width: auto;
}

.footer-desc {
  font-size: 14px;
  color: #000000;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 300px;
}

.footer-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge-mini {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--accent);
}

.footer-col h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 13.5px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.contact-snippet {
  font-size: 13.5px;
  color: #000000;
  line-height: 1.7;
  margin-bottom: 16px;
}

.contact-snippet a {
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}

.contact-snippet a:hover {
  color: var(--accent);
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  text-decoration: none;
  transition: all var(--transition);
}

.socials a:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.socials svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ==================== FLOATING WHATSAPP BUTTON ==================== */
.wa-btn {
  position: fixed;
  right: clamp(16px, 4vw, 32px);
  bottom: clamp(16px, 4vw, 32px);
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transform: scale(0);
}

.wa-btn svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

.wa-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  opacity: 0.6;
}

.wa-tooltip {
  position: fixed;
  right: clamp(86px, 10vw, 102px);
  bottom: clamp(30px, 5vw, 46px);
  z-index: 90;
  background: var(--panel);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

/* ==================== RESPONSIVE BREAKPOINTS ==================== */

/* ---- 1024px: Tablet Landscape ---- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .wordmark {
    align-items: center;
    justify-content: center;
  }

  .wordmark-line {
    justify-content: center;
  }

  .divider {
    transform-origin: center;
  }

  .hero-stat-bar {
    margin: 28px auto 0;
  }

  .notify-form {
    margin: 28px auto 0;
  }

  .hero-actions {
    justify-content: center;
  }

  /* Hero visual centers when hero stacks to single column */
  .hero-visual {
    margin-top: 40px;
  }

  .visual-card {
    max-width: 520px;
    min-height: 420px;
    margin: 0 auto;
  }

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

  /* Blueprint frame less tall on tablets */
  .blueprint-frame {
    height: 260px;
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---- 768px: Tablet Portrait / Large Phone ---- */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-drawer {
    display: block;
  }

  /* Reduce section vertical padding */
  .section {
    padding: 64px 0;
  }

  .subpage-hero {
    padding-top: calc(var(--header-h) + 32px);
    padding-bottom: 48px;
  }

  /* Services: force 2-col on tablet portrait */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Projects: force 2-col on tablet portrait */
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-desc {
    max-width: 100%;
  }

  /* Hero stat bar: 2-column grid */
  .hero-stat-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 24px;
    padding: 16px 20px;
    width: 100%;
    max-width: 100%;
  }

  .stat-divider {
    display: none;
  }

  .floating-badge {
    display: none;
  }

  /* Stats grid: 2-col on tablet */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Testimonial track: auto height on mobile */
  .testimonials-track {
    min-height: unset;
  }

  .testimonial-slide {
    position: relative;
    transform: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .testimonial-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  /* Sections header max-width */
  .section-header {
    margin-bottom: 40px;
  }

  /* Stats card inner padding reduction */
  .stats-card {
    padding: 36px 24px;
  }
}

/* ---- 480px: Small Phones ---- */
@media (max-width: 480px) {
  .section {
    padding: 52px 0;
  }

  /* Services & Projects: single column on small phones */
  .services-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 28px 22px;
  }

  /* Notify form stacks vertically */
  .notify-form {
    flex-direction: column;
  }

  .notify-form button {
    width: 100%;
    justify-content: center;
  }

  /* Hero stat bar: 2 cols still OK, tighten padding */
  .hero-stat-bar {
    padding: 14px 16px;
    gap: 12px 16px;
  }

  .stat-num {
    font-size: 22px;
  }

  /* Stats grid: 2 col still */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-number-wrap {
    font-size: 36px;
  }

  /* Director cards tighter padding */
  .director-card {
    padding: 24px 20px;
  }

  /* Hero actions stack */
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Blueprint frame shorter on phones */
  .blueprint-frame {
    height: 220px;
  }

  /* Hide WA tooltip on small phones */
  .wa-tooltip {
    display: none;
  }

  /* Footer bottom wrap */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  /* FAQ question padding */
  .faq-question {
    padding: 16px 18px;
    font-size: 14.5px;
  }

  .faq-item.active .faq-answer {
    padding: 0 18px 18px;
  }
}

/* ---- 375px: Extra-Small Phones (iPhone SE, older Android) ---- */
@media (max-width: 375px) {

  /* Brand mark: keep SVG smaller to save space, nowrap handles text */
  .brand-mark {
    font-size: 13.5px;
    gap: 8px;
    letter-spacing: 0.03em;
  }

  .brand-logo-img {
    height: 32px;
  }

  .brand-mark svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  /* Hero stat bar: single column */
  .hero-stat-bar {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Stats grid: single column */
  .stats-grid {
    grid-template-columns: 1fr;
  }

  /* Section padding min */
  .section {
    padding: 44px 0;
  }

  /* Subpage hero tight */
  .subpage-hero {
    padding-top: calc(var(--header-h) + 20px);
    padding-bottom: 36px;
  }

  /* Hero badge wraps cleanly */
  .hero-badge {
    font-size: 11px;
    padding: 5px 12px;
  }

  /* Visual card full width */
  .visual-card {
    min-height: 280px;
  }

  /* Director card tighter */
  .director-card {
    padding: 20px 16px;
  }

  .avatar-photo-wrap,
  .avatar-initials {
    width: 90px;
    height: 90px;
  }
}

/* ==================== DEDICATED SUBPAGES STYLING ==================== */
.subpage-hero {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 50px);
  padding-bottom: 70px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.breadcrumbs a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color var(--transition);
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs .sep {
  color: var(--border-light);
}

.breadcrumbs .current {
  color: var(--accent);
  font-weight: 600;
}

.subpage-hero .section-title {
  max-width: 820px;
  margin: 0 auto 16px;
}

.subpage-hero .section-desc {
  max-width: 680px;
  margin: 0 auto;
}

/* Process Timeline / Workflow */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.process-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.process-step-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.step-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid rgba(232, 161, 60, 0.3);
}

.process-step-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.process-step-card p {
  font-size: 14px;
  color: #000000;
  line-height: 1.6;
}

/* Quality & Lab Badges */
.quality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.quality-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all var(--transition);
}

.quality-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
}

.quality-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quality-icon svg {
  width: 24px;
  height: 24px;
}

.quality-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 6px;
}

.quality-card p {
  font-size: 13.5px;
  color: #000000;
  line-height: 1.55;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.active {
  border-color: var(--accent);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  font-size: 14.5px;
  color: #000000;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 22px;
}

/* ==================== DIRECTORS SECTION ==================== */
.directors-section {
  background: var(--bg);
}

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

.director-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.director-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity var(--transition);
}

.director-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(201, 121, 27, 0.12);
  border-color: var(--accent);
}

.director-card:hover::before {
  opacity: 1;
}

.director-avatar {
  position: relative;
  flex-shrink: 0;
}

.avatar-photo-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft), 0 8px 24px rgba(201, 121, 27, 0.2);
  background: var(--panel);
}

.director-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform var(--transition);
}

.director-card:hover .director-photo {
  transform: scale(1.06);
}

.avatar-initials {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(201, 121, 27, 0.28);
}

.director-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 26px;
  height: 26px;
  background: var(--bg-card);
  border: 2px solid var(--bg-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.director-badge svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.director-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.director-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.director-role {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 12px;
  background: var(--accent-soft);
  border-radius: 20px;
}

.director-bio {
  font-size: 14px;
  color: #000000;
  line-height: 1.7;
  margin-top: 4px;
}

.director-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 6px;
}

.dir-tag {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 10px;
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .directors-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .directors-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}

/* ==================== ABOUT PAGE PARAGRAPH ALIGNMENT ==================== */
.about-page main p,
.about-page .about-para,
.about-page .director-bio,
.about-page .pillar-item p,
.about-page .quality-card p,
.about-page .subpage-hero .section-desc,
.about-page .section-header .section-desc {
  text-align: justify;
  text-justify: inter-word;
}

/* Keep CTA banner text centered */
.about-page .stats-card p,
.about-page .stats-card .section-desc {
  text-align: center;
}

/* ==================== GLOBAL BLACK TYPOGRAPHY (H4, P & HEADER MENU) ==================== */
/* Header Navigation in Black */
.site-header .nav-link,
.site-header .nav-link:hover,
.site-header .nav-link.active,
.site-header .nav-link-cta,
.mobile-nav .mobile-nav-link,
.mobile-nav .mobile-nav-link:hover,
.mobile-nav .mobile-nav-link.active,
.brand-mark {
  color: #000000 !important;
}

/* H4 Headings in Black across all pages */
h4,
.pillar-item h4,
.quality-card h4,
.client-details h4,
.info-item h4,
.footer-col h4 {
  color: #000000 !important;
}

/* Paragraphs in Black across all pages */
p,
.about-para,
.section-desc,
.description,
.project-summary,
.testimonial-text,
.director-bio,
.pillar-item p,
.quality-card p,
.process-step-card p,
.service-desc,
.service-card p,
.footer-desc,
.contact-snippet,
.info-item p,
.contact-info-panel p,
.faq-answer {
  color: #000000 !important;
}

/* Retain white/legible text for dark CTA card */
.stats-card p,
.stats-card .section-desc,
:root[data-theme="light"] .stats-card p,
:root[data-theme="light"] .stats-card .section-desc {
  color: rgba(255, 255, 255, 0.85) !important;
}