/* =========================================
   DIE WERKSTATT – Main Stylesheet
   ========================================= */

:root {
  --bg:        #080c12;
  --surface:   #0d1520;
  --surface2:  #162030;
  --border:    #1e2d40;
  --accent:    #0077a2;
  --accent-h:  #0090c0;
  --text:      #e8f0fa;
  --muted:     #7a90aa;
  --nav-h:     72px;
  --radius:    8px;
  --max-w:     1200px;
  --transition: 0.2s ease;
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── TYPOGRAPHY ─────────────────────────── */

h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.section-intro {
  font-size: 1rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 3.5rem;
  line-height: 1.75;
}

/* ── LAYOUT ─────────────────────────────── */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 120px 0;
}

/* ── NAV ─────────────────────────────────── */

#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(8,12,18,0.80);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

#nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(8,12,18,0.97);
}

.nav-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
  transition: opacity var(--transition);
}

.nav-logo:hover .logo-img {
  opacity: 0.88;
}

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

.nav-links > li {
  position: relative;
}

.nav-links > li > a,
.nav-links > li > button {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
  font-family: inherit;
}

.nav-links > li > a:hover,
.nav-links > li > button:hover,
.nav-links > li > a.active,
.nav-links > li > button.active {
  color: var(--text);
  background: var(--surface2);
}

.nav-arrow {
  transition: transform var(--transition);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.dropdown.open .nav-arrow { transform: rotate(180deg); }

/* ── DROPDOWN ──────────────────────────── */

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity var(--transition), transform var(--transition);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.dropdown.open .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.8rem;
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--muted);
  transition: color var(--transition), background var(--transition);
}

.dropdown-menu a:hover {
  color: var(--text);
  background: var(--surface2);
}

.dropdown-menu .dm-icon {
  font-size: 1.1rem;
  line-height: 1;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.dropdown-group-label {
  padding: 0.4rem 0.8rem 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 0.4rem 0;
}

.mobile-group-label {
  padding: 0.5rem 1rem 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── HAMBURGER ─────────────────────────── */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ───────────────────────── */

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 99;
  overflow-y: auto;
  padding: 1.5rem;
  flex-direction: column;
  gap: 0.25rem;
}

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

.mobile-menu a,
.mobile-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: color var(--transition), background var(--transition);
}

.mobile-menu a:hover,
.mobile-menu button:hover { color: var(--text); background: var(--surface2); }

.mobile-submenu {
  padding-left: 1rem;
  border-left: 2px solid var(--border);
  margin: 0.25rem 0 0.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.mobile-submenu a {
  font-size: 0.95rem;
  padding: 0.6rem 0.9rem;
}

.mobile-divider {
  height: 1px;
  background: var(--border);
  margin: 0.5rem 0;
}

/* ── KEYFRAMES ──────────────────────────── */

@keyframes rotateCW {
  to { transform: rotate(360deg); }
}
@keyframes rotateCCW {
  to { transform: rotate(-360deg); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes glowPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}
@keyframes sparkPulse {
  0%, 100% { opacity: 1;   r: 2.5; }
  50%       { opacity: 0.3; r: 1; }
}
@keyframes badgeDot {
  0%, 100% { box-shadow: 0 0 6px var(--accent); }
  50%       { box-shadow: 0 0 14px var(--accent), 0 0 28px var(--accent); }
}
@keyframes bounceY {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── HERO ───────────────────────────────── */

#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #060a10;
}

/* atmospheric blue glow */
.hero-forge-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% 115%, rgba(0,119,162,0.40) 0%, transparent 60%),
    radial-gradient(ellipse 55% 35% at 50% 105%, rgba(0,144,192,0.22) 0%, transparent 55%),
    radial-gradient(ellipse 40% 25% at 50%  95%, rgba(120,200,255,0.12) 0%, transparent 50%),
    radial-gradient(ellipse 120% 40% at 50% 100%, rgba(8,40,90,0.30) 0%, transparent 70%);
  animation: forgePulse 5s ease-in-out infinite;
}

@keyframes forgePulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.7; }
}

/* subtle film grain */
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px;
  pointer-events: none;
}

/* canvas sparks */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* content – centered column */
.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--max-w);
  padding: calc(var(--nav-h) + 4rem) 1.5rem 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* eyebrow */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.2rem;
  animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.2s both;
}

.hero-eyebrow-line {
  display: block;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent));
  width: 0;
  animation: expandLine 1s ease 0.6s forwards;
}

.hero-eyebrow-line-r {
  background: linear-gradient(to left, transparent, var(--accent));
}

@keyframes expandLine {
  to { width: 80px; }
}

/* headline */
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  margin-bottom: 0;
  animation: fadeUp 1s cubic-bezier(0.16,1,0.3,1) 0.35s both;
}

.hero-logo {
  width: min(700px, 85vw);
  height: auto;
  filter: drop-shadow(0 0 40px rgba(0,119,162,0.30));
}

/* amber ruled line below title */
.hero-rule {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  max-width: 700px;
  margin: 2rem 0 2.2rem;
  animation: fadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.55s both;
}

.hero-rule-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right,
    transparent,
    rgba(0,119,162,0.6) 20%,
    rgba(0,119,162,0.6) 80%,
    transparent
  );
}

.hero-rule-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent), 0 0 20px rgba(0,119,162,0.4);
  animation: badgeDot 3s ease-in-out infinite;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(240,237,232,0.50);
  max-width: 700px;
  white-space: nowrap;
  margin-bottom: 2.8rem;
  line-height: 1.7;
  animation: fadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.65s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.8s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 24px rgba(0,119,162,0.35), inset 0 1px 0 rgba(255,255,255,0.12);
}

