/*
Theme Name: Network IT Solution (NITSS)
Theme URI: https://nitss.in
Author: NITSS
Description: Pan-India IT infrastructure, staffing, call-support backup and break-fix one-page theme with a built-in inquiry form that saves customer submissions to the WordPress admin (Service Inquiries) and emails hr@nitss.in.
Version: 2.0.0
Requires at least: 5.9
Requires PHP: 7.4
Text Domain: nitss
*/

/* =========================================================
   NETWORK IT SOLUTION (NITSS) — design tokens
   Direction: a live network-operations console, not a startup
   marketing page. Dark control-room base, signal-green for
   "systems up", signal-amber for calls-to-action / alerts,
   cyan for the dispatch-network lines. Type: IBM Plex Mono
   for anything that reads like a readout (headlines, stats,
   labels), IBM Plex Sans for body copy.
   ========================================================= */

/* =========================================================
   NETWORK IT SOLUTION (NITSS) — design tokens
   Direction: "Aurora" — a futuristic, glass-morphic surface
   over a slow-drifting indigo/cyan/violet gradient field, with
   3D tilt on cards, glowing accents, and animated data readouts.
   Text stays dark-on-light throughout for contrast; the
   futurism lives in motion and glow, not in a dark backdrop.
   Type: IBM Plex Mono for anything that reads like a readout
   (headlines, stats, labels), IBM Plex Sans for body copy.
   ========================================================= */

:root {
  --bg: #eef3fc;
  --bg-raised: #ffffff;
  --surface: rgba(255,255,255,0.82);
  --surface-2: #eef4fb;
  --line: #d3ddf0;
  --line-soft: #dee6f6;

  --text: #0d1b2a;
  --text-muted: #3d5166;
  --text-faint: #6b7f95;

  --signal-green: #0e8a5f;
  --signal-green-dim: #bfe8d7;
  --signal-amber: #c2660a;
  --signal-amber-dim: #f3dcb8;
  --signal-cyan: #0d6b8c;
  --signal-red: #c0392b;

  /* futuristic accent system */
  --accent-1: #4338ca;   /* indigo   */
  --accent-2: #0891b2;   /* cyan     */
  --accent-3: #7c3aed;   /* violet   */
  --accent-grad: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 55%, var(--accent-3) 100%);
  --accent-grad-soft: linear-gradient(135deg, rgba(67,56,202,0.14), rgba(8,145,178,0.14), rgba(124,58,237,0.14));
  --glow: 0 0 0 1px rgba(67,56,202,0.10), 0 12px 30px -10px rgba(67,56,202,0.35);

  --radius-s: 4px;
  --radius-m: 10px;
  --radius-l: 18px;

  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ---------- animated aurora backdrop ---------- */
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

.aurora-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.aurora-field::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: conic-gradient(from 0deg at 30% 20%,
    rgba(67,56,202,0.16), rgba(8,145,178,0.14), rgba(124,58,237,0.15),
    rgba(67,56,202,0.16));
  filter: blur(60px);
  animation: aurora-spin 26s linear infinite;
}
@keyframes aurora-spin {
  to { transform: rotate(360deg); }
}
.aurora-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(67,56,202,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(67,56,202,0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 40%, transparent 85%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.5;
  animation: orb-float 16s ease-in-out infinite;
}
.orb.o1 { width: 320px; height: 320px; top: -60px; left: -60px; background: var(--accent-2); animation-duration: 19s; }
.orb.o2 { width: 260px; height: 260px; top: 30%; right: -80px; background: var(--accent-3); animation-duration: 23s; animation-delay: -4s; }
.orb.o3 { width: 220px; height: 220px; bottom: -60px; left: 20%; background: var(--accent-1); animation-duration: 21s; animation-delay: -9s; }
@keyframes orb-float {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-25px) scale(1.08); }
  66% { transform: translate(-20px,20px) scale(0.95); }
}

/* particle field (hero only) */
.particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.particle {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent-2);
  opacity: 0.5;
  animation: particle-drift linear infinite;
}
@keyframes particle-drift {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.5; }
  100% { transform: translateY(-140px) translateX(20px); opacity: 0; }
}

