/* ==========================================================================
   AVERON GREEN POWER LLP — Corporate Solar O&M Design System
   Brand Palette derived from Averon Logo & Standee Reference
   ========================================================================== */

:root {
  /* Core Brand Navy */
  --navy-950: #021229;
  --navy-900: #041D42;
  --navy-800: #082B5E;
  --navy-700: #0E3D80;

  /* Accent Royal & Sky Blue (from reference curves & icon tiles) */
  --blue-700: #094FB0;
  --blue-600: #0D62D6;
  --blue-500: #1E88E5;
  --blue-400: #42A5F5;
  --blue-100: #E4F1FF;
  --blue-50: #F2F8FF;

  /* Brand Solar Green (from ribbon 'A' & 'GREEN POWER LLP') */
  --green-700: #0B7A08;
  --green-600: #13940F;
  --green-500: #1FB21B;
  --lime-400: #7ED321;
  --green-100: #E4F8E3;
  --green-50: #F1FCF0;

  /* Neutrals */
  --white: #FFFFFF;
  --surface: #FFFFFF;
  --surface-alt: #F6FAFF;
  --surface-tint: #EEF5FD;
  --slate-900: #0B1B32;
  --slate-700: #334863;
  --slate-600: #4B6280;
  --slate-500: #6B809C;
  --slate-300: #C8D7EA;
  --border: #DCE8F6;
  --border-strong: #C2D7EF;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, var(--navy-900) 0%, var(--blue-600) 55%, var(--green-600) 100%);
  --grad-blue: linear-gradient(135deg, var(--navy-900) 0%, var(--blue-600) 60%, var(--blue-500) 100%);
  --grad-green: linear-gradient(135deg, var(--green-600) 0%, var(--lime-400) 100%);
  --grad-dark: linear-gradient(150deg, var(--navy-950) 0%, var(--navy-900) 55%, #072856 100%);

  /* Elevation */
  --shadow-xs: 0 1px 3px rgba(4, 29, 66, 0.06);
  --shadow-sm: 0 4px 14px rgba(4, 29, 66, 0.06);
  --shadow-md: 0 12px 32px rgba(4, 29, 66, 0.09);
  --shadow-lg: 0 22px 54px rgba(4, 29, 66, 0.14);
  --shadow-glow-blue: 0 14px 32px rgba(13, 98, 214, 0.24);
  --shadow-glow-green: 0 14px 32px rgba(19, 148, 15, 0.26);

  /* Radii & Spacing */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  /* Layout */
  --container: 1220px;
  --header-h: 82px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--surface);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: 96px;
  position: relative;
  overflow-x: clip;
}

.section--alt {
  background: var(--surface-alt);
}

.section--dark {
  background: var(--grad-dark);
  color: rgba(255, 255, 255, 0.84);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.section--pattern {
  background-color: var(--surface-alt);
  background-image:
    radial-gradient(rgba(13, 98, 214, 0.08) 1.2px, transparent 1.2px),
    radial-gradient(rgba(19, 148, 15, 0.06) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  background-position: 0 0, 14px 14px;
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-600), var(--green-500), var(--lime-400));
  z-index: 1200;
  transition: width 0.08s linear;
}

/* ==========================================================================
   Typography Utilities & Eyebrows
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-100);
  border: 1px solid rgba(19, 148, 15, 0.18);
  margin-bottom: 16px;
}

.eyebrow--blue {
  color: var(--blue-700);
  background: var(--blue-100);
  border-color: rgba(13, 98, 214, 0.18);
}

.eyebrow--dark {
  color: var(--lime-400);
  background: rgba(126, 211, 33, 0.14);
  border-color: rgba(126, 211, 33, 0.28);
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 4px rgba(31, 178, 27, 0.2);
  animation: pulseDot 2s infinite;
}

.section-header {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-header--center {
  text-align: center;
  margin-inline: auto;
}

.section-title {
  font-size: clamp(1.95rem, 3.6vw, 2.85rem);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.07rem;
  color: var(--slate-600);
  line-height: 1.72;
}

.section--dark .section-subtitle {
  color: rgba(226, 238, 255, 0.78);
}

.text-gradient {
  background: linear-gradient(120deg, var(--green-600) 0%, var(--lime-400) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-blue {
  background: linear-gradient(120deg, var(--blue-600) 0%, var(--green-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mono {
  font-family: var(--font-mono);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.25) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.65s var(--ease-out);
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: linear-gradient(135deg, var(--green-600) 0%, var(--green-500) 100%);
  color: var(--white);
  box-shadow: var(--shadow-glow-green);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-600) 100%);
  box-shadow: 0 18px 36px rgba(19, 148, 15, 0.34);
}

.btn--blue {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--blue-600) 100%);
  color: var(--white);
  box-shadow: var(--shadow-glow-blue);
}

.btn--blue:hover {
  box-shadow: 0 18px 36px rgba(13, 98, 214, 0.34);
}

.btn--outline {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--border-strong);
}

.btn--outline:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
  background: var(--blue-50);
}

.btn--outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.65);
}

.btn--white {
  background: var(--white);
  color: var(--navy-900);
  box-shadow: var(--shadow-md);
}

.btn--white:hover {
  color: var(--blue-600);
  box-shadow: var(--shadow-lg);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 0.87rem;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out);
}

.btn:hover svg.arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   Top Utility Bar & Sticky Header Navigation
   ========================================================================== */
