/* ==========================================================================
   THE ESTIMATION COMPANY (TEC) — MAIN STYLESHEET
   Accurately matches TEC_APPROVED_UI_REFERENCE.png + Spec Files
   ========================================================================== */

@import './design-tokens.css';

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--tec-font-primary);
  background-color: var(--tec-cream);
  color: var(--tec-text);
  line-height: var(--tec-leading-normal);
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--tec-gold);
  color: var(--tec-white);
}

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

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

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

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

.tec-container-wide {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 768px) {
  .tec-container-wide {
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* --- Typography Utilities --- */
.tec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--tec-font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tec-gold-dark);
  margin-bottom: 12px;
}

.tec-eyebrow-dark {
  color: var(--tec-gold-light);
}

.tec-heading-xl {
  font-size: 2.5rem;
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--tec-graphite);
}

@media (min-width: 768px) {
  .tec-heading-xl { font-size: 3.25rem; }
}

@media (min-width: 1200px) {
  .tec-heading-xl { font-size: 3.75rem; }
}

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

.tec-subheading {
  font-size: 1rem;
  color: var(--tec-text-secondary);
  line-height: 1.65;
  margin-top: 14px;
}

@media (min-width: 768px) {
  .tec-subheading { font-size: 1.05rem; }
}

/* --- Buttons --- */
.tec-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--tec-radius-full);
  transition: all var(--tec-transition-fast);
  white-space: nowrap;
}

.tec-btn-primary {
  background-color: var(--tec-graphite);
  color: var(--tec-white);
}

.tec-btn-primary:hover {
  background-color: #000000;
  color: var(--tec-gold-light);
  transform: translateY(-2px);
}

.tec-btn-gold {
  background-color: var(--tec-gold);
  color: var(--tec-graphite);
  font-weight: 700;
}

.tec-btn-gold:hover {
  background-color: #ba913c;
  color: var(--tec-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(201, 160, 74, 0.35);
}

.tec-btn-outline {
  background: transparent;
  color: var(--tec-graphite);
  border: 1px solid rgba(18, 24, 27, 0.2);
}

.tec-btn-outline:hover {
  background: var(--tec-white);
  border-color: var(--tec-graphite);
  transform: translateY(-2px);
}

.tec-btn-arrow-gold {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--tec-gold);
  color: var(--tec-graphite);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  transition: all var(--tec-transition-fast);
}

.tec-btn-arrow-gold:hover {
  background: #ba913c;
  color: var(--tec-white);
  transform: scale(1.1);
}

/* --- Header --- */
.tec-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(247, 245, 239, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 223, 215, 0.7);
  transition: all var(--tec-transition-normal);
}

.tec-header-topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--tec-text-secondary);
  letter-spacing: 0.06em;
  font-family: var(--tec-font-mono);
  border-bottom: 1px solid rgba(226, 223, 215, 0.6);
  background: rgba(240, 237, 228, 0.45);
}

.tec-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.tec-brand {
  display: flex;
  align-items: center;
  height: 100%;
  text-decoration: none;
  flex-shrink: 0;
}

.tec-brand-logo-wrap {
  height: 74px;
  display: flex;
  align-items: center;
}

.tec-brand-logo-wrap img {
  height: 74px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  mix-blend-mode: multiply;
  display: block;
  transition: transform var(--tec-transition-fast);
}

.tec-brand-logo-wrap:hover img {
  transform: scale(1.02);
}

.tec-nav-links {
  display: none;
  align-items: center;
  gap: 28px;
  list-style: none;
  height: 100%;
  margin: 0;
  padding: 0;
}

@media (min-width: 1080px) {
  .tec-nav-links { display: flex; }
}

.tec-nav-item {
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
}

.tec-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  color: var(--tec-graphite);
  padding: 8px 0;
  line-height: 1;
  position: relative;
  transition: color var(--tec-transition-fast);
}

.tec-nav-link svg {
  display: inline-block;
  flex-shrink: 0;
  transition: transform var(--tec-transition-fast);
}

.tec-nav-item:hover .tec-nav-link svg {
  transform: rotate(180deg);
}

.tec-nav-link:hover, .tec-nav-link.active {
  color: var(--tec-gold-dark);
}

.tec-nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--tec-gold);
}

.tec-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--tec-white);
  border: 1px solid var(--tec-border);
  border-radius: var(--tec-radius-md);
  box-shadow: var(--tec-shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: all var(--tec-transition-fast);
  z-index: 1010;
}

.tec-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.tec-nav-item:hover .tec-dropdown-menu,
.tec-nav-item:focus-within .tec-dropdown-menu,
.tec-nav-item.is-open .tec-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.tec-nav-item:hover .tec-nav-link svg,
.tec-nav-item:focus-within .tec-nav-link svg,
.tec-nav-item.is-open .tec-nav-link svg {
  transform: rotate(180deg);
}

.tec-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--tec-radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--tec-text);
}

.tec-dropdown-item:hover {
  background: var(--tec-neutral-subtle);
  color: var(--tec-gold-dark);
}

.tec-burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--tec-radius-sm);
  background: var(--tec-neutral-subtle);
}

@media (min-width: 1080px) {
  .tec-burger-btn { display: none; }
}

.tec-burger-btn span {
  width: 100%;
  height: 2px;
  background-color: var(--tec-graphite);
}

/* --- Mobile Drawer Navigation --- */
.tec-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 28, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1090;
  opacity: 0;
  visibility: hidden;
  transition: all var(--tec-transition-normal);
}

.tec-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.tec-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--tec-cream);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform var(--tec-transition-normal);
  display: flex;
  flex-direction: column;
  padding: 24px;
  box-shadow: var(--tec-shadow-xl);
  overflow-y: auto;
}

.tec-mobile-drawer.open {
  transform: translateX(0);
}

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

.tec-drawer-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--tec-graphite);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tec-drawer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.tec-drawer-link {
  font-size: 16px;
  font-weight: 600;
  color: var(--tec-graphite);
  text-decoration: none;
  display: block;
  transition: color var(--tec-transition-fast);
}

.tec-drawer-link:hover {
  color: var(--tec-gold-dark);
}

@media (min-width: 1080px) {
  .tec-mobile-drawer,
  .tec-drawer-backdrop {
    display: none !important;
  }
}

/* --- Hero Section (Exact Match to Approved Reference) --- */
.ref-hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 30px;
  padding-bottom: 50px;
}

.ref-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 1100px) {
  .ref-hero-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
  }
}

.ref-hero-left {
  display: flex;
  flex-direction: column;
}

.ref-hero-tagline {
  font-family: var(--tec-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--tec-text-muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.ref-hero-headline {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--tec-graphite);
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .ref-hero-headline { font-size: 3.8rem; }
}

@media (min-width: 1280px) {
  .ref-hero-headline { font-size: 4.4rem; }
}

.ref-hero-lead {
  font-size: 1.05rem;
  color: var(--tec-text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 520px;
}

.ref-hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

/* Stats Row */
.ref-hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--tec-border);
  margin-bottom: 24px;
}

.ref-stat-item {
  display: flex;
  flex-direction: column;
}

.ref-stat-num {
  font-size: 1.75rem;
  font-weight: 850;
  color: var(--tec-graphite);
  line-height: 1.1;
}

.ref-stat-label {
  font-size: 12px;
  color: var(--tec-text-muted);
  margin-top: 4px;
}

/* Trusted By Strip */
.ref-trusted-strip {
  padding-top: 16px;
}

.ref-trusted-title {
  font-size: 12px;
  color: var(--tec-text-muted);
  margin-bottom: 12px;
}

.ref-trusted-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  opacity: 0.65;
  font-family: var(--tec-font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--tec-text-secondary);
}

/* Right Stage Visual */
.ref-hero-visual-stage {
  position: relative;
  width: 100%;
  border-radius: var(--tec-radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(201, 160, 74, 0.15);
  border: 1px solid rgba(201, 160, 74, 0.35);
  aspect-ratio: 16 / 11;
  background: radial-gradient(circle at 50% 40%, #1A252E 0%, #0D1317 100%);
  cursor: grab;
}

.ref-hero-visual-stage:active {
  cursor: grabbing;
}

.ref-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 3D WebGL Canvas Layer */
#three-hero-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  z-index: 1;
}

#three-hero-container canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* Floating "Design Estimate Build Smarter" Card */
.ref-floating-glass-card {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
  background: rgba(17, 24, 28, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--tec-radius-md);
  padding: 12px 18px;
  color: var(--tec-white);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all var(--tec-transition-fast);
  text-decoration: none;
}

.ref-floating-glass-card:hover {
  border-color: var(--tec-gold);
  transform: translateY(-2px);
}

/* Vertical Steps Rail */
.ref-vertical-rail {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(17, 24, 28, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 16px;
  border-radius: var(--tec-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--tec-font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #94A3B8;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.ref-rail-item.active {
  color: var(--tec-gold-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.ref-rail-item.active::before {
  content: "●";
  font-size: 8px;
  color: var(--tec-gold);
  animation: hudPulseAnim 1.5s infinite;
}

/* 3D Orbit Interactive Hint */
.hero-orbit-hint {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(17, 24, 28, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 160, 74, 0.35);
  border-radius: var(--tec-radius-full);
  padding: 6px 14px;
  font-family: var(--tec-font-mono);
  font-size: 11px;
  color: var(--tec-gold-light);
  pointer-events: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.hero-orbit-hint svg {
  color: var(--tec-gold);
  animation: orbitPulse 2s ease-in-out infinite;
}

@keyframes orbitPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.18); opacity: 1; color: var(--tec-gold-light); }
}

/* Script Watermark */
.ref-script-watermark {
  position: absolute;
  bottom: 74px;
  right: 24px;
  z-index: 10;
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

/* Circular Watch Story Button */
.ref-watch-story {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--tec-white);
  font-size: 12px;
  font-weight: 600;
  background: rgba(17, 24, 28, 0.75);
  backdrop-filter: blur(8px);
  padding: 6px 14px 6px 6px;
  border-radius: var(--tec-radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.ref-play-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--tec-white);
  color: var(--tec-graphite);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* --- Services Section (6 Sleek Cards with Isometric Visuals) --- */
.ref-services-section {
  padding: 60px 0;
  background: var(--tec-cream);
}

.ref-section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}

.ref-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 900px) {
  .ref-services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .ref-services-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.ref-service-card {
  background: var(--tec-white);
  border: 1px solid var(--tec-border);
  border-radius: var(--tec-radius-md);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  transition: all var(--tec-transition-fast);
  position: relative;
  overflow: hidden;
}

.ref-service-card:hover {
  transform: translateY(-6px);
  border-color: var(--tec-gold);
  box-shadow: var(--tec-shadow-md);
}

.ref-card-num {
  font-family: var(--tec-font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--tec-gold-dark);
  margin-bottom: 8px;
}

.ref-card-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--tec-graphite);
  margin-bottom: 14px;
  min-height: 38px;
}

.ref-card-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--tec-radius-sm);
  overflow: hidden;
  margin-bottom: 16px;
  background: #FAF9F5;
}

