:root {
  --void: #030408;
  --deep: #07080e;
  --panel: rgba(10, 12, 22, 0.6);
  --line: rgba(255, 255, 255, 0.06);
  --cyan: #00e5ff;
  --purple: #9d4edd;
  --blue: #3da9fc;
  --text-hot: #f3f8ff;
  --text-muted: #7c84a3;
  --text-dim: #4d5476;
  --grad-electric: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 50%, var(--purple) 100%);
  --shadow-electric: 0 0 20px rgba(0, 229, 255, 0.3), 0 0 40px rgba(157, 78, 221, 0.2);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --font-title: 'Unbounded', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--void);
  color: var(--text-hot);
  font-family: var(--font-body);
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Background Gradients */
.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: 
    radial-gradient(circle at 10% 20%, rgba(157, 78, 221, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 229, 255, 0.08) 0%, transparent 45%),
    linear-gradient(180deg, var(--void) 0%, var(--deep) 100%);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.25;
  background-image: 
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black 20%, transparent 80%);
}

section {
  position: relative;
  z-index: 2;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Header Styles */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(3, 4, 8, 0.75);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Tel Group Capsule */
.tel-group {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  padding: 8px 18px;
  border-radius: 999px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.tel-group:hover {
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.tel-link {
  color: var(--text-hot);
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.tel-link:hover {
  color: var(--cyan);
}

.tel-sep {
  color: rgba(255, 255, 255, 0.15);
  font-weight: 300;
}


.nav-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-brand-row .v99-logo-img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.5));
  transition: transform 0.3s ease;
}

.nav-brand-row:hover .v99-logo-img {
  transform: rotate(5deg) scale(1.05);
}

.brand {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.05em;
  background: var(--grad-electric);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand span {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  display: block;
  letter-spacing: 0.28em;
  color: var(--text-muted);
}

nav.links {
  display: flex;
  gap: 32px;
  align-items: center;
}

nav.links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s ease;
  position: relative;
  letter-spacing: 0.02em;
}

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

nav.links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: var(--grad-electric);
  transition: width 0.3s ease;
}

nav.links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-hot);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.15);
}

.btn-primary {
  background: var(--grad-electric);
  color: #030408;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(0, 229, 255, 0.4);
  transform: translateY(-2.5px);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.08);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
}

.icon {
  width: 16px;
  height: 16px;
  flex: none;
}

/* Hero Section */
.hero {
  padding: 140px 28px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
  display: block;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-title);
  font-size: clamp(34px, 5.5vw, 68px);
  font-weight: 900;
  max-width: 980px;
  margin: 0 auto;
  line-height: 1.15;
  color: var(--text-hot);
}

.hero h1 span {
  background: var(--grad-electric);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  margin: 28px auto 0;
  max-width: 600px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.75;
}

.hero-cta {
  margin-top: 48px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* V99 Rotating Emblem */
.v99-emblem {
  margin: 80px auto 0;
  width: min(340px, 75vw);
  position: relative;
}

.v99-emblem .ring {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: spin 32s linear infinite;
}

.v99-emblem .ring::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0%, var(--cyan) 12%, transparent 24%, transparent 50%, var(--purple) 62%, transparent 74%);
  opacity: 0.45;
  filter: blur(2px);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.v99-core {
  width: 65%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.08), rgba(3, 4, 8, 0.95) 75%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 30px rgba(0, 229, 255, 0.15), var(--shadow-electric);
  animation: pulse-core 6s ease-in-out infinite;
}

@keyframes pulse-core {
  0%, 100% { box-shadow: inset 0 0 30px rgba(0, 229, 255, 0.15), 0 0 30px rgba(0, 229, 255, 0.2); }
  50% { box-shadow: inset 0 0 35px rgba(0, 229, 255, 0.25), 0 0 45px rgba(157, 78, 221, 0.35); }
}

.v99-core img {
  width: 60%;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.6));
}

/* Sections General */
section.block {
  padding: 100px 0;
}

.divider {
  height: 1px;
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
}

.sec-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.sec-head h2 {
  font-family: var(--font-title);
  font-size: clamp(26px, 4.5vw, 42px);
  margin-top: 14px;
  line-height: 1.15;
  color: var(--text-hot);
}

