/* ==========================================================================
   Andrzej Mikołajczyk - Projektant Instalacji Elektrycznych i Teletechnicznych
   Modern Engineering Portfolio & Business Card Stylesheet
   With Rich Industrial & Technical Imagery
   ========================================================================== */

:root {
  /* Color Palette - Technical Slate / Deep Navy / Electric Accents */
  --color-primary: #0f172a;       /* Deep slate/navy */
  --color-primary-light: #1e293b; /* Medium slate */
  --color-primary-dark: #070d17;  /* Darkest background */
  --color-secondary: #0284c7;     /* Technical blueprint blue */
  --color-accent: #0ea5e9;        /* Electric cyan */
  --color-accent-hover: #38bdf8;  /* Bright highlight */
  --color-amber: #f59e0b;         /* Caution/Voltage indicator */
  
  --color-bg: #090e17;            /* Body background */
  --color-surface: #111a28;       /* Card / section surface */
  --color-surface-hover: #162438; /* Card hover state */
  --color-surface-card: rgba(17, 26, 40, 0.85);
  
  --color-text-main: #f8fafc;     /* Clean bright white */
  --color-text-muted: #94a3b8;    /* Slate muted */
  --color-text-subtle: #64748b;   /* Subtle labels */
  --color-border: #1e2d42;        /* Subtle technical border */
  --color-border-glow: rgba(14, 165, 233, 0.35);

  /* Typography */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing & Sizes */
  --container-max-w: 1320px;
  --header-height: 80px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  /* Shadows & Glows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 36px -6px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 24px rgba(14, 165, 233, 0.25);
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
}

/* Technical Grid Blueprint Pattern */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* Ambient Radial Glow */
.ambient-glow {
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, rgba(2, 132, 199, 0.04) 50%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-bottom {
  position: fixed;
  bottom: -200px;
  right: -100px;
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
h1, h2, h3, h4 {
  color: var(--color-text-main);
  font-weight: 700;
  line-height: 1.25;
}

p {
  color: var(--color-text-muted);
}

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

/* Badges & Tags */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  background: rgba(14, 165, 233, 0.12);
  color: var(--color-accent-hover);
  border: 1px solid rgba(14, 165, 233, 0.3);
  backdrop-filter: blur(8px);
  max-width: 100%;
  white-space: normal;
  line-height: 1.4;
}

.badge span:not(.badge-dot) {
  white-space: normal;
  word-wrap: break-word;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-accent);
  display: inline-block;
  animation: pulse 2.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

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

.section-title {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0274b3 0%, #38bdf8 100%);
  box-shadow: 0 6px 22px rgba(14, 165, 233, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  color: var(--color-text-main);
  border-color: var(--color-border);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-accent);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(9, 14, 23, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.brand-emblem {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0f1d32 0%, #162d4e 100%);
  border: 1px solid rgba(14, 165, 233, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.2);
  color: var(--color-accent);
  flex-shrink: 0;
}

.brand-emblem svg {
  width: 22px;
  height: 22px;
}

.brand-info {
  display: flex;
  flex-direction: column;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-text-main);
  white-space: nowrap !important;
}

.brand-spec {
  font-size: 0.75rem;
  color: var(--color-accent);
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap !important;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  white-space: nowrap;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--color-text-muted);
  position: relative;
  padding: 0.5rem 0;
  white-space: nowrap;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-fast);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-left: 3rem;
  padding-left: 1.75rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
  flex-shrink: 0;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-text-main);
  cursor: pointer;
  padding: 0.5rem;
}

/* ==========================================================================
   Hero Section with Rich Background Image & Visual Composite
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--header-height) + 3.5rem);
  padding-bottom: 5.5rem;
  position: relative;
  background-image: 
    linear-gradient(to right, rgba(9, 14, 23, 0.94) 0%, rgba(9, 14, 23, 0.82) 55%, rgba(9, 14, 23, 0.92) 100%),
    url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--color-border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-title {
  font-size: clamp(1.9rem, 4.2vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1.18;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-title .name-highlight {
  display: block;
  background: linear-gradient(135deg, #ffffff 40%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-title .profession-highlight {
  display: block;
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  color: var(--color-accent);
  margin-top: 0.65rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.45;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 0.5rem;
}

.hero-quick-contacts {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.quick-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.quick-contact-item svg {
  color: var(--color-accent);
  width: 18px;
  height: 18px;
}

.quick-contact-item a:hover {
  color: var(--color-text-main);
  text-decoration: underline;
}

/* Hero Visual Showcase Composite */
.hero-visual-composite {
  position: relative;
  display: flex;
  flex-direction: column;
}

.hero-main-photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(14, 165, 233, 0.3);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(14, 165, 233, 0.15);
  background: var(--color-surface);
}

.hero-main-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  filter: brightness(0.92) contrast(1.05);
  transition: transform 0.5s ease;
}

