/* =========================================================
   G-Elec LTD — design tokens
   ========================================================= */
:root {
  /* Palette */
  --charcoal-950: #0d0f11;
  --charcoal-900: #131619;
  --charcoal-800: #1b1f23;
  --charcoal-700: #262b30;
  --charcoal-600: #363d44;
  --charcoal-400: #6b747c;
  --grey-200: #cfd5da;
  --grey-100: #e7eaed;
  --off-white: #f4f6f7;

  --blue-300: #a9e0f5;
  --blue-400: #7fd0ee;
  --blue-500: #4fb8e6;
  --blue-600: #2e9bcf;
  --blue-700: #1f7aa8;

  --red-300: #f3a6ac;
  --red-400: #ea8188;
  --red-500: #e0616a;
  --red-600: #c94750;

  --bg: var(--charcoal-900);
  --bg-elevated: var(--charcoal-800);
  --bg-elevated-2: var(--charcoal-700);
  --text-primary: var(--off-white);
  --text-secondary: var(--grey-200);
  --text-muted: var(--charcoal-400);
  --accent: var(--blue-500);
  --accent-strong: var(--blue-400);
  --accent-red: var(--red-500);

  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --container: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(.22,.9,.32,1);
  --header-h: 76px;
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.site-header .container { max-width: 1440px; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--charcoal-950);
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  z-index: 999;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

::selection { background: var(--accent); color: var(--charcoal-950); }

/* =========================================================
   Typography helpers
   ========================================================= */
.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin: 0 0 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 18px;
  letter-spacing: -.01em;
}
.lead {
  font-size: 19px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 60ch;
}
.emphasis {
  color: var(--text-primary);
  font-weight: 600;
  border-left: 3px solid var(--accent-red);
  padding-left: 16px;
  margin-top: 24px;
}
.section { padding: 108px 0; position: relative; scroll-margin-top: var(--header-h); }
.hero { scroll-margin-top: 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
  position: relative;
}
.btn .icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

.btn-primary {
  background: linear-gradient(135deg, var(--red-500), var(--red-600));
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(224,97,106,.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -6px rgba(224,97,106,.7); }
.btn-primary:hover .icon { transform: translateX(3px); }

.btn-outline {
  border: 1.5px solid rgba(127, 208, 238, .4);
  color: var(--text-primary);
  background: rgba(127, 208, 238, .04);
}
.btn-outline:hover { border-color: var(--accent-strong); background: rgba(127, 208, 238, .1); box-shadow: 0 0 0 4px rgba(127,208,238,.08); }

.btn-ghost {
  color: var(--text-secondary);
  padding: 10px 6px;
}
.btn-ghost:hover { color: var(--accent-strong); }

.btn-portal {
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  color: var(--charcoal-950);
  box-shadow: 0 8px 24px -8px rgba(79,184,230,.6);
}
.btn-portal:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -6px rgba(79,184,230,.75); }
.btn-portal:hover .icon { transform: translateX(3px); }
.btn-ghost .icon { width: 16px; height: 16px; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(19, 22, 25, 0);
  border-bottom: 1px solid rgba(255,255,255,0);
  transition: background .4s var(--ease), border-color .4s var(--ease), height .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(13, 15, 17, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,.06);
  height: 68px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo-chip {
  display: inline-flex;
  align-items: center;
  background: rgba(244, 246, 247, .96);
  border-radius: 8px;
  padding: 6px 10px;
  flex-shrink: 0;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.brand:hover .brand-logo-chip { transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(0,0,0,.4); }
.brand-logo { height: 24px; width: auto; display: block; }

.main-nav { flex-shrink: 1; min-width: 0; }
.main-nav ul { display: flex; gap: clamp(8px, 1.4vw, 26px); flex-wrap: nowrap; }
.nav-link {
  font-size: clamp(12.5px, 1vw, 14.5px);
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color .25s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-red));
  transition: right .3s var(--ease);
  border-radius: 2px;
}
.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: clamp(6px, 1vw, 14px); flex-shrink: 0; }
.header-actions .btn-primary { padding: 11px 18px; font-size: clamp(13px, 1vw, 15px); white-space: nowrap; }
.header-call {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
}
.header-call .icon { width: 16px; height: 16px; }
.header-call span { display: none; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  z-index: 210;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
  margin: 0 auto;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(13, 15, 17, .98);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 32px) 24px 32px;
  gap: 26px;
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  z-index: 190;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 6px; }
.mobile-nav .nav-link { font-size: 22px; font-family: var(--font-display); font-weight: 600; padding: 10px 0; }
.mobile-nav .btn { margin-top: 6px; }

