/* Synthesis Enterprises - Unified Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Oswald:wght@400;500;600;700&display=swap');

/* ========== CSS VARIABLES ========== */
:root {
  --primary: #060a12;
  --primary-light: #0c1220;
  --primary-medium: #101828;
  --accent: #00aaff;
  --accent-glow: rgba(0, 170, 255, 0.4);
  --accent-secondary: #36d6b0;
  --accent-secondary-glow: rgba(54, 214, 176, 0.3);
  --text: rgba(255, 255, 255, 0.92);
  --text-secondary: rgba(255, 255, 255, 0.6);
  --text-dim: rgba(255, 255, 255, 0.4);
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-bg-hover: rgba(255, 255, 255, 0.07);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-hover: rgba(0, 170, 255, 0.2);
  --accent-tint-4: rgba(0, 170, 255, 0.04);
  --accent-tint-6: rgba(0, 170, 255, 0.06);
  --accent-tint-8: rgba(0, 170, 255, 0.08);
  --accent-tint-12: rgba(0, 170, 255, 0.12);
  --section-gap: clamp(60px, 8vw, 100px);
  --container-width: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--primary);
  color: var(--text);
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

::selection {
  background: rgba(0, 170, 255, 0.3);
  color: #fff;
}

/* ========== UTILITY ========== */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  border-radius: 2px;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.page-overlay { display: none; }

/* ========== HEADER / NAVIGATION ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(0, 8, 20, 0.85);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border-bottom: 1px solid rgba(0, 170, 255, 0.06);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(0, 170, 255, 0.04);
}

.header-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
}

.logo {
  text-decoration: none;
  position: relative;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity var(--transition);
}

.logo:hover { opacity: 0.85; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.synthesis {
  font-family: "Oswald", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.enterprises {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 0;
  align-items: center;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--transition), background var(--transition);
  position: relative;
  padding: 8px 16px;
  border-radius: 6px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: center;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: var(--accent);
  background: rgba(0, 170, 255, 0.06);
}

.nav-links a.active::after {
  transform: scaleX(1);
  opacity: 0.6;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 20px;
  margin-left: 8px;
  background: rgba(0, 170, 255, 0.08);
  color: var(--accent);
  border: 1px solid rgba(0, 170, 255, 0.25);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--transition);
}

.contact-btn::after { display: none; }

.contact-btn:hover {
  background: var(--accent);
  color: #000d1f;
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow), 0 0 60px rgba(0, 170, 255, 0.1);
  transform: translateY(-1px);
}

.contact-btn.active {
  background: var(--accent);
  color: #000d1f;
  border-color: var(--accent);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 1.5px;
  margin: 5px 0;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}

/* ========== HERO SECTION (HOME) ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--primary) 0%, #000c1c 50%, #001020 100%);
}

/* ========== SKYLINE HERO ========== */
.hero-skyline {
  background: linear-gradient(180deg, #000510 0%, #001030 25%, #002060 45%, #0050a0 65%, #0070cc 80%, #0090e8 92%, #00a8ff 100%);
}

.hero-skyline .sky-layer {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 20%, rgba(0, 120, 220, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 70% 30%, rgba(54, 214, 176, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 30% 15%, rgba(100, 180, 255, 0.1) 0%, transparent 50%);
}

/* Vertical grid lines */
.hero-skyline .hero-vlines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(0, 170, 255, 0.04) 0px,
    rgba(0, 170, 255, 0.04) 1px,
    transparent 1px,
    transparent 60px
  );
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 70%, transparent 100%);
  z-index: 1;
}

/* Floating particles */
@keyframes particle-rise {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-100vh) scale(0.3); opacity: 0; }
}

.sky-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  bottom: 20%;
  width: 3px;
  height: 3px;
  background: rgba(0, 200, 255, 0.7);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(0, 200, 255, 0.5);
  animation: particle-rise 8s ease-in-out infinite;
}

/* Skyline buildings */
.skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  padding: 0 2%;
}

.building {
  position: relative;
  flex-shrink: 0;
  background: linear-gradient(180deg, #001a3a 0%, #000d1f 100%);
  border-top: 1px solid rgba(0, 170, 255, 0.15);
  border-left: 1px solid rgba(0, 100, 180, 0.08);
  border-right: 1px solid rgba(0, 100, 180, 0.08);
}

/* Window lights pattern on buildings */
.building::after {
  content: '';
  position: absolute;
  inset: 8px 4px;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 10px,
      rgba(0, 170, 255, 0.06) 10px,
      rgba(0, 170, 255, 0.06) 12px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      transparent 8px,
      rgba(100, 200, 255, 0.12) 8px,
      rgba(100, 200, 255, 0.12) 10px
    );
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
}

