/* ==========================================================================
   ROYAL BRANDWORKS — Master Architectural & Corporate Design System
   Pure CSS3 — No Bootstrap, No Tailwind, No React
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Default: Royal Purple */
  --primary: #581c87;
  --primary-dark: #3b0764;
  --primary-light: #7e22ce;
  --accent: #9333ea;
  --accent-soft: rgba(147, 51, 234, 0.08);
  --accent-glow: rgba(126, 34, 206, 0.25);

  /* Foundation Colors */
  --background: #fbfbfa;
  --surface: #ffffff;
  --surface-secondary: #f4f4f2;
  --surface-elevated: #ffffff;
  --surface-dark: #0f1015;
  --surface-darker: #08090b;

  /* Charcoal / Black Typography */
  --text: #0e1017;
  --text-secondary: #4a505e;
  --text-muted: #798191;
  --text-inverse: #f8fafc;
  --text-inverse-muted: #94a3b8;

  /* Architectural Grids & Borders */
  --border: rgba(14, 16, 23, 0.1);
  --border-light: rgba(14, 16, 23, 0.06);
  --border-strong: rgba(14, 16, 23, 0.22);
  --border-inverse: rgba(255, 255, 255, 0.12);
  --grid-line: rgba(14, 16, 23, 0.04);

  /* Shadows & Depth */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.12);

  /* Typography Scale */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout & Geometry */
  --container-max: 1360px;
  --header-height: 80px;
  --radius-none: 0px;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Theme Presets */
body[data-theme="deep-blue"] {
  --primary: #1d4ed8;
  --primary-dark: #1e3a8a;
  --primary-light: #3b82f6;
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.08);
  --accent-glow: rgba(59, 130, 246, 0.25);
}

body[data-theme="emerald"] {
  --primary: #047857;
  --primary-dark: #064e3b;
  --primary-light: #059669;
  --accent: #10b981;
  --accent-soft: rgba(16, 185, 129, 0.08);
  --accent-glow: rgba(5, 150, 105, 0.25);
}

body[data-theme="crimson"] {
  --primary: #be123c;
  --primary-dark: #881337;
  --primary-light: #e11d48;
  --accent: #f43f5e;
  --accent-soft: rgba(244, 63, 94, 0.08);
  --accent-glow: rgba(225, 29, 72, 0.25);
}

body[data-theme="amber"] {
  --primary: #b45309;
  --primary-dark: #78350f;
  --primary-light: #d97706;
  --accent: #f59e0b;
  --accent-soft: rgba(245, 158, 11, 0.08);
  --accent-glow: rgba(217, 119, 6, 0.25);
}

body[data-theme="monochrome"] {
  --primary: #18181b;
  --primary-dark: #09090b;
  --primary-light: #27272a;
  --accent: #52525b;
  --accent-soft: rgba(39, 39, 42, 0.08);
  --accent-glow: rgba(82, 82, 91, 0.25);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-base), color var(--transition-base);
}

/* Architectural Grid Pattern (Subtle) */
.architectural-bg {
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* Scroll Progress Bar */
#scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 1000;
  transition: width 0.1s linear;
}

/* Typography Base */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
}

.section {
  padding: 110px 0;
  position: relative;
}

.section-dark {
  background-color: var(--surface-dark);
  color: var(--text-inverse);
  position: relative;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-inverse);
}

.section-dark p {
  color: var(--text-inverse-muted);
}

.section-dark .section-kicker {
  color: var(--primary-light);
}

.section-tight {
  padding: 60px 0;
}

.section-divider {
  border-bottom: 1px solid var(--border);
}

.section-divider-dark {
  border-bottom: 1px solid var(--border-inverse);
}

/* Section Headers */
.section-header {
  margin-bottom: 60px;
}

.section-kicker {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-kicker::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: var(--primary);
}

.section-title {
  font-size: 3.2rem;
  font-weight: 700;
  max-width: 820px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-transform: uppercase;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin-top: 18px;
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--transition-base);
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

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

