/* ==========================================================================
   WHITE CLOUD ENGINEERING — DESIGN SYSTEM & STYLESHEET
   Aesthetics: Cinematic Dark Engineering, Architectural Precision, High Contrast
   ========================================================================== */

/* --- GOOGLE FONTS IMPORT --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* --- DESIGN TOKENS --- */
:root {
  /* Background Palette */
  --bg-darkest: #07090d;
  --bg-dark: #0b0f15;
  --bg-surface: #111722;
  --bg-surface-2: #17202e;
  --bg-surface-3: #1f2b3e;
  --bg-surface-glass: rgba(17, 23, 34, 0.75);
  --bg-card-glass: rgba(23, 32, 46, 0.65);

  /* Brand Accents */
  --brand-green: #00c875;
  --brand-green-light: #00e687;
  --brand-green-dark: #008f52;
  --brand-green-glow: rgba(0, 200, 117, 0.35);
  --brand-green-subtle: rgba(0, 200, 117, 0.12);

  --brand-blue: #0f2b48;
  --brand-blue-deep: #0a1b2e;
  --accent-cyan: #38bdf8;
  --accent-cyan-glow: rgba(56, 189, 248, 0.3);

  /* Steel & Typography */
  --text-white: #ffffff;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dark: #334155;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.14);
  --border-accent: rgba(0, 200, 117, 0.3);
  --border-cyan: rgba(56, 189, 248, 0.3);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Elevation & Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 30px rgba(0, 200, 117, 0.22);
  --shadow-glow-cyan: 0 0 30px rgba(56, 189, 248, 0.2);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-max: 1320px;
  --header-height: 86px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
}

/* --- BASE & RESET --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-darkest);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-darkest);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Technical Grid Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darkest);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-surface-3);
  border-radius: 4px;
  border: 2px solid var(--bg-darkest);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-green);
}

/* Selection */
::selection {
  background: var(--brand-green);
  color: var(--bg-darkest);
}

/* Media Elements */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
}

ul, ol {
  list-style: none;
}