/* Individual buildings - varied sizes for realistic skyline */
.b1  { width: 3.5%; height: 30%; margin-right: 0.3%; }
.b2  { width: 2.8%; height: 55%; margin-right: 0.2%; }
.b3  { width: 4.5%; height: 42%; margin-right: 0.4%; }
.b4  { width: 2.2%; height: 68%; margin-right: 0.2%; border-top-left-radius: 2px; border-top-right-radius: 2px; }
.b5  { width: 5%;   height: 38%; margin-right: 0.3%; }
.b6  { width: 2.5%; height: 78%; margin-right: 0.2%; }
.b7  { width: 3.8%; height: 48%; margin-right: 0.4%; }
.b8  { width: 2%;   height: 85%; margin-right: 0.2%; border-top-left-radius: 1px; border-top-right-radius: 1px; }
.b9  { width: 4.2%; height: 35%; margin-right: 0.3%; }
.b10 { width: 3%;   height: 62%; margin-right: 0.2%; }
.b11 { width: 5.5%; height: 44%; margin-right: 0.4%; }
.b12 { width: 2.3%; height: 72%; margin-right: 0.2%; }
.b13 { width: 4%;   height: 40%; margin-right: 0.3%; }
.b14 { width: 2.8%; height: 58%; margin-right: 0.2%; }
.b15 { width: 3.5%; height: 33%; margin-right: 0.4%; }
.b16 { width: 2%;   height: 65%; margin-right: 0.2%; }
.b17 { width: 4.8%; height: 28%; margin-right: 0.3%; }
.b18 { width: 3.2%; height: 50%; }

/* Glow effect at building base */
.skyline-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 15%;
  background: linear-gradient(to top, rgba(0, 100, 200, 0.15), transparent);
  z-index: 1;
}

/* Antenna lights on tallest buildings */
.b6::before, .b8::before, .b12::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 8px;
  background: rgba(255, 50, 50, 0.8);
  box-shadow: 0 0 6px rgba(255, 50, 50, 0.6);
  animation: pulse 2s ease-in-out infinite;
}

.b8::before { animation-delay: -0.7s; }
.b12::before { animation-delay: -1.4s; }

/* Override hero-fade for skyline */
.hero-skyline .hero-fade {
  background: linear-gradient(to bottom, transparent 0%, var(--primary) 100%);
  height: 180px;
}

/* Animated window flicker on buildings */
@keyframes window-flicker {
  0%, 100% { opacity: 0.12; }
  50% { opacity: 0.25; }
}

.b2::after, .b6::after, .b10::after, .b14::after {
  animation: window-flicker 4s ease-in-out infinite;
}
.b4::after, .b8::after, .b12::after, .b16::after {
  animation: window-flicker 5s ease-in-out infinite;
  animation-delay: -2s;
}

/* Subtle skyline rise animation on load */
@keyframes skyline-rise {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.skyline {
  animation: skyline-rise 1.5s ease-out 0.3s both;
}

/* Building hover glow for interactivity */
.building {
  transition: box-shadow 0.5s ease;
}

.building:hover {
  box-shadow: 0 0 30px rgba(0, 170, 255, 0.15) inset;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 170, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 170, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
  animation: fadeUp 1s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 170, 255, 0.1);
  border: 1px solid rgba(0, 170, 255, 0.2);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #fff;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 6s linear infinite;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-email {
  display: inline-block;
  color: var(--text-dim);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  margin-top: 16px;
  transition: color var(--transition);
}

.hero-email:hover { color: var(--accent); }

.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--primary));
  z-index: 1;
}

/* ========== SKY BAND (Portfolio + Process) ========== */
.sky-band {
  position: relative;
  overflow: hidden;
}

.sky-band > .container {
  position: relative;
  z-index: 2;
}

