/* ============================================
   VILLARUM - Premium Industrial CSS
   ============================================ */

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

:root {
  --black: #0a0a0a;
  --dark: #111111;
  --graphite: #1a1a1a;
  --dark-mid: #222222;
  --steel: #2a2a2a;
  --steel-light: #3a3a3a;
  --gray-dark: #555555;
  --gray: #888888;
  --gray-light: #aaaaaa;
  --gray-ultra: #cccccc;
  --white: #f5f5f5;
  --white-pure: #ffffff;
  --blue: #1d6fa4;
  --blue-bright: #2196d3;
  --blue-light: #4db8ff;
  --green: #2d7a4e;
  --green-light: #3db366;
  --accent: #1d6fa4;
  --accent-hover: #2196d3;
  --border: rgba(255,255,255,0.06);
  --border-light: rgba(255,255,255,0.12);
  --shadow: 0 8px 40px rgba(0,0,0,0.5);
  --shadow-sm: 0 4px 20px rgba(0,0,0,0.3);
  --radius: 4px;
  --radius-lg: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Barlow', sans-serif;
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.section-label {
  font-family: 'Barlow', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--white-pure);
  margin-bottom: 20px;
}

.section-title span { color: var(--blue); }

.section-desc {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--gray-light);
  max-width: 680px;
  line-height: 1.75;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.btn-primary {
  background: var(--blue);
  color: var(--white-pure);
}

.btn-primary:hover {
  background: var(--blue-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(29, 111, 164, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white-pure);
  border: 2px solid rgba(255,255,255,0.3);
}

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

.btn-ghost {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
  padding: 12px 28px;
}

.btn-ghost:hover {
  background: var(--blue);
  color: white;
}

/* ============ HEADER ============ */
#header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 0;
  background: #ffffff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.12);
}

#header.scrolled {
  background: #ffffff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
  flex-shrink: 0;
  padding: 4px 0;
}

.logo img {
  height: 73px;
  width: auto;
  object-fit: contain;
}

.logo-fallback {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: #1a1a1a;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.logo-fallback span { color: var(--blue); }

nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

nav a {
  font-family: 'Barlow', sans-serif;
  font-size: 17.5px;
  font-weight: 600;
  color: #111111;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: var(--transition);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

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

.header-cta { flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  transition: var(--transition);
}

/* ============ MOBILE NAV ============ */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  transition: var(--transition);
}

.mobile-nav a:hover { color: var(--blue); }

.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

/* ============ HERO ============ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
}

.hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.4) 50%,
    rgba(0,0,0,0.8) 100%
  );
}

.hero-overlay-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, var(--dark) 0%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1400px;
  margin: 0 auto;
  padding: 170px 40px 60px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(29, 111, 164, 0.15);
  border: 1px solid rgba(29, 111, 164, 0.3);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 28px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-size: clamp(3rem, 7vw, 7rem);
  color: var(--white-pure);
  max-width: 900px;
  margin-bottom: 24px;
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
}

.hero-title .line2 { color: var(--blue-light); }

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  max-width: 680px;
  margin-bottom: 16px;
  line-height: 1.7;
}

.hero-lead {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  max-width: 600px;
  margin-bottom: 40px;
  font-weight: 300;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-slider-dots {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  gap: 8px;
  z-index: 20;
}

.hero-slider-dots button {
  width: 32px;
  height: 3px;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.hero-slider-dots button.active {
  background: var(--blue);
  width: 48px;
}

/* ============ STATS BAR ============ */
#stats-bar {
  background: var(--black);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 30px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--white-pure);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-number span { color: var(--blue); }

.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============ SECTIONS GENERAL ============ */
section { position: relative; }

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-pad { padding: 120px 0; }
.section-pad-sm { padding: 80px 0; }

/* ============ ABOUT ============ */
#about {
  background: var(--graphite);
  overflow: hidden;
}

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

.about-images {
  position: relative;
  height: 600px;
}

