/* ==========================================================================
   The Power Infra — styles.css
   Premium corporate single-page site
   Palette: dark blue / white / electric blue
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --navy-950: #060d1f;
  --navy-900: #081633;
  --navy-800: #0a1f44;
  --navy-700: #11295c;

  --electric: #00a8ff;
  --electric-deep: #0a66ff;
  --grad-accent: linear-gradient(135deg, #00b2ff 0%, #0a66ff 100%);

  --ink: #16213a;          /* body text on light */
  --muted: #5a6b8c;        /* secondary text on light */
  --line: #e3eaf5;         /* light borders */
  --bg-soft: #f3f7fc;      /* alternating light section bg */
  --white: #ffffff;

  --font-display: "Sora", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(8, 22, 51, 0.06);
  --shadow-md: 0 12px 32px rgba(8, 22, 51, 0.10);
  --shadow-glow: 0 10px 30px rgba(0, 138, 255, 0.35);

  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img, svg { display: inline-block; vertical-align: middle; }

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

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.18;
  color: var(--navy-900);
  letter-spacing: -0.015em;
}

::selection { background: rgba(0, 168, 255, 0.25); }

:focus-visible {
  outline: 2px solid var(--electric);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}

.section { padding: 104px 0; }

/* Gradient text helper */
.grad {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Section headings ---------- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(0, 168, 255, 0.10);
  border: 1px solid rgba(0, 168, 255, 0.25);
  color: var(--electric-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.section-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad-accent);
}

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 800;
  margin: 18px 0 14px;
}

.section-lead {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 640px;
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .section-lead { margin-inline: auto; }

.section-head.light .section-title { color: var(--white); }
.section-head.light .section-lead { color: rgba(255, 255, 255, 0.72); }
.section-head.light .section-tag {
  background: rgba(0, 168, 255, 0.14);
  border-color: rgba(0, 178, 255, 0.35);
  color: #4fc6ff;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border: 0;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}

.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--grad-accent);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(0, 138, 255, 0.30);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--white);
  color: var(--navy-800);
  box-shadow: 0 8px 22px rgba(4, 14, 36, 0.25);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(4, 14, 36, 0.35); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-900);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader-inner { display: grid; justify-items: center; gap: 22px; }

.preloader-bolt { animation: boltPulse 1.2s ease-in-out infinite; }

@keyframes boltPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(0, 178, 255, 0)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 18px rgba(0, 178, 255, 0.65)); }
}

.preloader-bar {
  width: 168px;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.preloader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 99px;
  background: var(--grad-accent);
  animation: loadSlide 1.1s ease-in-out infinite;
}

@keyframes loadSlide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
  background: transparent;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(8, 22, 51, 0.10);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: inline-flex; align-items: center; gap: 12px; }

.logo-mark {
  display: grid;
  place-items: center;
  filter: drop-shadow(0 4px 10px rgba(0, 140, 255, 0.35));
}

.logo-text { display: grid; line-height: 1.15; }

.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
  transition: color 0.3s var(--ease);
}

.logo-text small {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.3s var(--ease);
}

.site-header.scrolled .logo-text strong { color: var(--navy-900); }
.site-header.scrolled .logo-text small { color: var(--muted); }

.main-nav { display: flex; align-items: center; gap: 26px; }

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

.nav-link {
  position: relative;
  display: inline-block;
  padding: 9px 14px;
  font-size: 0.93rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 9px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-link:hover { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--white); }

.site-header.scrolled .nav-link { color: var(--ink); }
.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active { color: var(--electric-deep); }

.nav-cta { padding: 10px 20px; font-size: 0.9rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 100%;
  height: 2.5px;
  border-radius: 3px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.scrolled .nav-toggle .bar { background: var(--navy-900); }

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 96px;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(0, 168, 255, 0.22), transparent 62%),
    radial-gradient(720px 460px at -12% 112%, rgba(10, 102, 255, 0.20), transparent 60%),
    linear-gradient(158deg, var(--navy-950) 0%, var(--navy-900) 48%, #0c2a5e 100%);
  overflow: hidden;
}

/* Subtle engineering grid */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 85% 72% at 60% 32%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 85% 72% at 60% 32%, #000 0%, transparent 72%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(0, 168, 255, 0.12);
  border: 1px solid rgba(0, 178, 255, 0.30);
  color: #5ecbff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  animation: fadeUp 0.8s var(--ease) both;
}

.hero-title {
  margin: 22px 0 18px;
  font-size: clamp(2.1rem, 4.6vw, 3.45rem);
  font-weight: 800;
  color: var(--white);
  animation: fadeUp 0.8s var(--ease) 0.12s both;
}

.hero-sub {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.07rem;
  animation: fadeUp 0.8s var(--ease) 0.24s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  animation: fadeUp 0.8s var(--ease) 0.36s both;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 38px;
  animation: fadeUp 0.8s var(--ease) 0.48s both;
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-meta svg { color: var(--electric); flex: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero visual — glass project card */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  animation: fadeUp 0.9s var(--ease) 0.3s both;
}

.glass-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(3, 10, 28, 0.55);
}