.topbar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 8px;
  flex-wrap: wrap;
}

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.85);
}

.topbar__item:hover {
  color: var(--lime-400);
}

.topbar__item svg {
  width: 14px;
  height: 14px;
  color: var(--lime-400);
}

.topbar__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(126, 211, 33, 0.14);
  color: var(--lime-400);
  font-weight: 600;
  font-size: 0.76rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220, 232, 246, 0.85);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 30px rgba(4, 29, 66, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: 54px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.brand-logo:hover img {
  transform: scale(1.02);
}

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

.nav-link {
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--navy-900);
  position: relative;
}

.nav-link:hover {
  color: var(--blue-600);
  background: var(--blue-50);
}

.nav-link.active {
  color: var(--blue-600);
  background: var(--blue-100);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 3px;
  border-radius: 99px;
  background: var(--green-500);
}

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

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  background: var(--blue-50);
  border: 1px solid var(--border);
  color: var(--navy-900);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
}

.phone-pill:hover {
  border-color: var(--blue-500);
  color: var(--blue-600);
  background: var(--blue-100);
}

.phone-pill svg {
  width: 16px;
  height: 16px;
  color: var(--green-600);
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy-900);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1500;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-drawer.open {
  pointer-events: auto;
  opacity: 1;
}

.mobile-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 18, 41, 0.56);
  backdrop-filter: blur(4px);
}

.mobile-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 88vw);
  background: var(--white);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-out);
  box-shadow: -20px 0 60px rgba(2, 18, 41, 0.2);
}

.mobile-drawer.open .mobile-drawer__panel {
  transform: translateX(0);
}

.mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.mobile-drawer__head img {
  height: 44px;
}

.mobile-drawer__close {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--navy-900);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav a {
  padding: 13px 16px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-900);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background: var(--blue-50);
  color: var(--blue-600);
}

/* ==========================================================================
   Hero Section (Home)
   ========================================================================== */
.hero {
  position: relative;
  min-height: calc(100vh - 118px);
  display: flex;
  align-items: center;
  padding-block: 72px 96px;
  overflow: hidden;
  background: var(--navy-950);
  color: var(--white);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.38;
  transform: scale(1.03);
  animation: slowZoom 22s ease-in-out infinite alternate;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(30, 136, 229, 0.32), transparent 50%),
    radial-gradient(circle at 18% 82%, rgba(31, 178, 27, 0.24), transparent 48%),
    linear-gradient(108deg, rgba(2, 18, 41, 0.95) 0%, rgba(4, 29, 66, 0.85) 54%, rgba(4, 29, 66, 0.52) 100%);
}

/* Brand sweeping curves echoing the Averon standee */
.hero__ribbon {
  position: absolute;
  top: -80px;
  right: -120px;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  border: 26px solid rgba(30, 136, 229, 0.14);
  pointer-events: none;
  z-index: 1;
}

.hero__ribbon::after {
  content: "";
  position: absolute;
  inset: 42px;
  border-radius: 50%;
  border: 3px dashed rgba(126, 211, 33, 0.22);
  animation: spinSlow 45s linear infinite;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 48px;
  align-items: center;
}

.hero__title {
  font-size: clamp(2.45rem, 5vw, 4rem);
  color: var(--white);
  line-height: 1.09;
  margin-bottom: 22px;
}

.hero__lead {
  font-size: 1.12rem;
  color: rgba(230, 241, 255, 0.86);
  max-width: 580px;
  margin-bottom: 32px;
  line-height: 1.72;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero__trust-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(126, 211, 33, 0.15);
  border: 1px solid rgba(126, 211, 33, 0.3);
  color: var(--lime-400);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* Floating Live Telemetry Glass Card on Hero */
.telemetry-card {
  background: rgba(6, 28, 61, 0.72);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.38);
  position: relative;
}