.sec-head p {
  color: var(--text-muted);
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.7;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.svc-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.svc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-md);
  padding: 1.5px;
  background: var(--grad-electric);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.svc-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
}

.svc-card:hover::before {
  opacity: 1;
}

.svc-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.15em;
}

.svc-card h3 {
  font-family: var(--font-title);
  font-size: 18px;
  margin-top: 20px;
  font-weight: 700;
  color: var(--text-hot);
}

.svc-card p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.svc-glyph {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 8px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(157, 78, 221, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
}

/* Vision / Mission */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.vm-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 56px 44px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.vm-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad-electric);
}

.vm-card .eyebrow {
  margin-bottom: 20px;
}

.vm-card h3 {
  font-family: var(--font-title);
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--text-hot);
}

.vm-card p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 15.5px;
}

/* Branches */
.branch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.branch-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 36px 30px;
  background: var(--panel);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
}

.branch-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-electric);
  border-color: rgba(0, 229, 255, 0.2);
}

.branch-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
  margin-bottom: 20px;
  position: relative;
}

.branch-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--cyan);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.branch-card h3 {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-hot);
}

.branch-card .role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 8px;
  display: block;
}

.branch-card p {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

/* Pyramid References Section */
.pyramid-wrap {
  position: relative;
  padding: 40px 10px;
  width: 100%;
}

#arcSvg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}

.pyramid-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  z-index: 2;
}

.node-apex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 3;
}

.node-apex .apex-badge {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.06), rgba(3, 4, 8, 0.98) 75%);
  box-shadow: var(--shadow-electric);
  cursor: pointer;
  transition: all 0.3s ease;
}

.node-apex .apex-badge img {
  width: 58%;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.7));
}

.node-apex small {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: var(--cyan);
  text-transform: uppercase;
}

.pyramid-row {
  display: flex;
  gap: 44px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 3;
  width: 100%;
}

.pyramid-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.node-card {
  width: 136px;
  height: 96px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.015);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  position: relative;
  transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease;
}

.pyramid-node:hover .node-card {
  transform: translateY(-5px) scale(1.05);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.03);
}

.node-led {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.25));
  transition: opacity 0.4s ease, filter 0.4s ease, transform 0.4s ease;
}

/* All 9 logos are vector SVGs styled in glowing white and transparent */
.node-led img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.25));
  transform: scale(0.95); /* Fits beautifully inside standard card dimensions with padding */
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* Original white-on-black raster logos (screen blend removes black background) */
.node-led img.logo-original-wob {
  mix-blend-mode: screen;
}

.pyramid-node:hover .node-led {
  opacity: 0.85;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

/* Specific Scale Adjustments based on User Requests */

/* Mengerler: scale up */
#node-mengerler .node-led img {
  transform: scale(1.22);
}
#node-mengerler:hover .node-led img {
  transform: scale(1.32);
}

/* Bilavaş: scale up and center */
#node-bilavas .node-led img {
  transform: scale(1.15);
  margin: 0 auto;
}
#node-bilavas:hover .node-led img {
  transform: scale(1.25);
}

/* Şenol Mobilya: scale up and shift right */
#node-senol .node-led img {
  transform: scale(1.75) translateX(8px);
}
#node-senol:hover .node-led img {
  transform: scale(1.85) translateX(8px);
}

/* It's 545: scale up */
#node-c45 .node-led img {
  transform: scale(1.4);
}
#node-c45:hover .node-led img {
  transform: scale(1.5);
}

/* Alp Metal Döküm: fit inside box container */
#node-alpmetal .node-led img {
  transform: scale(0.95);
}
#node-alpmetal:hover .node-led img {
  transform: scale(1.05);
}

/* Fiorenza Valente: scale up */
#node-fiorenza .node-led img {
  transform: scale(1.38);
}
#node-fiorenza:hover .node-led img {
  transform: scale(1.48);
}

/* Saathane Taşhan: scale up and shift left */
#node-tashan .node-led img {
  transform: scale(1.65) translateX(-8px);
}
#node-tashan:hover .node-led img {
  transform: scale(1.75) translateX(-8px);
}

