/* ==========================================================================
   CSRI Consortium Engineers (MEP) — Enterprise Style System (k Standard)
   Precision Engineering | High Contrast | Fluid Typography | Glassmorphism
   ========================================================================== */

:root {
  /* Brand Core Identity (Engineered from Official CSRI Emblem) */
  --brand-blue: #1446b0;
  --brand-blue-dark: #081630;
  --brand-blue-mid: #0d2757;
  --brand-blue-glow: rgba(20, 70, 176, 0.22);
  
  --brand-green: #72ba14;
  --brand-green-dark: #1d5229;
  --brand-green-light: #8ee01a;
  --brand-green-glow: rgba(114, 186, 20, 0.22);

  /* Neutrals & Surfaces (Light Mode) */
  --bg: #f8fafc;
  --bg-alt: #eef3f9;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.88);
  --border: #e1e7f0;
  --border-subtle: rgba(225, 231, 240, 0.7);
  --border-focus: #1446b0;

  /* Typography & Readability */
  --ink: #0b1528;
  --ink-soft: #3e4e63;
  --ink-muted: #64748b;
  --ink-inverted: #ffffff;
  --ink-heading: #07152f;

  /* Elevations & Radii */
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px -1px rgba(12, 24, 48, 0.05);
  --shadow: 0 10px 30px -8px rgba(12, 24, 48, 0.08);
  --shadow-lg: 0 24px 48px -12px rgba(12, 24, 48, 0.14);
  --shadow-glow: 0 0 25px rgba(20, 70, 176, 0.15);

  /* Fonts */
  --font-head: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Mono', monospace;

  /* Header & Fixed Elements */
  --header-height: 84px;
  --header-scrolled-height: 70px;

  color-scheme: light;
}

/* ==========================================================================
   Dark Theme (Engineered Dark Architecture — Strict Contrast & No Dark-on-Dark)
   ========================================================================== */
:root[data-theme="dark"] {
  --bg: #070d18;
  --bg-alt: #0d1627;
  --surface: #111e35;
  --surface-glass: rgba(17, 30, 53, 0.88);
  --border: #1f304f;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: #3b82f6;

  --ink: #f1f5f9;
  --ink-soft: #cbd5e1;
  --ink-muted: #94a3b8;
  --ink-inverted: #070d18;
  --ink-heading: #ffffff;

  --brand-green: #8ee01a;
  --brand-green-glow: rgba(142, 224, 26, 0.25);
  --brand-blue: #3b82f6;
  --brand-blue-glow: rgba(59, 130, 246, 0.28);

  --shadow-sm: 0 2px 8px -1px rgba(0, 0, 0, 0.4);
  --shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 28px 56px -12px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 35px rgba(59, 130, 246, 0.2);

  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  font-size: clamp(15px, 13.8px + 0.32vw, 17.5px);
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Smooth background without grid */

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Typography Hierarchy
   ========================================================================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink-heading);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.8rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 700;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.35rem;
  font-weight: 700;
}

h4 {
  font-size: 1.15rem;
  font-weight: 600;
}

p {
  color: var(--ink-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue);
  background: rgba(15, 82, 186, 0.07);
  border: 1px solid rgba(15, 82, 186, 0.18);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 10px var(--brand-green);
  flex-shrink: 0;
}

