/* ============================================================
   Datco Manufacturing — style.css
   Single-page, mobile-first responsive design
   Theme: Industrial Professional Site Style
   Colors: Technical Blue, Metallic Gray, Solid Slate Black
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Sora:wght@500;600;700;800&family=JetBrains+Mono:wght@400;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --color-primary: #0F4C81;           /* Solid Industrial Safety Blue */
  --color-primary-dk: #072C54;        /* Dark Navy Industrial */
  --color-accent: #2563EB;            /* Precision Tech Electric Blue */
  --color-accent-dk: #1D4ED8;         /* Deep Accent Blue */
  --color-dark: #0F172A;              /* Slate 900 / Deep Charcoal */
  --color-black: #090D16;             /* Tech Black */
  --color-mid: #475569;               /* Slate 600 / Industrial Gray */
  --color-gray-dark: #334155;         /* Slate 700 */
  --color-gray-mid: #64748b;          /* Slate 500 */
  --color-gray-light: #cbd5e1;        /* Slate 300 */
  --color-light-bg: #F1F5F9;          /* Slate 100 / Light Gray */
  --color-white: #ffffff;
  --color-border: #E2E8F0;            /* Slate 200 / Layout Border */

  /* Silver and Blue theme colors */
  --color-silver-light: #f8fafc;
  --color-silver-metallic: #cbd5e1;
  --color-silver-gradient: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
  --shadow-blue: 0 10px 30px rgba(37, 99, 235, 0.08);

  --font-base: 'Inter', system-ui, -apple-system, sans-serif;
  --font-title: 'Sora', var(--font-base);
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .08), 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-md: 0 4px 20px rgba(15, 23, 42, .08), 0 2px 4px rgba(15, 23, 42, .04);
  --shadow-lg: 0 15px 35px rgba(9, 13, 22, .12);

  --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --max-width: 1200px;
  --section-pad: 100px 20px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-black);
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 5px;
  border: 2px solid var(--color-black);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-base);
  color: var(--color-dark);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,
h2,
h3,
h4 {
  font-family: var(--font-title);
  line-height: 1.15;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 600;
}

p {
  margin-bottom: 1.25rem;
  color: var(--color-mid);
}

p:last-child {
  margin-bottom: 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  background: rgba(37, 99, 235, 0.08);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.section-title {
  margin-bottom: 1.25rem;
  color: var(--color-dark);
  border-left: 4px solid var(--color-accent);
  padding-left: 1.25rem;
}

.text-center .section-title {
  border-left: none;
  padding-left: 0;
}

.section-subtitle {
  max-width: 650px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-mid);
  margin-bottom: 3.5rem;
}

.text-center {
  text-align: center;
}

.text-center .section-label {
  margin-left: auto;
  margin-right: auto;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-base);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: normal;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
  background: var(--color-accent-dk);
  border-color: var(--color-accent-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.05rem;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

.site-header.scrolled {
  /* background: rgba(255, 255, 255, 0.95); */
  box-shadow: 0 4px 20px rgba(15, 23, 42, .05);
  border-bottom-color: rgba(37, 99, 235, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 80px;
  padding: 0 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 100%;
  max-height: 100%;
}

.site-logo img {
  display: block;
  height: auto;
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.main-nav {
  display: none;
  gap: 0.5rem;
}

.main-nav a {
  position: relative;
  padding: 0.6rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-dark);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 70%;
}

.header-actions {
  display: none;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.header-phone {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
  position: relative;
  transition: color var(--transition);
}

.header-phone:hover {
  color: var(--color-accent);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--color-border);
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: border-color var(--transition);
}

.nav-toggle:hover {
  border-color: var(--color-accent);
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--color-accent);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--color-accent);
}

.mobile-nav {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem;
  gap: 0.5rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.4, 0, .2, 1);
  overflow-y: auto;
}

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

.mobile-nav a {
  padding: 1.25rem 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--color-accent);
  padding-left: 1.5rem;
}

.mobile-nav .btn {
  margin-top: 2rem;
  width: 100%;
  justify-content: center;
}