.ref-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tec-transition-normal);
}

.ref-service-card:hover .ref-card-img {
  transform: scale(1.06);
}

/* --- Split Section: AskTEC AI + Why Choose TEC --- */
.ref-split-section {
  padding: 40px 0 70px;
}

.ref-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 1080px) {
  .ref-split-grid {
    grid-template-columns: 1.45fr 0.95fr;
    gap: 32px;
  }
}

/* AskTEC Card (Dark Volcanic / Cosmic Glass) */
.ref-asktec-card {
  background: #0D1317;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--tec-radius-xl);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  color: var(--tec-white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--tec-shadow-dark);
}

.ref-asktec-inner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .ref-asktec-inner-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.ref-asktec-headline {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--tec-white);
  margin-bottom: 14px;
}

.ref-asktec-lead {
  font-size: 14px;
  color: var(--tec-text-inverse-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Floating Prompt Pills */
.ref-floating-prompts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.ref-prompt-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--tec-radius-full);
  padding: 8px 14px;
  font-size: 12px;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--tec-transition-fast);
  text-align: left;
}

.ref-prompt-pill:hover {
  background: rgba(201, 160, 74, 0.2);
  border-color: var(--tec-gold);
  color: var(--tec-gold-light);
  transform: translateX(4px);
}

.ref-prompt-pill::before {
  content: "💬";
  font-size: 11px;
}

.ref-asktec-orb-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ref-asktec-orb-img {
  width: 100%;
  max-width: 260px;
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(201, 160, 74, 0.25);
  animation: floatOrb 4s ease-in-out infinite;
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Why Choose TEC Card (Interactive 3D Architectural Core) */
.ref-why-card {
  background: linear-gradient(155deg, #161F25 0%, #0E1418 100%);
  border: 1px solid rgba(201, 160, 74, 0.35);
  border-radius: var(--tec-radius-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--tec-shadow-dark);
  position: relative;
  overflow: hidden;
  color: var(--tec-white);
}

.ref-why-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 160, 74, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.ref-why-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.why-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--tec-font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--tec-gold-light);
  background: rgba(201, 160, 74, 0.12);
  border: 1px solid rgba(201, 160, 74, 0.28);
  padding: 3px 8px;
  border-radius: var(--tec-radius-full);
  margin-bottom: 6px;
}

.ref-why-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  margin: 0;
}

.why-orbit-hint {
  font-family: var(--tec-font-mono);
  font-size: 10px;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
}

/* Three.js 3D Canvas Stage Wrapper */
.three-why-stage-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
  border-radius: var(--tec-radius-lg);
  background: radial-gradient(circle at center, #1B242C 0%, #080C0E 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 14px 0 16px;
  overflow: hidden;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
}

.three-why-container {
  width: 100%;
  height: 100%;
  cursor: grab;
}

.three-why-container:active {
  cursor: grabbing;
}

/* Floating HUD Telemetry Badges */
.why-telemetry-badge {
  position: absolute;
  background: rgba(14, 20, 24, 0.88);
  border: 1px solid rgba(201, 160, 74, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--tec-radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--tec-font-mono);
  font-size: 9.5px;
  font-weight: 700;
  color: var(--tec-gold-light);
  letter-spacing: 0.05em;
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.why-telemetry-badge.top-left {
  top: 12px;
  left: 12px;
}

.why-telemetry-badge.top-right {
  top: 12px;
  right: 12px;
  color: #7DD3FC;
  border-color: rgba(56, 189, 248, 0.4);
}

.why-telemetry-badge.bottom-center {
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: #34D399;
  border-color: rgba(16, 185, 129, 0.4);
  white-space: nowrap;
}

/* 4 Trust Anchors Grid */
.ref-why-anchors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
}

@media (max-width: 540px) {
  .ref-why-anchors-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.ref-why-anchor-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.anchor-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(201, 160, 74, 0.15);
  color: var(--tec-gold);
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  border: 1px solid rgba(201, 160, 74, 0.3);
}

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

.anchor-content strong {
  font-size: 12px;
  font-weight: 750;
  color: #FFFFFF;
  line-height: 1.3;
}

.anchor-content span {
  font-size: 11px;
  color: #94A3B8;
  line-height: 1.4;
}

/* --- Featured Projects / Real Projects Section --- */
.ref-projects-section {
  padding: 60px 0;
}

.ref-projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .ref-projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ref-project-card {
  position: relative;
  border-radius: var(--tec-radius-lg);
  overflow: hidden;
  box-shadow: var(--tec-shadow-md);
  aspect-ratio: 4 / 3;
  background: var(--tec-graphite);
}

.ref-project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tec-transition-normal);
}

.ref-project-card:hover .ref-project-img {
  transform: scale(1.05);
}

.ref-project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(17, 24, 28, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.ref-project-badge {
  align-self: flex-start;
  background: rgba(17, 24, 28, 0.7);
  backdrop-filter: blur(8px);
  color: var(--tec-white);
  padding: 4px 12px;
  border-radius: var(--tec-radius-full);
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.ref-project-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.ref-project-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--tec-white);
}

.ref-project-loc {
  font-size: 12px;
  color: var(--tec-gold-light);
  margin-top: 2px;
}

/* --- Asymmetric Process & Quote 3-Column Section --- */
.ref-asymmetric-section {
  padding: 40px 0 70px;
}

.ref-asymmetric-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 1080px) {
  .ref-asymmetric-grid {
    grid-template-columns: 0.9fr 1.85fr 0.9fr;
    gap: 20px;
  }
}

/* Left Mountain Card */
.ref-asym-card-left {
  position: relative;
  border-radius: var(--tec-radius-xl);
  overflow: hidden;
  padding: 36px 28px;
  color: var(--tec-white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  background: var(--tec-graphite);
}

.ref-asym-card-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/mountain-accuracy.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.45;
}

.ref-asym-content {
  position: relative;
  z-index: 2;
}

/* Center Light Timeline Card */
.ref-asym-card-center {
  background: #FBF8F1;
  border: 1px solid var(--tec-border);
  border-radius: var(--tec-radius-xl);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ref-process-timeline-horizontal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  position: relative;
  margin-top: 24px;
}

.ref-timeline-step {
  display: flex;
  flex-direction: column;
  position: relative;
}

.ref-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--tec-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tec-font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--tec-graphite);
  background: var(--tec-white);
  margin-bottom: 12px;
}

.ref-step-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--tec-graphite);
  line-height: 1.35;
}

/* Right Skyscraper Card */
.ref-asym-card-right {
  position: relative;
  border-radius: var(--tec-radius-xl);
  overflow: hidden;
  padding: 36px 28px;
  color: var(--tec-white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  background: var(--tec-graphite);
}

.ref-asym-card-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/skyscraper-clarity.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.ref-quote-text {
  font-size: 1.35rem;
  font-weight: 750;
  line-height: 1.35;
  color: var(--tec-white);
  margin-bottom: 16px;
}

/* --- Project Sectors Bar --- */
.ref-sectors-bar {
  background: #1B2126;
  color: var(--tec-white);
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ref-sectors-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.ref-sector-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #D1D5DB;
}

.ref-sector-item svg {
  width: 18px;
  height: 18px;
  color: var(--tec-gold);
}

/* --- Bottom Right CTA Banner --- */
.ref-bottom-cta-banner {
  background: #D4AF37;
  color: var(--tec-graphite);
  padding: 22px 36px;
  border-radius: var(--tec-radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 40px auto 20px;
  font-weight: 700;
  box-shadow: var(--tec-shadow-md);
}

/* --- Floating Actions --- */
.ref-floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.ref-floating-whatsapp {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: var(--tec-white);
  padding: 10px 18px;
  border-radius: var(--tec-radius-full);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.ref-floating-asktec {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #172026;
  color: var(--tec-gold-light);
  border: 1px solid rgba(201, 160, 74, 0.4);
  padding: 10px 18px;
  border-radius: var(--tec-radius-full);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* --- Modal for AskTEC and Story --- */
.tec-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 18, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.tec-modal-backdrop.open {
  display: flex;
}

.tec-modal-window {
  background: #0D1317;
  border: 1px solid rgba(201, 160, 74, 0.3);
  border-radius: var(--tec-radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 28px;
  position: relative;
  color: var(--tec-white);
}

.tec-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 24px;
  color: var(--tec-text-inverse-muted);
  cursor: pointer;
}

/* --- AskTEC Interactive AI Modal & Chat Stream --- */
.asktec-modal-window {
  max-width: 720px;
  background: #0B1013;
  border: 1px solid rgba(201, 160, 74, 0.4);
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  max-height: 88vh;
}

.asktec-modal-header {
  padding: 18px 24px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0F161B;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}

.asktec-brand-col {
  display: flex;
  align-items: center;
  gap: 14px;
}

.asktec-avatar-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.asktec-header-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--tec-gold);
  object-fit: cover;
}

.avatar-live-beacon {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid #0F161B;
  box-shadow: 0 0 6px #10B981;
}

.asktec-header-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.asktec-header-title-row h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
}

.asktec-status-pill {
  font-family: var(--tec-font-mono);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
  color: #10B981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
}

.asktec-header-sub {
  font-size: 12px;
  color: var(--tec-text-inverse-muted);
  margin: 3px 0 0;
  line-height: 1.4;
}

/* Modal Preset Quick Queries Bar */
.asktec-modal-presets {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  flex-shrink: 0;
}

.preset-label {
  font-family: var(--tec-font-mono);
  font-size: 9px;
  font-weight: 700;
  color: var(--tec-gold-light);
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.preset-chips-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.preset-chips-scroll::-webkit-scrollbar {
  display: none;
}

.preset-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 11.5px;
  color: #E2E8F0;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.preset-chip:hover {
  background: rgba(201, 160, 74, 0.2);
  border-color: var(--tec-gold);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Chat Stream Window */
.asktec-chat-window {
  flex: 1;
  min-height: 320px;
  max-height: 440px;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #080C0E;
  scroll-behavior: smooth;
}

.asktec-chat-window::-webkit-scrollbar {
  width: 6px;
}

.asktec-chat-window::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

/* Chat Bubbles */
.chat-bubble {
  max-width: 92%;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.6;
  word-break: break-word;
  animation: bubbleSlideIn 0.25s ease-out;
}

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

.chat-bubble-user {
  align-self: flex-end;
  background: #1C272E;
  border: 1px solid rgba(201, 160, 74, 0.45);
  color: #FFFFFF;
  border-bottom-right-radius: 4px;
}

.user-msg-content {
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
}

.chat-bubble-tec {
  align-self: flex-start;
  background: #11181D;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #F1F5F9;
  border-bottom-left-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  width: 100%;
}

.bot-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bot-avatar-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bot-avatar-img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--tec-gold);
}