:root[data-theme="dark"] .eyebrow {
  color: #93c5fd;
  background: rgba(96, 165, 250, 0.12);
  border-color: rgba(96, 165, 250, 0.28);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.hero .eyebrow {
  color: #93c5fd;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.eyebrow.center {
  display: flex;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Gradient text accents for section titles */
.text-accent {
  color: var(--brand-blue);
  background: linear-gradient(120deg, #0f52ba 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

:root[data-theme="dark"] .text-accent {
  background: linear-gradient(120deg, #60a5fa 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-accent-green {
  color: var(--brand-green);
  background: linear-gradient(120deg, #15803d 0%, #72ba14 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

:root[data-theme="dark"] .text-accent-green {
  background: linear-gradient(120deg, #4ade80 0%, #a3e635 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 660px;
  margin-bottom: 40px;
  line-height: 1.65;
}

.section-sub.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.center {
  text-align: center;
}

/* ==========================================================================
   Buttons & Micro-interactions
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-blue);
  color: #ffffff !important;
  box-shadow: 0 6px 20px -2px var(--brand-blue-glow);
}

.btn-primary:hover {
  background: #0f3992;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -2px var(--brand-blue-glow);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-whatsapp-cta {
  background: #25d366;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-cta:hover {
  background: #1eb857;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Scroll Progress & Topbar
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
  z-index: 10000;
  transition: width 0.08s linear;
}

.topbar {
  background: var(--brand-blue-dark);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1001;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar-phone:hover, .topbar-email:hover {
  color: var(--brand-green);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: height 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

:root[data-theme="dark"] .header {
  background: rgba(11, 20, 36, 0.9);
  border-bottom-color: var(--border);
}

.header.scrolled {
  height: var(--header-scrolled-height);
  box-shadow: var(--shadow);
}

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

/* Brand Lockup (Emblem + Balanced Typography) */
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-emblem-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: transform 0.25s ease;
}

.brand:hover .brand-emblem-wrap {
  transform: scale(1.05);
}

.brand-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: #1446b0;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

:root[data-theme="dark"] .brand-name {
  color: #ffffff;
}

.brand-name-light {
  font-weight: 600;
  color: #23354f;
  letter-spacing: 0.05em;
  margin-left: 2px;
}

:root[data-theme="dark"] .brand-name-light {
  color: #93c5fd;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
}

.brand-badge {
  background: rgba(114, 186, 20, 0.15);
  color: #1d5229;
  border: 1px solid rgba(114, 186, 20, 0.35);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 0.58rem;
  font-weight: 800;
}

:root[data-theme="dark"] .brand-badge {
  background: rgba(142, 224, 26, 0.18);
  color: #8ee01a;
  border-color: rgba(142, 224, 26, 0.4);
}

/* Nav Links */
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}

.nav a:not(.nav-cta):hover {
  color: var(--brand-blue);
}

:root[data-theme="dark"] .nav a:not(.nav-cta):hover {
  color: #60a5fa;
}

.nav-cta {
  background: var(--brand-blue);
  color: #ffffff !important;
  padding: 9px 18px !important;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 4px 12px var(--brand-blue-glow);
  transition: all 0.25s ease;
}

.nav-cta:hover {
  background: #0f3992;
  transform: translateY(-1px);
}

/* Theme Toggle Button */
.theme-toggle {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--ink);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--brand-blue);
  transform: rotate(15deg);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.icon-moon { display: none; }
.icon-sun { display: block; }
:root[data-theme="dark"] .icon-sun { display: none; }
:root[data-theme="dark"] .icon-moon { display: block; }

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* ==========================================================================
   Hero Section (Architectural Blueprint & Luxury Feel)
   ========================================================================== */
.hero {
  position: relative;
  padding: 100px 0 80px;
  background-color: #07132a;
  background-image:
    radial-gradient(circle at 82% 18%, rgba(20, 70, 176, 0.45), transparent 48%),
    radial-gradient(circle at 14% 82%, rgba(114, 186, 20, 0.18), transparent 42%);
  background-size: 100% 100%;
  color: #ffffff;
  overflow: hidden;
}

.hero-watermark {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 620px;
  height: 620px;
  opacity: 0.035;
  pointer-events: none;
  filter: brightness(0) invert(1);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 50px;
  align-items: center;
}

.hero-content h1 {
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-content h1 .accent {
  color: var(--brand-green);
  background: linear-gradient(110deg, #a4f02a, #68b010);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.12rem;
  color: #cbd5e1;
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--brand-green);
}

/* Stat Counters */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Dashboard Panel (Glassmorphic) */
.hero-dashboard {
  background: rgba(15, 28, 54, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.dashboard-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulseLive 2s infinite;
}

@keyframes pulseLive {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.update-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 14px;
  transition: all 0.25s ease;
}

.update-card:last-child {
  margin-bottom: 0;
}

.update-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateX(4px);
}

.update-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.tag-project { background: rgba(59, 130, 246, 0.25); color: #93c5fd; }
.tag-milestone { background: rgba(114, 186, 20, 0.25); color: #bbf7d0; }
.tag-member { background: rgba(234, 179, 8, 0.25); color: #fef08a; }

.update-title {
  color: #f1f5f9;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 6px;
}

.update-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #94a3b8;
}

/* ==========================================================================
   Sections (Structure & Themes)
   ========================================================================== */
.section {
  padding: 96px 0;
  position: relative;
  z-index: 1;
}

.section-alt {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: center;
  margin-top: 10px;
}

.about-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-media::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 115%;
  height: 115%;
  background: radial-gradient(circle, rgba(15, 82, 186, 0.12) 0%, rgba(114, 186, 20, 0.08) 50%, transparent 75%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}

.about-card {
  position: relative;
  z-index: 1;
  width: 100%;
  background: linear-gradient(150deg, #091728 0%, #0d2745 55%, #081627 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 42px 32px 36px;
  text-align: center;
  box-shadow: 0 24px 48px -12px rgba(11, 26, 46, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  color: #f8fafc;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -15px rgba(11, 26, 46, 0.45), 0 0 0 1px rgba(96, 165, 250, 0.25);
}

/* Ambient glow highlights inside the about card */
.about-card::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(114, 186, 20, 0.25) 0%, rgba(15, 82, 186, 0.2) 50%, transparent 75%);
  filter: blur(25px);
  pointer-events: none;
  z-index: 0;
}

.about-card-watermark {
  position: absolute;
  right: -25px;
  bottom: -25px;
  width: 170px;
  height: 170px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.about-card-badge {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.about-icon-wrap {
  position: relative;
  z-index: 1;
  width: 92px;
  height: 92px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 70%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 30px rgba(114, 186, 20, 0.2), inset 0 0 15px rgba(255, 255, 255, 0.08);
}

.about-icon {
  width: 66px;
  height: 66px;
  margin: 0;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.about-card .about-name {
  position: relative;
  z-index: 1;
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.25;
}

.about-card .about-name-green {
  color: #8ee01a;
  text-shadow: 0 0 20px rgba(142, 224, 26, 0.3);
}

.about-card .about-name-blue {
  color: #60a5fa;
  text-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
}

.about-card .about-name-mep {
  font-size: 0.95rem;
  color: #cbd5e1;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.about-card .about-divider {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #60a5fa, #8ee01a);
  margin: 18px auto;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(114, 186, 20, 0.5);
}

.about-card .about-founder {
  position: relative;
  z-index: 1;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.about-card .about-founder span {
  font-size: 0.85rem;
  font-weight: 500;
  color: #94a3b8;
  display: block;
  margin-top: 4px;
}

.about-member-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(234, 179, 8, 0.14);
  color: #fef08a;
  border: 1px solid rgba(234, 179, 8, 0.38);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.about-member-badge svg {
  color: #fbbf24;
}

.about-content h2 {
  color: var(--ink-heading);
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.about-stats {
  display: flex;
  gap: 20px;
}

.about-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 24px;
  box-shadow: var(--shadow-sm);
  flex: 1;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.about-stat:nth-child(1) {
  border-top: 3px solid var(--brand-blue);
}

.about-stat:nth-child(2) {
  border-top: 3px solid var(--brand-green);
}

.about-stat-num {
  font-family: var(--font-head);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1;
}

:root[data-theme="dark"] .about-stat-num {
  color: #60a5fa;
}

.about-stat:nth-child(2) .about-stat-num {
  color: var(--brand-green);
}

:root[data-theme="dark"] .about-stat:nth-child(2) .about-stat-num {
  color: #8ee01a;
}

.about-stat-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-top: 6px;
}

/* About Lower Grid & Founder Quote */
.about-lower-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 48px;
  align-items: center;
}

.about-accountability p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink-heading);
  margin-bottom: 18px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(114, 186, 20, 0.15);
  border: 1px solid rgba(114, 186, 20, 0.4);
  color: var(--brand-green);
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

:root[data-theme="dark"] .check-list li::before {
  background: rgba(142, 224, 26, 0.2);
  border-color: rgba(142, 224, 26, 0.45);
  color: #8ee01a;
}

.founder-quote {
  position: relative;
  background: var(--surface);
  border-left: 4px solid var(--brand-blue);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 30px 32px;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.founder-quote::before {
  content: "“";
  position: absolute;
  top: -15px;
  right: 20px;
  font-family: Georgia, serif;
  font-size: 5.5rem;
  color: var(--brand-blue);
  opacity: 0.08;
  pointer-events: none;
  line-height: 1;
}

:root[data-theme="dark"] .founder-quote::before {
  opacity: 0.15;
  color: #60a5fa;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 30px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-focus);
  box-shadow: 0 20px 35px -10px rgba(15, 82, 186, 0.12);
}

.service-card:hover::before {
  opacity: 1;
}

.service-num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-muted);
  opacity: 0.35;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(15, 82, 186, 0.1) 0%, rgba(114, 186, 20, 0.1) 100%);
  border: 1px solid rgba(15, 82, 186, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--brand-blue);
  box-shadow: 0 4px 14px rgba(15, 82, 186, 0.08);
  transition: all 0.3s ease;
}

:root[data-theme="dark"] .service-icon {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.16) 0%, rgba(142, 224, 26, 0.12) 100%);
  border-color: rgba(96, 165, 250, 0.25);
  color: #60a5fa;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--brand-blue) 0%, #0284c7 100%);
  color: #ffffff;
  border-color: transparent;
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 82, 186, 0.3);
}

:root[data-theme="dark"] .service-card:hover .service-icon {
  background: linear-gradient(135deg, #2563eb 0%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.45);
}

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

.service-card h3 {
  color: var(--ink-heading);
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.service-card p {
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ==========================================================================
   Why CSRI
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.why-tile {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 30px 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  overflow: hidden;
}

.why-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-blue));
  opacity: 0.7;
  transition: all 0.25s ease;
}

.why-tile:hover {
  transform: translateY(-4px);
  border-color: var(--brand-green);
  box-shadow: 0 16px 30px -10px rgba(114, 186, 20, 0.18);
}

.why-tile:hover::before {
  opacity: 1;
  height: 4px;
}

.why-number {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--brand-green);
  background: rgba(114, 186, 20, 0.12);
  border: 1px solid rgba(114, 186, 20, 0.25);
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}

:root[data-theme="dark"] .why-number {
  color: #8ee01a;
  background: rgba(142, 224, 26, 0.15);
  border-color: rgba(142, 224, 26, 0.35);
}

.why-tile h3 {
  font-size: 1.05rem;
  color: var(--ink-heading);
  margin-bottom: 10px;
  line-height: 1.35;
}

.why-tile p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ==========================================================================
   Process (How We Work)
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
}

.process-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 30px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  overflow: hidden;
}

.process-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), #38bdf8);
  opacity: 0.6;
  transition: all 0.25s ease;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px -10px rgba(15, 82, 186, 0.15);
  border-color: var(--brand-blue);
}