.hero-main-photo-card:hover .hero-main-img {
  transform: scale(1.03);
}

.photo-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem;
  background: linear-gradient(to top, rgba(7, 13, 23, 0.95) 0%, rgba(7, 13, 23, 0.6) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.photo-card-badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: rgba(14, 165, 233, 0.2);
  color: var(--color-accent-hover);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(14, 165, 233, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.photo-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.photo-card-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Floating Technical Badges over Hero Photo */
.floating-spec-badge {
  position: absolute;
  top: -18px;
  right: -15px;
  background: rgba(15, 29, 50, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(14, 165, 233, 0.4);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 2;
}

.floating-spec-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(14, 165, 233, 0.15);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.floating-spec-text strong {
  display: block;
  font-size: 0.88rem;
  color: #ffffff;
}

.floating-spec-text span {
  font-size: 0.75rem;
  color: var(--color-accent-hover);
}

.floating-schematics-card {
  position: absolute;
  bottom: -22px;
  left: -20px;
  background: rgba(15, 29, 50, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 2;
  max-width: 280px;
}

.floating-schematics-img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-schematics-info h5 {
  font-size: 0.825rem;
  margin-bottom: 0.2rem;
}

.floating-schematics-info p {
  font-size: 0.725rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   About Section & Photo Montage
   ========================================================================== */
.about-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, var(--color-bg) 0%, #0d1522 50%, var(--color-bg) 100%);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.about-text p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.75;
}

/* Photo Montage in About Section */
.about-photo-montage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.montage-main-wrap {
  width: 88%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.montage-main-img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  display: block;
  filter: contrast(1.05);
}

.montage-sub-wrap {
  position: absolute;
  bottom: -25px;
  right: -10px;
  width: 60%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--color-accent);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.montage-sub-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.montage-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(9, 14, 23, 0.88);
  padding: 0.45rem 0.85rem;
  font-size: 0.75rem;
  color: var(--color-text-main);
  font-family: var(--font-mono);
}

.montage-main-wrap .montage-caption {
  right: auto;
  max-width: 45%;
  border-top-right-radius: var(--radius-sm);
  white-space: nowrap;
}

.qualification-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.pillar-card {
  padding: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  gap: 1.1rem;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.pillar-card:hover {
  transform: translateY(-3px);
  border-color: rgba(14, 165, 233, 0.4);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(14, 165, 233, 0.12);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-icon svg {
  width: 22px !important;
  height: 22px !important;
  color: var(--color-accent);
  stroke: var(--color-accent);
  flex-shrink: 0;
  display: block;
}

.pillar-content h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: var(--color-text-main);
}

.pillar-content p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ==========================================================================
   Visual Facility Showcase Section (Hale, Trasy, Biura, Projekty)
   ========================================================================== */
.showcase-section {
  padding: 5.5rem 0;
  background: #090e17;
  border-top: 1px solid var(--color-border);
  position: relative;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.showcase-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  height: 320px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.showcase-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(14, 165, 233, 0.2);
}

.showcase-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65) contrast(1.1);
  transition: transform 0.5s ease, filter 0.5s ease;
  z-index: 0;
}

.showcase-card:hover .showcase-bg-img {
  transform: scale(1.08);
  filter: brightness(0.8) contrast(1.15);
}

.showcase-content {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  padding-top: 3.5rem;
  background: linear-gradient(to top, rgba(9, 14, 23, 0.98) 0%, rgba(9, 14, 23, 0.94) 45%, rgba(9, 14, 23, 0.8) 75%, transparent 100%);
}

.showcase-category {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(15, 29, 50, 0.92);
  color: var(--color-accent-hover);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(14, 165, 233, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
}

.showcase-title {
  font-size: 1.15rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.showcase-desc {
  font-size: 0.825rem;
  color: #cbd5e1;
  line-height: 1.5;
}

/* ==========================================================================
   Services Section with Real Image Headers
   ========================================================================== */
.services-section {
  padding: 5.5rem 0;
  position: relative;
  background: #0c1420;
}

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

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

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 165, 233, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), var(--shadow-glow);
}

.service-img-header {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.service-img-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: brightness(0.85);
}

.service-card:hover .service-img-header img {
  transform: scale(1.06);
  filter: brightness(0.98);
}

.service-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-surface) 0%, rgba(17, 26, 40, 0.2) 60%, transparent 100%);
}