/* Language switch */
.lang-switch { position: relative; }
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease);
}
.lang-toggle .icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang-toggle:hover { color: var(--accent-strong); border-color: rgba(127,208,238,.4); background: rgba(127,208,238,.06); }

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 168px;
  background: var(--charcoal-800);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  padding: 6px;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.lang-option span { font-weight: 500; color: var(--text-secondary); font-size: 13px; }
.lang-option:hover { background: rgba(127,208,238,.1); }
.lang-option.active { color: var(--accent-strong); }
.lang-option.active span { color: var(--accent-strong); }

.lang-switch-mobile {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.lang-switch-mobile .lang-option {
  width: auto;
  border: 1px solid rgba(255,255,255,.12);
  padding: 8px 14px;
}
.lang-switch-mobile .lang-option span { display: none; }

.portal-switch { position: relative; }

.portal-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  background: var(--charcoal-800);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  padding: 6px;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  z-index: 40;
}
.portal-switch.open .portal-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.portal-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.portal-option .icon { width: 17px; height: 17px; flex-shrink: 0; fill: none; stroke: var(--accent-strong); stroke-width: 1.8; }
.portal-option:hover { background: rgba(127,208,238,.1); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 70% 20%, #17232a 0%, var(--charcoal-950) 62%);
}
.circuit-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hero-fallback {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(127,208,238,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127,208,238,.06) 1px, transparent 1px);
  background-size: 46px 46px;
  display: none;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,15,17,.25) 0%, rgba(13,15,17,.15) 40%, var(--bg) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: var(--header-h);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(52px, 11vw, 128px);
  line-height: .95;
  letter-spacing: -.02em;
  margin: 6px 0 20px;
}
.hero-title .line { display: inline-block; color: var(--text-primary); }
.hero-title .accent {
  color: var(--accent-strong);
  margin-left: .28em;
  text-shadow: 0 0 40px rgba(127,208,238,.45);
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 18px;
}
.hero-copy {
  max-width: 620px;
  color: var(--text-secondary);
  font-size: 17px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(244,246,247,.3);
  border-radius: 14px;
  z-index: 2;
}
.scroll-cue span {
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--accent-strong);
  border-radius: 2px;
  animation: scrollcue 1.8s infinite var(--ease);
}
@keyframes scrollcue {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; }
}

/* =========================================================
   About
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 72px;
  align-items: center;
}
.about-copy p { color: var(--text-secondary); margin-bottom: 18px; font-size: 16.5px; }
.about-copy .lead { color: var(--text-primary); font-weight: 500; }

.about-visual { display: flex; justify-content: center; }
.circuit-card {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--charcoal-800), var(--charcoal-900));
  border: 1px solid rgba(255,255,255,.06);
  padding: 30px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
.circuit-schematic { width: 100%; height: 100%; }
.schematic-lines path {
  fill: none;
  stroke: rgba(127,208,238,.35);
  stroke-width: 2;
  stroke-linecap: round;
}
.schematic-nodes circle { fill: var(--accent-strong); filter: drop-shadow(0 0 6px rgba(127,208,238,.8)); }

/* =========================================================
   Services
   ========================================================= */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  background: linear-gradient(160deg, var(--bg-elevated), var(--charcoal-900));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(127,208,238,0), rgba(127,208,238,0));
  transition: background .4s var(--ease);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(127,208,238,.35);
  box-shadow: 0 24px 50px -20px rgba(79,184,230,.25);
}
.service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(127,208,238,.1);
  margin-bottom: 22px;
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.service-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--accent-strong); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-card:hover .service-icon { background: rgba(224,97,106,.15); transform: rotate(-6deg) scale(1.05); }
.service-card:hover .service-icon svg { stroke: var(--red-400); }
.service-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin-bottom: 12px; }
.service-card p { color: var(--text-secondary); font-size: 15px; line-height: 1.65; }

.expertise-strip {
  margin-top: 48px;
  padding: 26px 30px;
  border-radius: var(--radius-md);
  background: rgba(127,208,238,.05);
  border: 1px dashed rgba(127,208,238,.25);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.expertise-label { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--text-primary); margin: 0; }
.tag-list { display: flex; gap: 10px; flex-wrap: wrap; }
.tag-list li {
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--charcoal-800);
  border: 1px solid rgba(255,255,255,.08);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.tag-list li:hover { color: var(--accent-strong); border-color: rgba(127,208,238,.4); }

/* =========================================================
   Why / testimonials
   ========================================================= */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.why-list { display: flex; flex-direction: column; gap: 30px; margin-top: 30px; }
.why-list li { display: flex; gap: 20px; }
.why-icon {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-strong);
  border: 1px solid rgba(127,208,238,.35);
  border-radius: 50%;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.why-list h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; font-family: var(--font-display); }