.process-step:hover::before {
  opacity: 1;
  height: 4px;
}

.process-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-blue);
  background: rgba(15, 82, 186, 0.08);
  border: 1px solid rgba(15, 82, 186, 0.2);
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

:root[data-theme="dark"] .process-num {
  color: #93c5fd;
  background: rgba(96, 165, 250, 0.14);
  border-color: rgba(96, 165, 250, 0.3);
}

.process-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(15, 82, 186, 0.1) 0%, rgba(59, 130, 246, 0.08) 100%);
  border: 1px solid rgba(15, 82, 186, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(15, 82, 186, 0.06);
  transition: all 0.3s ease;
}

:root[data-theme="dark"] .process-icon {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.15) 0%, rgba(59, 130, 246, 0.1) 100%);
  border-color: rgba(96, 165, 250, 0.25);
  color: #60a5fa;
}

.process-step:hover .process-icon {
  background: linear-gradient(135deg, var(--brand-blue), #0284c7);
  color: #ffffff;
  border-color: transparent;
  transform: scale(1.08);
  box-shadow: 0 8px 18px rgba(15, 82, 186, 0.25);
}

.process-step h3 {
  color: var(--ink-heading);
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.process-step p {
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ==========================================================================
   Sectors
   ========================================================================== */
.sectors-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.sector-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 12px 24px;
  border-radius: 40px;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.94rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.sector-pill:hover {
  transform: translateY(-3px);
  border-color: var(--brand-blue);
  background: linear-gradient(135deg, var(--brand-blue), #0284c7);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 82, 186, 0.25);
}

/* ==========================================================================
   Featured Projects & Filter System
   ========================================================================== */
.projects-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 40px;
}

.filter-btn {
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--ink-soft);
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.filter-btn:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

:root[data-theme="dark"] .filter-btn:hover {
  border-color: #60a5fa;
  color: #60a5fa;
}

.filter-btn.active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #ffffff !important;
  box-shadow: 0 4px 16px var(--brand-blue-glow);
}

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

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.project-card.is-hidden {
  display: none !important;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-focus);
}

.project-thumb {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--bg-alt);
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-thumb img {
  transform: scale(1.06);
}

.project-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(8, 22, 48, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
}

.project-tag.tag-site { background: rgba(234, 88, 12, 0.88); }
.project-tag.tag-elec { background: rgba(37, 99, 235, 0.88); }
.project-tag.tag-hvac { background: rgba(16, 185, 129, 0.88); }
.project-tag.tag-comm { background: rgba(124, 58, 237, 0.88); }

.project-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.project-client {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
}

.project-status-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--brand-green);
  background: rgba(114, 186, 20, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
}