/* Aloom Peyman: flat white scale */
#node-aloompeyman .node-led img {
  transform: scale(0.95);
}
#node-aloompeyman:hover .node-led img {
  transform: scale(1.05);
}

/* Mix Fuarcılık: fit inside box container */
#node-mix .node-led img {
  transform: scale(0.95);
}
#node-mix:hover .node-led img {
  transform: scale(1.05);
}

/* General hover scale for nodes that don't have overrides */
.pyramid-node:hover .node-led img:not(#node-mengerler img):not(#node-bilavas img):not(#node-senol img):not(#node-c45 img):not(#node-alpmetal img):not(#node-fiorenza img):not(#node-tashan img):not(#node-aloompeyman img):not(#node-mix img) {
  transform: scale(1.05);
}

.pyramid-node .lbl {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  text-align: center;
  max-width: 150px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.pyramid-node:hover .lbl {
  color: var(--text-hot);
}

/* Animations for Lightning Impacts */
.node-led.flash {
  animation: ledFlash 0.7s cubic-bezier(0.16, 0.9, 0.28, 1);
}

@keyframes ledFlash {
  0% { opacity: 0.55; filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.25)) brightness(1); }
  8% { opacity: 1; filter: drop-shadow(0 0 35px #ffffff) drop-shadow(0 0 70px var(--purple)) brightness(3.5); }
  30% { opacity: 1; filter: drop-shadow(0 0 20px #ffffff) brightness(1.8); }
  100% { opacity: 0.65; filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.45)) brightness(1); }
}

.node-card.flash {
  animation: cardFlash 0.7s cubic-bezier(0.16, 0.9, 0.28, 1);
}

@keyframes cardFlash {
  0% { border-color: rgba(255, 255, 255, 0.08); box-shadow: none; background: rgba(255, 255, 255, 0.015); transform: scale(1); }
  8% { border-color: #fff; box-shadow: 0 0 40px rgba(255, 255, 255, 0.9), 0 0 80px rgba(157, 78, 221, 0.8), inset 0 0 25px rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.15); transform: scale(1.08); }
  35% { border-color: rgba(255, 255, 255, 0.6); box-shadow: var(--shadow-electric); background: rgba(255, 255, 255, 0.04); transform: scale(1.02); }
  100% { border-color: rgba(255, 255, 255, 0.08); box-shadow: none; background: rgba(255, 255, 255, 0.015); transform: scale(1); }
}

/* Extra High-Energy Impact Animations for Mercedes Mengerler Logo */
.node-card.mengerler-flash {
  animation: mengerlerCardFlash 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes mengerlerCardFlash {
  0% { border-color: rgba(255, 255, 255, 0.08); box-shadow: none; background: rgba(255, 255, 255, 0.015); transform: scale(1); }
  10% { border-color: #ffffff; box-shadow: 0 0 50px 10px rgba(255, 255, 255, 1), 0 0 100px 20px rgba(157, 78, 221, 0.9), inset 0 0 40px rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.25); transform: scale(1.22); }
  30% { border-color: rgba(255, 255, 255, 0.8); box-shadow: 0 0 30px rgba(255, 255, 255, 0.6); transform: scale(1.08); }
  100% { border-color: rgba(255, 255, 255, 0.08); box-shadow: none; background: rgba(255, 255, 255, 0.015); transform: scale(1); }
}

.node-led.mengerler-flash {
  animation: mengerlerLedFlash 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes mengerlerLedFlash {
  0% { opacity: 0.55; filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.3)) brightness(1); }
  10% { opacity: 1; filter: drop-shadow(0 0 40px #ffffff) drop-shadow(0 0 80px var(--purple)) drop-shadow(0 0 120px #fff) brightness(4.5); }
  30% { opacity: 1; filter: drop-shadow(0 0 25px #ffffff) brightness(2); }
  100% { opacity: 0.65; filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.45)) brightness(1); }
}

.apex-badge.flash {
  animation: apexFlash 0.5s ease-out;
}

@keyframes apexFlash {
  0% { box-shadow: var(--shadow-electric); filter: brightness(1); transform: scale(1); }
  15% { box-shadow: 0 0 50px rgba(255, 255, 255, 0.9), 0 0 100px rgba(157, 78, 221, 0.8); filter: brightness(2.2); transform: scale(1.1); }
  100% { box-shadow: var(--shadow-electric); filter: brightness(1); transform: scale(1); }
}

/* Lightning Arc SVG Paths */
.arc-path {
  fill: none;
  stroke: url(#arcGrad);
  stroke-width: 2.5;
  opacity: 0;
  stroke-linecap: round;
  filter: url(#arcGlow);
}

.arc-path.firing {
  animation: arcDraw 0.22s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes arcDraw {
  0% { stroke-dashoffset: var(--len); opacity: 1; }
  50% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

/* Form Panel */
.form-card {
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 56px;
  background: var(--panel);
  backdrop-filter: blur(14px);
  position: relative;
}

.field {
  margin-bottom: 24px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 14px 18px;
  color: var(--text-hot);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

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

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-note {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 18px;
  text-align: center;
  line-height: 1.6;
}

.submit-row {
  margin-top: 12px;
}

.submit-row .btn {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 15px;
}

/* Footer styling */
footer {
  border-top: 1px solid var(--line);
  padding: 80px 0 40px;
  background: rgba(3, 4, 8, 0.95);
  position: relative;
  z-index: 2;
}

.foot-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.foot-logo-col {
  max-width: 320px;
}

.footer-logo {
  height: 32px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.5));
}

.foot-logo-col p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 16px;
  line-height: 1.7;
}

.foot-links-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.foot-links-col h4 {
  font-family: var(--font-title);
  font-size: 12px;
  color: var(--text-hot);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.foot-links-col a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.2s ease;
}

.foot-links-col a:hover {
  color: var(--cyan);
}

.foot-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-dim);
  font-size: 13px;
}

.foot-bottom a {
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.foot-bottom a:hover {
  color: var(--text-muted);
}

/* FAB Stack */
.fab-stack {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 60;
}

.fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(10, 12, 22, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  color: var(--text-hot);
}

.fab:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: var(--shadow-electric);
  border-color: rgba(0, 229, 255, 0.3);
}

.fab svg {
  width: 22px;
  height: 22px;
}

.fab.whatsapp svg {
  color: #25d366;
  filter: drop-shadow(0 0 4px rgba(37, 211, 102, 0.3));
}

.fab.call svg {
  color: var(--cyan);
}

.fab.sound svg {
  color: var(--purple);
}

.fab.sound.on {
  background: var(--purple);
  color: #030408;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(157, 78, 221, 0.6);
}

.fab.sound.on svg {
  color: #030408;
}

/* Mobile responsive fixes */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vm-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 12px;
    padding: 12px 16px;
    align-items: center;
  }
  .nav-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    width: 100%;
  }
  .nav-actions .btn {
    display: none;
  }
  .lang-selector-row {
    margin-right: 0;
    justify-content: center;
    max-width: 100%;
  }
  .tel-group {
    font-size: 11px;
    padding: 6px 12px;
    gap: 8px;
  }
  .branch-grid {
    grid-template-columns: 1fr;
  }
  nav.links {
    display: none;
  }


  .field-row {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: 36px 24px;
  }
  .hero {
    padding: 100px 20px 60px;
  }
}

/* Language Switcher Styling */
.lang-selector-row {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-right: 8px;
  flex-wrap: wrap;
  max-width: 250px;
  justify-content: flex-end;
}

.lang-btn {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  line-height: 1;
}

.lang-btn:hover {
  color: var(--cyan);
  border-color: rgba(0, 229, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.lang-btn.active {
  color: #030408;
  background: var(--cyan);
  border-color: transparent;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}


@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .pyramid-row {
    gap: 20px;
  }
  .node-card {
    width: 110px;
    height: 78px;
    border-radius: 12px;
    padding: 10px;
  }
  .pyramid-node .lbl {
    font-size: 10px;
    max-width: 110px;
  }
  .node-apex .apex-badge {
    width: 90px;
    height: 90px;
  }
  .foot-grid {
    flex-direction: column;
    gap: 30px;
  }
  .foot-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