/* scroll progress bar */
#scrollProgress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--accent-grad);
  z-index: 200;
  transition: width 0.1s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- eyebrow / labels / readouts ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal-cyan);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal-green);
  box-shadow: 0 0 0 3px rgba(62,207,142,0.15);
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(62,207,142,0.15); }
  50% { box-shadow: 0 0 0 6px rgba(62,207,142,0.05); }
}

h1, h2, h3, h4 {
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
}

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; }
.section-head p { color: var(--text-muted); font-size: 16px; margin-top: 14px; }

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

/* ---------- top nav ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line-soft);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.brand .mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--accent-grad);
  box-shadow: 0 4px 14px -4px rgba(67,56,202,0.55);
  position: relative;
  flex-shrink: 0;
}
.brand .mark::after {
  content: "";
  position: absolute; inset: 6px;
  border: 1.5px solid rgba(255,255,255,0.65);
  border-radius: 3px;
}
.brand .tag { color: var(--text-faint); font-weight: 400; font-size: 11px; }

nav.mainnav {
  display: flex;
  gap: 28px;
  font-size: 14px;
}
nav.mainnav a {
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
nav.mainnav a:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-phone {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  display: none;
}
@media (min-width: 820px) { .nav-phone { display: inline; } }

.btn {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  border-radius: var(--radius-s);
  padding: 10px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, filter 0.15s ease;
}
.btn-primary {
  background: var(--accent-grad);
  background-size: 160% 160%;
  color: #ffffff;
  font-weight: 600;
  box-shadow: var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 0 0 1px rgba(67,56,202,0.15), 0 16px 34px -10px rgba(67,56,202,0.5); }
.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--accent-2); color: var(--accent-2); transform: translateY(-2px); }

.mobile-toggle { display: none; background: none; border: none; color: var(--text); font-size: 22px; cursor: pointer; }
@media (max-width: 900px) {
  nav.mainnav { display: none; }
  .mobile-toggle { display: block; }
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0 18px;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 4px;
  text-decoration: none;
  color: var(--text-muted);
  border-top: 1px solid var(--line-soft);
  font-size: 15px;
}

/* ---------- hero ---------- */
.hero {
  padding: 72px 0 40px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 {
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.hero h1 .accent {
  background: var(--accent-grad);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 6s ease infinite;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero .lede {
  margin-top: 20px;
  font-size: 17px;
  max-width: 480px;
  color: var(--text-muted);
}
.hero-cta {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-metrics {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 34px;
}
.metric .num {
  font-family: var(--mono);
  font-size: 26px;
  color: var(--text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.metric .num .unit { color: var(--accent-2); font-size: 16px; }
.metric .label {
  font-size: 12px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ---------- signature: network map (glass + 3D tilt) ---------- */
.mapcard {
  background: var(--surface);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: var(--glow);
  border-radius: var(--radius-l);
  padding: 18px;
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
  will-change: transform;
}
.mapcard-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 2px 6px 12px;
}
.mapcard-head .live { color: var(--signal-green); display: flex; align-items: center; gap: 6px; }
.mapcard-head .live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--signal-green); animation: pulse-dot 2.2s ease-in-out infinite;
}
#india-map { width: 100%; height: auto; display: block; }

.node { fill: var(--signal-amber); }
.node-ring {
  fill: none;
  stroke: var(--signal-amber);
  stroke-width: 1.4;
  opacity: 0;
  transform-origin: center;
  animation: node-pulse 2.6s ease-out infinite;
}
.node.hub { fill: var(--signal-green); }
.node-ring.hub { stroke: var(--signal-green); }
@keyframes node-pulse {
  0% { opacity: 0.7; transform: scale(0.4); }
  80% { opacity: 0; transform: scale(2.6); }
  100% { opacity: 0; transform: scale(2.6); }
}
.dispatch-line {
  fill: none;
  stroke: var(--signal-cyan);
  stroke-width: 1;
  stroke-dasharray: 3 5;
  opacity: 0.55;
  animation: dash-flow 22s linear infinite;
}
@keyframes dash-flow {
  to { stroke-dashoffset: -400; }
}
.india-outline {
  fill: rgba(13,116,144,0.06);
  stroke: #b7c2d1;
  stroke-width: 1.2;
}
.city-label {
  font-family: var(--mono);
  font-size: 9px;
  fill: var(--text-faint);
}

.mapcard-legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding: 12px 6px 2px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-faint);
}
.mapcard-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot.amber { background: var(--signal-amber); }
.dot.green { background: var(--signal-green); }

/* ---------- logos strip ---------- */
.strip {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 22px 0;
  position: relative;
  overflow: hidden;
}
.strip .wrap {
  display: flex;
  gap: 34px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.strip .wrap span { white-space: nowrap; position: relative; }
.strip .wrap span::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  margin-right: 8px;
  vertical-align: middle;
}

/* ---------- generic section ---------- */
section { padding: 88px 0; }
section.tight { padding: 64px 0; }

/* ---------- services grid ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-card {
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-m);
  padding: 26px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}
.svc-card::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--accent-grad-soft);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.svc-card:hover { box-shadow: var(--glow); border-color: rgba(67,56,202,0.25); }
.svc-card:hover::before { opacity: 1; }
.svc-card .idx {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent-2);
  letter-spacing: 0.1em;
  position: relative;
}
.svc-card h3 {
  font-size: 18px;
  margin-top: 14px;
  font-weight: 600;
  position: relative;
}
.svc-card p { font-size: 14px; margin-top: 10px; position: relative; }
.svc-card .icon-row {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--accent-grad-soft);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
  position: relative;
}
.svc-card svg { width: 20px; height: 20px; stroke: var(--accent-1); }

/* ---------- process (real sequence: ticket -> dispatch -> resolve -> report) ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
@media (max-width: 860px) { .process { grid-template-columns: 1fr; gap: 26px; } }
.process::before {
  content: "";
  position: absolute;
  top: 21px; left: 0; right: 0;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--line) 0 8px, transparent 8px 14px);
}
@media (max-width: 860px) { .process::before { display: none; } }
.step { position: relative; padding-right: 20px; }
.step .n {
  font-family: var(--mono);
  font-size: 13px;
  color: #fff;
  background: var(--accent-grad);
  box-shadow: 0 6px 16px -6px rgba(67,56,202,0.5);
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  z-index: 1;
  position: relative;
}
.step h4 { margin-top: 18px; font-size: 15px; }
.step p { font-size: 13.5px; margin-top: 8px; }

/* ---------- why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: start;
}
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; } }
.why-list { display: flex; flex-direction: column; gap: 22px; }
.why-item { display: flex; gap: 16px; }
.why-item .chk {
  width: 22px; height: 22px; flex-shrink: 0;
  border-radius: 5px;
  background: rgba(62,207,142,0.12);
  border: 1px solid var(--signal-green-dim);
  color: var(--signal-green);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; margin-top: 3px;
}
.why-item h4 { font-size: 15.5px; font-weight: 600; }
.why-item p { font-size: 14px; margin-top: 4px; }

.sla-panel {
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: var(--glow);
  border-radius: var(--radius-l);
  padding: 26px;
}
.sla-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 13px;
}
.sla-row:last-child { border-bottom: none; }
.sla-row .sev { color: var(--text-muted); }
.sla-badge {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  letter-spacing: 0.05em;
}
.sla-badge.crit { background: rgba(224,88,90,0.14); color: var(--signal-red); }
.sla-badge.high { background: rgba(240,166,58,0.14); color: var(--signal-amber); }
.sla-badge.norm { background: rgba(62,207,142,0.14); color: var(--signal-green); }

/* ---------- testimonials (slider) ---------- */
.testi-slider { position: relative; overflow: hidden; }
.testi-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}
.testi-slide { min-width: 100%; padding: 4px; }
@media (min-width: 720px) {
  .testi-slide { min-width: 33.333%; padding: 4px 10px; }
}
.testi-grid { display: contents; }
.testi-card {
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-m);
  padding: 24px;
  height: 100%;
  transition: box-shadow 0.2s ease;
}
.testi-card:hover { box-shadow: var(--glow); }
.testi-card p.quote { color: var(--text); font-size: 14.5px; line-height: 1.65; }
.testi-card .who {
  margin-top: 16px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; color: var(--text-faint);
}
.testi-card .who .avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-grad);
}
.testi-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.testi-dots button {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line); border: none; cursor: pointer; padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.testi-dots button.active { background: var(--accent-2); transform: scale(1.3); }