.bot-name {
  font-weight: 750;
  font-size: 12px;
  color: var(--tec-gold-light);
}

.bot-status-tag {
  font-family: var(--tec-font-mono);
  font-size: 8.5px;
  color: #94A3B8;
  margin-left: 4px;
  letter-spacing: 0.05em;
}

.msg-timestamp {
  font-family: var(--tec-font-mono);
  font-size: 10px;
  color: #64748B;
}

.bot-title {
  font-size: 13.5px;
  font-weight: 750;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.tec-ai-answer-block p {
  margin: 0 0 8px;
  line-height: 1.55;
}

.tec-ai-list {
  margin: 8px 0 10px 16px;
  padding: 0;
  font-size: 12.5px;
  color: #CBD5E1;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tec-ai-note {
  font-size: 11.5px;
  color: #94A3B8;
  margin-top: 8px;
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 12px;
  border-radius: 6px;
  border-left: 2px solid var(--tec-gold);
}

.tec-followup-box {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.followup-title {
  font-family: var(--tec-font-mono);
  font-size: 9.5px;
  font-weight: 700;
  color: var(--tec-gold-light);
  display: block;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.followup-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.followup-chip {
  background: rgba(201, 160, 74, 0.08);
  border: 1px solid rgba(201, 160, 74, 0.25);
  border-radius: 12px;
  padding: 4px 10px;
  font-size: 11px;
  color: #E2E8F0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.followup-chip:hover {
  background: rgba(201, 160, 74, 0.22);
  color: #FFFFFF;
  border-color: var(--tec-gold);
}

.bot-actions-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.asktec-action-btn {
  font-family: var(--tec-font-primary);
  font-size: 11.5px;
  font-weight: 750;
  padding: 7px 14px;
  border-radius: var(--tec-radius-full);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--tec-transition-fast);
}

.asktec-action-btn.wa {
  background: #25D366;
  color: #FFFFFF;
  border: 1px solid #1EBE5D;
}

.asktec-action-btn.wa:hover {
  background: #1EBE5D;
  transform: translateY(-1px);
}

.asktec-action-btn.estimate {
  background: rgba(201, 160, 74, 0.12);
  color: var(--tec-gold-light);
  border: 1px solid rgba(201, 160, 74, 0.35);
}

.asktec-action-btn.estimate:hover {
  background: rgba(201, 160, 74, 0.25);
  color: #FFFFFF;
}

.bot-disclaimer {
  font-family: var(--tec-font-mono);
  font-size: 10px;
  color: #64748B;
  margin-top: 8px;
  line-height: 1.4;
}

/* Typing Indicator Animation */
.typing-indicator-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.typing-avatar img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--tec-gold);
}

.typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tec-gold);
  animation: typingBounce 1.2s infinite ease-in-out;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1.1); opacity: 1; }
}

.typing-label {
  font-family: var(--tec-font-mono);
  font-size: 11px;
  color: var(--tec-gold-light);
}

/* Chat Input Bar */
.asktec-input-form {
  padding: 14px 20px 16px;
  background: #0E1418;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.asktec-input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #080C0E;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--tec-radius-full);
  padding: 4px 6px 4px 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.asktec-input-wrapper:focus-within {
  border-color: var(--tec-gold);
  box-shadow: 0 0 0 3px rgba(201, 160, 74, 0.2);
}

.asktec-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #FFFFFF;
  font-size: 13px;
  padding: 8px 0;
}

.asktec-input::placeholder {
  color: #64748B;
}

.asktec-submit-btn {
  background: linear-gradient(135deg, #E6CC8A 0%, #C9A04A 100%);
  color: #11181C;
  border: none;
  font-size: 12px;
  font-weight: 750;
  padding: 9px 18px;
  border-radius: var(--tec-radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.asktec-submit-btn:hover {
  background: linear-gradient(135deg, #FBF8F1 0%, #E6CC8A 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(201, 160, 74, 0.4);
}

/* --- Live BIM HUD Measurement Tags --- */
.hero-bim-hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
}

.bim-hud-tag {
  position: absolute;
  background: rgba(17, 24, 28, 0.88);
  border: 1px solid rgba(201, 160, 74, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: var(--tec-radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  font-family: var(--tec-font-mono);
  font-size: 11px;
  color: var(--tec-gold-light);
  font-weight: 600;
}

.hud-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tec-gold);
  box-shadow: 0 0 8px var(--tec-gold);
  animation: pulseBeacon 2s infinite;
}

@keyframes pulseBeacon {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

/* Verified Engineering Credentials in Hero (Replaces Invented Numbers) */
.ref-hero-credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--tec-border);
  margin-bottom: 24px;
}

@media (max-width: 640px) {
  .ref-hero-credentials {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.ref-cred-item {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--tec-border);
  border-radius: var(--tec-radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
}

.ref-cred-badge {
  font-family: var(--tec-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--tec-gold-dark);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ref-cred-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--tec-graphite);
  line-height: 1.3;
}

/* Verified Engineering Assurance Strip (Replaces Corporate Logos) */
.ref-assurance-strip {
  padding-top: 16px;
}

.ref-assurance-title {
  font-size: 11px;
  font-family: var(--tec-font-mono);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--tec-text-muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.ref-assurance-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.ref-assurance-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--tec-white);
  border: 1px solid var(--tec-border);
  border-radius: var(--tec-radius-full);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--tec-graphite);
}

.ref-assurance-pill svg {
  color: var(--tec-gold-dark);
}

/* --- THE TEC SOLUTION: Data Flow Pipeline --- */
.tec-solution-section {
  padding: 70px 0;
  background: var(--tec-cream);
  border-bottom: 1px solid var(--tec-border);
}

.tec-pipeline-wrap {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  position: relative;
  margin-top: 36px;
}

@media (max-width: 1080px) {
  .tec-pipeline-wrap {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .tec-pipeline-wrap {
    grid-template-columns: 1fr;
  }
}

.tec-pipeline-card {
  background: var(--tec-white);
  border: 1px solid var(--tec-border);
  border-radius: var(--tec-radius-md);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--tec-transition-fast);
}

.tec-pipeline-card:hover {
  transform: translateY(-4px);
  border-color: var(--tec-gold);
  box-shadow: var(--tec-shadow-md);
}

.pipeline-step-tag {
  font-family: var(--tec-font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--tec-gold-dark);
  margin-bottom: 8px;
}

.pipeline-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--tec-graphite);
  margin-bottom: 8px;
}

.pipeline-desc {
  font-size: 12px;
  color: var(--tec-text-secondary);
  line-height: 1.5;
}

/* --- WHO WE SERVE Section --- */
.tec-who-section {
  padding: 70px 0;
  background: #F4F1E8;
  border-bottom: 1px solid var(--tec-border);
}

.tec-who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

@media (max-width: 992px) {
  .tec-who-grid {
    grid-template-columns: 1fr;
  }
}

.tec-who-card {
  background: var(--tec-white);
  border: 1px solid var(--tec-border);
  border-radius: var(--tec-radius-lg);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--tec-transition-fast);
}

.tec-who-card:hover {
  border-color: var(--tec-gold);
  transform: translateY(-4px);
  box-shadow: var(--tec-shadow-md);
}

.who-role-badge {
  font-family: var(--tec-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--tec-gold-dark);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.who-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--tec-graphite);
  margin-bottom: 12px;
}

.who-desc {
  font-size: 13px;
  color: var(--tec-text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.who-deliverable-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--tec-graphite);
  padding: 6px 0;
  border-top: 1px dashed var(--tec-border);
}

/* --- ANIMATED 6-STAGE PROCESS INFOGRAPHIC --- */
.tec-process-infographic-card {
  background: #FAF8F2;
  border: 1px solid var(--tec-border);
  border-radius: var(--tec-radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--tec-shadow-sm);
  position: relative;
  overflow: hidden;
}

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

.infographic-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--tec-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--tec-gold-dark);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.live-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tec-gold);
  box-shadow: 0 0 0 0 rgba(201, 160, 74, 0.7);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(201, 160, 74, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(201, 160, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 160, 74, 0); }
}

.infographic-main-title {
  font-size: 1.55rem;
  font-weight: 850;
  color: var(--tec-graphite);
  line-height: 1.25;
  margin: 0;
}

.infographic-stage-counter {
  font-family: var(--tec-font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--tec-gold-dark);
  background: #EFE9D9;
  border: 1px solid var(--tec-border);
  padding: 4px 12px;
  border-radius: var(--tec-radius-full);
  white-space: nowrap;
}

.infographic-lead {
  font-size: 13px;
  color: var(--tec-text-secondary);
  line-height: 1.55;
  margin: 0 0 20px;
}

/* Stepper Track with Flowing Energy Particle */
.infographic-stepper-track {
  position: relative;
  padding: 10px 4px 18px;
}

.stepper-progress-bg {
  position: absolute;
  top: 26px;
  left: 20px;
  right: 20px;
  height: 3px;
  background: #E5DFC8;
  border-radius: 2px;
  z-index: 1;
}

.stepper-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #C9A04A 0%, #D4AF37 50%, #38BDF8 100%);
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.stepper-progress-bar::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #38BDF8;
  box-shadow: 0 0 8px #38BDF8;
  animation: flowGlow 1.2s ease-in-out infinite alternate;
}

@keyframes flowGlow {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.3); opacity: 1; }
}

.stepper-nodes-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.stepper-node {
  background: none;
  border: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--tec-transition-fast);
}

.node-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--tec-white);
  border: 2px solid #D5CEBF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tec-font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--tec-text-secondary);
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.node-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--tec-text-muted);
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.stepper-node:hover .node-circle {
  border-color: var(--tec-gold);
  color: var(--tec-graphite);
  transform: translateY(-2px);
}

.stepper-node.active .node-circle {
  background: var(--tec-graphite);
  border-color: var(--tec-gold);
  color: var(--tec-gold-light);
  box-shadow: 0 0 0 5px rgba(201, 160, 74, 0.25);
  transform: scale(1.12);
}

.stepper-node.active .node-label {
  color: var(--tec-gold-dark);
}

.stepper-node.completed .node-circle {
  background: #EFE9D9;
  border-color: var(--tec-gold);
  color: var(--tec-graphite);
}

/* Dynamic Animated Stage Content Window */
.infographic-display-stage {
  background: var(--tec-white);
  border: 1px solid var(--tec-border);
  border-radius: var(--tec-radius-lg);
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  min-height: 230px;
  margin-bottom: 16px;
  position: relative;
}