.btn-secondary-dark {
  background-color: transparent;
  color: var(--text-inverse);
  border-color: var(--border-inverse);
}

.btn-secondary-dark:hover {
  border-color: var(--primary-light);
  color: var(--primary-light);
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-icon {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

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

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: rgba(251, 251, 250, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 900;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
}

.site-header.scrolled {
  height: 68px;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: var(--radius-xs);
  box-shadow: 0 4px 12px var(--accent-glow);
  position: relative;
}

.brand-mark::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border: 1px solid var(--primary-light);
  border-radius: var(--radius-xs);
  opacity: 0.5;
}

.brand-logo-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  /* border-radius: var(--radius-xs); */
  /* box-shadow: 0 4px 12px var(--accent-glow); */
  /* border: 1px solid rgba(212, 175, 55, 0.4); */
  display: block;
  flex-shrink: 0;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.04);
  /* box-shadow: 0 6px 16px var(--accent-glow); */
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.25rem;
  line-height: 1;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

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

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

.nav-settings-btn {
  background: transparent;
  border: 1px solid var(--border);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.nav-settings-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--accent-soft);
}

/* Mobile Hamburger */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 950;
}

.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text);
  transition: all var(--transition-base);
}

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

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

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

/* Mobile Drawer Overlay */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background-color: var(--surface);
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  z-index: 940;
  padding: 100px 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right var(--transition-smooth);
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  z-index: 930;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* ==========================================================================
   THEME CUSTOMIZER PANEL
   ========================================================================== */
#theme-panel-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(14, 16, 23, 0.5);
  backdrop-filter: blur(6px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

#theme-panel-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.theme-panel-card {
  background-color: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  width: 100%;
  max-width: 480px;
  padding: 32px;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.98);
  transition: transform var(--transition-base);
}

#theme-panel-modal.active .theme-panel-card {
  transform: translateY(0) scale(1);
}

.theme-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
}

.theme-panel-title {
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.theme-panel-close {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.theme-panel-close:hover {
  color: var(--text);
}

.theme-panel-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.theme-presets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.theme-preset-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background-color: var(--surface-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
}

.theme-preset-btn:hover {
  border-color: var(--primary);
  background-color: var(--surface);
  transform: translateY(-1px);
}

.theme-preset-btn.active {
  border-color: var(--primary);
  background-color: var(--surface);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.theme-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.theme-preset-name {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.theme-panel-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
}

.theme-reset-btn {
  background: transparent;
  border: 1px solid var(--border);
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-reset-btn:hover {
  border-color: var(--text);
  color: var(--text);
}

/* Floating Theme Launcher */
.floating-theme-launcher {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-xs);
  background-color: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 850;
  transition: all var(--transition-base);
}

.floating-theme-launcher:hover {
  transform: translateY(-4px) scale(1.05);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 12px 28px var(--accent-glow);
}

.floating-theme-launcher svg {
  width: 24px;
  height: 24px;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: var(--radius-xs);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 850;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  color: var(--primary);
  border-color: var(--primary);
  background-color: var(--accent-soft);
}

/* ==========================================================================
   HOME PAGE — HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background-color: var(--surface-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}

.hero-title {
  font-size: 4.6rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  color: var(--text);
}

.hero-title span {
  display: block;
}

.hero-title .accent-word {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.hero-cred-item {
  display: flex;
  flex-direction: column;
}

.hero-cred-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-cred-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

/* Hero Visual Composition */
.hero-visual-wrap {
  position: relative;
  width: 100%;
}

.hero-visual-card {
  position: relative;
  width: 100%;
  height: 600px;
  background-color: var(--surface-dark);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-visual-card:hover .hero-main-img {
  transform: scale(1.04);
}

.hero-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 16, 23, 0.1) 0%, rgba(14, 16, 23, 0.75) 100%);
  pointer-events: none;
}

.hero-floating-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(15, 16, 21, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px 24px;
  color: #ffffff;
}

.hero-floating-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-floating-meta {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-secondary-card {
  position: absolute;
  top: -24px;
  right: -24px;
  width: 220px;
  background-color: var(--surface);
  border: 1px solid var(--border-strong);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  z-index: 20;
}

.hero-secondary-img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  margin-bottom: 10px;
}

.hero-secondary-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
}