/* ---------- FAQ accordion ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.faq-item {
  background: var(--surface);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-m);
  padding: 4px 20px;
  transition: box-shadow 0.2s ease;
}
.faq-item[open] { box-shadow: var(--glow); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 20px;
  color: var(--accent-2);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 18px; font-size: 14px; margin: 0; }

/* ---------- contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
}
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; } }

.contact-info-card {
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: var(--glow);
  border-radius: var(--radius-l);
  padding: 28px;
}
.contact-info-row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}
.contact-info-row:last-child { border-bottom: none; }
.contact-info-row .ic {
  width: 34px; height: 34px; border-radius: 7px;
  background: var(--accent-grad-soft); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-row svg { width: 16px; height: 16px; stroke: var(--accent-1); }
.contact-info-row .lbl { font-size: 12px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; }
.contact-info-row .val { font-family: var(--mono); font-size: 14.5px; margin-top: 3px; }
.contact-info-row a.val { text-decoration: none; }

form#inquiry-form {
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: var(--glow);
  border-radius: var(--radius-l);
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) { form#inquiry-form { grid-template-columns: 1fr; } }
form#inquiry-form .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 11px 12px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  transition: border-color 0.15s ease;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--signal-cyan);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--signal-cyan);
  outline-offset: 1px;
}
form#inquiry-form .submit-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}
.form-note { font-size: 12px; color: var(--text-faint); }
.form-status {
  font-family: var(--mono);
  font-size: 13px;
  padding: 10px 14px;
  border-radius: var(--radius-s);
  display: none;
}
.form-status.show { display: block; }
.form-status.ok { background: rgba(62,207,142,0.12); color: var(--signal-green); border: 1px solid var(--signal-green-dim); }
.form-status.err { background: rgba(224,88,90,0.12); color: var(--signal-red); border: 1px solid rgba(224,88,90,0.4); }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--line-soft);
  padding: 48px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h5 {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { text-decoration: none; color: var(--text-muted); font-size: 14px; }
.footer-grid a:hover { color: var(--signal-cyan); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-faint);
  font-family: var(--mono);
}

/* ---------- reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- back to top ---------- */
.totop {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: var(--glow);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 40;
}
.totop.show { opacity: 1; pointer-events: auto; }
.totop:hover { transform: translateY(-3px); }
@media (max-width: 640px) { .totop { bottom: 88px; } }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-fab {
  position: fixed;
  left: 22px; bottom: 22px;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px -6px rgba(37,211,102,0.6);
  z-index: 40;
  animation: wa-pulse 2.6s ease-in-out infinite;
}
.whatsapp-fab svg { width: 26px; height: 26px; fill: #fff; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 8px 24px -6px rgba(37,211,102,0.6), 0 0 0 0 rgba(37,211,102,0.5); }
  50% { box-shadow: 0 8px 24px -6px rgba(37,211,102,0.6), 0 0 0 10px rgba(37,211,102,0); }
}
@media (max-width: 640px) { .whatsapp-fab { bottom: 88px; } }

/* ---------- sticky mobile action bar ---------- */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px) saturate(160%);
  border-top: 1px solid var(--line-soft);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
}
@media (max-width: 640px) {
  .mobile-bar { display: flex; gap: 8px; }
  body { padding-bottom: 70px; }
}
.mobile-bar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 10.5px;
  padding: 6px 0;
  border-radius: var(--radius-s);
}
.mobile-bar a svg { width: 18px; height: 18px; stroke: currentColor; }
.mobile-bar a.primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: var(--glow);
}
.mobile-bar a.primary svg { stroke: #fff; }