@media (min-width: 900px) {
  .header-inner {
    height: 95px;
  }

  .main-nav {
    display: flex;
  }

  .header-actions {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* ============================================================
   HERO — VERTICAL SPLIT
   ============================================================ */
.hero {
  display: flex;
  flex-direction: column;
  min-height: 35vh;
  overflow: hidden;
  padding: 0;
}

/* Left: technical dark panel */
.hero-panel {
  background: radial-gradient(circle at 10% 20%, rgba(15, 23, 42, 1) 0%, rgba(9, 13, 22, 1) 90%);
  display: flex;
  align-items: center;
  padding: 60px 20px 50px;
  flex: 1;
  position: relative;
}

/* Engineering blueprint grid overlay */
.hero-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-panel-inner {
  max-width: 580px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Right: Photo */
.hero-image {
  display: none; /* Hide on mobile/tablet */
  position: relative;
  min-height: 380px;
  overflow: hidden;
  flex-shrink: 0;
  border-left: 2px solid rgba(255, 255, 255, 0.05);
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 13, 22, 0.3) 0%, transparent 40%);
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  position: absolute;
  inset: 0;
}

/* High-tech status label badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.35);
  color: #60a5fa;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: 4px;
  margin-bottom: 1.75rem;
}

/* Blink status animation */
.hero-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #3B82F6;
  border-radius: 50%;
  box-shadow: 0 0 8px #3B82F6;
  animation: status-pulse 2s infinite;
}

@keyframes status-pulse {
  0% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 12px #3b82f6, 0 0 4px #3b82f6;
  }
  100% {
    opacity: 0.3;
  }
}

.hero h1 {
  color: var(--color-white);
  font-size: clamp(1.5rem, 3.5vw, 2rem); /* Responsive scaling */
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

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

.hero-sub {
  color: rgba(255, 255, 255, .7);
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

/* Desktop: 50/50 split */
@media (min-width: 900px) {
  .hero {
    flex-direction: row;
  }

  .hero-panel {
    flex: 0 0 50%;
    padding: 60px 8%;
    min-width: 0;
  }

  .hero-panel-inner {
    margin: 0 auto;
    max-width: 540px;
  }

  .hero-image {
    display: block; /* Show on desktop */
    flex: 0 0 50%;
    min-height: 35vh;
    min-width: 0;
  }
}


/* ============================================================
   SECTIONS
   ============================================================ */
section {
  padding: var(--section-pad);
}

.section-light {
  background-color: hsla(0,0%,90%,1);  
  background-image: linear-gradient(90deg, hsla(0,0%,0%,0), hsla(0,0%,0%,.03) );
  background-size: 6px;
  border-top: 1px solid var(--color-silver-metallic);
  border-bottom: 1px solid var(--color-silver-metallic);
}

.section-dark {
  background: radial-gradient(circle at 10% 20%, rgba(15, 23, 42, 1) 0%, rgba(9, 13, 22, 1) 90%);
  color: var(--color-white);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

/* Add blueprint grid background effect to dark sections */
.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 1;
}

.section-dark .container {
  position: relative;
  z-index: 2;
}

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

.section-dark p {
  color: rgba(255, 255, 255, 0.7);
}

.section-dark .section-label {
  color: var(--color-accent);
  border-color: rgba(37, 99, 235, 0.15);
  background: rgba(255, 255, 255, 0.02);
}

/* ============================================================
   CARD GRID (Services / Products)
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

/* Redesigned to look like clean, high-precision industrial metal panels */
.service-card {
  border: 1px solid hsla(0,0%,15%, 1); /* Real CSS border */
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  
  /* Machined metal surface reflection layers */
  background-color: hsl(0,0%,90%);
  background-image: 
    linear-gradient(115deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 30%, rgba(255,255,255,0) 45%, rgba(255,255,255,0.3) 70%, rgba(255,255,255,0) 100%),
    linear-gradient(90deg, rgba(255,255,255,0) 10%, rgba(255,255,255,0.25) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,0.2) 85%, rgba(255,255,255,0) 95%),
    repeating-linear-gradient(90deg, hsla(0,0%,0%,0) 0px, hsla(0,0%,0%,0) 2px, hsla(0,0%,0%,0.02) 3px),
    repeating-linear-gradient(90deg, hsla(0,0%,100%,0) 0px, hsla(0,0%,100%,0) 5px, hsla(0,0%,100%,0.05) 6px),
    linear-gradient(to bottom, hsl(0,0%,95%) 0%, hsl(0,0%,90%) 50%, hsl(0,0%,85%) 100%);
  
  box-shadow: 
    inset hsla(0,0%,15%, .4) 0 -1px 4px 1px, /* bottom soft shadow */
    inset hsla(0,0%,0%, .2) 0 -1px 0px 2px, /* bottom bezel */
    inset hsla(0,0%,100%,.7) 0 2px 1px 2px, /* top white highlight */
    var(--shadow-sm),
    hsla(0,0%, 0%,.15) 0 -1px 1px 1px,
    hsla(0,0%,100%,.8) 0 1px 1px 1px;
}

/* Technical angle cut on card corner */
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 14px 14px 0;
  border-color: transparent var(--color-accent) transparent transparent;
  opacity: 0.6;
  transition: opacity var(--transition);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  border-radius: var(--radius-md) var(--radius-md) 0 0; /* Match rounded corner */
  z-index: 10;
}