.infographic-display-stage.animate-in {
  animation: stageCardFade 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes stageCardFade {
  0% { opacity: 0; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}

.infographic-stage-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .infographic-stage-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.stage-info-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.stage-badge-wrap {
  margin-bottom: 4px;
}

.stage-step-pill {
  font-family: var(--tec-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--tec-gold-dark);
  background: rgba(201, 160, 74, 0.14);
  border: 1px solid rgba(201, 160, 74, 0.3);
  padding: 3px 8px;
  border-radius: var(--tec-radius-sm);
  display: inline-block;
  margin-bottom: 6px;
}

.stage-heading {
  font-size: 1.15rem;
  font-weight: 850;
  color: var(--tec-graphite);
  line-height: 1.25;
  margin-bottom: 8px;
}

.stage-description {
  font-size: 12px;
  color: var(--tec-text-secondary);
  line-height: 1.55;
  margin-bottom: 12px;
}

.stage-flow-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FAF8F2;
  border: 1px solid var(--tec-border-light);
  border-radius: var(--tec-radius-sm);
  padding: 8px 10px;
  min-width: 0;
}

.flow-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.flow-label {
  font-family: var(--tec-font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--tec-gold-dark);
  text-transform: uppercase;
}

.flow-value {
  font-size: 11px;
  font-weight: 600;
  color: var(--tec-graphite);
  line-height: 1.3;
  word-break: break-word;
}

.flow-arrow {
  color: var(--tec-gold);
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
}

/* Right HUD in Infographic */
.stage-hud-right {
  background: #11181C;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--tec-radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  min-width: 0;
}

.hud-box-header {
  font-family: var(--tec-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--tec-gold-light);
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
}

.hud-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
}

.hud-metrics-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hud-metric-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hud-metric-label {
  font-family: var(--tec-font-mono);
  font-size: 9.5px;
  color: #94A3B8;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hud-metric-val {
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
}

/* Bottom Action & Control Bar */
.infographic-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--tec-border);
}

.infographic-nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tec-btn-arrow-subtle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--tec-white);
  border: 1px solid var(--tec-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--tec-graphite);
  cursor: pointer;
  transition: all var(--tec-transition-fast);
}

.tec-btn-arrow-subtle:hover {
  border-color: var(--tec-gold);
  color: var(--tec-gold-dark);
  transform: scale(1.05);
}

.infographic-play-toggle {
  background: var(--tec-white);
  border: 1px solid var(--tec-border);
  border-radius: var(--tec-radius-full);
  padding: 5px 12px;
  font-family: var(--tec-font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--tec-graphite);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--tec-transition-fast);
}

.infographic-play-toggle:hover {
  border-color: var(--tec-gold);
}

.infographic-play-toggle.paused .play-icon {
  color: var(--tec-gold-dark);
}

/* --- WHAT YOU RECEIVE Section --- */
.tec-receive-section {
  padding: 70px 0;
  background: #11181C;
  color: var(--tec-white);
}

.deliverables-doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

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

@media (max-width: 640px) {
  .deliverables-doc-grid {
    grid-template-columns: 1fr;
  }
}

.deliverable-doc-card {
  background: #182228;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--tec-radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--tec-transition-fast);
}

.deliverable-doc-card:hover {
  border-color: var(--tec-gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.doc-format-badge {
  display: inline-block;
  font-family: var(--tec-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--tec-gold-light);
  background: rgba(201, 160, 74, 0.15);
  border: 1px solid rgba(201, 160, 74, 0.3);
  padding: 3px 8px;
  border-radius: var(--tec-radius-sm);
  margin-bottom: 12px;
  align-self: flex-start;
}

.doc-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--tec-white);
  margin-bottom: 10px;
}

.doc-desc {
  font-size: 12px;
  color: var(--tec-text-inverse-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.doc-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  color: #CBD5E1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

.doc-features-list li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.doc-features-list li::before {
  content: "✓";
  color: var(--tec-gold);
  font-weight: bold;
}

/* --- TECHNICAL RESOURCES & FOOTING ESTIMATION HUB --- */
.tec-tech-resources-section {
  padding: 70px 0;
  background: #FAF8F2;
  border-bottom: 1px solid var(--tec-border);
}

.tech-resources-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
  margin-top: 36px;
}

@media (max-width: 992px) {
  .tech-resources-layout {
    grid-template-columns: 1fr;
  }
}

.footing-featured-card {
  background: var(--tec-white);
  border: 1px solid var(--tec-border);
  border-radius: var(--tec-radius-xl);
  padding: 36px 32px;
  box-shadow: var(--tec-shadow-md);
  position: relative;
  overflow: hidden;
}

.footing-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EFE9D9;
  color: var(--tec-graphite);
  padding: 4px 12px;
  border-radius: var(--tec-radius-full);
  font-family: var(--tec-font-mono);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footing-headline {
  font-size: 1.75rem;
  font-weight: 850;
  color: var(--tec-graphite);
  line-height: 1.25;
  margin-bottom: 14px;
}

.footing-lead {
  font-size: 14px;
  color: var(--tec-text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.footing-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

@media (max-width: 640px) {
  .footing-types-grid {
    grid-template-columns: 1fr;
  }
}

.footing-type-box {
  background: #FAF9F5;
  border: 1px solid var(--tec-border);
  border-radius: var(--tec-radius-sm);
  padding: 14px;
}

.footing-type-box h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--tec-graphite);
  margin-bottom: 4px;
}

.footing-type-box p {
  font-size: 11px;
  color: var(--tec-text-secondary);
  line-height: 1.4;
  margin: 0;
}

.tech-resources-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tech-quick-link-card {
  background: var(--tec-white);
  border: 1px solid var(--tec-border);
  border-radius: var(--tec-radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: all var(--tec-transition-fast);
}

.tech-quick-link-card:hover {
  border-color: var(--tec-gold);
  transform: translateX(4px);
  box-shadow: var(--tec-shadow-sm);
}

.quick-link-text h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--tec-graphite);
  margin-bottom: 2px;
}

.quick-link-text p {
  font-size: 11px;
  color: var(--tec-text-secondary);
  margin: 0;
}

/* --- 0B. TRUST & OPERATIONAL HIGHLIGHTS (DISCRETION & FAST-TRACK DUAL GRID) --- */
.tec-trust-dual-section {
  margin: 48px auto;
}

.tec-trust-dual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
}

@media (min-width: 960px) {
  .tec-trust-dual-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.tec-trust-dual-card {
  border-radius: var(--tec-radius-xl);
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  transition: transform var(--tec-transition-normal), box-shadow var(--tec-transition-normal);
}

.tec-trust-dual-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.12);
}

/* Left Card: Discretion & Security (High-Contrast Slate/Dark Architectural) */
.tec-trust-nda-card {
  background: linear-gradient(155deg, #1A242B 0%, #11181C 100%);
  border: 1px solid rgba(201, 160, 74, 0.35);
  color: var(--tec-white);
}

.tec-trust-nda-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 160, 74, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Right Card: Fast-Track Same-Day Delivery (Deep Obsidian with Gold Radiant Gradient) */
.tec-trust-fasttrack-card {
  background: linear-gradient(155deg, #1C2227 0%, #12181C 100%);
  border: 1px solid rgba(201, 160, 74, 0.45);
  color: var(--tec-white);
  position: relative;
}

.tec-trust-fasttrack-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #C9A04A 0%, #F59E0B 50%, #C9A04A 100%);
}

.trust-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-card-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--tec-font-mono);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--tec-radius-full);
}

.trust-card-pill.nda-pill {
  color: var(--tec-gold-light);
  background: rgba(201, 160, 74, 0.12);
  border: 1px solid rgba(201, 160, 74, 0.3);
}

.trust-card-pill.fasttrack-pill {
  color: #11181C;
  background: var(--tec-gold);
  border: 1px solid var(--tec-gold-light);
}

.trust-verified-badge {
  font-family: var(--tec-font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #34D399;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.trust-fasttrack-badge {
  font-family: var(--tec-font-mono);
  font-size: 10px;
  font-weight: 800;
  color: #FBBF24;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.trust-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.3;
  margin: 12px 0 10px;
}

.trust-card-desc {
  font-size: 13px;
  color: var(--tec-text-inverse-muted);
  line-height: 1.6;
  margin: 0 0 18px;
}

.trust-points-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}

.trust-point-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: #E2E8F0;
  line-height: 1.5;
}

.trust-point-bullet {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(201, 160, 74, 0.15);
  color: var(--tec-gold);
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  border: 1px solid rgba(201, 160, 74, 0.3);
}

.trust-point-bullet.yellow {
  background: rgba(245, 158, 11, 0.18);
  color: #FBBF24;
  border-color: rgba(245, 158, 11, 0.4);
}

.trust-card-footer {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.trust-security-tag,
.fasttrack-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--tec-font-mono);
  font-size: 11px;
  color: #94A3B8;
}

.trust-security-tag svg {
  stroke: var(--tec-gold);
}

.trust-nda-btn {
  font-family: var(--tec-font-primary);
  font-size: 12.5px;
  font-weight: 750;
  color: var(--tec-gold-light);
  background: rgba(201, 160, 74, 0.12);
  border: 1px solid rgba(201, 160, 74, 0.35);
  padding: 10px 18px;
  border-radius: var(--tec-radius-full);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--tec-transition-fast);
}

.trust-nda-btn:hover {
  background: rgba(201, 160, 74, 0.22);
  border-color: var(--tec-gold);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.trust-fasttrack-btn {
  font-family: var(--tec-font-primary);
  font-size: 12.5px;
  font-weight: 800;
  color: #11181C;
  background: linear-gradient(135deg, #E6CC8A 0%, #C9A04A 100%);
  border: 1px solid var(--tec-gold-light);
  padding: 11px 22px;
  border-radius: var(--tec-radius-full);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(201, 160, 74, 0.35);
  transition: all var(--tec-transition-fast);
}

.trust-fasttrack-btn:hover {
  background: linear-gradient(135deg, #FBF8F1 0%, #E6CC8A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 160, 74, 0.5);
  color: #11181C;
}

@media (max-width: 640px) {
  .tec-trust-dual-card {
    padding: 24px 20px;
  }
  .trust-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .trust-nda-btn,
  .trust-fasttrack-btn {
    width: 100%;
    justify-content: center;
  }
}

/* --- 1. PROJECT INTAKE & QUOTATION FORM --- */
.tec-intake-dual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: stretch;
}

@media (min-width: 1040px) {
  .tec-intake-dual-grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 36px;
  }
}

.tec-quote-wrap {
  max-width: 860px;
  margin: 0 auto;
  background: var(--tec-white);
  border: 1px solid var(--tec-border);
  border-radius: var(--tec-radius-xl);
  padding: 40px 44px;
  box-shadow: 0 16px 40px rgba(18, 24, 27, 0.06);
  position: relative;
}

.tec-intake-dual-grid .tec-quote-wrap {
  margin: 0;
  max-width: 100%;
  padding: 38px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .tec-quote-wrap,
  .tec-intake-dual-grid .tec-quote-wrap {
    padding: 26px 20px;
  }
}

/* Right Column: Value Showcase & Animated Audit Card */
.tec-intake-showcase-card {
  background: linear-gradient(155deg, #172025 0%, #11181C 100%);
  border: 1px solid rgba(201, 160, 74, 0.35);
  border-radius: var(--tec-radius-xl);
  padding: 38px 34px;
  color: var(--tec-white);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

@media (max-width: 640px) {
  .tec-intake-showcase-card {
    padding: 26px 20px;
  }
}

.tec-intake-showcase-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 160, 74, 0.18) 0%, rgba(201, 160, 74, 0) 70%);
  pointer-events: none;
}