.about-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  height: 80%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.about-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 55%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 4px solid var(--graphite);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 40px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.about-feature:hover {
  background: rgba(29, 111, 164, 0.08);
  border-color: rgba(29, 111, 164, 0.3);
}

.about-feature-icon {
  width: 36px;
  height: 36px;
  background: rgba(29, 111, 164, 0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  color: var(--blue);
}

.about-feature-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-ultra);
  letter-spacing: 0.03em;
}

/* ============ SERVICES ============ */
#services {
  background: var(--dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 60px;
}

.service-card {
  background: var(--graphite);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transition: var(--transition);
}

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

.service-card:hover {
  background: var(--steel);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(29, 111, 164, 0.12);
  border: 1px solid rgba(29, 111, 164, 0.25);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--blue);
  margin-bottom: 24px;
}

.service-number {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  line-height: 1;
}

.service-title {
  font-size: 1.4rem;
  color: var(--white-pure);
  margin-bottom: 14px;
  font-weight: 800;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
  font-weight: 300;
}

/* ============ WHY VILLARUM ============ */
#why {
  background: var(--black);
  overflow: hidden;
}

.why-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 60px;
}

.why-bg-text {
  position: absolute;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20vw;
  font-weight: 900;
  color: rgba(255,255,255,0.015);
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  letter-spacing: -0.05em;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.benefit-card {
  background: var(--graphite);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.benefit-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--blue);
  transition: var(--transition);
}

.benefit-card:hover::after { height: 100%; }

.benefit-card:hover {
  background: var(--steel);
}

.benefit-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(29, 111, 164, 0.15);
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
}

.benefit-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.benefit-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white-pure);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.benefit-text {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.65;
  font-weight: 300;
}

/* ============ NUMBERS ============ */
#numbers {
  background: linear-gradient(135deg, var(--graphite) 0%, var(--dark) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 60px;
}

.number-item {
  text-align: center;
  padding: 48px 24px;
  border-right: 1px solid var(--border);
  position: relative;
}

.number-item:last-child { border-right: none; }

.number-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 900;
  color: var(--white-pure);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.number-value .accent { color: var(--blue); }

.number-label {
  font-size: 13px;
  color: var(--gray);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.number-desc {
  font-size: 12px;
  color: var(--gray-dark);
  margin-top: 6px;
  font-weight: 300;
}

/* ============ GALLERY / REALIZACJE ============ */
#gallery {
  background: var(--dark);
}

.gallery-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 40px 0 32px;
}

.filter-btn {
  padding: 10px 24px;
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 500;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-light);
  color: var(--gray-light);
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.04em;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--steel);
}

.gallery-item.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery-item.wide { grid-column: span 2; }

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

.gallery-item:hover img { transform: scale(1.07); }

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  transform: translateY(100%);
  transition: var(--transition);
  font-size: 13px;
  font-weight: 500;
  color: white;
  letter-spacing: 0.04em;
}

.gallery-item:hover .gallery-caption { transform: translateY(0); }

/* ============ JOBS ============ */
#jobs {
  background: var(--graphite);
}

.jobs-header { margin-bottom: 60px; }

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.job-card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

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

.job-card:hover {
  border-color: rgba(29, 111, 164, 0.4);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  transform: translateY(-4px);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.job-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white-pure);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.job-badge {
  padding: 5px 12px;
  background: rgba(29, 111, 164, 0.15);
  border: 1px solid rgba(29, 111, 164, 0.3);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.job-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.job-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray);
  font-weight: 400;
}

.job-meta-item svg { opacity: 0.6; }

.job-desc {
  font-size: 0.9rem;
  color: var(--gray-light);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 20px;
  flex: 1;
}

.job-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.job-tag {
  padding: 4px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 12px;
  color: var(--gray-light);
  font-weight: 400;
}

.job-expand { display: none; margin-top: 16px; }
.job-expand.open { display: block; }

.job-section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
  margin-top: 16px;
}

.job-list {
  list-style: none;
  padding: 0;
}

.job-list li {
  font-size: 0.875rem;
  color: var(--gray-light);
  padding: 5px 0;
  padding-left: 16px;
  position: relative;
  font-weight: 300;
  line-height: 1.5;
}

