/* ============================================================
   MAHI TECH SERVICES — Theme (matched to logo.webp)
   Deep near-black navy + blue gradient (#011973 -> #01ACF8)
   ============================================================ */

:root {
  --bg: #050517;
  --bg-2: #0a0a1f;
  --bg-3: #0d1030;
  --card: #0c0f2b;
  --card-2: #101437;
  --line: rgba(1, 172, 248, 0.16);

  --blue-deep: #011973;
  --blue: #0256c9;
  --cyan: #01acf8;
  --cyan-soft: #4fc9ff;

  --grad: linear-gradient(135deg, #0256c9 0%, #01acf8 100%);
  --grad-deep: linear-gradient(135deg, #011973 0%, #0256c9 60%, #01acf8 100%);

  --text: #e9eefb;
  --muted: #9aa6c9;
  --white: #ffffff;

  --radius: 14px;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  --maxw: 1180px;

  --font: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; letter-spacing: 0.2px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

.section { padding: 84px 0; position: relative; }
.section.alt { background: var(--bg-2); }

.section-head { max-width: 760px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; }

.lead { color: var(--muted); font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 0;
  transition: 0.28s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #04102b;
  box-shadow: 0 12px 30px rgba(1, 172, 248, 0.28);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(1, 172, 248, 0.42); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(1, 172, 248, 0.5);
}
.btn-ghost:hover { background: rgba(1, 172, 248, 0.12); border-color: var(--cyan); transform: translateY(-3px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 5, 23, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name b { font-size: 17px; font-weight: 700; color: var(--white); letter-spacing: 0.4px; }
.brand-name span { font-size: 10px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--cyan); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 15px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 8px;
  transition: 0.22s;
}
.nav a:hover { color: var(--white); background: rgba(1, 172, 248, 0.1); }
.nav a.active { color: var(--white); background: rgba(1, 172, 248, 0.16); }

.nav-cta { margin-left: 8px; padding: 10px 22px; font-size: 14px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.hamburger span { width: 26px; height: 2.5px; background: var(--cyan); border-radius: 3px; transition: 0.3s; }

/* ============================================================
   HERO + SLIDER
   ============================================================ */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; }

.slider { position: absolute; inset: 0; z-index: 0; }
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  transform: scale(1.06);
}
.slide.active { opacity: 1; transform: scale(1); transition: opacity 1.4s ease-in-out, transform 7s ease-out; }

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5,5,23,0.96) 0%, rgba(5,5,23,0.86) 45%, rgba(5,5,23,0.55) 100%),
    linear-gradient(0deg, rgba(1,25,115,0.55), rgba(5,5,23,0.2));
}
.hero-content { position: relative; z-index: 2; max-width: 780px; padding: 60px 0; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border: 1px solid var(--line);
  background: rgba(1, 172, 248, 0.08);
  border-radius: 50px;
  font-size: 13px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--cyan-soft);
  font-weight: 500;
  margin-bottom: 22px;
}
.hero-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

.hero h1 { font-size: clamp(32px, 5vw, 56px); color: var(--white); margin-bottom: 20px; }
.hero p { font-size: clamp(16px, 2vw, 19px); color: #c4cdea; max-width: 680px; margin-bottom: 28px; }

.hero-focus {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  margin-bottom: 34px;
  padding: 16px 20px;
  border-left: 3px solid var(--cyan);
  background: rgba(10, 14, 45, 0.6);
  border-radius: 0 10px 10px 0;
}
.hero-focus span { font-size: 14px; font-weight: 600; color: var(--white); letter-spacing: 0.4px; }
.hero-focus span + span::before {
  content: "|";
  color: var(--cyan);
  margin: 0 16px;
  opacity: 0.55;
}

.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* slider dots */
.slider-dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.slider-dots button {
  width: 34px;
  height: 5px;
  border-radius: 4px;
  border: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: 0.3s;
}
.slider-dots button.active { background: var(--grad); width: 52px; }

/* ============================================================
   CAPABILITY / CARD GRIDS
   ============================================================ */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: 0.3s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.35s;
}
.card:hover { transform: translateY(-7px); border-color: rgba(1, 172, 248, 0.45); background: var(--card-2); box-shadow: var(--shadow); }
.card:hover::before { transform: scaleX(1); }

.card .ico {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: rgba(1, 172, 248, 0.12);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.card h3 { font-size: 18px; color: var(--white); margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 14.5px; }

/* capability items (numbered) */
.cap-item { text-align: center; padding: 30px 18px; }
.cap-item .num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--cyan);
  display: block;
  margin-bottom: 10px;
}
.cap-item h3 { font-size: 16.5px; }

/* ============================================================
   FOCUS STRIP / MARQUEE-LIKE BAND
   ============================================================ */