.showcase-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.showcase-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--tec-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #34D399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 4px 10px;
  border-radius: var(--tec-radius-full);
}

.showcase-live-pill .live-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
  display: inline-block;
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.showcase-sla-tag {
  font-family: var(--tec-font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--tec-gold-light);
  background: rgba(201, 160, 74, 0.12);
  border: 1px solid rgba(201, 160, 74, 0.3);
  padding: 4px 10px;
  border-radius: var(--tec-radius-full);
}

.showcase-title {
  font-size: 1.55rem;
  font-weight: 850;
  color: #FFFFFF;
  line-height: 1.25;
  margin: 0;
}

.showcase-desc {
  font-size: 13px;
  color: var(--tec-text-inverse-muted);
  line-height: 1.65;
  margin: 0;
}

/* Animated Engineering Verification HUD */
.intake-audit-hud {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--tec-radius-md);
  padding: 18px 20px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
}

.audit-hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
}

.hud-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--tec-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--tec-gold-light);
}

.hud-badge-code {
  font-family: var(--tec-font-mono);
  font-size: 9px;
  font-weight: 700;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: var(--tec-radius-xs);
}

.audit-hud-metrics {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.audit-metric-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  margin-bottom: 5px;
}

.audit-label {
  color: #CBD5E1;
  font-weight: 500;
}

.audit-val {
  font-family: var(--tec-font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--tec-gold-light);
}

.audit-bar-bg {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.audit-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #C9A04A 0%, #D4AF37 50%, #38BDF8 100%);
  border-radius: 999px;
  position: relative;
  animation: pulseBar 2.5s ease-in-out infinite alternate;
}

.audit-bar-fill.fill-100 { width: 100%; }
.audit-bar-fill.fill-95 { width: 95%; }
.audit-bar-fill.fill-90 { width: 90%; }

@keyframes pulseBar {
  0% { opacity: 0.85; filter: drop-shadow(0 0 2px rgba(201, 160, 74, 0.4)); }
  100% { opacity: 1; filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.7)); }
}

/* 4 Strategic Value Benefit Cards */
.showcase-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 640px) {
  .showcase-benefits-grid {
    grid-template-columns: 1fr;
  }
}

.benefit-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--tec-radius-md);
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  transition: all var(--tec-transition-normal);
}

.benefit-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(201, 160, 74, 0.4);
  transform: translateY(-2px);
}

.benefit-icon {
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1.2;
}

.benefit-body h5 {
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 3px;
  line-height: 1.3;
}

.benefit-body p {
  font-size: 11px;
  color: var(--tec-text-inverse-muted);
  line-height: 1.45;
  margin: 0;
}

/* Timeline Mini Steps */
.showcase-intake-timeline {
  background: rgba(201, 160, 74, 0.06);
  border: 1px dashed rgba(201, 160, 74, 0.28);
  border-radius: var(--tec-radius-md);
  padding: 14px 16px;
}

.timeline-eyebrow {
  font-family: var(--tec-font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--tec-gold-light);
  margin-bottom: 8px;
}

.timeline-mini-steps {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.mini-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.mini-step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--tec-gold);
  color: var(--tec-graphite);
  font-family: var(--tec-font-mono);
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mini-step div {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.mini-step strong {
  color: #FFFFFF;
  font-weight: 700;
}

.mini-step span {
  color: #94A3B8;
  font-size: 11.5px;
}

/* Direct QS Escalation Strip */
.showcase-qs-escalation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #0E1519;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--tec-radius-md);
  padding: 12px 16px;
  flex-wrap: wrap;
}

.qs-escalation-avatar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qs-avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C9A04A 0%, #A78132 100%);
  color: #11181C;
  font-family: var(--tec-font-mono);
  font-weight: 800;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(201, 160, 74, 0.4);
  flex-shrink: 0;
}

.qs-title {
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
}

.qs-sub {
  font-size: 10.5px;
  color: #94A3B8;
}

.qs-whatsapp-btn {
  background: #25D366;
  color: #0B3A1C;
  font-size: 11.5px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: var(--tec-radius-full);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--tec-transition-fast);
  white-space: nowrap;
}

.qs-whatsapp-btn:hover {
  background: #34E677;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

/* NDA Switch Box */
.nda-switch-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FAF8F2;
  border: 1px solid rgba(201, 160, 74, 0.35);
  border-radius: var(--tec-radius-md);
  padding: 16px 20px;
  margin-bottom: 28px;
  gap: 16px;
}

.nda-switch-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--tec-graphite);
  margin: 0 0 3px;
}

.nda-switch-info p {
  font-family: var(--tec-font-mono);
  font-size: 11px;
  color: var(--tec-text-secondary);
  letter-spacing: 0.02em;
  margin: 0;
  transition: color 0.2s ease;
}

.nda-toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}

.nda-toggle-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.nda-toggle-track {
  width: 48px;
  height: 26px;
  background: #D1D5DB;
  border-radius: 9999px;
  position: relative;
  transition: background-color 0.25s ease;
  display: inline-block;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15);
}

.nda-toggle-thumb {
  width: 20px;
  height: 20px;
  background: #FFFFFF;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.nda-toggle-input:checked + .nda-toggle-track {
  background: var(--tec-gold);
}

.nda-toggle-input:checked + .nda-toggle-track .nda-toggle-thumb {
  transform: translateX(22px);
}

/* Form Rows, Groups & Controls */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 640px) {
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--tec-graphite);
  letter-spacing: 0.01em;
  display: block;
}

.form-control {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  font-family: var(--tec-font-primary);
  font-size: 14px;
  color: var(--tec-graphite);
  background: var(--tec-white);
  border: 1.5px solid #D5CEBF;
  border-radius: var(--tec-radius-md);
  transition: all 0.2s ease;
  outline: none;
  box-sizing: border-box;
}

.form-control:focus {
  border-color: var(--tec-gold);
  box-shadow: 0 0 0 3px rgba(201, 160, 74, 0.18);
  background: #FFFFFF;
}

.form-control::placeholder {
  color: #9CA3AF;
  font-size: 13.5px;
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2311181C' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}

textarea.form-control {
  height: auto;
  min-height: 108px;
  padding: 14px 16px;
  line-height: 1.5;
  resize: vertical;
}

/* File Upload Dropzone */
.tec-dropzone {
  border: 2px dashed #D5CEBF;
  border-radius: var(--tec-radius-md);
  background: #FAF8F2;
  padding: 26px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.tec-dropzone svg {
  stroke: var(--tec-gold);
  margin-bottom: 4px;
}

.tec-dropzone:hover {
  border-color: var(--tec-gold);
  background: rgba(201, 160, 74, 0.06);
}

/* --- 2. FREQUENTLY ASKED QUESTIONS (ACCORDION & SPLIT GRID) --- */
.tec-faq-dual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 1040px) {
  .tec-faq-dual-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 36px;
  }
}

/* Left Column: Cost Savings Model & Fast-Track Highlight Card */
.tec-faq-value-card {
  background: linear-gradient(155deg, #172025 0%, #11181C 100%);
  border: 1px solid rgba(201, 160, 74, 0.35);
  border-radius: var(--tec-radius-xl);
  padding: 36px 32px;
  color: var(--tec-white);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 640px) {
  .tec-faq-value-card {
    padding: 24px 18px;
  }
}

.tec-faq-value-card::before {
  content: "";
  position: absolute;
  top: -70px;
  left: -70px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 160, 74, 0.18) 0%, rgba(201, 160, 74, 0) 70%);
  pointer-events: none;
}

.faq-roi-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--tec-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--tec-gold-light);
  background: rgba(201, 160, 74, 0.12);
  border: 1px solid rgba(201, 160, 74, 0.35);
  padding: 4px 10px;
  border-radius: var(--tec-radius-full);
}

.faq-value-title {
  font-size: 1.5rem;
  font-weight: 850;
  color: #FFFFFF;
  line-height: 1.25;
  margin: 0;
}

.faq-value-desc {
  font-size: 13px;
  color: var(--tec-text-inverse-muted);
  line-height: 1.6;
  margin: 0;
}