.why-list p { color: var(--text-secondary); font-size: 15px; }

.testimonial-list { display: flex; flex-direction: column; gap: 20px; margin-top: 30px; }
.testimonial {
  margin: 0;
  padding: 26px 28px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,.06);
  border-left: 3px solid var(--accent-red);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.testimonial:hover { transform: translateX(4px); border-left-color: var(--accent-strong); }
.testimonial p { color: var(--text-secondary); font-size: 15px; line-height: 1.7; font-style: italic; }
.testimonial cite { display: block; margin-top: 14px; font-style: normal; font-size: 13px; font-weight: 600; color: var(--accent-strong); }

/* =========================================================
   Projects
   ========================================================= */
.projects-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.projects-col-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent-strong);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.project-list { display: flex; flex-direction: column; }
.project-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 4px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: padding-left .3s var(--ease), border-color .3s var(--ease);
}
.project-list li:hover { padding-left: 12px; border-color: rgba(127,208,238,.3); }
.project-name { font-family: var(--font-display); font-weight: 600; font-size: 16.5px; }
.project-tags { display: flex; gap: 8px; }
.tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(224,97,106,.12);
  color: var(--red-400);
}

/* =========================================================
   Location
   ========================================================= */
.location { background: linear-gradient(180deg, var(--bg), var(--charcoal-800) 130%); }
.location-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
  align-items: center;
}
.location-visual { display: flex; justify-content: center; }
.location-pin { width: 220px; height: 220px; }
.pin-ring { fill: none; stroke: rgba(127,208,238,.18); stroke-width: 1; }
.pin-ring-2 { stroke: rgba(127,208,238,.3); animation: pulse-ring 3s infinite var(--ease); transform-origin: center; }
.pin-body { fill: var(--accent-strong); filter: drop-shadow(0 0 24px rgba(79,184,230,.55)); }
.pin-dot { fill: var(--charcoal-950); }
@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: .5; }
}

/* =========================================================
   Contact
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 48px;
  align-items: start;
}
.contact-methods { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,.06);
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.contact-card:hover { transform: translateY(-3px); border-color: rgba(127,208,238,.35); background: var(--charcoal-700); }
.contact-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(127,208,238,.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent-strong); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wa-glyph { fill: var(--accent-strong); stroke: none; }
.contact-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.contact-card p { font-size: 14.5px; color: var(--text-secondary); }

.contact-socials { display: flex; gap: 12px; margin-top: 6px; }
.social-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.social-btn svg { width: 18px; height: 18px; fill: var(--text-secondary); transition: fill .3s var(--ease); }
.social-btn:hover { transform: translateY(-3px); background: var(--accent); border-color: var(--accent); }
.social-btn:hover svg { fill: var(--charcoal-950); }

.contact-form {
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 13.5px; font-weight: 600; color: var(--text-secondary); }
.form-row input, .form-row textarea {
  background: var(--charcoal-900);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--text-primary);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,184,230,.18);
}
.form-note { font-size: 13.5px; color: var(--accent-strong); min-height: 18px; margin: 0; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--charcoal-950); border-top: 1px solid rgba(255,255,255,.06); padding-top: 64px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand p { color: var(--text-muted); margin-top: 14px; font-size: 14.5px; }
.footer-col h4 { font-family: var(--font-display); font-size: 14px; margin-bottom: 18px; color: var(--text-primary); }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--text-muted); font-size: 14.5px; transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--accent-strong); }
.footer-col li { color: var(--text-muted); font-size: 14.5px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 22px 24px;
  color: var(--text-muted);
  font-size: 13.5px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px;
}
.footer-bottom a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; transition: color .25s var(--ease); }
.footer-bottom a:hover { color: var(--accent-strong); }

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.hero-inner .reveal { transition-delay: calc(var(--reveal-i, 0) * 90ms); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .why-grid, .location-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1080px) {
  .main-nav, .header-actions .header-call, .header-actions .btn-primary { display: none; }
  .header-actions .lang-switch { display: none; }
  .header-actions .portal-switch { display: none; }
  .menu-toggle { display: flex; }
}

@media (max-width: 860px) {
  .section { padding: 76px 0; }
  .projects-columns { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 640px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .service-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .expertise-strip { flex-direction: column; align-items: flex-start; }
  .circuit-card { max-width: 280px; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue span { animation: none; opacity: 1; top: 20px; }
  .pin-ring-2 { animation: none; }
  .btn, .service-card, .contact-card, .testimonial, .social-btn, .nav-link::after {
    transition-duration: .01ms !important;
  }
}