.focus-band {
  background: var(--grad-deep);
  padding: 22px 0;
  position: relative;
  z-index: 5;
}
.focus-band .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 30px;
}
.focus-band span {
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
  letter-spacing: 0.6px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.focus-band span::after { content: "•"; opacity: 0.6; }
.focus-band span:last-child::after { display: none; }

/* ============================================================
   STATS
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat {
  text-align: center;
  padding: 30px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stat b { display: block; font-size: 40px; font-weight: 700; line-height: 1; margin-bottom: 8px; }
.stat span { font-size: 14px; color: var(--muted); letter-spacing: 0.5px; }

/* ============================================================
   WHY US
   ============================================================ */
.why-item { display: flex; gap: 18px; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: 0.3s; }
.why-item:hover { border-color: rgba(1, 172, 248, 0.45); transform: translateY(-5px); background: var(--card-2); }
.why-item .num {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--grad);
  color: #04102b;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
}
.why-item h3 { font-size: 17px; color: var(--white); margin-bottom: 6px; }
.why-item p { color: var(--muted); font-size: 14.5px; }

/* ============================================================
   PAGE BANNER (inner pages)
   ============================================================ */
.page-banner {
  position: relative;
  padding: 96px 0;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.page-banner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5,5,23,0.95), rgba(1,25,115,0.75));
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { font-size: clamp(30px, 4.6vw, 48px); color: var(--white); margin-bottom: 14px; }
.page-banner p { color: #c4cdea; max-width: 640px; font-size: 17px; }

.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--cyan); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; }

/* ============================================================
   SERVICES
   ============================================================ */
.service {
  display: flex;
  gap: 24px;
  padding: 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: 0.3s;
}
.service:hover { border-color: rgba(1, 172, 248, 0.45); background: var(--card-2); transform: translateY(-5px); box-shadow: var(--shadow); }
.service .s-num {
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  flex: 0 0 auto;
}
.service h3 { font-size: 20px; color: var(--white); margin-bottom: 8px; }
.service p { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.service .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service .tags span {
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 50px;
  background: rgba(1, 172, 248, 0.1);
  border: 1px solid var(--line);
  color: var(--cyan-soft);
}

/* ============================================================
   DELIVERY MODEL
   ============================================================ */
.process { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; position: relative; }
.step { text-align: center; position: relative; }
.step .dot {
  width: 66px; height: 66px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  color: #04102b;
  box-shadow: 0 12px 26px rgba(1, 172, 248, 0.3);
  position: relative;
  z-index: 2;
}
.step .s-num { font-size: 12px; letter-spacing: 2px; color: var(--cyan); font-weight: 700; display: block; margin-bottom: 6px; }
.step h3 { font-size: 16px; color: var(--white); margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--muted); }

.process.process-3 { grid-template-columns: repeat(3, 1fr); max-width: 900px; margin: 0 auto; }

.process-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 50px;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 50px;
}
.process-flow b {
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--white);
  font-weight: 600;
}
.process-flow i { color: var(--cyan); font-style: normal; font-weight: 700; }

/* ============================================================
   PROJECTS
   ============================================================ */