.job-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 1px;
  background: var(--blue);
}

.job-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.job-toggle {
  background: none;
  border: none;
  color: var(--blue);
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.job-toggle:hover { color: var(--blue-bright); }

/* ============ CONTACT / FORM ============ */
#contact {
  background: var(--dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(29, 111, 164, 0.1);
  border: 1px solid rgba(29, 111, 164, 0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 18px;
  flex-shrink: 0;
}

.contact-detail-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  display: block;
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: 1rem;
  color: var(--white-pure);
  font-weight: 500;
}

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

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

.form-toggle {
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
  background: var(--black);
  padding: 4px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.form-toggle-btn {
  flex: 1;
  padding: 12px 20px;
  background: transparent;
  border: none;
  color: var(--gray);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: calc(var(--radius) - 2px);
  transition: var(--transition);
}

.form-toggle-btn.active {
  background: var(--blue);
  color: white;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: var(--black);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  color: var(--white-pure);
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29, 111, 164, 0.1);
}

.form-control::placeholder { color: var(--gray-dark); }

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.form-checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--blue);
  flex-shrink: 0;
}

.form-checkbox label {
  font-size: 12.5px;
  color: var(--gray);
  line-height: 1.6;
  font-weight: 300;
}

.form-checkbox label a { color: var(--blue); text-decoration: none; }

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

.form-success {
  display: none;
  padding: 24px;
  background: rgba(45, 122, 78, 0.1);
  border: 1px solid rgba(45, 122, 78, 0.3);
  border-radius: var(--radius-lg);
  color: var(--green-light);
  font-size: 15px;
  margin-top: 16px;
  text-align: center;
}

/* ============ DOCUMENTS ============ */
#documents {
  background: var(--graphite);
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.doc-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: var(--transition);
}

.doc-card:hover {
  border-color: var(--blue);
  background: rgba(29, 111, 164, 0.06);
  transform: translateY(-2px);
}

.doc-icon {
  width: 44px;
  height: 44px;
  background: rgba(220, 50, 50, 0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.doc-info { flex: 1; min-width: 0; }

.doc-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white-pure);
  display: block;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doc-type {
  font-size: 11px;
  color: var(--gray);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.doc-download {
  color: var(--blue);
  font-size: 18px;
  flex-shrink: 0;
}

/* ============ FAQ ============ */
#faq {
  background: var(--dark);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.faq-list { margin-top: 0; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  background: none;
  border: none;
  color: var(--white-pure);
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: var(--transition);
}

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

.faq-icon {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--blue);
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); color: white; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}

.faq-answer-inner {
  padding-bottom: 20px;
  font-size: 0.925rem;
  color: var(--gray-light);
  line-height: 1.75;
  font-weight: 300;
}

/* ============ MAP / CONTACT SECTION ============ */
#map-section {
  background: var(--black);
}

.map-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
  border: 1px solid var(--border);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: invert(90%) hue-rotate(180deg) brightness(0.8) saturate(0.7);
}

/* ============ CHATBOT ============ */
#chatbot-widget {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
}

.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--blue);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  box-shadow: 0 8px 32px rgba(29, 111, 164, 0.5);
  transition: var(--transition);
  position: relative;
}

.chat-toggle:hover {
  background: var(--blue-bright);
  transform: scale(1.1);
}

.chat-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: #e53e3e;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--dark);
}

.chat-window {
  display: none;
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 360px;
  max-height: 520px;
  background: var(--graphite);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  flex-direction: column;
}

.chat-window.open { display: flex; }

.chat-header {
  padding: 16px 20px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.chat-name {
  font-size: 14px;
  font-weight: 700;
  color: white;
}

.chat-status {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 5px;
}

.chat-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #48ff91;
  border-radius: 50%;
}

.chat-close {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition);
  line-height: 1;
}

.chat-close:hover { opacity: 1; }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 250px;
}