.service-card:hover {
  box-shadow: 
    inset hsla(0,0%,15%, .5) 0 -1px 5px 1px,
    inset hsla(0,0%,0%, .25) 0 -1px 0px 2px,
    inset hsla(0,0%,100%,.85) 0 2px 1px 2px,
    var(--shadow-lg), 
    var(--shadow-blue);
  transform: translateY(-4px);
}

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

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

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--color-dark);
}

.service-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--color-mid);
  margin-bottom: 0;
}

/* ============================================================
   SUB-SECTIONS & SEPARATORS
   ============================================================ */
.sub-section-header {
  margin-bottom: 2.25rem;
}
.sub-section-header h3 {
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
  color: var(--color-dark);
  font-weight: 700;
}
.sub-section-header p {
  font-size: 0.95rem;
  color: var(--color-mid);
  margin-bottom: 0;
}

.section-divider {
  border: none;
  height: 2px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 50%, rgba(255,255,255,0.8) 50%);
  margin: 4.5rem 0;
}

/* ============================================================
   CAPABILITIES GRID & CARDS
   ============================================================ */
.capabilities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

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

.capability-card {
  border: 1px solid hsla(0,0%,15%, 1); /* Real CSS border */
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  
  /* Machined metal surface reflection layers */
  background-color: hsl(0,0%,90%);
  background-image: 
    linear-gradient(115deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 30%, rgba(255,255,255,0) 45%, rgba(255,255,255,0.3) 70%, rgba(255,255,255,0) 100%),
    linear-gradient(90deg, rgba(255,255,255,0) 10%, rgba(255,255,255,0.25) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,0.2) 85%, rgba(255,255,255,0) 95%),
    repeating-linear-gradient(90deg, hsla(0,0%,0%,0) 0px, hsla(0,0%,0%,0) 2px, hsla(0,0%,0%,0.02) 3px),
    repeating-linear-gradient(90deg, hsla(0,0%,100%,0) 0px, hsla(0,0%,100%,0) 5px, hsla(0,0%,100%,0.05) 6px),
    linear-gradient(to bottom, hsl(0,0%,95%) 0%, hsl(0,0%,90%) 50%, hsl(0,0%,85%) 100%);
  
  box-shadow: 
    inset hsla(0,0%,15%, .4) 0 -1px 4px 1px, /* bottom soft shadow */
    inset hsla(0,0%,0%, .2) 0 -1px 0px 2px, /* bottom bezel */
    inset hsla(0,0%,100%,.7) 0 2px 1px 2px, /* top white highlight */
    var(--shadow-sm),
    hsla(0,0%, 0%,.15) 0 -1px 1px 1px,
    hsla(0,0%,100%,.8) 0 1px 1px 1px;
}