.service-icon-floating {
  position: absolute;
  bottom: 12px;
  left: 20px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(9, 14, 23, 0.9);
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

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

.service-body {
  padding: 1.5rem 1.75rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.925rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-list {
  list-style: none;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.service-list li {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-list li svg {
  color: var(--color-accent);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ==========================================================================
   Collaboration Section
   ========================================================================== */
.collab-section {
  padding: 5.5rem 0;
  background: #090e17;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.collab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.collab-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: left;
  transition: all var(--transition-fast);
}

.collab-card:hover {
  border-color: rgba(14, 165, 233, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.collab-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

.collab-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.collab-card p {
  font-size: 0.925rem;
  line-height: 1.6;
}

/* ==========================================================================
   Contact Section & Interactive Form
   ========================================================================== */
.contact-section {
  padding: 6rem 0;
  position: relative;
  background-image: 
    linear-gradient(to bottom, rgba(9, 14, 23, 0.96) 0%, rgba(9, 14, 23, 0.92) 100%),
    url('../images/cable-trays.jpg');
  background-size: cover;
  background-position: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

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

.contact-intro h3 {
  font-size: 2.1rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.contact-intro p {
  font-size: 1.05rem;
  line-height: 1.65;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.channel-card:hover {
  border-color: var(--color-accent);
  transform: translateX(4px);
}

.channel-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.12);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.channel-meta {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.channel-label {
  font-size: 0.8rem;
  color: var(--color-text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.channel-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.copy-btn {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.copy-btn:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background: rgba(14, 165, 233, 0.1);
}

/* Form Styles */
.form-card {
  background: rgba(17, 26, 40, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.form-header {
  margin-bottom: 2rem;
}

.form-header h4 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.form-header p {
  font-size: 0.9rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-label span.req {
  color: var(--color-accent);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(9, 14, 23, 0.8);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
  background: rgba(9, 14, 23, 0.95);
}

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

.form-select option {
  background: #0f172a;
  color: #ffffff;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.825rem;
  color: var(--color-text-muted);
  cursor: pointer;
  line-height: 1.45;
  margin-top: 0.5rem;
}

.form-checkbox-label input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 16px;
  height: 16px;
  margin-top: 2px;
  cursor: pointer;
}

.form-actions {
  margin-top: 1.5rem;
}

.form-submit-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
}

/* Form status feedback */
.form-alert {
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-top: 1.25rem;
  font-size: 0.9rem;
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.form-alert.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.form-alert.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-primary-dark);
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 2rem 0;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.925rem;
  max-width: 360px;
}

.footer-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  color: var(--color-text-main);
}

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

.footer-links a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--color-text-subtle);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Toast Notification for Clipboard Copy */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #0f172a;
  border: 1px solid var(--color-accent);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-lg), 0 0 15px rgba(14, 165, 233, 0.3);
  z-index: 999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1120px) {
  .nav-cta .btn-primary {
    display: none;
  }
  .nav-cta {
    margin-left: 1.5rem;
    padding-left: 1.25rem;
  }
}

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

  .nav-menu,
  .nav-cta .btn {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-menu.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #090e17;
    border-bottom: 1px solid var(--color-border);
    padding: 1.5rem;
    gap: 1.25rem;
  }
}

@media (max-width: 992px) {
  .hero-grid,
  .about-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-photo-montage {
    margin-top: 1.5rem;
    width: 100%;
    max-width: 100%;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: calc(var(--header-height) + 1.75rem);
    padding-bottom: 3.5rem;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.22;
  }

  .hero-title .name-highlight {
    white-space: normal !important;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .hero-title .profession-highlight {
    font-size: 1.05rem;
    white-space: normal !important;
    line-height: 1.45;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    white-space: normal !important;
    text-align: center;
    padding: 0.85rem 1.25rem;
  }

  .badge {
    white-space: normal !important;
    border-radius: var(--radius-md);
    line-height: 1.35;
    padding: 0.4rem 0.75rem;
    font-size: 0.72rem;
  }

  .floating-spec-badge {
    position: static;
    margin-bottom: 1rem;
    max-width: 100%;
    right: auto;
    top: auto;
  }

  .floating-schematics-card {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
    left: auto;
    bottom: auto;
  }

  .montage-main-wrap {
    width: 100%;
  }

  .montage-main-wrap .montage-caption {
    max-width: 100%;
    white-space: normal;
  }

  .montage-sub-wrap {
    position: relative;
    width: 100%;
    right: auto;
    bottom: auto;
    margin-top: 1rem;
  }

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

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

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ambient-glow {
    width: 100vw;
    height: 350px;
    left: 0;
    transform: none;
  }

  .ambient-glow-bottom {
    display: none;
  }
}

@media (max-width: 420px) {
  .brand-name {
    font-size: 0.98rem;
  }

  .brand-spec {
    font-size: 0.7rem;
  }

  .brand-emblem {
    width: 38px;
    height: 38px;
  }

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

  .hero-title .profession-highlight {
    font-size: 0.98rem;
  }
}

@media (max-width: 360px) {
  .brand-name {
    font-size: 0.88rem;
  }

  .brand-spec {
    font-size: 0.65rem;
  }

  .brand-emblem {
    width: 34px;
    height: 34px;
  }
}