.hero-secondary-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* ==========================================================================
   POSITION STATEMENT: NOT JUST A PRINT SHOP
   ========================================================================== */
.manifesto-strip {
  background-color: var(--surface-darker);
  color: var(--text-inverse);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-inverse);
}

.manifesto-header {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 60px;
}

.manifesto-heading {
  font-size: 2.8rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.manifesto-heading span {
  color: var(--primary-light);
}

.manifesto-lead {
  font-size: 1.25rem;
  line-height: 1.65;
  color: #cbd5e1;
}

.capabilities-quad {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background-color: var(--border-inverse);
}

.capability-card {
  background-color: var(--surface-dark);
  padding: 40px 32px;
  transition: all var(--transition-base);
  position: relative;
}

.capability-card:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

.capability-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: var(--primary-light);
  transition: width var(--transition-base);
}

.capability-card:hover::before {
  width: 100%;
}

.capability-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 18px;
  opacity: 0.8;
}

.capability-title {
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.capability-desc {
  font-size: 0.95rem;
  color: var(--text-inverse-muted);
  line-height: 1.6;
}

/* ==========================================================================
   HORIZONTAL BRANDING PROCESS (01 - 06)
   ========================================================================== */
.process-section {
  padding: 120px 0;
  position: relative;
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
}

.process-timeline {
  position: relative;
  margin-top: 60px;
}

/* Connecting Line */
.process-line-track {
  position: absolute;
  top: 40px;
  left: 4%;
  right: 4%;
  height: 2px;
  background-color: var(--border-strong);
  z-index: 1;
}

.process-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.4s ease;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.process-step-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform var(--transition-base);
}

.process-step-item:hover {
  transform: translateY(-4px);
}

.process-step-node {
  width: 80px;
  height: 80px;
  background-color: var(--surface);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition-base);
}

.process-step-item:hover .process-step-node {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 8px 20px var(--accent-glow);
}

.process-step-title {
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.process-step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   SERVICES PAGE & EXPANDABLE ROWS
   ========================================================================== */
.services-editorial-wrap {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-strong);
}

.service-row-item {
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
  position: relative;
  cursor: pointer;
  transition: all var(--transition-base);
}

.service-row-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-base);
}

.service-row-item:hover::before,
.service-row-item.expanded::before {
  width: 100%;
}

.service-row-header {
  display: grid;
  grid-template-columns: 100px 1.5fr 2fr 60px;
  align-items: center;
  gap: 24px;
}

.service-row-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: -0.03em;
  transition: all var(--transition-base);
}

.service-row-item:hover .service-row-num,
.service-row-item.expanded .service-row-num {
  color: var(--primary);
  transform: scale(1.1);
}

.service-row-name {
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.15;
  transition: color var(--transition-fast);
}

.service-row-item:hover .service-row-name,
.service-row-item.expanded .service-row-name {
  color: var(--primary);
}

.service-row-summary {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.service-row-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all var(--transition-base);
  margin-left: auto;
}

.service-row-item:hover .service-row-arrow,
.service-row-item.expanded .service-row-arrow {
  border-color: var(--primary);
  background-color: var(--primary);
  color: #ffffff;
  transform: rotate(90deg);
}

/* Expandable Drawer Body */
.service-row-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.service-row-item.expanded .service-row-body {
  max-height: 700px;
  opacity: 1;
  padding-top: 36px;
}

.service-expanded-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  background-color: var(--surface-secondary);
  border: 1px solid var(--border);
  padding: 36px;
  border-radius: var(--radius-xs);
}