.capability-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-primary);
  z-index: 10;
  transition: background var(--transition);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0; /* Match rounded corner */
}

.capability-card:hover {
  transform: translateY(-6px);
  box-shadow: 
    inset hsla(0,0%,15%, .5) 0 -1px 5px 1px,
    inset hsla(0,0%,0%, .25) 0 -1px 0px 2px,
    inset hsla(0,0%,100%,.85) 0 2px 1px 2px,
    var(--shadow-lg), 
    var(--shadow-blue);
}

.capability-card:hover::before {
  background: var(--color-accent);
}

.cap-img-wrapper {
  aspect-ratio: 16/10;
  position: relative;
  background: var(--color-light-bg);
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.cap-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.capability-card:hover .cap-img-wrapper img {
  transform: scale(1.05);
}

.cap-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: radial-gradient(circle at center, #1e293b 0%, #090d16 100%);
  color: var(--color-accent);
}

.cap-content {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cap-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-dark);
}

.cap-content p {
  font-size: 0.92rem;
  color: var(--color-mid);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.cap-link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  transition: color var(--transition);
}

.capability-card:hover .cap-link {
  color: var(--color-accent-dk);
}

/* ============================================================
   CATEGORY DETAIL PAGES
   ============================================================ */
.category-hero {
  background: radial-gradient(circle at 10% 20%, rgba(15, 23, 42, 1) 0%, rgba(9, 13, 22, 1) 90%);
  padding: 80px 20px;
  position: relative;
  border-bottom: 3px solid var(--color-accent);
  color: var(--color-white);
}

.category-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.category-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  transition: color var(--transition);
}

.back-btn:hover {
  color: var(--color-accent);
}

.category-hero h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.category-hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  max-width: 700px;
}

.category-gallery {
  padding: 80px 0;
}

.category-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .category-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.category-gallery-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
  transition: all var(--transition);
}

.category-gallery-item:hover {
  transform: scale(1.02);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
}

.category-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   ABOUT — TWO COLUMN
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

/* Tech border styling on image container */
.two-col-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  border: 1px solid var(--color-border);
}

.two-col-img img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}

@media (min-width: 900px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   APPLICATION TAGS
   ============================================================ */
.app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.app-tag {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 0.4rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-gray-dark);
  transition: all var(--transition);
}

.app-tag:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}


/* ============================================================
   CONTACT
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 899px) {
  .contact-layout > div {
    max-width: 650px;
    width: 100%;
    min-width: 0;
    margin: 0 auto;
  }
}

.contact-phone-cta {
  width: 100%;
  box-sizing: border-box;
  background: radial-gradient(circle at top left, var(--color-primary) 0%, var(--color-primary-dk) 100%);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  margin-bottom: 2rem;
  border-bottom: 3px solid var(--color-accent);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.contact-phone-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 15px, rgba(255, 255, 255, 0.015) 15px, rgba(255, 255, 255, 0.015) 30px);
  pointer-events: none;
}

.contact-phone-cta p {
  color: rgba(255, 255, 255, .7);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.contact-phone-num {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-white);
  transition: all var(--transition);
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.contact-phone-num:hover {
  color: var(--color-accent);
  transform: scale(1.02);
}

.contact-detail-card {
  width: 100%;
  box-sizing: border-box;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.contact-detail-row {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition);
}

.contact-detail-row:last-child {
  border-bottom: none;
}

.contact-detail-row:hover {
  background: var(--color-light-bg);
}

.contact-detail-icon {
  width: 46px;
  height: 46px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.contact-detail-icon img {
  width: 22px;
  height: 22px;
}

.contact-detail-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.3rem;
}

.contact-detail-value {
  font-size: 1rem;
  color: var(--color-dark);
  font-weight: 600;
  line-height: 1.5;
}

.contact-detail-value a {
  color: var(--color-dark);
  transition: color var(--transition);
}

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

.map-embed {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--color-white);
  transition: border-color var(--transition);
}

.map-embed:hover {
  border-color: var(--color-light-bg);
}

.map-embed-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: inherit;
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr 1.1fr;
  }
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: radial-gradient(circle at top right, #1e3a8a 0%, #090d16 100%);
  border-top: 3px solid var(--color-accent);
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Technical stripes design */
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 15px, rgba(37, 99, 235, 0.03) 15px, rgba(37, 99, 235, 0.03) 30px);
  pointer-events: none;
}