/* Top section: fades from dark into deep blue */
.sky-band-top {
  background: linear-gradient(180deg, var(--primary) 0%, #000c20 20%, #001338 60%, #001a45 100%);
  padding-bottom: 0;
}

/* Bottom section: continues blue, fades back to dark */
.sky-band-bottom {
  background: linear-gradient(180deg, #001a45 0%, #001845 30%, #001030 70%, var(--primary) 100%);
  padding-top: calc(var(--section-gap) * 0.6);
}

/* Shared ambient glow */
.sky-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 40%, rgba(0, 100, 200, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 60%, rgba(54, 214, 176, 0.06) 0%, transparent 55%);
  pointer-events: none;
}

/* Vertical lines */
.sky-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(0, 170, 255, 0.025) 0px,
    rgba(0, 170, 255, 0.025) 1px,
    transparent 1px,
    transparent 60px
  );
  pointer-events: none;
}

/* Divider between the two sky sections */
.sky-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 170, 255, 0.2) 20%, rgba(54, 214, 176, 0.15) 50%, rgba(0, 170, 255, 0.2) 80%, transparent 100%);
  margin-top: var(--section-gap);
  position: relative;
}

.sky-divider::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-glow);
}

/* Full sky-band — fades in and out (for standalone sections) */
.sky-band-full {
  background: linear-gradient(180deg, var(--primary) 0%, #000c20 8%, #001338 25%, #001a45 50%, #001338 75%, #000c20 92%, var(--primary) 100%);
}

.sky-band .stat-item {
  background: rgba(0, 140, 255, 0.06);
  border-color: rgba(0, 140, 255, 0.15);
  backdrop-filter: blur(4px);
}

.sky-band .timeline::before {
  background: linear-gradient(to bottom, rgba(0, 170, 255, 0.6), rgba(54, 214, 176, 0.4), rgba(0, 170, 255, 0.2));
}

/* ========== PAGE HERO (SUBPAGES) ========== */
.page-hero {
  position: relative;
  padding: 150px 0 80px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, #000510 0%, #001030 30%, #002060 60%, #0050a0 85%, #0070cc 100%);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 40%, rgba(0, 120, 220, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 75% 60%, rgba(54, 214, 176, 0.08) 0%, transparent 50%);
}

/* Vertical lines on page hero matching index */
.page-hero .container::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(0, 170, 255, 0.03) 0px,
    rgba(0, 170, 255, 0.03) 1px,
    transparent 1px,
    transparent 60px
  );
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--primary));
  z-index: 1;
}

.page-hero .container { position: relative; z-index: 2; }

.page-title {
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.page-title .highlight {
  color: var(--accent);
}

.page-hero .hero-subtitle {
  max-width: 600px;
  margin: 0 auto;
}

/* ========== SECTION TRANSITIONS ========== */
/* Soft gradient bleed between sections — only on plain sections */
main > section:not(.sky-band):not(.newsletter-band):not(.cta-section):not(.hero):not(.page-hero) + section:not(.sky-band):not(.newsletter-band):not(.cta-section) {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* ========== SECTION HEADINGS ========== */
section {
  padding: var(--section-gap) 0;
  position: relative;
}

.section-heading {
  text-align: center;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-heading .section-label {
  justify-content: center;
}

.section-heading h2, h2.section-title {
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  position: relative;
  display: block;
  text-align: center;
}

.section-heading h2::after, h2.section-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  border-radius: 3px;
  margin: 18px auto 0;
}

.section-heading p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: center;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #0088cc);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid rgba(0, 170, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(0, 170, 255, 0.1);
  border-color: var(--accent);
}

.btn-full { width: 100%; }
.btn-success { background: linear-gradient(135deg, var(--accent-secondary), var(--accent)); }

.btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== CARDS ========== */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-secondary), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  background: var(--card-bg-hover);
  border-color: var(--card-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.card:hover::before { opacity: 1; }

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 170, 255, 0.15), rgba(54, 214, 176, 0.1));
  border-radius: 12px;
  margin-bottom: 20px;
  color: var(--accent);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ========== SERVICES GRID ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 24px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  transform: scaleX(0);
  transition: transform var(--transition-slow);
  transform-origin: left;
}

.service-card:hover {
  background: var(--card-bg-hover);
  border-color: var(--card-border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 170, 255, 0.05);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 170, 255, 0.12), rgba(54, 214, 176, 0.08));
  border: 1px solid rgba(0, 170, 255, 0.15);
  border-radius: 14px;
  margin-bottom: 24px;
  color: var(--accent);
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, rgba(0, 170, 255, 0.2), rgba(54, 214, 176, 0.15));
  box-shadow: 0 0 20px var(--accent-glow);
}