.project-info h4 {
  color: var(--ink-heading);
  margin-bottom: 10px;
  line-height: 1.35;
}

.project-info p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 16px;
}

.project-spec-list {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.project-spec-list li {
  font-size: 0.82rem;
  color: var(--ink-muted);
  position: relative;
  padding-left: 16px;
}

.project-spec-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand-blue);
  font-weight: 800;
}

.image-credit {
  margin-top: 32px;
  text-align: center;
  font-size: 0.74rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   CTA Banner
   ========================================================================= */
.cta-banner {
  background: linear-gradient(135deg, #07152f 0%, #0c2552 60%, #0a2e22 100%);
  color: #ffffff;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%; right: -10%;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(114, 186, 20, 0.2), transparent 70%);
}

.cta-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.cta-inner h2 {
  color: #ffffff;
  margin-bottom: 16px;
}

.cta-inner p {
  color: #cbd5e1;
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.65;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Contact Section & Upgraded Form
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  color: var(--ink-heading);
  margin-bottom: 16px;
}

.info-row {
  display: flex;
  gap: 16px;
  margin: 22px 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.info-row .icon {
  font-size: 1.3rem;
  line-height: 1;
}

.info-row strong {
  color: var(--ink-heading);
}

.phone-link {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-blue);
}

:root[data-theme="dark"] .phone-link {
  color: #60a5fa;
}

.info-badge {
  display: inline-block;
  margin-left: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--bg-alt);
  color: var(--ink-muted);
  border: 1px solid var(--border);
}

.email-highlight {
  display: inline-block;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand-blue);
  background: rgba(20, 70, 176, 0.08);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(20, 70, 176, 0.2);
}