.cta-banner .container {
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, .75);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-black);
  color: rgba(255, 255, 255, .8);
  padding: 80px 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-bottom: 4rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr;
  }
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-logo {
  background: var(--color-white);
  border-radius: var(--radius-sm);
  display: inline-block;
  padding: .2rem .2rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.footer-logo img {
  height: 52px;
  width: auto;
  display: block;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
  color: rgba(255, 255, 255, .7);
  max-width: 480px;
}

.footer-col h4 {
  color: var(--color-white);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, .7);
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 0.25rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, .75);
}

.footer-contact-item .contact-detail-icon {
  width: 32px;
  height: 32px;
  font-size: 0.95rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-contact-item .contact-detail-icon img {
  width: 14px;
  height: 14px;
  filter: invert(1);
}

.footer-contact-item a {
  color: rgba(255, 255, 255, .8);
  transition: color var(--transition);
  line-height: 1.4;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, .4);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger>* {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.stagger>*.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   REQUEST A QUOTE FORM LAYOUT (request-quote.html)
   ============================================================ */
.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  width: 100%;
}

@media (min-width: 900px) {
  .quote-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.quote-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-intro h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  color: var(--color-dark);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.quote-intro p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-mid);
  margin-bottom: 2rem;
}

.quote-intro strong {
  color: var(--color-accent);
  font-size: 1.25rem;
  display: block;
  margin-top: 1rem;
}

.quote-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.quote-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-accent);
}

.quote-card h2 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  color: var(--color-dark);
}

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

@media (min-width: 768px) {
  .quote-form .split-row {
    grid-template-columns: 1fr 1fr;
  }
}

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

.input-group label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gray-dark);
}

.input-group label .required {
  color: #ef4444;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-base);
  font-size: 0.95rem;
  color: var(--color-dark);
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  transition: all var(--transition);
}