.telemetry-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(126, 211, 33, 0.55), rgba(30, 136, 229, 0.2), rgba(255, 255, 255, 0.08));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.telemetry-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.telemetry-card__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}

.telemetry-card__sub {
  font-size: 0.78rem;
  color: rgba(214, 232, 255, 0.7);
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: rgba(31, 178, 27, 0.2);
  border: 1px solid rgba(126, 211, 33, 0.35);
  color: var(--lime-400);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.live-pill span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime-400);
  animation: pulseDot 1.6s infinite;
}

.telemetry-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.telemetry-kpi {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 14px;
}

.telemetry-kpi__label {
  font-size: 0.75rem;
  color: rgba(214, 232, 255, 0.72);
  margin-bottom: 4px;
}

.telemetry-kpi__val {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.telemetry-kpi__delta {
  font-size: 0.74rem;
  color: var(--lime-400);
  font-weight: 600;
}

.telemetry-chart-box {
  background: rgba(2, 18, 41, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 16px;
}

.telemetry-chart-box__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(214, 232, 255, 0.75);
  margin-bottom: 10px;
}

.telemetry-bars {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  gap: 6px;
  height: 76px;
}

.telemetry-bar {
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--lime-400) 0%, var(--blue-500) 100%);
  opacity: 0.85;
  transition: height 0.6s var(--ease-out), opacity 0.25s ease;
}

.telemetry-bar:hover {
  opacity: 1;
}

.telemetry-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(13, 98, 214, 0.22);
  border: 1px solid rgba(66, 165, 245, 0.35);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.92);
}

.telemetry-alert__icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--blue-500);
  color: var(--white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* Wave separator */
.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}

.hero__wave svg {
  width: 100%;
  height: 56px;
}

/* ==========================================================================
   Stats Strip
   ========================================================================== */
.stats-strip {
  margin-top: -36px;
  position: relative;
  z-index: 10;
  margin-bottom: 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.stat-box {
  padding: 30px 26px;
  position: relative;
  transition: background 0.25s ease;
}

.stat-box:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: var(--border);
}

.stat-box:hover {
  background: var(--surface-alt);
}

.stat-box__num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-box__num span {
  color: var(--green-600);
}

.stat-box__label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.stat-box__desc {
  font-size: 0.82rem;
  color: var(--slate-500);
}

/* ==========================================================================
   Core Services Cards (inspired by Reference Image 2 tiles)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.32s var(--ease-out), box-shadow 0.32s var(--ease-out), border-color 0.32s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-600), var(--green-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 98, 214, 0.28);
}

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

.service-card--featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--navy-900) 0%, #093574 100%);
  border-color: transparent;
  color: rgba(255, 255, 255, 0.85);
}

.service-card--featured h3,
.service-card--featured .service-card__link {
  color: var(--white);
}

.service-card--featured .service-card__desc {
  color: rgba(226, 238, 255, 0.8);
}

.service-card--featured .service-icon {
  background: rgba(126, 211, 33, 0.16);
  border-color: rgba(126, 211, 33, 0.32);
  color: var(--lime-400);
}

.service-icon {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--blue-100) 0%, #F4F9FF 100%);
  border: 1px solid rgba(13, 98, 214, 0.16);
  display: grid;
  place-items: center;
  color: var(--navy-900);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out), background 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.06) rotate(-2deg);
}

.service-icon svg {
  width: 30px;
  height: 30px;
}

.service-card__title {
  font-size: 1.24rem;
  line-height: 1.3;
}

.service-card__desc {
  font-size: 0.94rem;
  color: var(--slate-600);
  line-height: 1.65;
  flex-grow: 1;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--blue-50);
  color: var(--blue-700);
  border: 1px solid rgba(13, 98, 214, 0.12);
}

.service-card--featured .tag {
  background: rgba(255, 255, 255, 0.1);
  color: var(--lime-400);
  border-color: rgba(255, 255, 255, 0.16);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue-600);
  margin-top: 6px;
}

.service-card__link:hover {
  color: var(--green-600);
}

.service-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.service-card__link:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Split Feature Sections & Media Frames
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split--reverse .split__media {
  order: -1;
}

.media-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: var(--navy-900);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.media-frame:hover img {
  transform: scale(1.03);
}

.floating-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 12px;
}

.floating-badge__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--green-100);
  color: var(--green-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.floating-badge__val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy-900);
}

.floating-badge__sub {
  font-size: 0.78rem;
  color: var(--slate-500);
}

.check-list {
  display: grid;
  gap: 14px;
  margin-block: 24px 32px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--slate-700);
}

.check-list__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.section--dark .check-list li {
  color: rgba(230, 241, 255, 0.88);
}

.section--dark .check-list__icon {
  background: rgba(126, 211, 33, 0.16);
  color: var(--lime-400);
}

/* ==========================================================================
   Interactive Solar ROI / Performance Estimator
   ========================================================================== */