.service-expanded-details h4 {
  font-size: 1.25rem;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.service-expanded-details p {
  margin-bottom: 24px;
}

.service-specs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  list-style: none;
  margin-bottom: 28px;
}

.service-spec-item {
  font-size: 0.92rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-spec-item::before {
  content: '■';
  color: var(--primary);
  font-size: 0.65rem;
}

.service-expanded-media {
  position: relative;
  height: 320px;
  border: 1px solid var(--border-strong);
  overflow: hidden;
  background-color: var(--surface-secondary);
}

.service-expanded-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.service-row-item:hover .service-expanded-img {
  transform: scale(1.03);
}

/* ==========================================================================
   PORTFOLIO PAGE — MASONRY / EDITORIAL GALLERY
   ========================================================================== */
.portfolio-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.portfolio-filter-btn {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 18px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.portfolio-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.portfolio-filter-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

/* Editorial Grid Layout */
.portfolio-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
}

.portfolio-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid var(--border);
  background-color: var(--surface-dark);
  transition: transform var(--transition-base), box-shadow var(--transition-base), opacity 0.4s ease;
}

.portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

/* Varied spans for editorial asymmetry */
.portfolio-span-12 {
  grid-column: span 12;
  height: 540px;
}

.portfolio-span-8 {
  grid-column: span 8;
  height: 480px;
}

.portfolio-span-6 {
  grid-column: span 6;
  height: 440px;
}

.portfolio-span-4 {
  grid-column: span 4;
  height: 440px;
}

.portfolio-span-portrait {
  grid-column: span 4;
  height: 520px;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item:hover .portfolio-img {
  transform: scale(1.06);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 16, 23, 0.15) 0%, rgba(14, 16, 23, 0.85) 100%);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0.9;
  transition: opacity var(--transition-base), background var(--transition-base);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
  background: linear-gradient(180deg, rgba(14, 16, 23, 0.3) 0%, rgba(14, 16, 23, 0.92) 100%);
}

.portfolio-cat {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary-light);
  margin-bottom: 8px;
}

.portfolio-title {
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.portfolio-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.portfolio-subtext {
  font-size: 0.88rem;
  color: #94a3b8;
}

.portfolio-arrow-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all var(--transition-fast);
}

.portfolio-item:hover .portfolio-arrow-icon {
  background-color: var(--primary);
  transform: translateX(4px);
}

/* ==========================================================================
   FEATURED ACP CLADDING SECTION & BEFORE/AFTER SLIDER
   ========================================================================== */
.acp-spotlight-section {
  background-color: var(--surface-darker);
  color: #ffffff;
  padding: 120px 0;
  border-bottom: 1px solid var(--border-inverse);
}

.acp-header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-end;
  margin-bottom: 60px;
}

.comparison-wrapper {
  position: relative;
  width: 100%;
  height: 560px;
  overflow: hidden;
  border: 1px solid var(--border-inverse);
  box-shadow: var(--shadow-xl);
  user-select: none;
  touch-action: pan-y;
}

.comparison-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-overlay-wrap {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
  z-index: 2;
  border-right: 2px solid #ffffff;
  box-shadow: 2px 0 16px rgba(0, 0, 0, 0.5);
}

.comparison-overlay-wrap .comparison-image {
  width: 100%;
  height: 100%;
  /* Fix image aspect ratio matching parent */
  max-width: none;
}

.comparison-badge {
  position: absolute;
  bottom: 24px;
  padding: 6px 14px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 10;
  border-radius: var(--radius-xs);
}

.comparison-badge-before {
  left: 24px;
  background: rgba(14, 16, 23, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.comparison-badge-after {
  right: 24px;
  background: var(--primary);
  border: 1px solid var(--primary-light);
  color: #ffffff;
}

.comparison-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 3px solid var(--primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  z-index: 20;
  cursor: ew-resize;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
}

.comparison-handle svg {
  width: 22px;
  height: 22px;
}

.comparison-instructions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  font-size: 0.9rem;
  color: #94a3b8;
}

/* ==========================================================================
   FULLSCREEN PROJECT VIEWER (LIGHTBOX)
   ========================================================================== */
#project-lightbox-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(6, 7, 10, 0.94);
  backdrop-filter: blur(12px);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

#project-lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  width: 100%;
  max-width: 1280px;
  max-height: 90vh;
  background-color: var(--surface-dark);
  border: 1px solid var(--border-inverse);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  position: relative;
}