.input-group input:focus,
.input-group textarea:focus {
  background: var(--color-white);
  border-color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.input-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

@media (min-width: 768px) {
  .form-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.submit-button {
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.submit-button:hover {
  background: var(--color-accent-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
}

.form-note {
  margin-top: 2rem;
  font-size: 0.82rem;
  color: var(--color-gray-mid);
  text-align: center;
  line-height: 1.5;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

@media (max-width: 480px) {
  :root {
    --section-pad: 70px 16px;
  }

  .hero-ctas {
    flex-direction: column;
  }

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

  .cta-btns {
    flex-direction: column;
    align-items: center;
  }

  .quote-card {
    padding: 2rem 1.25rem;
  }
}

/* ============================================================
   HOMEPAGE EMBEDDED QUOTE FORM SECTION
   ============================================================ */
.cta-section-form {
  background: linear-gradient(180deg, var(--color-silver-light) 0%, var(--color-light-bg) 100%);
  color: var(--color-dark);
  padding: var(--section-pad);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--color-silver-metallic);
  border-bottom: 1px solid var(--color-silver-metallic);
}

/* Add blueprint grid background effect */
.cta-section-form::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

.cta-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-form-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-form-text h2 {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  color: var(--color-dark);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.cta-form-text p {
  color: var(--color-mid);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Phone box styling */
.cta-phone-box {
  background: var(--color-white);
  border: 1px solid var(--color-silver-metallic);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.phone-label {
  font-size: 0.85rem;
  color: var(--color-gray-mid);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cta-phone-link {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--color-accent);
  transition: all var(--transition);
  text-decoration: none;
  font-family: var(--font-title);
}

.cta-phone-link:hover {
  color: var(--color-primary-dk);
  transform: translateX(4px);
}

.phone-hours {
  font-size: 0.82rem;
  color: var(--color-gray-mid);
}

/* Embedded Quote form card styling */
.cta-form-card {
  background: var(--color-white);
  border: 1px solid var(--color-silver-metallic);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg), var(--shadow-blue);
  position: relative;
}

.cta-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-accent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.cta-form-card h3 {
  color: var(--color-dark);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.cta-form-card .form-intro-desc {
  color: var(--color-gray-mid);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.cta-form-card .input-group label {
  color: var(--color-gray-dark);
}

.cta-form-card .input-group input,
.cta-form-card .input-group textarea {
  background: #f8fafc;
  border-color: var(--color-border);
  color: var(--color-dark);
}

.cta-form-card .input-group input:focus,
.cta-form-card .input-group textarea:focus {
  background: var(--color-white);
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

@media (min-width: 900px) {
  .cta-form-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
  }
}

@media (max-width: 600px) {
  .cta-form-card {
    padding: 2rem 1.25rem;
  }
}

@media (max-width: 400px) {
  .cta-form-card {
    padding: 1.5rem 1rem;
  }

  .cf-turnstile {
    transform: scale(0.85);
    transform-origin: left center;
    width: 255px;
    height: 65px;
    display: inline-block;
  }
}

@media print {
  .site-header,
  .site-footer,
  .cta-section-form,
  .hero,
  .floating-quote-tab {
    display: none !important;
  }

  body {
    color: #000;
  }
}

/* ============================================================
   GLOBAL BLUE/SILVER DECORATIVE ACCENTS
   ============================================================ */



/* Floating Quote tab on the right side */
.floating-quote-tab {
  position: fixed;
  right: 0;
  top: 55%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: right bottom;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
  color: var(--color-white) !important;
  padding: 0.8rem 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  box-shadow: -4px 0 15px rgba(37, 99, 235, 0.18);
  z-index: 1001;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
  text-decoration: none;
  display: block;
}

.floating-quote-tab:hover {
  background: linear-gradient(135deg, var(--color-accent-dk) 0%, var(--color-primary-dk) 100%);
  padding-bottom: 1.2rem; /* Pulls it out slightly from the side */
  color: var(--color-silver-light) !important;
  box-shadow: -6px 0 20px rgba(37, 99, 235, 0.25);
}

@media (max-width: 600px) {
  .floating-quote-tab {
    display: none !important; /* Hide on small mobile to avoid layout overlap */
  }
}

/* ============================================================
   INTRO LINES ANIMATED BACKDROP
   ============================================================ */
#introLines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.18;
  z-index: 1;
}

.intro-line {
  position: absolute;
  width: 1px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 20%, rgba(255,255,255,0.8) 80%, rgba(255,255,255,0) 100%);
  animation: lineAppear 3s ease-out forwards;
}

.intro-line.from-bottom {
  background: linear-gradient(to top, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 20%, rgba(255,255,255,0.8) 80%, rgba(255,255,255,0) 100%);
}

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

.intro-drop {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(0.5px);
}

.intro-drop::before {
  content: '';
  position: absolute;
  width: 2px;
  height: 12px;
  left: 50%;
  transform: translateX(-50%);
}

.intro-drop.drop-down::before {
  top: -12px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.9), rgba(255,255,255,0));
}

.intro-drop.drop-up::before {
  bottom: -12px;
  background: linear-gradient(to top, rgba(255,255,255,0.9), rgba(255,255,255,0));
}

.intro-drop.drop-down {
  animation: dropMoveDown var(--duration) linear infinite;
  animation-delay: var(--delay);
}

.intro-drop.drop-up {
  animation: dropMoveUp var(--duration) linear infinite;
  animation-delay: var(--delay);
}

@keyframes dropMoveDown {
  from { top: -20px; opacity: 0; }
  5% { opacity: 1; }
  95% { opacity: 1; }
  to { top: 100%; opacity: 0; }
}

@keyframes dropMoveUp {
  from { bottom: -20px; opacity: 0; }
  5% { opacity: 1; }
  95% { opacity: 1; }
  to { bottom: 100%; opacity: 0; }
}

.intro-line-horizontal {
  position: absolute;
  height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 20%, rgba(255,255,255,0.8) 80%, rgba(255,255,255,0) 100%);
  animation: lineAppear 3s ease-out forwards;
}

.intro-line-horizontal.from-right {
  background: linear-gradient(to left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 20%, rgba(255,255,255,0.8) 80%, rgba(255,255,255,0) 100%);
}

.intro-drop-horizontal {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  filter: blur(0.5px);
}

.intro-drop-horizontal::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 2px;
  top: 50%;
  transform: translateY(-50%);
}

.intro-drop-horizontal.drop-right::before {
  left: -12px;
  background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.9));
}