/* Cost Comparison Box: The Math of Capital Protection */
.faq-cost-comparison-box {
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--tec-radius-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comparison-header {
  font-family: var(--tec-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.comparison-header.risk {
  color: #F87171;
}

.comparison-header.saving {
  color: #34D399;
}

.comparison-points {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.comparison-point {
  font-size: 11.5px;
  line-height: 1.45;
  color: #CBD5E1;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.comparison-point span.icon-cross {
  color: #EF4444;
  font-weight: bold;
  flex-shrink: 0;
}

.comparison-point span.icon-check {
  color: #10B981;
  font-weight: bold;
  flex-shrink: 0;
}

.comparison-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

/* Fast-Track Same-Day Delivery Callout Card */
.faq-fast-track-card {
  background: linear-gradient(135deg, rgba(201, 160, 74, 0.16) 0%, rgba(201, 160, 74, 0.05) 100%);
  border: 1px solid rgba(201, 160, 74, 0.45);
  border-radius: var(--tec-radius-md);
  padding: 16px 18px;
  position: relative;
}

.fast-track-badge {
  font-family: var(--tec-font-mono);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #11181C;
  background: #E6CC8A;
  padding: 3px 8px;
  border-radius: var(--tec-radius-xs);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.fast-track-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 6px;
}

.fast-track-desc {
  font-size: 11.5px;
  color: #CBD5E1;
  line-height: 1.5;
  margin: 0 0 8px;
}

.fast-track-bullets {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: var(--tec-gold-light);
}

/* ROI Stats Metric Strip */
.faq-roi-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: #0E1519;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--tec-radius-md);
  padding: 12px 16px;
}

.roi-metric-item h6 {
  font-family: var(--tec-font-mono);
  font-size: 9.5px;
  color: #94A3B8;
  margin: 0 0 2px;
  text-transform: uppercase;
}

.roi-metric-item .roi-num {
  font-size: 1.25rem;
  font-weight: 850;
  color: var(--tec-gold-light);
  line-height: 1.2;
}

.roi-metric-item .roi-sub {
  font-size: 10px;
  color: #64748B;
}

.faq-cta-btn {
  background: var(--tec-gold);
  color: var(--tec-graphite);
  font-size: 12.5px;
  font-weight: 750;
  padding: 11px 18px;
  border-radius: var(--tec-radius-full);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--tec-transition-fast);
  box-shadow: 0 4px 14px rgba(201, 160, 74, 0.25);
  margin-top: 4px;
}

.faq-cta-btn:hover {
  background: var(--tec-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(201, 160, 74, 0.4);
}

/* Accordion Styling (Right Column) */
.tec-accordion-item {
  background: var(--tec-white);
  border: 1px solid var(--tec-border);
  border-radius: var(--tec-radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.tec-accordion-item:hover {
  border-color: rgba(201, 160, 74, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.tec-accordion-item.active {
  border-color: var(--tec-gold);
  box-shadow: 0 6px 18px rgba(201, 160, 74, 0.12);
}

.tec-accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--tec-white);
  border: none;
  font-family: var(--tec-font-primary);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--tec-graphite);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tec-accordion-btn svg {
  flex-shrink: 0;
  stroke: var(--tec-gold);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tec-accordion-item.active .tec-accordion-btn svg {
  transform: rotate(180deg);
}

.tec-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 20px;
}

.tec-accordion-content p {
  font-size: 13.5px;
  color: var(--tec-text-secondary);
  line-height: 1.6;
  margin: 0 0 16px;
}

/* Why Trust TEC Card (Right Column under Accordion) */
.tec-why-trust-card {
  background: var(--tec-white);
  border: 1px solid rgba(201, 160, 74, 0.4);
  border-left: 4px solid var(--tec-gold);
  border-radius: var(--tec-radius-md);
  padding: 22px 24px;
  margin-top: 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.why-trust-header {
  margin-bottom: 14px;
}

.why-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--tec-font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--tec-gold);
  background: rgba(201, 160, 74, 0.1);
  border: 1px solid rgba(201, 160, 74, 0.28);
  padding: 3px 9px;
  border-radius: var(--tec-radius-full);
  margin-bottom: 8px;
}

.why-trust-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--tec-graphite);
  margin: 0 0 4px;
  line-height: 1.35;
}

.why-trust-subtitle {
  font-size: 12px;
  color: var(--tec-graphite-muted);
  line-height: 1.5;
  margin: 0;
}

.why-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 18px;
  margin-top: 14px;
}

@media (max-width: 640px) {
  .why-trust-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

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

.why-trust-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(201, 160, 74, 0.12);
  color: var(--tec-gold);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  border: 1px solid rgba(201, 160, 74, 0.3);
}

.why-trust-content h5 {
  font-size: 12.5px;
  font-weight: 750;
  color: var(--tec-graphite);
  margin: 0 0 2px;
  line-height: 1.3;
}

.why-trust-content p {
  font-size: 11px;
  color: var(--tec-graphite-muted);
  line-height: 1.45;
  margin: 0;
}

.why-trust-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(201, 160, 74, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.why-trust-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.trust-badge-pill {
  font-family: var(--tec-font-mono);
  font-size: 9.5px;
  font-weight: 600;
  color: var(--tec-graphite);
  background: var(--tec-cream-light);
  border: 1px solid var(--tec-border);
  padding: 3px 8px;
  border-radius: 4px;
}

.why-trust-link {
  font-family: var(--tec-font-primary);
  font-size: 11.5px;
  font-weight: 750;
  color: var(--tec-gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all var(--tec-transition-fast);
}

.why-trust-link:hover {
  color: var(--tec-gold-light);
  transform: translateX(3px);
}

/* --- 3. BOTTOM CTA BANNER & ARROW BUTTONS --- */
.ref-bottom-cta-banner {
  background: linear-gradient(135deg, #FBF8F1 0%, #FAF5E8 100%);
  border: 1px solid rgba(201, 160, 74, 0.35);
  border-radius: var(--tec-radius-xl);
  padding: 24px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 20px auto 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

@media (max-width: 640px) {
  .ref-bottom-cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
}

.tec-btn-arrow-gold {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tec-gold);
  color: var(--tec-graphite);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--tec-transition-fast);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.tec-btn-arrow-gold:hover {
  background: var(--tec-gold-light);
  transform: translateX(3px) scale(1.05);
}

/* --- 4. GLOBAL FOOTER --- */
.tec-footer {
  background: #11181C;
  color: var(--tec-white);
  padding: 80px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tec-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 1024px) {
  .tec-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .tec-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.tec-footer-logo-badge {
  background: #FAF8F2;
  padding: 10px 16px;
  border-radius: var(--tec-radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid rgba(201, 160, 74, 0.3);
}

.tec-footer-logo-badge img {
  height: 48px;
  width: auto;
  display: block;
}

.tec-footer-tagline {
  font-size: 13px;
  color: var(--tec-text-inverse-muted);
  line-height: 1.65;
  margin-bottom: 18px;
  max-width: 320px;
}

.tec-footer-col h4 {
  font-family: var(--tec-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tec-gold-light);
  margin: 0 0 20px;
}

.tec-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.tec-footer-links li a {
  color: var(--tec-text-inverse-muted);
  font-size: 13.5px;
  text-decoration: none;
  transition: all var(--tec-transition-fast);
  display: inline-block;
}

.tec-footer-links li a:hover {
  color: var(--tec-gold-light);
  transform: translateX(4px);
}

.tec-footer-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--tec-text-inverse-muted);
}

.tec-footer-bottom a {
  color: var(--tec-text-inverse-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.tec-footer-bottom a:hover {
  color: var(--tec-gold-light);
}

/* ==========================================================================
   SAMPLE & MODEL DELIVERABLES VAULT (samples.html)
   ========================================================================== */
.tec-samples-hero {
  background: var(--tec-graphite);
  color: var(--tec-white);
  padding: 64px 0 54px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tec-samples-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.tec-samples-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (min-width: 992px) {
  .tec-samples-hero-grid {
    grid-template-columns: 1.25fr 0.95fr;
    gap: 48px;
  }
}

.tec-samples-hero-content h1 {
  font-size: 2.3rem;
  font-weight: 850;
  line-height: 1.15;
  color: var(--tec-white);
  letter-spacing: -0.02em;
  margin: 12px 0 16px;
}

@media (min-width: 768px) {
  .tec-samples-hero-content h1 {
    font-size: 3.1rem;
  }
}

.tec-samples-hero-content p {
  font-size: 1.05rem;
  color: var(--tec-text-inverse-muted);
  line-height: 1.65;
  max-width: 620px;
  margin-bottom: 24px;
}

/* QR Code Client Sharing Deck */
.tec-qr-share-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(201, 160, 74, 0.35);
  border-radius: var(--tec-radius-lg);
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  position: relative;
  transition: transform var(--tec-transition-normal), border-color var(--tec-transition-normal);
}

.tec-qr-share-card:hover {
  border-color: var(--tec-gold);
  transform: translateY(-2px);
}

.tec-qr-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tec-qr-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201, 160, 74, 0.15);
  color: var(--tec-gold-light);
  border: 1px solid rgba(201, 160, 74, 0.4);
  padding: 4px 10px;
  border-radius: var(--tec-radius-full);
  font-size: 11px;
  font-weight: 700;
  font-family: var(--tec-font-mono);
  letter-spacing: 0.06em;
}

.tec-qr-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

@media (min-width: 480px) {
  .tec-qr-layout {
    flex-direction: row;
    align-items: stretch;
  }
}

.tec-qr-code-frame {
  background: #ffffff;
  padding: 12px;
  border-radius: var(--tec-radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.tec-qr-code-frame img {
  width: 140px;
  height: 140px;
  display: block;
}

.tec-qr-scan-hint {
  font-size: 10px;
  font-weight: 700;
  color: var(--tec-graphite);
  font-family: var(--tec-font-mono);
  letter-spacing: 0.04em;
  margin-top: 6px;
  text-transform: uppercase;
}

.tec-qr-actions-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  flex-grow: 1;
}

.tec-qr-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--tec-radius-sm);
  transition: all var(--tec-transition-fast);
  cursor: pointer;
  text-align: center;
}

.tec-qr-copy-btn {
  background: var(--tec-gold);
  color: var(--tec-graphite);
  font-weight: 700;
  border: none;
}

.tec-qr-copy-btn:hover {
  background: #ba913c;
  color: var(--tec-white);
  transform: translateY(-1px);
}

.tec-qr-whatsapp-btn {
  background: #25D366;
  color: #ffffff;
  font-weight: 700;
}

.tec-qr-whatsapp-btn:hover {
  background: #1eb956;
  transform: translateY(-1px);
}

.tec-qr-link-preview {
  font-family: var(--tec-font-mono);
  font-size: 11px;
  color: var(--tec-text-inverse-muted);
  background: rgba(0, 0, 0, 0.3);
  padding: 6px 10px;
  border-radius: var(--tec-radius-sm);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  word-break: break-all;
}

/* Category Filter Navigation */
.tec-category-nav-bar {
  background: var(--tec-white);
  border-bottom: 1px solid var(--tec-border);
  position: sticky;
  top: 90px;
  z-index: 990;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.tec-category-nav-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  padding: 14px 0;
  scrollbar-width: thin;
}

.tec-category-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--tec-text-secondary);
  background: var(--tec-cream);
  border: 1px solid var(--tec-border);
  border-radius: var(--tec-radius-full);
  white-space: nowrap;
  transition: all var(--tec-transition-fast);
  cursor: pointer;
}

.tec-category-tab-btn:hover {
  color: var(--tec-graphite);
  background: var(--tec-white);
  border-color: var(--tec-graphite);
}

.tec-category-tab-btn.active {
  background: var(--tec-graphite);
  color: var(--tec-gold-light);
  border-color: var(--tec-graphite);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.tec-category-tab-btn .tab-count {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 6px;
  border-radius: var(--tec-radius-full);
  font-size: 11px;
  font-family: var(--tec-font-mono);
}

.tec-category-tab-btn.active .tab-count {
  background: var(--tec-gold);
  color: var(--tec-graphite);
  font-weight: 700;
}

/* Models Grid & Cards */
.tec-models-section {
  padding: 48px 0 80px;
}

.tec-category-block {
  margin-bottom: 64px;
}

.tec-category-heading-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--tec-border);
}

.tec-category-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--tec-graphite);
  margin-top: 4px;
}

.tec-category-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--tec-font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--tec-gold-dark);
  background: var(--tec-cream);
  padding: 6px 12px;
  border-radius: var(--tec-radius-sm);
  border: 1px solid var(--tec-border);
}