/* --- TYPOGRAPHY UTILITIES --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-white);
  letter-spacing: -0.02em;
}

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

.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, var(--brand-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-green {
  color: var(--brand-green);
}

.text-cyan {
  color: var(--accent-cyan);
}

.text-secondary {
  color: var(--text-secondary);
}

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

/* Section Subtitle / Category Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-green);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 2px;
  background: var(--brand-green);
}

.eyebrow-cyan {
  color: var(--accent-cyan);
}
.eyebrow-cyan::before {
  background: var(--accent-cyan);
}

/* --- LAYOUT UTILITIES --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}

.container-narrow {
  max-width: 900px;
}

.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section-lg {
  padding: 130px 0;
}

.section-sm {
  padding: 60px 0;
}

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

.section-header.text-center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- BUTTONS & CTAS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--brand-green);
  color: #05140e;
  box-shadow: 0 4px 18px rgba(0, 200, 117, 0.35);
}

.btn-primary:hover {
  background: var(--brand-green-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0, 200, 117, 0.55);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border-color: var(--border-light);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--brand-green);
  color: var(--brand-green);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #128c7e;
  color: #ffffff;
  border: 1px solid rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  background: #25d366;
  color: #0b2213;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-outline-green {
  background: transparent;
  color: var(--brand-green);
  border-color: var(--brand-green);
}

.btn-outline-green:hover {
  background: var(--brand-green-subtle);
  color: var(--text-white);
  border-color: var(--brand-green-light);
  transform: translateY(-2px);
}

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

.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}

/* --- HEADER & NAVIGATION --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  background: transparent;
}

.header.scrolled {
  background: rgba(7, 10, 15, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  height: 74px;
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1002;
}

.nav-brand img {
  height: 46px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  border-radius: 4px;
  transition: transform var(--transition-fast);
}

.header.scrolled .nav-brand img {
  height: 40px;
}

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

/* Desktop Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  padding: 8px 0;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand-green);
  border-radius: 2px;
}

.nav-link .dropdown-arrow {
  width: 12px;
  height: 12px;
  transition: transform var(--transition-fast);
  stroke: var(--text-secondary);
}

.nav-item:hover .nav-link .dropdown-arrow {
  transform: rotate(180deg);
  stroke: var(--brand-green);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 320px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 20px rgba(0, 200, 117, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-fast);
  backdrop-filter: blur(20px);
  z-index: 1010;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.dropdown-link {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.dropdown-link:hover {
  background: var(--bg-surface-2);
}

.dropdown-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--bg-surface-3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-green);
  transition: all var(--transition-fast);
}

.dropdown-link:hover .dropdown-icon {
  background: var(--brand-green);
  color: #05140e;
  border-color: var(--brand-green);
}

.dropdown-info h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 3px;
}

.dropdown-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1002;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  position: relative;
  transition: all var(--transition-fast);
}

.mobile-toggle span::before,
.mobile-toggle span::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  transition: all var(--transition-fast);
}

.mobile-toggle span::before {
  top: -8px;
}

.mobile-toggle span::after {
  bottom: -8px;
}

.mobile-toggle.active span {
  background: transparent;
}

.mobile-toggle.active span::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-toggle.active span::after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-light);
  padding: 100px 30px 40px;
  z-index: 1001;
  transition: right var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.mobile-drawer.active {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

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

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-link.active {
  color: var(--brand-green);
}

.mobile-submenu {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 12px 0 12px 16px;
}

.mobile-submenu.active {
  display: flex;
}

.mobile-sub-link {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 4px 0;
}

.mobile-sub-link:hover {
  color: var(--brand-green);
}

.mobile-drawer-bottom {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1.02);
  animation: heroKenBurns 30s ease-in-out infinite alternate;
  filter: contrast(1.05) saturate(1.05);
}

@keyframes heroKenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.06); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(180deg, rgba(7, 9, 13, 0.65) 0%, rgba(7, 9, 13, 0.4) 40%, rgba(7, 9, 13, 0.9) 100%),
    radial-gradient(circle at 80% 35%, rgba(0, 200, 117, 0.1) 0%, transparent 55%),
    radial-gradient(circle at 20% 65%, rgba(56, 189, 248, 0.08) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  padding: 40px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(17, 23, 34, 0.75);
  border: 1px solid var(--border-accent);
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--brand-green);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.hero-badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--brand-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--brand-green);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px var(--brand-green); }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.hero-title {
  font-size: clamp(2.6rem, 5.8vw, 4.6rem);
  font-weight: 900;
  line-height: 1.06;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 720px;
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 54px;
}

.hero-meta-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
}

.hero-meta-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.hero-meta-val {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity var(--transition-fast);
}

.hero-scroll-indicator:hover {
  opacity: 1;
  color: var(--brand-green);
}

.scroll-mouse {
  width: 20px;
  height: 32px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 3px;
  height: 6px;
  background: var(--brand-green);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite ease-in-out;
}

@keyframes scrollWheel {
  0% { top: 6px; opacity: 1; }
  100% { top: 18px; opacity: 0; }
}

/* --- PAGE HERO (INNER PAGES) --- */
.page-hero {
  position: relative;
  padding: 180px 0 90px;
  background: var(--bg-dark);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: saturate(1.2) contrast(1.1);
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(7,9,13,0.85) 0%, rgba(7,9,13,0.95) 100%);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--text-secondary);
}
.breadcrumb a:hover {
  color: var(--brand-green);
}
.breadcrumb-separator {
  color: var(--brand-green);
}

.page-hero-title {
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.page-hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-secondary);
  max-width: 740px;
  line-height: 1.7;
}