.lightbox-media-pane {
  position: relative;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-media-img {
  width: 100%;
  height: 100%;
  max-height: 85vh;
  object-fit: cover;
}

.lightbox-details-pane {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  border-left: 1px solid var(--border-inverse);
  color: #ffffff;
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.lightbox-cat-badge {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-light);
}

.lightbox-close-btn {
  background: transparent;
  border: 1px solid var(--border-inverse);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.lightbox-close-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.lightbox-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.lightbox-desc {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 32px;
}

.lightbox-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}

.lightbox-specs-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox-specs-table td {
  padding: 12px 0;
  font-size: 0.92rem;
}

.lightbox-specs-table td:first-child {
  color: #94a3b8;
  width: 40%;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.lightbox-specs-table td:last-child {
  color: #ffffff;
  font-weight: 500;
}

.lightbox-nav-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
}

.lightbox-nav-btn {
  background: transparent;
  border: 1px solid var(--border-inverse);
  color: #ffffff;
  padding: 10px 20px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-xs);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.lightbox-nav-btn:hover {
  background-color: var(--primary);
  border-color: var(--primary);
}

/* ==========================================================================
   ABOUT PAGE — EDITORIAL SECTIONS
   ========================================================================== */
.about-hero-editorial {
  padding: 140px 0 80px;
  border-bottom: 1px solid var(--border);
}

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

.about-editorial-block {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}

.about-editorial-block:nth-child(even) .about-editorial-grid {
  direction: rtl;
}

.about-editorial-block:nth-child(even) .about-editorial-grid>* {
  direction: ltr;
}

.about-editorial-img-wrap {
  position: relative;
  border: 1px solid var(--border-strong);
  overflow: hidden;
  height: 520px;
  background-color: var(--surface-dark);
}

.about-editorial-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.about-editorial-img-wrap:hover .about-editorial-img {
  transform: scale(1.04);
}

.about-editorial-tag {
  position: absolute;
  top: 24px;
  left: 24px;
  background: rgba(14, 16, 23, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about-metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background-color: var(--border);
  margin-top: 60px;
}

.about-metric-cell {
  background-color: var(--surface);
  padding: 36px 28px;
}

.about-metric-val {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.about-metric-lbl {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 8px;
}

/* Technical Equipment Matrix */
.equipment-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
}

.equipment-table th {
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 16px;
  border-bottom: 2px solid var(--border-strong);
}

.equipment-table td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
}

.equipment-table tr:hover td {
  background-color: var(--surface-secondary);
}

/* ==========================================================================
   CONTACT PAGE & FORMS
   ========================================================================== */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 56px;
  align-items: start;
}

.contact-form-container,
.contact-form-card {
  background-color: var(--surface);
  border: 1px solid var(--border-strong);
  padding: 44px 40px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  position: relative;
}

.contact-mode-tabs {
  display: flex;
  background-color: var(--surface-secondary);
  border: 1px solid var(--border);
  padding: 4px;
  margin-bottom: 28px;
  border-radius: var(--radius-xs);
  gap: 4px;
}

.contact-mode-tab {
  flex: 1;
  padding: 10px 14px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  border-radius: var(--radius-xs);
}

.contact-mode-tab.active {
  background-color: var(--surface);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.form-grid-2,
.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 22px;
  position: relative;
}

.form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 8px;
}

.form-label-hint {
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: none;
  color: var(--text-muted);
  font-weight: 400;
}