.tec-models-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 1100px) {
  .tec-models-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tec-model-card {
  background: var(--tec-white);
  border: 1px solid var(--tec-border);
  border-radius: var(--tec-radius-lg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all var(--tec-transition-normal);
}

.tec-model-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  border-color: rgba(201, 160, 74, 0.5);
}

.tec-model-header {
  padding: 20px 24px;
  background: #FCFCF9;
  border-bottom: 1px solid var(--tec-border);
}

.tec-model-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.tec-model-id-badge {
  font-family: var(--tec-font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--tec-gold-dark);
  letter-spacing: 0.06em;
}

.tec-model-format-pill {
  font-family: var(--tec-font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #10B981;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 2px 8px;
  border-radius: var(--tec-radius-full);
}

.tec-model-title {
  font-size: 1.2rem;
  font-weight: 750;
  color: var(--tec-graphite);
  line-height: 1.35;
  margin-bottom: 6px;
}

.tec-model-subtitle {
  font-size: 12.5px;
  color: var(--tec-text-secondary);
  line-height: 1.5;
}

.tec-model-body {
  padding: 20px 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.tec-model-specs-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  background: var(--tec-cream-light);
  border: 1px solid var(--tec-border-light);
  border-radius: var(--tec-radius-sm);
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 11.5px;
}

.tec-spec-item strong {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--tec-text-secondary);
  font-family: var(--tec-font-mono);
}

.tec-spec-item span {
  font-weight: 600;
  color: var(--tec-graphite);
}

/* Embedded Interactive Snippet Table */
.tec-table-preview-wrap {
  background: #FAFAF8;
  border: 1px solid var(--tec-border);
  border-radius: var(--tec-radius-sm);
  overflow-x: auto;
  margin-bottom: 18px;
}

.tec-preview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
}

.tec-preview-table th {
  background: #EFECE3;
  color: var(--tec-graphite);
  font-weight: 700;
  text-align: left;
  padding: 6px 10px;
  font-family: var(--tec-font-mono);
  font-size: 10px;
  border-bottom: 1px solid var(--tec-border);
  white-space: nowrap;
}

.tec-preview-table td {
  padding: 6px 10px;
  border-bottom: 1px solid #ECEAE2;
  color: var(--tec-graphite);
  font-family: var(--tec-font-primary);
  white-space: nowrap;
}

.tec-preview-table tr:last-child td {
  border-bottom: none;
}

.tec-preview-table tr:hover td {
  background: #F4F1E8;
}

.tec-preview-table td.num {
  text-align: right;
  font-family: var(--tec-font-mono);
  font-weight: 600;
}

.tec-preview-table td.rate {
  color: var(--tec-gold-dark);
}

.tec-model-highlights-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tec-model-highlights-list li {
  font-size: 12px;
  color: var(--tec-text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.45;
}

.tec-model-highlights-list li::before {
  content: "✓";
  color: #10B981;
  font-weight: 700;
  flex-shrink: 0;
}

.tec-model-footer-actions {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--tec-border-light);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tec-model-btn-row {
  display: flex;
  gap: 8px;
}

.tec-btn-inspect {
  flex: 1;
  background: var(--tec-graphite);
  color: var(--tec-white);
  padding: 9px 12px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: var(--tec-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--tec-transition-fast);
}

.tec-btn-inspect:hover {
  background: #000;
  color: var(--tec-gold-light);
}

.tec-btn-download-sample {
  flex: 1;
  background: var(--tec-cream);
  color: var(--tec-graphite);
  border: 1px solid var(--tec-border);
  padding: 9px 12px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: var(--tec-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--tec-transition-fast);
}

.tec-btn-download-sample:hover {
  background: var(--tec-white);
  border-color: var(--tec-graphite);
}

.tec-btn-whatsapp-sample {
  background: #25D366;
  color: #fff;
  padding: 9px 14px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: var(--tec-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--tec-transition-fast);
  width: 100%;
}

.tec-btn-whatsapp-sample:hover {
  background: #1eb956;
}

/* Interactive Sheet Modal */
.tec-sheet-modal-window {
  max-width: 960px;
  width: 95%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
}

.tec-sheet-modal-body {
  padding: 24px;
  overflow-y: auto;
}

.tec-sheet-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--tec-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FCFCF9;
}

.tec-sheet-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--tec-graphite);
}

.tec-sheet-table-full {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  margin-top: 14px;
}

.tec-sheet-table-full th {
  background: var(--tec-graphite);
  color: var(--tec-white);
  padding: 10px 12px;
  text-align: left;
  font-family: var(--tec-font-mono);
  font-size: 11px;
}

.tec-sheet-table-full td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--tec-border);
  color: var(--tec-graphite);
}

.tec-sheet-table-full tr:nth-child(even) td {
  background: #FAF8F2;
}

.tec-sheet-table-full tr.total-row td {
  background: #EFECE3;
  font-weight: 700;
  border-top: 2px solid var(--tec-graphite);
}

.tec-toast-notification {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--tec-graphite);
  color: var(--tec-gold-light);
  border: 1px solid var(--tec-gold);
  padding: 12px 24px;
  border-radius: var(--tec-radius-full);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  z-index: 10000;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

/* ==========================================================================
   SERVICES & ITEMS ANIMATED INTERACTIVE SYSTEM
   ========================================================================== */

.tec-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 24px;
}

/* Service Card (Services Hub) */
.tec-service-card {
  position: relative;
  background: var(--tec-white);
  border: 1px solid rgba(201, 160, 74, 0.22);
  border-radius: var(--tec-radius-lg);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.tec-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tec-gold-dark), var(--tec-gold), var(--tec-gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: var(--tec-radius-lg) var(--tec-radius-lg) 0 0;
}

.tec-service-card:hover {
  transform: translateY(-8px);
  border-color: var(--tec-gold);
  box-shadow: 0 20px 38px -12px rgba(201, 160, 74, 0.22), 0 0 0 1px rgba(201, 160, 74, 0.3);
}

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

.tec-service-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--tec-radius-md);
  background: rgba(201, 160, 74, 0.12);
  border: 1px solid rgba(201, 160, 74, 0.28);
  color: var(--tec-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.tec-service-card:hover .tec-service-icon-wrap {
  background: linear-gradient(135deg, var(--tec-gold-dark), var(--tec-gold));
  color: #1a1a1a;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(201, 160, 74, 0.35);
}

.tec-service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--tec-graphite);
  margin-bottom: 12px;
  line-height: 1.35;
  transition: color var(--tec-transition-fast);
}

.tec-service-card:hover .tec-service-title {
  color: var(--tec-gold-dark);
}

.tec-service-desc {
  font-size: 14px;
  color: var(--tec-text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.tec-service-tag-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.tec-service-tag {
  font-size: 11px;
  font-weight: 600;
  font-family: var(--tec-font-mono);
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--tec-cream);
  color: var(--tec-graphite);
  border: 1px solid rgba(201, 160, 74, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tec-service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--tec-gold-dark);
  text-decoration: none;
  transition: all var(--tec-transition-fast);
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--tec-border);
}

.tec-service-link svg {
  transition: transform var(--tec-transition-fast);
}

.tec-service-card:hover .tec-service-link {
  color: var(--tec-graphite);
}

.tec-service-card:hover .tec-service-link svg {
  transform: translateX(6px);
}

/* --- DETAILED SERVICE ITEM CARDS (For Each Service Page) --- */
.tec-service-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
  margin: 32px 0;
}

.tec-service-item-card {
  position: relative;
  background: var(--tec-white);
  border: 1px solid rgba(201, 160, 74, 0.22);
  border-radius: var(--tec-radius-lg);
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tec-service-item-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tec-gold-dark), var(--tec-gold), var(--tec-gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: var(--tec-radius-lg) var(--tec-radius-lg) 0 0;
}

.tec-service-item-card:hover {
  transform: translateY(-8px);
  border-color: var(--tec-gold);
  box-shadow: 0 20px 36px -12px rgba(201, 160, 74, 0.24), 0 0 0 1px rgba(201, 160, 74, 0.35);
}

.tec-service-item-card:hover::before {
  transform: scaleX(1);
}

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

.tec-service-item-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--tec-radius-md);
  background: rgba(201, 160, 74, 0.12);
  border: 1px solid rgba(201, 160, 74, 0.3);
  color: var(--tec-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
  flex-shrink: 0;
}

.tec-service-item-card:hover .tec-service-item-icon {
  background: var(--tec-gold);
  color: #1a1a1a;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 16px rgba(201, 160, 74, 0.35);
}

.tec-item-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--tec-font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--tec-gold-dark);
  background: rgba(201, 160, 74, 0.08);
  border: 1px solid rgba(201, 160, 74, 0.25);
  padding: 4px 10px;
  border-radius: var(--tec-radius-full);
}

.tec-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: tecPulseDot 2s infinite;
  display: inline-block;
}

@keyframes tecPulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.tec-item-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--tec-graphite);
  margin-bottom: 8px;
  line-height: 1.35;
  transition: color var(--tec-transition-fast);
}

.tec-service-item-card:hover .tec-item-title {
  color: var(--tec-gold-dark);
}

.tec-item-desc {
  font-size: 13.5px;
  color: var(--tec-text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
}

.tec-item-specs {
  background: var(--tec-cream-light);
  border: 1px solid rgba(201, 160, 74, 0.15);
  border-radius: var(--tec-radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12.5px;
}

.tec-item-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tec-item-spec-row .spec-label {
  color: var(--tec-text-secondary);
  font-weight: 500;
}

.tec-item-spec-row .spec-val {
  font-weight: 700;
  color: var(--tec-graphite);
  font-family: var(--tec-font-mono);
  font-size: 11.5px;
}

/* Expandable Detail Drawer */
.tec-item-toggle-btn {
  background: transparent;
  border: 1px dashed rgba(201, 160, 74, 0.4);
  border-radius: var(--tec-radius-sm);
  color: var(--tec-gold-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  transition: all var(--tec-transition-fast);
}

.tec-item-toggle-btn:hover {
  background: rgba(201, 160, 74, 0.08);
  border-color: var(--tec-gold);
}

.tec-item-toggle-btn svg {
  transition: transform var(--tec-transition-fast);
}

.tec-item-toggle-btn.active svg {
  transform: rotate(180deg);
}

.tec-item-detail-drawer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 0;
}

.tec-item-detail-drawer.open {
  max-height: 300px;
  opacity: 1;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--tec-border);
}

.tec-item-deliverables-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--tec-text-secondary);
}

.tec-item-deliverables-list li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.5;
}

.tec-item-deliverables-list li::before {
  content: "✓";
  color: var(--tec-gold-dark);
  font-weight: bold;
  flex-shrink: 0;
}

.tec-formula-badge {
  background: #1e1e1e;
  color: #fbbf24;
  font-family: var(--tec-font-mono);
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 4px;
  display: block;
  overflow-x: auto;
  white-space: nowrap;
  border-left: 3px solid var(--tec-gold);
}

/* ==========================================================================
   CONTACT PAGE ENHANCEMENTS & RESPONSIVE GRID
   ========================================================================== */
.tec-contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 1024px) {
  .tec-contact-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 44px;
    align-items: start;
  }
}