.intro-drop-horizontal.drop-left::before {
  right: -12px;
  background: linear-gradient(to left, rgba(255,255,255,0), rgba(255,255,255,0.9));
}

.intro-drop-horizontal.drop-right {
  animation: dropMoveRight var(--duration) linear infinite;
  animation-delay: var(--delay);
}

.intro-drop-horizontal.drop-left {
  animation: dropMoveLeft var(--duration) linear infinite;
  animation-delay: var(--delay);
}

@keyframes dropMoveRight {
  from { left: -20px; opacity: 0; }
  5% { opacity: 1; }
  95% { opacity: 1; }
  to { left: 100%; opacity: 0; }
}

@keyframes dropMoveLeft {
  from { right: -20px; opacity: 0; }
  5% { opacity: 1; }
  95% { opacity: 1; }
  to { right: 100%; opacity: 0; }
}

/* ============================================================
   SPECIALTY ORDERS PAGE SPECIFIC STYLES
   ============================================================ */
.specs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 80px 0;
}

@media(min-width: 768px) {
  .specs-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.spec-card {
  border: 1px solid hsla(0,0%,15%, 1); /* Real CSS border */
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  
  /* Machined metal surface reflection layers */
  background-color: hsl(0,0%,90%);
  background-image: 
    linear-gradient(115deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 30%, rgba(255,255,255,0) 45%, rgba(255,255,255,0.3) 70%, rgba(255,255,255,0) 100%),
    linear-gradient(90deg, rgba(255,255,255,0) 10%, rgba(255,255,255,0.25) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,0.2) 85%, rgba(255,255,255,0) 95%),
    repeating-linear-gradient(90deg, hsla(0,0%,0%,0) 0px, hsla(0,0%,0%,0) 2px, hsla(0,0%,0%,0.02) 3px),
    repeating-linear-gradient(90deg, hsla(0,0%,100%,0) 0px, hsla(0,0%,100%,0) 5px, hsla(0,0%,100%,0.05) 6px),
    linear-gradient(to bottom, hsl(0,0%,95%) 0%, hsl(0,0%,90%) 50%, hsl(0,0%,85%) 100%);
  
  box-shadow: 
    inset hsla(0,0%,15%, .4) 0 -1px 4px 1px, /* bottom soft shadow */
    inset hsla(0,0%,0%, .2) 0 -1px 0px 2px, /* bottom bezel */
    inset hsla(0,0%,100%,.7) 0 2px 1px 2px, /* top white highlight */
    var(--shadow-sm),
    hsla(0,0%, 0%,.15) 0 -1px 1px 1px,
    hsla(0,0%,100%,.8) 0 1px 1px 1px;
}

.spec-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-primary);
  transition: background var(--transition);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg); /* Match left-side rounded corners */
}

.spec-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    inset hsla(0,0%,15%, .5) 0 -1px 5px 1px,
    inset hsla(0,0%,0%, .25) 0 -1px 0px 2px,
    inset hsla(0,0%,100%,.85) 0 2px 1px 2px,
    var(--shadow-lg), 
    var(--shadow-blue);
}

.spec-card:hover::before {
  background: var(--color-accent);
}

.spec-number {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.spec-card h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

.spec-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-mid);
}