.calc-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}

.calc-card__controls {
  padding: 42px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.calc-card__results {
  background: var(--grad-dark);
  color: var(--white);
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.calc-card__results::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 178, 27, 0.24), transparent 70%);
  bottom: -100px;
  right: -80px;
  pointer-events: none;
}

.slider-group label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 10px;
  font-size: 0.94rem;
}

.slider-group output {
  font-family: var(--font-mono);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--blue-50);
  color: var(--blue-600);
  font-size: 0.9rem;
  font-weight: 700;
}

.range-input {
  width: 100%;
  height: 8px;
  border-radius: 99px;
  background: var(--blue-100);
  appearance: none;
  outline: none;
  cursor: pointer;
}

.range-input::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-600), var(--lime-400));
  border: 3px solid var(--white);
  box-shadow: 0 3px 10px rgba(19, 148, 15, 0.4);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.range-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-pill-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.calc-pill {
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: var(--surface-alt);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--slate-700);
  cursor: pointer;
  transition: all 0.2s ease;
}

.calc-pill.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

.calc-metrics {
  display: grid;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.calc-metric {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 18px 20px;
}

.calc-metric__label {
  font-size: 0.8rem;
  color: rgba(214, 232, 255, 0.78);
  margin-bottom: 4px;
}

.calc-metric__value {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  font-weight: 800;
  color: var(--white);
}

.calc-metric__value.accent {
  color: var(--lime-400);
}

/* ==========================================================================
   Process / Workflow Steps
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  position: relative;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.step-card__num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--grad-blue);
  color: var(--white);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.step-card h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--slate-600);
}

/* ==========================================================================
   Page Hero Banner (Inner Pages)
   ========================================================================== */
.page-hero {
  background: var(--grad-dark);
  color: var(--white);
  padding-block: 84px 72px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 18%, rgba(30, 136, 229, 0.32), transparent 46%),
    radial-gradient(circle at 12% 85%, rgba(31, 178, 27, 0.22), transparent 45%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(214, 232, 255, 0.76);
  margin-bottom: 18px;
}

.breadcrumb a:hover {
  color: var(--lime-400);
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(226, 238, 255, 0.84);
  line-height: 1.7;
}

/* ==========================================================================
   Tabs, Accordions & Pricing Cards
   ========================================================================== */
.tabs-nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: var(--surface-tint);
  border: 1px solid var(--border);
  margin-bottom: 36px;
}

.tab-btn {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--slate-700);
  cursor: pointer;
  transition: all 0.25s ease;
}

.tab-btn.active {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.tab-panel {
  display: none;
  animation: fadeUpSoft 0.4s var(--ease-out);
}

.tab-panel.active {
  display: block;
}

/* Pricing / AMC Tier Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-card--popular {
  border-color: var(--green-500);
  box-shadow: 0 18px 46px rgba(19, 148, 15, 0.14);
  background: linear-gradient(180deg, #FFFFFF 0%, #F4FBF4 100%);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  right: 24px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--green-600), var(--lime-400));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pricing-card__tier {
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-600);
  margin-bottom: 8px;
}

.pricing-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.pricing-card__price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-block: 16px;
}

.pricing-card__price small {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--slate-500);
}

.pricing-card__list {
  display: grid;
  gap: 11px;
  margin-block: 20px 28px;
  flex-grow: 1;
}

.pricing-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.91rem;
  color: var(--slate-700);
}

.pricing-card__list svg {
  width: 18px;
  height: 18px;
  color: var(--green-600);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Accordion FAQ */
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 860px;
  margin-inline: auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item.open {
  border-color: var(--blue-500);
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy-900);
  cursor: pointer;
}

.faq-trigger svg {
  width: 20px;
  height: 20px;
  color: var(--blue-600);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}

.faq-item.open .faq-trigger svg {
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out);
}