/* --- SERVICE CARDS (HOME 4-GRID) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.service-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.service-card-media {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card-img {
  transform: scale(1.08);
}

.service-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(7, 9, 13, 0.85);
  border: 1px solid var(--border-accent);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-green);
  backdrop-filter: blur(8px);
}

.service-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-surface-2) 100%);
}

.service-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--text-white);
  transition: color var(--transition-fast);
}

.service-card:hover .service-card-title {
  color: var(--brand-green);
}

.service-card-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-green);
  transition: gap var(--transition-fast);
}

.service-card:hover .service-card-link {
  gap: 12px;
  color: var(--brand-green-light);
}

/* --- "ENGINEERING WITH PURPOSE" 4-PILLAR SECTION --- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  position: relative;
  transition: all var(--transition-normal);
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand-green), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.pillar-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-surface-2);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

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

.pillar-number {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-green);
  margin-bottom: 18px;
  display: inline-block;
  padding: 4px 10px;
  background: var(--brand-green-subtle);
  border-radius: 4px;
}

.pillar-icon {
  width: 52px;
  height: 52px;
  background: var(--bg-surface-3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-green);
  margin-bottom: 22px;
  transition: all var(--transition-fast);
}

.pillar-card:hover .pillar-icon {
  background: var(--brand-green);
  color: #05140e;
  border-color: var(--brand-green);
  transform: scale(1.05);
}

.pillar-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.pillar-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- SECTORS WE SERVE --- */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 18px;
}

.sector-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 24px 16px;
  text-align: center;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.sector-card:hover {
  background: var(--bg-surface-2);
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.sector-icon {
  width: 44px;
  height: 44px;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.sector-card:hover .sector-icon {
  color: var(--brand-green);
  transform: scale(1.1);
}

.sector-name {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

/* --- PROJECT / STRUCTURAL REFERENCES GALLERY --- */
.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 42px;
}

.filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 10px 22px;
  border-radius: 30px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--text-white);
  border-color: var(--border-light);
}

.filter-btn.active {
  background: var(--brand-green);
  color: #05140e;
  border-color: var(--brand-green);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 200, 117, 0.35);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.project-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  cursor: pointer;
}

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

.project-media {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 9, 13, 0.95) 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.project-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(11, 15, 21, 0.85);
  border: 1px solid var(--border-light);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent-cyan);
  backdrop-filter: blur(8px);
}

.project-info {
  width: 100%;
}

.project-type-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 4px;
}

.project-spec {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.project-zoom-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(11, 15, 21, 0.85);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-green);
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition-fast);
}

.project-card:hover .project-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* --- LIGHTBOX MODAL --- */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 9, 13, 0.95);
  backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 1000px;
  width: 100%;
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: rgba(7, 9, 13, 0.8);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  background: var(--brand-green);
  color: #05140e;
}

.lightbox-img {
  width: 100%;
  max-height: 65vh;
  object-fit: cover;
}

.lightbox-details {
  padding: 24px 30px;
  background: var(--bg-surface-2);
}

.lightbox-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.lightbox-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* --- PROCESS TIMELINE (HOME & PROCESS PAGE) --- */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  position: relative;
}

.process-step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px 22px;
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.process-step-card:hover {
  background: var(--bg-surface-2);
  border-color: var(--border-accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.process-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.process-step-num {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-green);
}

.process-step-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-surface-3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.process-step-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.process-step-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Detailed Vertical Process (Process Page) */
.process-detailed-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

.process-detailed-list::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 48px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-green) 0%, var(--accent-cyan) 50%, var(--brand-green) 100%);
  opacity: 0.3;
}

.process-detail-item {
  display: flex;
  gap: 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  position: relative;
  transition: all var(--transition-normal);
}

.process-detail-item:hover {
  background: var(--bg-surface-2);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
}

.process-detail-badge {
  min-width: 72px;
  height: 72px;
  background: var(--bg-surface-3);
  border: 2px solid var(--border-accent);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-green);
  box-shadow: 0 0 16px rgba(0, 200, 117, 0.2);
}

.process-detail-content {
  flex-grow: 1;
}

.process-detail-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.process-detail-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
}