.project {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: 0.3s;
}
.project:hover { border-color: rgba(1, 172, 248, 0.45); box-shadow: var(--shadow); transform: translateY(-5px); }
.project .p-head {
  background: var(--grad-deep);
  padding: 22px 26px;
}
.project .p-head .p-tag { font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; opacity: 0.85; color: #cfe9ff; }
.project .p-head h3 { font-size: 19px; color: var(--white); margin-top: 4px; }
.project .p-body { padding: 26px; }
.project .p-body > p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.p-body h4 { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.p-areas { display: flex; flex-wrap: wrap; gap: 8px; }
.p-areas span {
  font-size: 12.5px;
  padding: 6px 13px;
  border-radius: 50px;
  background: rgba(1, 172, 248, 0.08);
  border: 1px solid var(--line);
  color: #cbd5f2;
}
.p-source { margin-top: 18px; font-size: 12px; color: #6c78a3; font-style: italic; }

/* ============================================================
   VISION / MISSION / APPROACH
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split.rev .split-media { order: 2; }

.split-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/2; }
.split-media .frame {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(1, 172, 248, 0.5);
  border-radius: 8px;
  pointer-events: none;
}

.bullets li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 13px 0;
  border-bottom: 1px dashed rgba(1, 172, 248, 0.18);
  color: var(--muted);
  font-size: 15.5px;
}
.bullets li:last-child { border-bottom: 0; }
.bullets li::before {
  content: "✓";
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--grad);
  color: #04102b;
  font-size: 14px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}

.vision-card {
  background: var(--grad-deep);
  border-radius: var(--radius);
  padding: 44px 38px;
  color: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.vision-card::after {
  content: "";
  position: absolute;
  right: -50px; top: -50px;
  width: 190px; height: 190px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.vision-card h3 { font-size: 26px; margin-bottom: 14px; position: relative; z-index: 2; }
.vision-card p { font-size: 17px; line-height: 1.8; color: #e6f2ff; position: relative; z-index: 2; }

/* ============================================================
   LEADERSHIP
   ============================================================ */
.leader {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  overflow: hidden;
}
.leader-photo { position: relative; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.leader-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center 22%; }
.leader-photo .badge {
  position: absolute;
  left: 0; bottom: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(5,5,23,0.95), transparent);
  padding: 34px 18px 14px;
  font-size: 13px;
  color: var(--cyan-soft);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}
.leader-info h3 { font-size: 27px; color: var(--white); margin-bottom: 6px; }
.leader-role { font-size: 15px; font-weight: 600; color: var(--cyan); margin-bottom: 4px; }
.leader-org { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.leader-info p { color: var(--muted); margin-bottom: 16px; }
.leader-note { font-size: 13px; color: #6c78a3; font-style: italic; border-top: 1px solid var(--line); padding-top: 14px; }

/* ============================================================
   CAREERS
   ============================================================ */
.career-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.career-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: 0.28s;
}
.career-item:hover { border-color: rgba(1, 172, 248, 0.5); background: var(--card-2); transform: translateX(6px); }
.career-item .c-ico {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(1, 172, 248, 0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.career-item span { font-size: 15px; font-weight: 500; color: var(--text); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 34px; align-items: start; }

.info-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 18px;
  transition: 0.3s;
}
.info-card:hover { border-color: rgba(1, 172, 248, 0.45); background: var(--card-2); }
.info-card .ico {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 21px;
  color: #04102b;
}
.info-card h4 { font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--cyan); margin-bottom: 6px; }
.info-card p, .info-card a { font-size: 15.5px; color: var(--text); word-break: break-word; }
.info-card a:hover { color: var(--cyan); }

.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.form-card h3 { font-size: 23px; color: var(--white); margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 15px; margin-bottom: 24px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 500; color: var(--muted); margin-bottom: 7px; }
.field label .req { color: var(--cyan); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font);
  font-size: 15px;
  transition: 0.25s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(1, 172, 248, 0.16);
}
.field input::placeholder, .field textarea::placeholder { color: #5f6a94; }

.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 30px; }
.map-wrap iframe { display: block; width: 100%; height: 300px; border: 0; filter: grayscale(0.35) contrast(1.05); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--grad-deep);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  left: -80px; bottom: -80px;
  width: 260px; height: 260px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
}
.cta-band .container { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); color: var(--white); margin-bottom: 8px; }
.cta-band p { color: #d3e9ff; font-size: 16px; }
.cta-band .btn-primary { background: #ffffff; color: var(--blue-deep); }
.cta-band .btn-primary:hover { background: #eaf6ff; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 62px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr; gap: 40px; padding-bottom: 42px; }
.footer-brand img { height: 54px; margin-bottom: 16px; }
.footer-brand .f-name { font-size: 17px; font-weight: 700; color: var(--white); line-height: 1.5; margin-bottom: 8px; }
.footer-tag { font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--cyan); font-weight: 600; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; max-width: 380px; }

.footer-col h4 { font-size: 15px; color: var(--white); margin-bottom: 18px; letter-spacing: 1px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--grad); }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--muted); font-size: 14.5px; transition: 0.25s; }
.footer-col a:hover { color: var(--cyan); padding-left: 5px; }

.footer-contact li { display: flex; gap: 10px; color: var(--muted); font-size: 14.5px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact li span { color: var(--cyan); }
.footer-contact a:hover { color: var(--cyan); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footer-bottom p { font-size: 13.5px; color: var(--muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--muted); }
.footer-legal a:hover { color: var(--cyan); }
.footer-legal span { opacity: 0.4; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.show { opacity: 1; transform: none; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--grad);
  color: #04102b;
  border: 0;
  font-size: 20px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(1, 172, 248, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: 0.3s;
  z-index: 900;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); gap: 28px 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .career-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .leader { grid-template-columns: 260px 1fr; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: rgba(6, 7, 30, 0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 22px 26px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-140%);
    transition: transform 0.35s ease;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 13px 14px; font-size: 16px; }
  .nav .nav-cta { margin: 10px 0 0; text-align: center; }
  .hamburger { display: flex; }
  .hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .split { grid-template-columns: 1fr; gap: 30px; }
  .split.rev .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .leader { grid-template-columns: 1fr; text-align: left; }
}

@media (max-width: 680px) {
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .process.process-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .career-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .service { flex-direction: column; gap: 12px; padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 560px; }
  .process-flow { border-radius: 16px; }
  .footer-bottom { justify-content: center; text-align: center; }
}