.main-card {
  width: min(400px, 100%);
  padding: 26px 26px 22px;
  color: rgba(255, 255, 255, 0.88);
  animation: floatY 6s ease-in-out infinite;
}

.card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

.pulse-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2ee6a8;
  flex: none;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(46, 230, 168, 0.55);
  animation: ping 1.8s ease-out infinite;
}

@keyframes ping {
  0% { transform: scale(0.6); opacity: 1; }
  80%, 100% { transform: scale(1.6); opacity: 0; }
}

.progress-row { margin-bottom: 16px; }

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 500;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.82);
}

.progress-track {
  height: 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: var(--w, 70%);
  border-radius: 99px;
  background: var(--grad-accent);
  box-shadow: 0 0 12px rgba(0, 168, 255, 0.55);
  animation: fillUp 1.6s var(--ease) 0.6s both;
}

@keyframes fillUp { from { width: 0; } }

.card-foot {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  font-weight: 600;
  color: #56e0ae;
}

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(10, 31, 68, 0.78);
  border: 1px solid rgba(0, 178, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 14px 34px rgba(3, 10, 28, 0.5);
}

.float-chip svg { color: var(--electric); }

.chip-1 { top: 6%; right: 0; animation: floatY 5s ease-in-out 0.4s infinite; }
.chip-2 { bottom: 8%; left: -4%; animation: floatY 5.6s ease-in-out 1s infinite; }
.chip-2 svg { color: #2ee6a8; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.75);
  animation: bob 2s ease-in-out infinite;
  transition: border-color 0.25s, color 0.25s;
}

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

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about-panel {
  position: relative;
  border-radius: 22px;
  padding: 46px 38px;
  background:
    radial-gradient(420px 260px at 110% -10%, rgba(0, 168, 255, 0.30), transparent 65%),
    linear-gradient(155deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.panel-bolt {
  position: absolute;
  right: -34px;
  bottom: -40px;
  width: 220px;
  height: 220px;
  color: rgba(255, 255, 255, 0.05);
  transform: rotate(-12deg);
}

.panel-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 15px;
  background: var(--grad-accent);
  color: var(--white);
  box-shadow: var(--shadow-glow);
  margin-bottom: 22px;
}

.about-panel h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.about-panel > p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.97rem;
  max-width: 330px;
}

.panel-tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 28px;
}

.panel-tags span {
  padding: 11px 14px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.84rem;
  font-weight: 600;
  text-align: center;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.panel-tags span:hover {
  background: rgba(0, 168, 255, 0.18);
  border-color: rgba(0, 178, 255, 0.45);
  transform: translateY(-2px);
}

.about-content .section-title { margin-top: 16px; }
.about-content p { color: var(--muted); margin-bottom: 16px; }
.about-content p strong { color: var(--navy-800); }

.about-list { margin-top: 26px; display: grid; gap: 14px; }

.about-list li,
.capability-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 600;
  color: var(--navy-800);
  font-size: 0.98rem;
}

.check-ic {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(0, 168, 255, 0.12);
  color: var(--electric-deep);
  flex: none;
}

/* ---------- Services ---------- */
.services { background: var(--bg-soft); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 28px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 168, 255, 0.35);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 15px;
  background: rgba(0, 168, 255, 0.10);
  color: var(--electric-deep);
  margin-bottom: 22px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.service-card:hover .service-icon {
  background: var(--grad-accent);
  color: var(--white);
  transform: scale(1.06);
  box-shadow: var(--shadow-glow);
}

.service-card h3 {
  font-size: 1.13rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--muted);
  font-size: 0.93rem;
  flex: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--electric-deep);
}

.card-link svg { transition: transform 0.3s var(--ease); }
.card-link:hover svg { transform: translateX(5px); }

/* ---------- Why Choose Us (dark) ---------- */
.why-us {
  position: relative;
  background:
    radial-gradient(760px 420px at 110% 0%, rgba(0, 168, 255, 0.14), transparent 60%),
    radial-gradient(680px 420px at -10% 100%, rgba(10, 102, 255, 0.14), transparent 60%),
    linear-gradient(165deg, var(--navy-950), var(--navy-900) 60%, var(--navy-800));
  overflow: hidden;
}

.why-us::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 75%);
  pointer-events: none;
}

.why-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  padding: 32px 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.why-card:hover {
  transform: translateY(-7px);
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(0, 178, 255, 0.45);
  box-shadow: 0 18px 44px rgba(2, 8, 23, 0.5);
}

.why-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--grad-accent);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(0, 138, 255, 0.35);
  margin-bottom: 20px;
  transition: transform 0.35s var(--ease);
}

.why-card:hover .why-icon { transform: scale(1.08) rotate(-4deg); }

.why-card h3 {
  color: var(--white);
  font-size: 1.07rem;
  font-weight: 700;
  margin-bottom: 9px;
}

.why-card p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.91rem;
}