.process-detail-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.deliverable-tag {
  background: var(--bg-surface-3);
  border: 1px solid var(--border-subtle);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --- TECHNICAL SPECS & FEATURES GRID (SERVICE PAGES) --- */
.tech-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.tech-spec-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all var(--transition-normal);
}

.tech-spec-card:hover {
  background: var(--bg-surface-2);
  border-color: var(--border-cyan);
  transform: translateY(-4px);
}

.tech-spec-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.tech-spec-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-surface-3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.tech-spec-title {
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
}

.tech-spec-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tech-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.tech-spec-item svg {
  min-width: 18px;
  height: 18px;
  color: var(--brand-green);
  margin-top: 3px;
}

/* --- DUAL OFFICE LOCATIONS --- */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.office-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.office-card:hover {
  background: var(--bg-surface-2);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
}

.office-city-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--brand-green-subtle);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.office-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.office-address {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.office-contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.office-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
}

.office-contact-link:hover {
  color: var(--brand-green);
}

.office-contact-link svg {
  width: 20px;
  height: 20px;
  color: var(--brand-green);
}

/* --- INTERACTIVE QUOTE & CONTACT FORM --- */
.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 44px 38px;
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.form-label {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px var(--brand-green-subtle);
  background: var(--bg-surface-3);
}

.form-select {
  cursor: pointer;
}

.form-select option {
  background: var(--bg-surface);
  color: var(--text-primary);
}

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

/* Form feedback banner */
.form-alert {
  display: none;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-top: 20px;
  font-size: 0.95rem;
}

.form-alert.success {
  display: block;
  background: rgba(0, 200, 117, 0.15);
  border: 1px solid var(--brand-green);
  color: #a7f3d0;
}

.form-alert.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #fca5a5;
}

/* --- CTA BANNER (GLOBAL) --- */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--brand-blue-deep) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 200, 117, 0.15) 0%, transparent 70%);
  transform: translateY(-50%);
  pointer-events: none;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 36px;
  position: relative;
  z-index: 2;
}

.cta-content {
  max-width: 680px;
}

.cta-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.cta-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
}

.cta-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* --- FOOTER --- */
.footer {
  background: var(--bg-darkest);
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 30px;
  position: relative;
  z-index: 10;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 18px;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--brand-green);
  background: var(--brand-green-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-accent);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-white);
  margin-bottom: 22px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 0.92rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-link:hover {
  color: var(--brand-green);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.footer-contact-item svg {
  min-width: 18px;
  height: 18px;
  color: var(--brand-green);
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Back to Top */
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  cursor: pointer;
  background: transparent;
  border: none;
  transition: color var(--transition-fast);
}

.back-to-top:hover {
  color: var(--brand-green);
}

/* --- FLOATING WHATSAPP CTA --- */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #25d366;
  color: #082613;
  padding: 12px 20px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.floating-whatsapp:hover {
  background: #2ee672;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #05140e;
}

.floating-whatsapp svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.whatsapp-pulse-ring {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 2px solid #25d366;
  border-radius: 50px;
  animation: whatsappPulse 2.4s infinite cubic-bezier(0.25, 0, 0, 1);
  pointer-events: none;
}

@keyframes whatsappPulse {
  0% { transform: scale(0.96); opacity: 0.8; }
  70% { transform: scale(1.2); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* --- KEYFRAME REVEAL ANIMATIONS --- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Delay modifiers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1080px) {
  .nav-menu, .header-actions .btn-whatsapp-header {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 74px;
  }
  .section {
    padding: 70px 0;
  }
  .section-lg {
    padding: 90px 0;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-meta-bar {
    grid-template-columns: 1fr 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .floating-whatsapp span {
    display: none;
  }
  .floating-whatsapp {
    padding: 14px;
    border-radius: 50%;
    bottom: 20px;
    right: 20px;
  }
  .process-detailed-list::before {
    display: none;
  }
  .process-detail-item {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero-meta-bar {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
}