.faq-body__inner {
  padding: 0 24px 22px;
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================================
   Smart Monitoring Interactive Dashboard UI (Technology Page)
   ========================================================================== */
.dash-shell {
  background: #061833;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 28px;
  color: var(--white);
  box-shadow: 0 30px 70px rgba(2, 18, 41, 0.35);
}

.dash-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.dash-select {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

.dash-select option {
  background: var(--navy-900);
  color: var(--white);
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.dash-kpi {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 18px;
}

.dash-kpi__label {
  font-size: 0.78rem;
  color: rgba(214, 232, 255, 0.72);
  margin-bottom: 6px;
}

.dash-kpi__val {
  font-family: var(--font-mono);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--white);
}

.dash-kpi__meta {
  font-size: 0.76rem;
  color: var(--lime-400);
  margin-top: 4px;
}

.dash-main {
  display: grid;
  grid-template-columns: 1.45fr 0.95fr;
  gap: 20px;
}

.dash-panel {
  background: rgba(2, 16, 36, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 20px;
}

.dash-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.dash-panel__title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
}

.string-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.string-cell {
  padding: 12px 10px;
  border-radius: 10px;
  background: rgba(31, 178, 27, 0.14);
  border: 1px solid rgba(126, 211, 33, 0.28);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  transition: transform 0.2s ease, background 0.3s ease;
}

.string-cell strong {
  display: block;
  font-size: 0.9rem;
  color: var(--white);
  margin-top: 2px;
}

.string-cell.warn {
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.5);
  color: #FCD34D;
}

.string-cell.fault {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.55);
  color: #FCA5A5;
  animation: pulseBorder 1.8s infinite;
}

.ai-feed {
  display: grid;
  gap: 12px;
}

.ai-event {
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--lime-400);
  font-size: 0.84rem;
}

.ai-event.warn {
  border-left-color: #F59E0B;
}

.ai-event.crit {
  border-left-color: #EF4444;
}

.ai-event__top {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.ai-event p {
  color: rgba(214, 232, 255, 0.76);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* ==========================================================================
   Testimonials & Sectors
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stars {
  color: #F59E0B;
  letter-spacing: 2px;
  font-size: 0.95rem;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--slate-700);
  line-height: 1.7;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-blue);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  color: var(--navy-900);
  font-size: 0.94rem;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--slate-500);
}

/* ==========================================================================
   Contact Form & Info Cards
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 36px;
  align-items: start;
}

.contact-single {
  max-width: 960px;
}

.contact-card__header {
  text-align: center;
  margin-bottom: 28px;
}

.contact-info-list--grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

.contact-card__title {
  font-size: clamp(1.3rem, 2.8vw, 1.75rem);
  margin-bottom: 10px;
}

.contact-info-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.contact-info-item:hover {
  border-color: var(--blue-500);
  transform: translateX(4px);
}

.contact-info-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--blue-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  max-width: 100%;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--navy-900);
  line-height: 1.35;
}

.form-control {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--surface-alt);
  color: var(--navy-900);
  font-size: 0.94rem;
  line-height: 1.4;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23041D42' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

.form-control:focus {
  border-color: var(--blue-600);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(13, 98, 214, 0.12);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* ==========================================================================
   CTA Banner & Dark Footer
   ========================================================================== */
.cta-banner {
  background: var(--grad-blue);
  border-radius: var(--radius-xl);
  padding: 58px 48px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 211, 33, 0.34), transparent 70%);
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  margin-bottom: 10px;
}

.cta-banner p {
  color: rgba(230, 241, 255, 0.86);
  max-width: 560px;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.site-footer {
  background: var(--navy-950);
  color: rgba(214, 232, 255, 0.76);
  padding-top: 76px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-600), var(--green-500), var(--lime-400));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  height: 60px;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 340px;
  margin-bottom: 20px;
}

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

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(214, 232, 255, 0.76);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--lime-400);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px;
  font-size: 0.84rem;
  color: rgba(214, 232, 255, 0.6);
}

/* ==========================================================================
   Floating Utilities (Quick Call + Back to Top + Toast)
   ========================================================================== */
.floating-stack {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 950;
}

.fab {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform 0.25s var(--ease-out), opacity 0.25s ease;
}

.fab:hover {
  transform: translateY(-3px) scale(1.05);
}

.fab--call {
  background: linear-gradient(135deg, var(--green-600), var(--green-500));
  color: var(--white);
}

.fab--top {
  background: var(--navy-900);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  pointer-events: none;
}