/* ---------- Projects capability ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.projects-content > p { color: var(--muted); margin-top: 0; }
.projects-content .section-title { margin-top: 16px; }

.capability-list { margin-top: 26px; display: grid; gap: 14px; }

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.stat-card {
  padding: 30px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 168, 255, 0.35);
}

.stat-card:nth-child(even) { transform: translateY(22px); }
.stat-card:nth-child(even):hover { transform: translateY(16px); }

.stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.stat-label {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-900);
  font-size: 1rem;
}

.stat-desc {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.86rem;
}

/* CTA strip */
.cta-strip {
  margin-top: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: 40px 46px;
  border-radius: 22px;
  background:
    radial-gradient(480px 240px at 95% -20%, rgba(0, 178, 255, 0.35), transparent 65%),
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
  box-shadow: var(--shadow-md);
}

.cta-strip h3 {
  color: var(--white);
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.cta-strip p { color: rgba(255, 255, 255, 0.7); }

/* ---------- Contact ---------- */
.contact { background: var(--bg-soft); }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.contact-info { display: grid; gap: 18px; }

.info-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.info-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 168, 255, 0.35);
}

.info-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: rgba(0, 168, 255, 0.10);
  color: var(--electric-deep);
  flex: none;
}

.info-card h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}

.info-card a, .info-card p {
  font-weight: 600;
  color: var(--navy-800);
  font-size: 0.97rem;
  transition: color 0.25s;
}

.info-card a:hover { color: var(--electric-deep); }

.hours-note {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.88rem;
  padding-left: 6px;
}

.hours-note svg { color: var(--electric-deep); flex: none; }

/* Form */
.contact-form {
  padding: 38px 36px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}

.form-field { margin-bottom: 20px; }

.form-field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 8px;
}

.form-field label span { color: var(--electric-deep); }

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: #f7fafd;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: #9aa9c4; }

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--electric);
  box-shadow: 0 0 0 4px rgba(0, 168, 255, 0.14);
}

.form-field input.invalid,
.form-field textarea.invalid { border-color: #e5484d; }

.field-error {
  display: block;
  min-height: 16px;
  margin-top: 5px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #e5484d;
}

/* Honeypot — visually removed, still in DOM for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  margin-top: 16px;
  min-height: 22px;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
}

.form-status.success { color: #18794e; }
.form-status.error { color: #e5484d; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.72);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.1fr 1.1fr;
  gap: 44px;
  padding-bottom: 52px;
}

.footer-brand p {
  margin: 18px 0 14px;
  font-size: 0.91rem;
  max-width: 300px;
  color: rgba(255, 255, 255, 0.58);
}

.footer-site {
  font-weight: 700;
  color: var(--electric);
  font-size: 0.93rem;
}

.footer-site:hover { text-decoration: underline; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-col ul { display: grid; gap: 11px; }

.footer-col a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.25s, padding-left 0.25s;
}

.footer-col a:hover { color: var(--electric); padding-left: 5px; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
}

.footer-contact svg { color: var(--electric); flex: none; margin-top: 4px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 800;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--grad-accent);
  color: var(--white);
  box-shadow: var(--shadow-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .section { padding: 88px 0; }

  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-content { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .hero { padding-bottom: 110px; }

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

  .about-grid, .projects-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-panel { max-width: 560px; }
  .stat-card:nth-child(even) { transform: none; }
  .stat-card:nth-child(even):hover { transform: translateY(-6px); }

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

@media (max-width: 768px) {
  :root { --header-h: 68px; }

  /* Mobile nav panel */
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 22px 24px 28px;
    background: linear-gradient(165deg, var(--navy-900), var(--navy-800));
    border-bottom: 1px solid rgba(0, 178, 255, 0.25);
    box-shadow: 0 24px 50px rgba(2, 8, 23, 0.5);
    transform: translateY(-115%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s var(--ease), opacity 0.4s var(--ease), visibility 0.4s;
  }

  .main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }

  .nav-links { flex-direction: column; align-items: stretch; gap: 4px; }

  .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 13px 14px;
    font-size: 1rem;
    border-radius: 10px;
  }

  .nav-link::after { display: none; }

  .nav-link:hover, .nav-link.active {
    color: var(--white) !important;
    background: rgba(0, 168, 255, 0.14);
  }

  .nav-cta { margin-top: 10px; justify-content: center; }

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

  .form-grid { grid-template-columns: 1fr; gap: 0; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }

  .cta-strip { padding: 34px 28px; }

  .chip-2 { left: 0; }

  .hero-scroll { display: none; }
}

@media (max-width: 560px) {
  .container { width: min(1180px, 100% - 36px); }

  .section { padding: 72px 0; }

  .hero { padding-top: calc(var(--header-h) + 36px); }
  .hero-title { font-size: clamp(1.85rem, 8vw, 2.4rem); }

  .float-chip { display: none; }

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

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { justify-content: center; text-align: center; }

  .contact-form { padding: 28px 22px; }

  .back-to-top { right: 18px; bottom: 18px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal { opacity: 1; transform: none; }
}