.tec-contact-left-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Contact Channel Card */
.tec-contact-card {
  background: var(--tec-white);
  border: 1px solid var(--tec-border);
  border-radius: var(--tec-radius-lg);
  padding: 30px;
  box-shadow: var(--tec-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.tec-contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--tec-gold), var(--tec-gold-light));
  opacity: 0.85;
}

.tec-contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--tec-shadow-md);
  border-color: rgba(201, 160, 74, 0.4);
}

.tec-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--tec-radius-md);
  background: var(--tec-offwhite);
  border: 1px solid var(--tec-border);
  transition: all 0.22s ease;
  text-decoration: none;
  color: inherit;
  margin-bottom: 14px;
}

.tec-contact-item:last-child {
  margin-bottom: 0;
}

.tec-contact-item:hover {
  background: #ffffff;
  border-color: var(--tec-gold);
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(201, 160, 74, 0.12);
}

.tec-contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--tec-graphite);
  color: var(--tec-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.tec-contact-item:hover .tec-contact-item-icon {
  transform: scale(1.08) rotate(3deg);
  background: #0d1214;
}

.tec-contact-item-content {
  flex: 1;
  min-width: 0;
}

.tec-contact-item-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--tec-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--tec-gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.tec-contact-item-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--tec-graphite);
  margin-bottom: 3px;
}

.tec-contact-item-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--tec-gold-dark);
  word-break: break-all;
}

.tec-contact-item-desc {
  font-size: 11.5px;
  color: var(--tec-text-secondary);
  margin-top: 3px;
  line-height: 1.4;
}

/* NDA Guarantee Card in Left Column */
.tec-contact-nda-banner {
  background: linear-gradient(145deg, #172025 0%, #101619 100%);
  border: 1px solid rgba(201, 160, 74, 0.35);
  border-radius: var(--tec-radius-lg);
  padding: 24px;
  color: var(--tec-white);
  box-shadow: var(--tec-shadow-md);
  position: relative;
  overflow: hidden;
}

.tec-contact-nda-banner::after {
  content: "";
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 160, 74, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

/* Onboarding Process Steps Card */
.tec-onboarding-card {
  background: var(--tec-white);
  border: 1px solid var(--tec-border);
  border-radius: var(--tec-radius-lg);
  padding: 26px;
  box-shadow: var(--tec-shadow-sm);
}

.tec-step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  padding-bottom: 18px;
}

.tec-step-item:last-child {
  padding-bottom: 0;
}

.tec-step-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: 0;
  width: 2px;
  background: var(--tec-border);
}

.tec-step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--tec-offwhite);
  border: 2px solid var(--tec-gold);
  color: var(--tec-graphite);
  font-family: var(--tec-font-mono);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}

.tec-step-content h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--tec-graphite);
  margin-bottom: 2px;
}

.tec-step-content p {
  font-size: 12px;
  color: var(--tec-text-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   LOCATIONS & REGIONAL HUBS SYSTEM (BANGALORE, TAMIL NADU, PAN INDIA)
   ========================================================================== */
.tec-locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

@media (max-width: 640px) {
  .tec-locations-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.tec-location-card {
  background: var(--tec-white);
  border: 1px solid var(--tec-border);
  border-radius: var(--tec-radius-lg);
  padding: 30px;
  box-shadow: var(--tec-shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.tec-location-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--tec-gold), var(--tec-gold-light));
  opacity: 0.85;
}

.tec-location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(18, 24, 27, 0.08);
  border-color: rgba(201, 160, 74, 0.45);
}

.tec-location-card.featured {
  border-color: var(--tec-gold);
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFAF8 100%);
}

.tec-location-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.tec-location-title {
  font-size: var(--tec-text-lg);
  font-weight: 800;
  color: var(--tec-graphite);
  margin-bottom: 6px;
}

.tec-location-subtitle {
  font-size: 13px;
  color: var(--tec-gold-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}

.tec-location-desc {
  font-size: 13.5px;
  color: var(--tec-text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.tec-district-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.tec-district-pill {
  font-size: 11px;
  font-weight: 600;
  color: var(--tec-graphite);
  background: var(--tec-offwhite);
  border: 1px solid var(--tec-border);
  padding: 4px 10px;
  border-radius: 999px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.tec-district-pill:hover {
  border-color: var(--tec-gold);
  color: var(--tec-gold-dark);
  background: #ffffff;
}

.tec-district-pill.active {
  background: var(--tec-graphite);
  color: var(--tec-gold-light);
  border-color: var(--tec-graphite);
}

.tec-location-specs {
  background: var(--tec-offwhite);
  border: 1px solid var(--tec-border);
  border-radius: var(--tec-radius-md);
  padding: 14px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tec-location-spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  line-height: 1.45;
  border-bottom: 1px dashed rgba(18, 24, 27, 0.08);
  padding-bottom: 6px;
}

.tec-location-spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tec-location-spec-label {
  color: var(--tec-text-muted);
  font-weight: 600;
  font-size: 11.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.tec-location-spec-val {
  color: var(--tec-graphite);
  font-weight: 700;
  font-family: var(--tec-font-sans);
  text-align: right;
  word-break: normal;
}

.tec-location-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--tec-gold-dark);
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.tec-location-link:hover {
  color: var(--tec-graphite);
  transform: translateX(4px);
}

/* ==========================================================================
   CASE STUDIES CARDS & MULTI-IMAGE POPUP MODAL SYSTEM
   ========================================================================== */
.tec-case-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 32px;
}

@media (max-width: 640px) {
  .tec-case-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.tec-case-card {
  background: var(--tec-white);
  border: 1px solid var(--tec-border);
  border-radius: var(--tec-radius-lg);
  overflow: hidden;
  box-shadow: var(--tec-shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.tec-case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(18, 24, 27, 0.1);
  border-color: rgba(201, 160, 74, 0.5);
}

.tec-case-card-thumb-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #101619;
}

.tec-case-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}

.tec-case-card:hover .tec-case-card-thumb {
  transform: scale(1.06);
}

.tec-case-card-badge-top {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(18, 24, 27, 0.85);
  color: var(--tec-gold-light);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  letter-spacing: 0.03em;
}

.tec-case-card-impact-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: #064E3B;
  color: #A7F3D0;
  border: 1px solid rgba(167, 243, 208, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tec-case-card-gallery-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.72);
  color: #FFFFFF;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  gap: 5px;
}

.tec-case-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.tec-case-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-family: var(--tec-font-mono);
  color: var(--tec-gold-dark);
  font-weight: 700;
  margin-bottom: 8px;
}

.tec-case-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--tec-graphite);
  line-height: 1.35;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.tec-case-card:hover .tec-case-card-title {
  color: var(--tec-gold-dark);
}

.tec-case-card-desc {
  font-size: 13px;
  color: var(--tec-text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tec-case-card-specs-mini {
  background: var(--tec-offwhite);
  border: 1px solid var(--tec-border);
  border-radius: var(--tec-radius-sm);
  padding: 10px 12px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 11.5px;
}

.tec-case-card-spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tec-case-card-spec-lbl {
  color: var(--tec-text-muted);
}

.tec-case-card-spec-v {
  font-weight: 700;
  color: var(--tec-graphite);
}

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

.tec-case-card-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--tec-gold-dark);
}

.tec-case-card:hover .tec-case-card-cta-btn {
  color: var(--tec-graphite);
}

/* CASE STUDY POPUP MODAL */
.tec-case-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 20, 24, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.tec-case-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.tec-case-modal-box {
  background: var(--tec-white);
  border-radius: var(--tec-radius-lg);
  border: 1px solid rgba(201, 160, 74, 0.4);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-width: 1040px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.tec-case-modal-backdrop.active .tec-case-modal-box {
  transform: translateY(0) scale(1);
}

.tec-case-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--tec-offwhite);
  border: 1px solid var(--tec-border);
  color: var(--tec-graphite);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.tec-case-modal-close:hover {
  background: var(--tec-graphite);
  color: var(--tec-gold-light);
  transform: rotate(90deg);
}

.tec-case-modal-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  padding: 36px;
}

@media (max-width: 860px) {
  .tec-case-modal-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }
}

/* Gallery Section inside Modal */
.tec-modal-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tec-modal-stage-wrap {
  position: relative;
  width: 100%;
  height: 340px;
  background: #0D1214;
  border-radius: var(--tec-radius-md);
  overflow: hidden;
  border: 1px solid var(--tec-border);
}

@media (max-width: 640px) {
  .tec-modal-stage-wrap {
    height: 240px;
  }
}

.tec-modal-stage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

.tec-modal-caption-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 14, 16, 0.88) 100%);
  padding: 16px 14px 10px;
  color: #FFFFFF;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.tec-modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(18, 24, 27, 0.7);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 3;
}

.tec-modal-nav-btn:hover {
  background: var(--tec-gold);
  color: var(--tec-graphite);
}

.tec-modal-nav-prev {
  left: 10px;
}

.tec-modal-nav-next {
  right: 10px;
}

.tec-modal-thumbs-row {
  display: flex;
  gap: 10px;
}

.tec-modal-thumb-btn {
  flex: 1;
  height: 72px;
  border-radius: var(--tec-radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: #1A2328;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0.65;
}

.tec-modal-thumb-btn:hover {
  opacity: 0.9;
  border-color: rgba(201, 160, 74, 0.5);
}

.tec-modal-thumb-btn.active {
  opacity: 1;
  border-color: var(--tec-gold);
  box-shadow: 0 0 8px rgba(201, 160, 74, 0.4);
}

.tec-modal-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Modal Content Details */
.tec-modal-details {
  display: flex;
  flex-direction: column;
}

.tec-modal-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--tec-font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--tec-gold-dark);
  margin-bottom: 8px;
}

.tec-modal-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--tec-graphite);
  line-height: 1.3;
  margin-bottom: 14px;
}

.tec-modal-metric-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tec-modal-chip {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.tec-modal-chip.gain {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.tec-modal-chip.loc {
  background: var(--tec-offwhite);
  color: var(--tec-graphite);
  border: 1px solid var(--tec-border);
}

.tec-modal-chip.code {
  background: #EFF6FF;
  color: #1E40AF;
  border: 1px solid #BFDBFE;
}

.tec-modal-section-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--tec-graphite);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 14px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tec-modal-body-text {
  font-size: 13px;
  color: var(--tec-text-secondary);
  line-height: 1.65;
  margin-bottom: 12px;
}

.tec-modal-list {
  font-size: 12.5px;
  color: var(--tec-text-secondary);
  line-height: 1.6;
  padding-left: 18px;
  margin-bottom: 14px;
}

.tec-modal-result-box {
  background: var(--tec-cream-light);
  border-left: 3px solid var(--tec-gold);
  padding: 12px 14px;
  border-radius: 0 var(--tec-radius-sm) var(--tec-radius-sm) 0;
  font-size: 12.5px;
  color: var(--tec-graphite);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 22px;
}

.tec-modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--tec-border);
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