.form-input,
.form-select,
.form-textarea,
.form-control {
  width: 100%;
  padding: 13px 16px;
  background-color: var(--surface-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--text);
  font-size: 0.96rem;
  font-family: var(--font-body);
  transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.phone-input-group {
  display: flex;
  align-items: stretch;
  position: relative;
  width: 100%;
}

.phone-prefix-select {
  width: auto;
  min-width: 95px;
  max-width: 115px;
  padding: 13px 10px;
  background-color: var(--surface-secondary);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--radius-xs) 0 0 var(--radius-xs);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.phone-prefix-select:focus {
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px var(--accent-soft);
  position: relative;
  z-index: 2;
}

.phone-input-group .phone-number-input {
  flex: 1;
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: #ef4444;
  background-color: #fff8f8;
}

.form-error-msg {
  display: none;
  font-size: 0.8rem;
  color: #dc2626;
  margin-top: 5px;
}

.form-input.is-invalid+.form-error-msg,
.form-select.is-invalid+.form-error-msg,
.form-textarea.is-invalid+.form-error-msg {
  display: block;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Drag & Drop File Zone */
.file-drop-zone {
  border: 2px dashed var(--border-strong);
  background-color: var(--surface-secondary);
  border-radius: var(--radius-xs);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.file-drop-zone:hover,
.file-drop-zone.drag-over {
  border-color: var(--primary);
  background-color: var(--accent-soft);
}

.file-drop-label {
  font-size: 0.95rem;
  color: var(--text);
}

.file-drop-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.file-selected-name {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-xs);
}

.file-remove-btn {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-weight: 800;
  margin-left: 6px;
  font-size: 1rem;
}

/* Success Notice Box */
.form-success-notice {
  display: none;
  background-color: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius-sm);
  padding: 32px 28px;
  margin-bottom: 28px;
  text-align: center;
  animation: fadeIn 0.4s ease forwards;
}

.form-success-icon {
  width: 56px;
  height: 56px;
  background-color: #22c55e;
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.form-success-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #14532d;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.form-success-text {
  font-size: 1rem;
  color: #166534;
  max-width: 500px;
  margin: 0 auto 16px;
  line-height: 1.5;
}

.form-success-ref {
  display: inline-block;
  background-color: #ffffff;
  border: 1px dashed #22c55e;
  padding: 8px 18px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: #15803d;
  letter-spacing: 0.05em;
  border-radius: var(--radius-xs);
}

/* Site Measurement Banner */
.site-measure-banner,
.contact-site-measure-banner {
  background: linear-gradient(135deg, var(--surface-darker), var(--surface-dark));
  color: #ffffff;
  border: 1px solid var(--border-inverse);
  padding: 32px;
  border-radius: var(--radius-xs);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.site-measure-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-light);
}

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

.site-measure-tag {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-light);
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: var(--radius-xs);
}

.site-measure-icon {
  color: var(--primary-light);
}

.site-measure-title {
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.site-measure-desc {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 20px;
}

.site-measure-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Contact Info Details Panel */
.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-method-card,
.contact-detail-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  padding: 24px 28px;
  border-radius: var(--radius-xs);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all var(--transition-fast);
}

.contact-method-card:hover,
.contact-detail-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  background-color: var(--accent-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
}

.contact-method-title,
.contact-detail-title {
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
  color: var(--text);
}

.contact-method-link {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: inline-block;
  margin-top: 2px;
  transition: color var(--transition-fast);
}

.contact-method-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Stylized Interactive Facility Map Card */
.custom-map-card {
  position: relative;
  height: 300px;
  background: #0f172a;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  overflow: hidden;
}

.map-background-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: contrast(1.1) brightness(0.85);
}

.map-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.custom-map-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.65) 0%, rgba(15, 23, 42, 0.95) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  z-index: 5;
}

.custom-map-pin {
  width: 20px;
  height: 20px;
  background-color: var(--primary-light);
  border: 3px solid #ffffff;
  border-radius: 50%;
  margin-bottom: 14px;
  position: relative;
  box-shadow: 0 0 16px var(--primary-light);
}