.service-icon svg { width: 28px; height: 28px; }

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

/* Progress bars */
.progress-stat { margin-top: 20px; }

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.progress-label span:last-child {
  color: var(--accent);
  font-weight: 700;
}

.progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  border-radius: 4px;
  transition: width 1.5s ease-out;
}

/* ========== CRITERIA SECTION ========== */
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.criteria-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
}

.criteria-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.criteria-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.criteria-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 170, 255, 0.12), rgba(54, 214, 176, 0.08));
  border-radius: 10px;
  color: var(--accent);
  flex-shrink: 0;
}

.criteria-icon svg { width: 20px; height: 20px; }

.criteria-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.criteria-card > p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.criteria-footer {
  padding-top: 14px;
  border-top: 1px solid var(--card-border);
}

.criteria-range {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.range-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 500;
}

.range-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
}

/* ========== PORTFOLIO GRID ========== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: 28px;
}

.portfolio-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.portfolio-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 170, 255, 0.05);
}

.portfolio-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.portfolio-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio-card:hover .portfolio-card-img img {
  transform: scale(1.08);
}

/* Portfolio brand header (replaces inline styles) */
.portfolio-brand-header {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.portfolio-brand-header-inner {
  text-align: center;
  padding: 20px;
}

.portfolio-brand-name {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 2rem;
}

.portfolio-brand-tag {
  font-size: 0.85rem;
  margin-top: 4px;
}

.portfolio-brand-tag--accent { color: var(--accent); }
.portfolio-brand-tag--secondary { color: var(--accent-secondary); }

.brand-bg-software { background: linear-gradient(135deg, #0a1628, #0d2137); }
.brand-bg-devtool { background: linear-gradient(135deg, #0a1628, #1a0d28); }
.brand-bg-pet { background: linear-gradient(135deg, #0a2818, #0d2830); }
.brand-bg-eco { background: linear-gradient(135deg, #0a2818, #1a2808); }
.brand-bg-training { background: linear-gradient(135deg, #1a1408, #281a08); }

/* About page: card detail spacing */
.card p + p { margin-top: 8px; }
.card p a { color: var(--accent); transition: color var(--transition); }
.card p a:hover { color: var(--accent-secondary); }

.portfolio-card-body { padding: 24px; }

.portfolio-card-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.portfolio-card-body > p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.portfolio-metrics {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--card-border);
}

.metric {
  flex: 1;
  text-align: center;
}

.metric .value {
  font-family: "Oswald", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
}

.metric .label {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 2px;
}

/* ========== STATS ROW ========== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  padding: 48px 0;
}

.stat-item {
  text-align: center;
  padding: 28px 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}

.stat-value {
  font-family: "Oswald", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* ========== INVESTMENT TIMELINE ========== */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-secondary), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 36px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.timeline-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ========== FAQ ========== */
.faq-grid {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.active { border-color: rgba(0, 170, 255, 0.2); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--accent); }

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--text-dim);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron { transform: rotate(180deg); color: var(--accent); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ========== ABOUT PAGE ========== */
.story-container {
  max-width: 760px;
  margin: 0 auto;
}

.story-container p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.highlight-box {
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(0, 170, 255, 0.06), rgba(54, 214, 176, 0.04));
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0;
}

.highlight-box p {
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 0;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 24px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.value-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
}

.value-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-3px);
}

.value-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 170, 255, 0.12), rgba(54, 214, 176, 0.08));
  border-radius: 10px;
  color: var(--accent);
  margin-bottom: 16px;
}

.value-icon svg { width: 22px; height: 22px; }
.value-title { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.value-content { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.65; }

/* ========== CONTACT STRIP ========== */
.contact-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 20px;
}

.contact-strip-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
}

a.contact-strip-item:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.contact-strip-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 170, 255, 0.1), rgba(54, 214, 176, 0.06));
  border-radius: 10px;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-strip-icon svg { width: 20px; height: 20px; }

.contact-strip-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 4px;
}