.btn-primary:hover {
  background: var(--accent-h);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(0,119,162,0.50), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(232,240,250,0.65);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.14);
  transition: color var(--transition), border-color var(--transition), background var(--transition), transform var(--transition);
}

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

/* stats bar */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 3.5rem;
  animation: fadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 1.0s both;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.hero-stat strong {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-stat span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-stat-sep {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.1);
}

/* scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  color: rgba(255,255,255,0.3);
  z-index: 4;
  transition: border-color var(--transition), color var(--transition);
  animation: heroScrollBounce 2.6s ease-in-out infinite;
}

.hero-scroll:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-scroll svg { width: 18px; height: 18px; }

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

/* ── SERVICES ──────────────────────────── */

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

#leistungen {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: 10px;
  padding: 2.2rem 2rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  border-color: rgba(0,119,162,0.6);
  border-top-color: var(--accent-h);
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,119,162,0.15);
}

.service-icon {
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 1.2rem;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

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

.service-card.has-image {
  padding: 0;
  overflow: hidden;
}

.card-image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .card-image img {
  transform: scale(1.05);
}

.card-body {
  padding: 1.6rem 1.8rem;
}

/* ── FERTIGUNG LIST ────────────────────── */

.fertigung-list {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.fert-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 2.5rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.fert-item:hover {
  border-color: rgba(0,119,162,0.5);
  border-left-color: var(--accent-h);
  box-shadow: 0 20px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,119,162,0.1);
  transform: translateY(-2px);
}

.fert-info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.fert-info .service-icon {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.fert-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.fert-info p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── GALLERY GRID ─────────────────────── */

.fert-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 6px;
}

.gallery-thumb {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--border);
  cursor: zoom-in;
  background: var(--surface2);
  padding: 0;
  transition: border-color var(--transition), transform var(--transition);
}

.gallery-thumb:hover {
  border-color: var(--accent);
  transform: scale(1.03);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-thumb:hover img {
  transform: scale(1.08);
}

/* ── LIGHTBOX ─────────────────────────── */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox[hidden] { display: none; }

.lb-img-wrap {
  max-width: min(90vw, 1100px);
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-img-wrap img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.8);
  user-select: none;
}

.lb-close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background var(--transition);
  z-index: 501;
}

.lb-close:hover { background: rgba(255,255,255,0.2); }
.lb-close svg { width: 20px; height: 20px; }

.lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background var(--transition);
  z-index: 501;
}

.lb-nav:hover { background: rgba(255,255,255,0.18); }
.lb-nav svg { width: 22px; height: 22px; }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }

.lb-nav:disabled {
  opacity: 0.25;
  cursor: default;
}

.lb-counter {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}

@media (max-width: 800px) {
  .fert-item {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .fert-gallery {
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  }

  .lb-prev { left: 0.4rem; }
  .lb-next { right: 0.4rem; }
}

/* ── ABOUT ──────────────────────────────── */

#ueber-uns {
  background: var(--bg);
}

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

.about-image-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface2);
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--border);
  font-size: 3rem;
}

.about-image-placeholder p {
  font-size: 0.85rem;
  color: var(--muted);
}

.about-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  pointer-events: none;
}

.about-stat-row {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.about-stat strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.about-stat span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── CONTACT ────────────────────────────── */

#kontakt {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.3rem 1.5rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-item:hover {
  border-color: rgba(0,119,162,0.5);
  border-left-color: var(--accent-h);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.contact-item-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
  width: 32px;
  text-align: center;
}

.contact-item-text strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.contact-item-text a,
.contact-item-text p {
  font-size: 1rem;
  color: var(--text);
  transition: color var(--transition);
}

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

.contact-social {
  margin-top: 2rem;
}

.contact-social h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 1rem;
}

.social-buttons {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.social-btn:hover {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(0,119,162,0.08);
}

.social-btn svg {
  width: 18px;
  height: 18px;
}

.contact-map {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  background: var(--surface2);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(40%) invert(90%) hue-rotate(190deg) contrast(85%) brightness(0.9);
  display: block;
}

/* ── FOOTER ─────────────────────────────── */

footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

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

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

/* ── RESPONSIVE ─────────────────────────── */

@media (max-width: 1000px) {
  .hero-logo { width: min(560px, 85vw); }
}

@media (max-width: 900px) {
  .nav-links  { display: none; }
  .nav-toggle { display: flex; }

  .logo-img { height: 36px; }

  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image-wrap { max-width: 480px; }

  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-map { display: none; }
}

@media (max-width: 480px) {
  .logo-img { height: 32px; }
}

@media (max-width: 600px) {
  section { padding: 70px 0; }

  .hero-inner { padding-top: calc(var(--nav-h) + 2.5rem); padding-bottom: 5rem; }

  .hero-eyebrow { gap: 0.7rem; font-size: 0.58rem; flex-wrap: wrap; justify-content: center; }
  .hero-eyebrow-line,
  .hero-eyebrow-line-r { display: none; }

  .hero-logo { width: 90vw; }

  .hero-subtitle   { white-space: normal; font-size: 0.9rem; max-width: 90%; }

  .hero-rule { max-width: 280px; }

  .hero-stats      { gap: 1rem; flex-wrap: wrap; justify-content: center; }
  .hero-stat-sep   { height: 20px; }
  .hero-stat strong { font-size: 1.15rem; }

  .hero-actions    { flex-direction: column; align-items: center; width: 100%; }
  .btn-primary,
  .btn-secondary   { width: 100%; justify-content: center; }

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

  .about-stat-row { gap: 1.5rem; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}