.fab--top.visible {
  opacity: 1;
  pointer-events: auto;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(120%);
  background: var(--navy-900);
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(126, 211, 33, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  z-index: 2000;
  transition: transform 0.38s var(--ease-out);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Scroll Reveal & Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.reveal-left {
  transform: translateX(-32px);
}

.reveal.reveal-right {
  transform: translateX(32px);
}

.reveal.in-view {
  opacity: 1;
  transform: translate(0, 0);
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(126, 211, 33, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(126, 211, 33, 0); }
}

@keyframes pulseBorder {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes slowZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.09); }
}

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

/* ==========================================================================
   Additional Semantic Responsive Grids & Overflow Safeguards
   ========================================================================== */
html,
body {
  overflow-x: clip;
}

.hero__grid > *,
.split > *,
.calc-card > *,
.dash-main > *,
.contact-grid > *,
.contact-info-item > div,
.telemetry-alert > div,
.floating-badge > div {
  min-width: 0;
}

.contact-info-item strong,
.contact-info-item a,
.ai-event,
.testimonial-card blockquote {
  overflow-wrap: anywhere;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.steps-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.dash-toolbar__left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.dash-toolbar__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.dash-select {
  max-width: 100%;
  text-overflow: ellipsis;
}

.page-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.btn-group-inline {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Very Large Screens & Ultra-Wide Scaling (1440px -> 1920px+ / 4K)
   ========================================================================== */
@media (min-width: 1440px) {
  :root {
    --container: 1320px;
    --header-h: 86px;
  }

  .section {
    padding-block: 112px;
  }

  .hero {
    min-height: min(860px, calc(100vh - 118px));
    padding-block: 88px 110px;
  }

  .hero__grid {
    gap: 60px;
  }

  .services-grid,
  .pricing-grid,
  .testimonials-grid,
  .steps-grid {
    gap: 28px;
  }

  .service-card,
  .pricing-card {
    padding: 36px 32px;
  }
}

@media (min-width: 1680px) {
  html {
    font-size: 17px;
  }

  :root {
    --container: 1460px;
    --header-h: 90px;
  }

  .hero__grid {
    gap: 68px;
  }

  .split {
    gap: 68px;
  }

  .cta-banner {
    padding: 68px 60px;
  }
}

@media (min-width: 1920px) {
  html {
    font-size: 18px;
  }

  :root {
    --container: 1580px;
  }

  .section {
    padding-block: 124px;
  }

  .hero {
    min-height: min(920px, 84vh);
  }

  .section-header {
    max-width: 780px;
  }
}

/* ==========================================================================
   Standard Laptop & 1080px Desktop Viewport Refinement (1024px – 1240px)
   ========================================================================== */
@media (max-width: 1240px) {
  :root {
    --container: 1120px;
  }

  .brand-logo img {
    height: 48px;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-link {
    padding: 8px 12px;
    font-size: 0.89rem;
  }

  .phone-pill {
    padding: 8px 12px;
    font-size: 0.83rem;
  }

  .hero__grid {
    gap: 36px;
  }

  .split {
    gap: 40px;
  }
}

@media (max-width: 1120px) {
  /* At 1080px, keep full 5-link desktop navbar + Audit CTA on a single crisp row; phone is already in topbar */
  .phone-pill {
    display: none;
  }

  .hero__grid {
    grid-template-columns: 1.04fr 0.96fr;
    gap: 30px;
  }

  .hero__title {
    font-size: clamp(2.25rem, 3.8vw, 3.15rem);
  }

  .calc-card__controls,
  .calc-card__results {
    padding: 34px 30px;
  }

  .pricing-card {
    padding: 28px 22px;
  }

  .cta-banner {
    padding: 44px 36px;
    gap: 28px;
  }

  .footer-grid {
    gap: 30px;
  }
}

/* ==========================================================================
   Tablet Landscape & Small Laptop (787px – 1023px)
   ========================================================================== */
@media (max-width: 1023px) {
  :root {
    --header-h: 76px;
  }

  .nav-links,
  .phone-pill {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    min-height: auto;
    padding-block: 60px 84px;
  }

  .hero__grid,
  .split,
  .calc-card,
  .dash-main,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .split--reverse .split__media {
    order: 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .service-card--featured {
    grid-column: span 2;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-box:not(:last-child)::after {
    display: none;
  }

  .stat-box:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  .stat-box:nth-child(1),
  .stat-box:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }

  .steps-grid,
  .steps-grid--3,
  .dash-kpis,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .pricing-grid > :last-child:nth-child(odd),
  .testimonials-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }

  .tabs-nav {
    border-radius: var(--radius-md);
    width: 100%;
    justify-content: flex-start;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 32px;
  }
}

/* ==========================================================================
   Tablet Portrait (640px – 786px — Tuned Specifically for 786px)
   ========================================================================== */
@media (max-width: 786px) {
  :root {
    --header-h: 72px;
  }

  .container {
    padding-inline: 22px;
  }

  .section {
    padding-block: 70px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: clamp(1.68rem, 4.2vw, 2.2rem);
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .topbar__right {
    display: none;
  }

  .topbar__inner {
    justify-content: center;
  }

  .page-hero {
    padding-block: 62px 54px;
  }

  .page-hero h1 {
    font-size: clamp(1.9rem, 4.8vw, 2.55rem);
  }

  .page-hero p {
    font-size: 1rem;
  }

  .hero__title {
    font-size: clamp(2.05rem, 5.2vw, 2.8rem);
  }

  .hero__lead {
    font-size: 1.02rem;
    margin-bottom: 26px;
  }

  .hero__actions .btn {
    padding: 14px 24px;
    font-size: 0.94rem;
  }

  .pricing-grid,
  .testimonials-grid,
  .steps-grid--3 {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .pricing-grid > :last-child:nth-child(odd),
  .testimonials-grid > :last-child:nth-child(odd) {
    max-width: none;
  }

  .dash-shell {
    padding: 22px;
    border-radius: var(--radius-lg);
  }

  .dash-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .dash-toolbar__left,
  .dash-toolbar__actions {
    width: 100%;
  }

  .dash-select {
    width: 100%;
  }

  .dash-panel__head {
    flex-wrap: wrap;
    gap: 8px;
  }

  .contact-card {
    padding: 28px 24px;
  }

  .faq-trigger {
    padding: 18px 20px;
    font-size: 0.96rem;
  }

  .faq-body__inner {
    padding: 0 20px 18px;
  }
}

/* ==========================================================================
   Large Mobile & Phablet (481px – 639px)
   ========================================================================== */
@media (max-width: 639px) {
  :root {
    --header-h: 66px;
  }

  .topbar {
    display: none;
  }

  .nav-actions .btn {
    display: none;
  }

  .brand-logo img {
    height: 42px;
  }

  .container {
    padding-inline: 18px;
  }

  .section {
    padding-block: 56px;
  }

  .hero {
    padding-block: 44px 70px;
  }

  .hero__ribbon {
    width: 380px;
    height: 380px;
    top: -60px;
    right: -130px;
    border-width: 16px;
  }

  .services-grid,
  .steps-grid,
  .form-grid,
  .contact-info-list--grid,
  .footer-grid,
  .mission-vision-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-card--featured {
    grid-column: span 1;
  }

  .service-card {
    padding: 26px 22px;
    gap: 14px;
  }

  .service-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
  }

  .stat-box {
    padding: 22px 16px;
  }

  .calc-card__controls,
  .calc-card__results {
    padding: 26px 20px;
    gap: 20px;
  }

  /* Sleek touch-scrollable tab bar on small viewports */
  .tabs-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px;
    gap: 6px;
    border-radius: 14px;
    margin-bottom: 26px;
  }

  .tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    flex-shrink: 0;
    padding: 9px 15px;
    font-size: 0.84rem;
  }

  .cta-banner {
    padding: 32px 22px;
    border-radius: var(--radius-lg);
  }

  .cta-banner__actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .cta-banner__actions .btn {
    width: 100%;
    padding: 13px 16px;
    font-size: 0.9rem;
  }

  .floating-badge {
    position: relative;
    bottom: auto;
    left: auto;
    margin: 12px;
    padding: 12px 14px;
    border-radius: 12px;
  }

  .string-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .toast {
    width: calc(100vw - 28px);
    max-width: 420px;
    border-radius: 14px;
    padding: 12px 16px;
    font-size: 0.85rem;
    bottom: 18px;
  }
}

/* ==========================================================================
   Compact Mobile (375px – 480px — Tuned Specifically for 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .container {
    padding-inline: 16px;
  }

  .section {
    padding-block: 50px;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    padding: 12px 18px;
    font-size: 0.9rem;
  }

  .btn--lg {
    padding: 14px 20px;
    font-size: 0.93rem;
  }

  .btn--sm {
    padding: 9px 14px;
    font-size: 0.82rem;
  }

  .hero__actions,
  .btn-group-inline,
  .contact-card__actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero__actions .btn,
  .btn-group-inline .btn,
  .contact-card__actions .btn {
    width: 100%;
  }

  .hero__trust {
    gap: 14px;
    padding-top: 20px;
  }

  .page-hero__chips .btn {
    flex: 1 1 calc(50% - 6px);
  }

  .cta-banner__actions {
    grid-template-columns: 1fr;
  }

  .dash-toolbar__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .dash-toolbar__actions .btn {
    width: 100%;
  }

  .dash-kpis {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .dash-kpi {
    padding: 14px 12px;
  }

  .dash-kpi__val {
    font-size: 1.18rem;
  }

  .telemetry-card {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .telemetry-kpi {
    padding: 12px;
  }

  .telemetry-kpi__val {
    font-size: 1.12rem;
    flex-wrap: wrap;
  }

  .slider-group label {
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.88rem;
  }

  .calc-pill {
    width: 100%;
    text-align: center;
    padding: 10px 14px;
    font-size: 0.84rem;
  }

  .contact-card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .contact-info-item {
    padding: 13px;
    gap: 12px;
  }

  .floating-stack {
    right: 14px;
    bottom: 14px;
    gap: 10px;
  }

  .fab {
    width: 44px;
    height: 44px;
  }

  .footer-brand img {
    height: 48px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* ==========================================================================
   Extra-Small Mobile (320px – 374px — Pixel-Perfect at 320px)
   ========================================================================== */
@media (max-width: 374px) {
  :root {
    --header-h: 62px;
  }

  .container {
    padding-inline: 12px;
  }

  .section {
    padding-block: 42px;
  }

  .brand-logo img {
    height: 36px;
    max-width: 195px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .eyebrow {
    font-size: 0.68rem;
    padding: 5px 10px;
    letter-spacing: 0.05em;
  }

  .hero {
    padding-block: 34px 58px;
  }

  .hero__title {
    font-size: 1.7rem;
    line-height: 1.14;
    margin-bottom: 14px;
  }

  .hero__lead {
    font-size: 0.91rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .page-hero {
    padding-block: 46px 40px;
  }

  .page-hero h1 {
    font-size: 1.66rem;
  }

  .page-hero p {
    font-size: 0.91rem;
  }

  .page-hero__chips .btn {
    flex: 1 1 100%;
  }

  .section-title {
    font-size: 1.46rem;
  }

  .section-subtitle {
    font-size: 0.91rem;
  }

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

  .stat-box {
    padding: 18px 16px;
    border-right: none !important;
    border-bottom: none;
  }

  .stat-box:not(:last-child) {
    border-bottom: 1px solid var(--border);
  }

  .telemetry-card__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .telemetry-kpis {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .telemetry-bars {
    gap: 4px;
    height: 58px;
  }

  .telemetry-alert {
    padding: 10px 12px;
    font-size: 0.78rem;
    gap: 10px;
  }

  .service-card {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .service-card__title {
    font-size: 1.06rem;
  }

  .service-card__desc {
    font-size: 0.87rem;
  }

  .step-card {
    padding: 22px 16px;
  }

  .pricing-card {
    padding: 26px 16px;
  }

  .pricing-card__price {
    font-size: 1.62rem;
  }

  .calc-card__controls,
  .calc-card__results {
    padding: 20px 14px;
  }

  .calc-metric {
    padding: 14px;
  }

  .calc-metric__value {
    font-size: 1.25rem;
  }

  .dash-shell {
    padding: 14px 12px;
    border-radius: 18px;
  }

  .dash-kpis {
    grid-template-columns: 1fr;
  }

  .dash-panel {
    padding: 14px 12px;
  }

  .dash-select {
    padding: 9px 12px;
    font-size: 0.82rem;
  }

  .ai-event__top {
    flex-direction: column;
    gap: 2px;
  }

  .contact-card {
    padding: 18px 14px;
  }

  .form-grid {
    gap: 14px;
  }

  .form-control {
    padding: 11px 12px;
    font-size: 0.88rem;
  }

  select.form-control {
    padding-right: 34px;
    background-position: right 10px center;
  }

  .contact-info-item__icon {
    width: 38px;
    height: 38px;
  }

  .faq-trigger {
    padding: 15px 14px;
    font-size: 0.89rem;
  }

  .faq-body__inner {
    padding: 0 14px 15px;
    font-size: 0.86rem;
  }

  .cta-banner {
    padding: 24px 16px;
  }

  .cta-banner h2 {
    font-size: 1.38rem;
  }

  .site-footer {
    padding-top: 52px;
  }

  .footer-grid {
    gap: 28px;
    padding-bottom: 36px;
  }

  .mobile-drawer__panel {
    padding: 18px 16px;
  }
}

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