:root[data-theme="dark"] .email-highlight {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

.map-embed {
  margin-top: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* Contact Form Overhaul */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 34px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  color: var(--ink-heading);
  margin-bottom: 8px;
}

.form-desc {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-bottom: 24px;
}

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

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-field label .required {
  color: #ef4444;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.92rem;
  resize: vertical;
  transition: all 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px var(--brand-blue-glow);
}

.field-error {
  display: none;
  color: #ef4444;
  font-size: 0.74rem;
  font-weight: 600;
  margin-top: 4px;
}

.form-field.has-error input,
.form-field.has-error textarea {
  border-color: #ef4444;
}

.form-field.has-error .field-error {
  display: block;
}

.select-wrapper {
  position: relative;
}

/* Spinner & Button States */
.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn.is-loading .btn-text { display: none; }
.btn.is-loading .btn-spinner { display: block; }

/* Status Feedback Container */
.form-status {
  margin-top: 18px;
  display: none;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  line-height: 1.5;
}

.form-status.is-success {
  display: block;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #15803d;
}

:root[data-theme="dark"] .form-status.is-success {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.5);
  color: #86efac;
}

.form-status-actions {
  margin-top: 10px;
  display: flex;
  gap: 12px;
}

.form-footer-note {
  margin-top: 18px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.whatsapp-inline-link {
  color: #16a34a;
  font-weight: 700;
}

:root[data-theme="dark"] .whatsapp-inline-link {
  color: #4ade80;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #050e1f;
  color: #ffffff;
  padding: 70px 0 0;
  border-top: 4px solid var(--brand-green);
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col a {
  display: block;
  color: #cbd5e1;
  font-size: 0.88rem;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--brand-green);
}

.footer-addr {
  color: #94a3b8;
  font-size: 0.84rem;
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-tel {
  font-weight: 700;
  color: #93c5fd !important;
}

.footer-bottom {
  padding: 24px 0;
  font-size: 0.82rem;
  color: #64748b;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-credentials {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #94a3b8;
}

/* ==========================================================================
   Floating WhatsApp Button (High-Converting FAB)
   ========================================================================== */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff !important;
  padding: 12px 20px;
  border-radius: 40px;
  box-shadow: 0 10px 25px -3px rgba(37, 211, 102, 0.45), 0 4px 10px rgba(0, 0, 0, 0.2);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.whatsapp-fab:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 32px -3px rgba(37, 211, 102, 0.6), 0 6px 12px rgba(0, 0, 0, 0.25);
}

.whatsapp-fab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-fab-ping {
  position: absolute;
  top: -2px; right: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #ffffff;
  animation: ping 2s infinite;
}

@keyframes ping {
  0% { transform: scale(1); opacity: 1; }
  70% { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .footer-links { gap: 30px; }
}

@media (max-width: 840px) {
  .header { height: 72px; }
  .nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 30px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav.open { display: flex; }
  .nav-toggle { display: flex; }
  
  .topbar-address { display: none; }
  .topbar-inner { justify-content: center; }

  .about-lower-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; }
  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 580px) {
  .container { padding: 0 18px; }
  .hero { padding: 70px 0 60px; }
  .hero-actions { flex-direction: column; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .projects-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 18px; }
  .whatsapp-fab-text { display: none; }
  .whatsapp-fab { padding: 14px; border-radius: 50%; bottom: 20px; right: 20px; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
}