.contact-strip-value {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

/* ========== CONTACT FORM WRAPPER ========== */
.contact-form-wrap {
  max-width: 700px;
  margin: 0 auto;
}

/* Utility classes for inline style replacements */
.text-center { text-align: center; }
.intro-text { font-size: 1.15rem; color: var(--text); max-width: 720px; margin: 0 auto; line-height: 1.8; }
.mt-36 { margin-top: 36px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mx-auto-800 { max-width: 800px; margin-left: auto; margin-right: auto; }

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 16px;
}

/* ========== CONTACT FORM ========== */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.92rem;
  transition: all var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 170, 255, 0.1);
}

.form-control::placeholder { color: var(--text-dim); }

textarea.form-control { min-height: 140px; resize: vertical; }
select.form-control { cursor: pointer; }
select.form-control option { background: var(--primary-medium); }

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 170, 255, 0.12), rgba(54, 214, 176, 0.08));
  border-radius: 10px;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-info-icon svg { width: 20px; height: 20px; }

.info-title { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.info-detail { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; }
.info-detail a { color: var(--accent); transition: color var(--transition); }
.info-detail a:hover { color: var(--accent-secondary); }
.info-detail--dim { margin-top: 8px; font-size: 0.82rem; color: var(--text-dim); }

/* ========== CTA SECTION ========== */
.cta-section {
  position: relative;
  padding: clamp(36px, 5vw, 56px) 0;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #001030 0%, #001845 50%, #002060 100%);
  border-top: 1px solid rgba(0, 170, 255, 0.08);
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 100% at 100% 50%, rgba(54, 214, 176, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 100% at 0% 50%, rgba(0, 120, 220, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content { position: relative; z-index: 2; max-width: 540px; margin: 0 auto; }
.cta-content .section-label { font-size: 0.72rem; margin-bottom: 10px; justify-content: center; }
.cta-content .btn { padding: 11px 26px; font-size: 0.85rem; }

/* Left-aligned section titles (e.g. contact form) */
.section-title--left {
  text-align: left;
  margin-bottom: 28px;
}
.section-title--left::after {
  margin-left: 0;
  margin-right: auto;
}

.cta-title {
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.cta-description {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ========== NEWSLETTER ========== */
.newsletter-band {
  position: relative;
  padding: 0;
  background: linear-gradient(135deg, #001030 0%, #001845 50%, #002060 100%);
  border-top: 1px solid rgba(0, 170, 255, 0.08);
  border-bottom: 1px solid rgba(0, 170, 255, 0.08);
  overflow: hidden;
  margin-top: -1px;
}

.newsletter-band .container {
  position: relative;
  z-index: 2;
}

.newsletter-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 100% at 0% 50%, rgba(0, 120, 220, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 100% at 100% 50%, rgba(54, 214, 176, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.newsletter-wide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 48px 0;
}

.newsletter-wide-text h3 {
  font-family: "Oswald", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.newsletter-wide-text p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 420px;
  line-height: 1.6;
}

.newsletter-wide-form {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.newsletter-wide-form input {
  width: 280px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.92rem;
  transition: all var(--transition);
}

.newsletter-wide-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 170, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.newsletter-wide-form input::placeholder { color: var(--text-dim); }

@media (max-width: 768px) {
  .newsletter-wide {
    flex-direction: column;
    text-align: center;
    gap: 24px;
    padding: 40px 0;
  }
  .newsletter-wide-text p { max-width: 100%; }
  .newsletter-wide-form {
    flex-direction: column;
    width: 100%;
  }
  .newsletter-wide-form input { width: 100%; }
  .newsletter-wide-form .btn { width: 100%; }
}

/* ========== FOOTER ========== */
footer {
  position: relative;
  background: linear-gradient(180deg, #000d20 0%, #000810 40%, #000408 100%);
  border-top: 1px solid rgba(0, 170, 255, 0.06);
  padding: 56px 0 28px;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 60% at 10% 0%, rgba(0, 100, 200, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 90% 100%, rgba(54, 214, 176, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(0, 170, 255, 0.015) 0px,
    rgba(0, 170, 255, 0.015) 1px,
    transparent 1px,
    transparent 60px
  );
  pointer-events: none;
}

footer > .container {
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 36px;
}

.footer-brand .logo-text { margin-bottom: 14px; }

.footer-brand > p:first-of-type {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-brand > p + p {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.footer-col h3 {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.86rem;
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-col li:not(:has(a)) {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.5;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(0, 170, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(0, 170, 255, 0.12);
  color: var(--text-dim);
  transition: all var(--transition);
  background: rgba(0, 170, 255, 0.03);
}

.footer-social a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(0, 170, 255, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 170, 255, 0.15);
}

.footer-social a svg { width: 15px; height: 15px; }

/* ========== ACQUISITION PROCESS ========== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  counter-reset: process;
}

.process-step {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  counter-increment: process;
  transition: all var(--transition);
  position: relative;
}

.process-step:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-3px);
}

.process-step::before {
  content: counter(process);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 16px;
}

.process-step h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.process-step p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }

/* ========== PORTFOLIO FEATURED CARDS ========== */
.pf-featured {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  max-width: 800px;
  margin: 0 auto;
}

.pf-featured:hover {
  border-color: var(--card-border-hover);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 170, 255, 0.04);
}

.sky-band .pf-featured {
  background: rgba(0, 20, 50, 0.5);
  border-color: rgba(0, 170, 255, 0.1);
  backdrop-filter: blur(8px);
}

.sky-band .pf-featured:hover {
  border-color: rgba(0, 170, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 170, 255, 0.06);
}

.pf-featured-header {
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}

.pf-featured-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 170, 255, 0.15), transparent);
}

.pf-featured-name {
  font-family: "Oswald", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}

.pf-featured-tag {
  font-size: 0.85rem;
  color: var(--accent);
  margin-top: 6px;
  letter-spacing: 0.03em;
}

.pf-featured-body {
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
}

.pf-featured-products {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pf-product {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pf-product strong {
  color: #fff;
  font-weight: 600;
}

.pf-product-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 170, 255, 0.08);
  border-radius: 8px;
  color: var(--accent);
  flex-shrink: 0;
}

.pf-rating {
  font-size: 0.78rem;
  color: var(--accent-secondary);
  margin-left: 8px;
  font-weight: 600;
}

.pf-featured-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--card-border);
  padding-left: 32px;
}

.pf-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pf-meta-row:last-child { border-bottom: none; }

.pf-meta-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pf-meta-value {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: right;
}

/* E-Commerce brand cards */
.pf-brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px;
}

.pf-brands-grid--2col {
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
}

.pf-brand-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: all var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pf-brand-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  transform: scaleX(0);
  transition: transform var(--transition-slow);
  transform-origin: left;
  z-index: 2;
}

.pf-brand-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 170, 255, 0.06);
  border-color: var(--card-border-hover);
}

.pf-brand-card:hover::before { transform: scaleX(1); }

.pf-brand-card-inner {
  padding: 32px 28px;
  position: relative;
  z-index: 1;
}

.pf-brand-card-name {
  font-family: "Oswald", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.pf-brand-card-category {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-secondary);
  margin-bottom: 16px;
}

.pf-brand-card-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-bottom: 20px;
}

.pf-brand-card-domain {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Portfolio mobile */
@media (max-width: 768px) {
  .pf-featured-body {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 20px;
  }
  .pf-featured-header { padding: 28px 20px; }
  .pf-featured-name { font-size: 1.7rem; }
  .pf-featured-meta {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--card-border);
    padding-top: 20px;
  }
  .pf-brand-card-inner { padding: 24px 20px; }
  .pf-brand-card-name { font-size: 1.4rem; }
  .pf-brands-grid { grid-template-columns: 1fr; }
}

/* ========== EXPERTISE GRID ========== */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* ========== MOBILE RESPONSIVE ========== */

/* -- Tablet -- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-layout { grid-template-columns: 1fr; }
  .mission-vision-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
}

/* -- Mobile -- */
@media (max-width: 768px) {
  :root { --section-gap: 56px; }

  /* Nav */
  .mobile-menu-btn { display: block; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 8, 20, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 28px 40px;
    gap: 0;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
    z-index: 999;
    border-left: 1px solid rgba(0, 170, 255, 0.06);
    overflow-y: auto;
  }

  .nav-links.active { right: 0; }

  .nav-links li { width: 100%; }

  .nav-links a {
    font-size: 0.92rem;
    padding: 14px 0;
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 0;
    text-transform: none;
    letter-spacing: 0.02em;
    background: transparent;
  }

  .nav-links a::after { display: none; }

  .nav-links a.active {
    background: transparent;
    border-bottom-color: rgba(0, 170, 255, 0.12);
  }

  .contact-btn {
    margin-top: 20px;
    margin-left: 0;
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.82rem;
  }

  .mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  .mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .page-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
  }

  .page-overlay.active { display: block; }

  /* Hero */
  .hero { min-height: 100vh; min-height: 100dvh; }
  .hero h1 { font-size: 2.4rem; }
  .hero-subtitle { font-size: 0.95rem; margin-bottom: 28px; }
  .hero-badge { font-size: 0.7rem; padding: 5px 12px; }
  .hero-email { font-size: 0.8rem; }
  .hero-content { padding: 0 16px; }

  /* Skyline - fewer buildings, lower, better proportioned */
  .building.b1, .building.b3, .building.b5, .building.b9,
  .building.b11, .building.b13, .building.b15, .building.b17 { display: none; }
  .skyline { height: 30%; padding: 0 2%; }
  .building { min-width: 6%; }
  .hero-skyline { min-height: 100vh; min-height: 100dvh; }
  .hero-vlines { display: none; }
  .sky-particles .particle:nth-child(even) { display: none; }
  .skyline-glow { height: 20%; }

  /* Page hero (subpages) */
  .page-hero { padding: 120px 0 60px; }
  .page-title { font-size: 2rem; }
  .page-hero .hero-subtitle { font-size: 0.92rem; }

  /* Section headings */
  .section-heading { margin-bottom: 40px; }
  .section-heading h2 { font-size: 1.6rem; }
  .section-heading p { font-size: 0.92rem; }

  /* Grids → single column */
  .services-grid { grid-template-columns: 1fr; }
  .criteria-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }

  /* Cards */
  .service-card { padding: 28px 24px; }
  .card { padding: 24px; }
  .criteria-card { padding: 22px; }
  .value-card { padding: 22px; }

  /* Portfolio */
  .portfolio-brand-name { font-size: 1.6rem !important; }
  .portfolio-brand-header { height: 160px; }
  .portfolio-metrics { flex-wrap: wrap; }
  .metric { min-width: 80px; }

  /* Sky-band */
  .sky-band-top { padding-bottom: 0; }
  .sky-band-bottom { padding-top: 32px; }
  .sky-divider { margin-top: 44px; }

  /* Timeline */
  .timeline { padding-left: 32px; }
  .timeline-item::before { left: -21px; width: 8px; height: 8px; }

  /* Contact */
  .contact-form .form-row { grid-template-columns: 1fr; }
  .contact-info-item { padding: 20px; flex-direction: column; gap: 12px; }

  /* CTA */
  .cta-content { max-width: 100%; padding: 0 8px; }
  .cta-title { font-size: 1.2rem; }
  .cta-description { font-size: 0.88rem; }

  /* Newsletter */
  .newsletter-wide {
    flex-direction: column;
    text-align: center;
    gap: 24px;
    padding: 40px 0;
  }
  .newsletter-wide-text p { max-width: 100%; }
  .newsletter-wide-form {
    flex-direction: column;
    width: 100%;
  }
  .newsletter-wide-form input { width: 100%; }
  .newsletter-wide-form .btn { width: 100%; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-brand > p:first-of-type { max-width: 100%; }

  /* About page */
  .story-container p { font-size: 0.95rem; }
  .highlight-box { padding: 20px; }

  /* Buttons */
  .btn-group { flex-direction: column; align-items: center; width: 100%; }
  .btn-group .btn { width: 100%; max-width: 300px; }
}

/* -- Small phones -- */
@media (max-width: 480px) {
  :root { --section-gap: 44px; }

  .hero h1 { font-size: 1.9rem; }
  .hero-subtitle { font-size: 0.88rem; }
  .page-hero { padding: 110px 0 48px; }
  .page-title { font-size: 1.7rem; }

  .stats-row { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }

  .btn { padding: 11px 22px; font-size: 0.84rem; }
  .btn-group .btn { max-width: 100%; }

  .section-heading h2 { font-size: 1.4rem; }

  .portfolio-brand-header { height: 140px; }
  .portfolio-brand-name { font-size: 1.4rem !important; }

  .skyline { height: 25%; }
  .building { min-width: 8%; }
  .sky-particles { display: none; }

  .contact-info-icon { width: 38px; height: 38px; }

  .footer-col h3 { font-size: 0.72rem; }
}

/* ========== PRINT ========== */
@media print {
  .site-header, .mobile-menu-btn, .hero-bg, .cta-section, footer { display: none; }
  body { background: #fff; color: #000; }
  .card, .service-card { border: 1px solid #ccc; box-shadow: none; }
}