.custom-map-pin::after {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  border: 2px solid var(--primary-light);
  animation: pingPulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pingPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.9;
  }

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

/* Service Response SLA Timeline */
.response-sla-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background-color: var(--border);
  margin-top: 56px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  overflow: hidden;
}

.response-sla-step {
  background-color: var(--surface);
  padding: 28px 24px;
  position: relative;
}

.response-sla-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.response-sla-title {
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--text);
}

.response-sla-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* FAQ Accordion */
.contact-faq-section {
  padding: 80px 0;
  background-color: var(--surface-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
  margin: 36px auto 0;
}

.faq-item {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

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

.faq-question-btn {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}

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

.faq-chevron {
  transition: transform var(--transition-base);
  color: var(--text-muted);
  flex-shrink: 0;
}

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

.faq-answer-pane {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer-pane {
  padding: 0 24px 22px 24px;
}

/* Toast alert */
.copy-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(15, 23, 42, 0.94);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-xs);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.copy-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--surface-darker);
  color: #ffffff;
  padding: 100px 0 40px;
  border-top: 1px solid var(--border-inverse);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-info p {
  color: #94a3b8;
  margin-top: 16px;
  max-width: 340px;
  font-size: 0.95rem;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 24px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: #94a3b8;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--primary-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 40px;
  color: #64748b;
  font-size: 0.88rem;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   ANIMATIONS & SCROLL OBSERVER CLASSES
   ========================================================================== */
.reveal-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade-up.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade-left.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade-right.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

/* Accessible Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Responsive Layout Components */
.specs-quad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.cta-banner-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.case-study-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 36px;
}

.equipment-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 32px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-title {
    font-size: 3.8rem;
  }

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

  .process-steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
  }

  .process-line-track {
    display: none;
  }

  .service-row-header {
    grid-template-columns: 60px 1.4fr 1.6fr 50px;
  }

  .lightbox-container {
    grid-template-columns: 1fr;
    max-height: 94vh;
  }

  .lightbox-media-pane {
    height: 320px;
  }

  .lightbox-details-pane {
    padding: 28px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-link {
    font-size: 0.84rem;
  }

  .nav-actions {
    gap: 10px;
  }
}