.chat-msg {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.chat-msg.user { flex-direction: row-reverse; }

.chat-msg-bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.55;
  font-weight: 400;
}

.chat-msg.bot .chat-msg-bubble {
  background: var(--steel);
  color: var(--gray-ultra);
  border-bottom-left-radius: 4px;
}

.chat-msg.user .chat-msg-bubble {
  background: var(--blue);
  color: white;
  border-bottom-right-radius: 4px;
}

.chat-quick-replies {
  padding: 12px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.quick-reply {
  padding: 7px 14px;
  background: rgba(29, 111, 164, 0.1);
  border: 1px solid rgba(29, 111, 164, 0.3);
  border-radius: 100px;
  font-size: 12px;
  color: var(--blue-light);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.quick-reply:hover {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

.chat-input-area {
  padding: 12px 16px;
  display: flex;
  gap: 8px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.chat-input {
  flex: 1;
  background: var(--steel);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 16px;
  color: white;
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  outline: none;
  transition: var(--transition);
}

.chat-input:focus { border-color: var(--blue); }
.chat-input::placeholder { color: var(--gray-dark); }

.chat-send {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue);
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-send:hover { background: var(--blue-bright); }

/* ============ FOOTER ============ */
footer {
  background: var(--black);
  border-top: 1px solid var(--border);
}

.footer-main {
  padding: 80px 0 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
}

.footer-brand .logo { margin-bottom: 20px; }

.footer-brand-desc {
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.75;
  font-weight: 300;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  text-decoration: none;
  font-size: 16px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-pure);
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 14px;
  color: var(--gray);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover { color: var(--blue); padding-left: 6px; }

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-icon { color: var(--blue); font-size: 15px; margin-top: 2px; }

.footer-contact-text {
  font-size: 13.5px;
  color: var(--gray);
  font-weight: 300;
  line-height: 1.5;
}

.footer-contact-text a { color: var(--gray-light); text-decoration: none; }
.footer-contact-text a:hover { color: var(--blue); }

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-copyright {
  font-size: 12.5px;
  color: var(--gray-dark);
  font-weight: 300;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 12.5px;
  color: var(--gray-dark);
  text-decoration: none;
  transition: var(--transition);
}

.footer-legal a:hover { color: var(--blue); }

/* ============ DIVIDER ============ */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
  margin: 0;
}

/* ============ LIGHTBOX ============ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

/* ============ TOAST ============ */
.toast {
  position: fixed;
  bottom: 120px;
  right: 32px;
  padding: 16px 24px;
  background: var(--green);
  border-radius: var(--radius);
  color: white;
  font-size: 14px;
  font-weight: 500;
  z-index: 1500;
  transform: translateX(120%);
  transition: transform 0.4s ease;
  box-shadow: var(--shadow);
}

.toast.show { transform: translateX(0); }

/* ============ ANIMATIONS ============ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.fade-up-delay-5 { transition-delay: 0.5s; }

/* ============ UTILITIES ============ */
.text-center { text-align: center; }
.text-blue { color: var(--blue); }

.badge-new {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(45, 122, 78, 0.2);
  border: 1px solid rgba(61, 179, 102, 0.3);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-left: 8px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-images { height: 350px; }
  .faq-grid { grid-template-columns: 1fr; }
  .map-contact-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .why-header { grid-template-columns: 1fr; gap: 40px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section-pad { padding: 80px 0; }
  nav { display: none; }
  .hamburger { display: flex; }
  .header-cta { display: none; }
  .header-inner { padding: 0 20px; }
  .hero-content { padding: 0 20px 80px; }
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .services-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .number-item:nth-child(2) { border-right: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 1; }
  .gallery-item.tall { grid-row: span 1; aspect-ratio: 4/3; }
  .jobs-grid { grid-template-columns: 1fr; }
  .docs-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .chat-window { width: 310px; }
  #chatbot-widget { bottom: 20px; right: 20px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { text-align: center; justify-content: center; }
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .numbers-grid { grid-template-columns: 1fr; }
  .number-item { border-right: none; border-bottom: 1px solid var(--border); }
}