@media (max-width: 900px) {

  .nav-links,
  .nav-actions .btn {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

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

  .manifesto-header {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-editorial-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-editorial-block:nth-child(even) .about-editorial-grid {
    direction: ltr;
  }

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

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

  .service-expanded-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .portfolio-span-12,
  .portfolio-span-8,
  .portfolio-span-6,
  .portfolio-span-4,
  .portfolio-span-portrait {
    grid-column: span 2;
    height: 380px;
  }

  .specs-quad-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .cta-banner-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cta-banner-grid>div:last-child {
    justify-content: flex-start !important;
  }

  .case-study-specs-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 680px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .section-title {
    font-size: 2.3rem;
  }

  .hero-credentials {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .capabilities-quad {
    grid-template-columns: 1fr;
  }

  .process-steps-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-row-header {
    grid-template-columns: 44px 1fr 44px;
  }

  .service-row-summary {
    display: none;
  }

  .service-row-name {
    font-size: 1.35rem;
  }

  .service-row-item.expanded .service-row-body {
    max-height: 1400px;
  }

  .service-expanded-grid {
    padding: 20px;
  }

  .service-expanded-media {
    height: 220px;
  }

  .service-specs-list {
    grid-template-columns: 1fr;
  }

  .acp-header-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .comparison-wrapper {
    height: 360px;
  }

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

  .contact-form-card {
    padding: 24px;
  }

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

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }

  .portfolio-gallery-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-span-12,
  .portfolio-span-8,
  .portfolio-span-6,
  .portfolio-span-4,
  .portfolio-span-portrait {
    grid-column: span 1;
    height: 340px;
  }

  .theme-presets-grid {
    grid-template-columns: 1fr;
  }

  .lightbox-media-pane {
    height: 220px;
  }

  .lightbox-details-pane {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-logo {
    gap: 8px;
  }

  .brand-logo-img {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .brand-tagline {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-settings-btn {
    width: 38px;
    height: 38px;
  }

  .mobile-menu-toggle {
    width: 38px;
    height: 38px;
  }

  .hero-title {
    font-size: 2.15rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

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

  .comparison-wrapper {
    height: 280px;
  }

  .theme-panel-card {
    padding: 20px 16px;
  }

  .contact-mode-tabs {
    flex-direction: column;
  }

  .contact-mode-tab {
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .specs-quad-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .team-avatar-monogram {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }

  .team-card-founder .team-avatar-monogram {
    width: 54px;
    height: 54px;
    font-size: 1.15rem;
  }

  .team-card {
    padding: 24px 18px;
  }

  .team-member-name {
    font-size: 1.2rem;
  }

  .team-card-founder .team-member-name {
    font-size: 1.35rem;
  }
}

/* ==========================================================================
   TEAM & LEADERSHIP SECTION
   ========================================================================== */
.team-section {
  padding: 100px 0;
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  position: relative;
}

.team-grid-founders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.team-grid-executives {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 36px 32px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  transition: height var(--transition-base);
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.team-card:hover::before {
  height: 100%;
}

.team-card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}

.team-avatar-monogram {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-xs);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 14px var(--accent-glow);
  flex-shrink: 0;
}

.team-member-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.team-member-role {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 2px;
  margin-top: 6px;
}

.team-member-desc {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 6px;
}

.team-card-founder {
  background: linear-gradient(180deg, var(--surface), var(--surface-secondary));
  border-color: var(--border-strong);
}

.team-card-founder .team-avatar-monogram {
  width: 68px;
  height: 68px;
  font-size: 1.35rem;
}

.team-card-founder .team-member-name {
  font-size: 1.55rem;
}

@media (max-width: 960px) {

  .team-grid-founders,
  .team-grid-executives {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ==========================================================================
   CLIENTS & COMMERCIAL PARTNERS SHOWCASE SECTION
   ========================================================================== */
.clients-section {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-secondary) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.clients-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.clients-header-text {
  max-width: 680px;
}

.clients-header-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.clients-stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
}

.clients-stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  max-width: 160px;
  line-height: 1.35;
}

/* Infinity Marquee Ribbon */
.clients-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 36px;
  padding: 14px 0 20px;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.clients-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
  will-change: transform;
}

.clients-marquee-wrapper:hover .clients-marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.client-marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 14px;
  width: 125px;
  height: 125px;
  min-width: 125px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.client-marquee-item:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.client-marquee-logo {
  width: 100%;
  height: 100%;
  max-width: 96px;
  max-height: 96px;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-fast);
}

.client-marquee-item:hover .client-marquee-logo {
  transform: scale(1.05);
}

/* Client Architectural Grid */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.client-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.client-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.client-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.client-card:hover::before {
  transform: scaleX(1);
}

.client-logo-box {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 16px;
}

.client-card-logo {
  max-height: 42px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(70%) opacity(0.85);
  transition: filter var(--transition-normal), transform var(--transition-fast);
}

.client-card:hover .client-card-logo {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.03);
}

.client-info {
  display: flex;
  flex-direction: column;
}

.client-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 4px;
}

.client-name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.client-project-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--surface-secondary);
  padding: 5px 10px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-light);
  line-height: 1.4;
}

.client-tag-icon {
  color: var(--primary);
  flex-shrink: 0;
}

/* Trust Badges Strip */
.clients-trust-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px dashed var(--border);
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary-light);
}

@media (max-width: 1100px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .clients-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .clients-header-badge {
    width: 100%;
  }

  .client-marquee-item {
    width: 100px;
    height: 100px;
    min-width: 100px;
    padding: 10px;
  }

  .client-marquee-logo {
    max-width: 78px;
    max-height: 78px;
  }

  .clients-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .clients-trust-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}