/* ============================================================
   QONCEPT360 — DESIGN SYSTEM
   Style: Agency Bold (adapted for Teal/Navy brand palette)
   Based on: STYLE_agency.md v3.0
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=DM+Sans:wght@400;500;600&display=swap');

/* ── ROOT VARIABLES ─────────────────────────────────────── */
:root {
  /* Brand Palette (Qoncept360 adaptation of STYLE_agency) */
  --cream: #EFF6F5;
  /* Teal-tinted warm light (replaces warm cream) */
  --dark: #071525;
  /* Deep navy (replaces forest green) */
  --dark-card: #0E2035;
  /* Slightly lighter for cards on dark sections */
  --accent: #00B4A6;
  /* Qoncept Teal (replaces yellow) */
  --accent-green: #2DB84B;
  /* Qoncept Green (gradient end) */
  --black: #0A0A0A;
  --white: #FFFFFF;

  /* Gradient (Signature Qoncept360) */
  --gradient: linear-gradient(135deg, #00B4A6, #2DB84B);
  --gradient-text: linear-gradient(135deg, #00B4A6 0%, #4ADE80 100%);

  /* Text */
  --text-primary: #0A0A0A;
  --text-secondary: #2D3748;
  --text-meta: #718096;
  --text-on-dark: #EFF6F5;
  --text-on-dark-muted: #8FAFC0;

  /* Borders */
  --border-light: #D4E8E5;
  --border-dark: rgba(255, 255, 255, 0.08);

  /* Fonts */
  --font-heading: 'Syne', 'Montserrat', Impact, sans-serif;
  --font-body: 'DM Sans', 'Inter', -apple-system, sans-serif;

  /* Type Scale (fluid) */
  --text-display: clamp(3.2rem, 8vw, 6.5rem);
  --text-h1: clamp(2.5rem, 5vw, 4.2rem);
  --text-h2: clamp(1.8rem, 3.5vw, 3rem);
  --text-h3: clamp(1.1rem, 2vw, 1.5rem);
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-label: 0.72rem;

  /* Spacing */
  --section-lg: 96px;
  --section-sm: 64px;
  --container: 1260px;
  --pad: clamp(1.25rem, 5vw, 4.5rem);

  /* Radius */
  --radius-card: 20px;
  --radius-pill: 100px;
  --radius-small: 12px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.07);
  --shadow-hover: 0 14px 44px rgba(0, 0, 0, 0.13);
  --shadow-float: 0 22px 64px rgba(0, 0, 0, 0.18);
  --shadow-nav: 0 2px 24px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --t-fast: 0.15s ease;
  --t-base: 0.25s ease;
  --t-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--text-primary);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  width: 100%;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ── UTILITY ────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section-light {
  background: var(--cream);
}

.section-dark {
  background: var(--dark);
}

.section-pad {
  padding: var(--section-lg) 0;
}

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

/* Section label above headings */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-meta);
  margin-bottom: 14px;
}

.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.section-dark .section-label {
  color: var(--accent);
}

.section-dark .section-label::before {
  display: none;
}

/* Heading styles */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  line-height: 1.0;
  letter-spacing: -0.02em;
  font-weight: 800;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.display-heading {
  font-size: var(--text-display);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.section-heading {
  font-size: var(--text-h2);
  line-height: 1.05;
  text-transform: uppercase;
}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  transition: all var(--t-base);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 180, 166, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 180, 166, 0.4);
}

.btn-dark {
  background: var(--dark);
  color: var(--text-on-dark);
  border: 2px solid var(--dark);
}

.btn-dark:hover {
  background: transparent;
  color: var(--dark);
}

.btn-outline-light {
  background: transparent;
  color: var(--text-on-dark);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-light);
  padding: 12px 26px;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Arrow link */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--accent);
  transition: gap var(--t-fast);
}

.link-arrow:hover {
  gap: 10px;
}

.link-arrow .arrow-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast), color var(--t-fast);
}

.link-arrow:hover .arrow-circle {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* ── NAVIGATION ─────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--t-base);
  padding: 0 var(--pad);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(7, 21, 37, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-nav);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  transition: all var(--t-base);
}

.navbar-light-hero:not(.scrolled) .nav-logo {
  color: var(--dark);
}

.nav-logo .logo-icon {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-logo .logo-text {
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .nav-logo .logo-text {
    display: none;
  }
}

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--t-fast);
  letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.navbar-light-hero:not(.scrolled) .nav-links a {
  color: var(--text-primary);
  opacity: 0.8;
}

.navbar-light-hero:not(.scrolled) .nav-links a:hover,
.navbar-light-hero:not(.scrolled) .nav-links a.active {
  color: var(--accent);
  opacity: 1;
}

.navbar.scrolled .nav-links a {
  color: rgba(255, 255, 255, 0.7);
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
  color: var(--white);
}

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

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  transition: all var(--t-base);
  border-radius: 2px;
}

/* Default span color (internal pages with dark heroes) */
.navbar .hamburger span {
  background: white !important;
}

/* Light navbar (homepage hero) hamburger spans should be dark */
.navbar-light-hero:not(.scrolled) .hamburger span {
  background: var(--dark) !important;
}

/* Scrolled state (usually dark bg) should stay white */
.navbar.scrolled .hamburger span {
  background: white !important;
}

/* Ensure visibility on light sections even if not scrolled */
.navbar:not(.navbar-light-hero):not(.scrolled) .hamburger span {
  background: white;
  /* Visible against dark heroes */
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--dark);
  padding: 24px var(--pad) 32px;
  z-index: 999;
  border-top: 1px solid var(--border-dark);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  color: var(--text-on-dark);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-dark);
  transition: color var(--t-fast);
}

.mobile-nav a:hover {
  color: var(--accent);
}

.mobile-nav .btn {
  margin-top: 24px;
  width: 100%;
  display: flex !important;
  justify-content: center !important;
  text-align: center;
  padding-left: 0;
  padding-right: 0;
}

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

/* Subtle background decoration */
.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 180, 166, 0.06) 0%, transparent 70%);
  right: -100px;
  top: -100px;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 60px 0 80px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 180, 166, 0.1);
  border: 1px solid rgba(0, 180, 166, 0.25);
  border-radius: var(--radius-pill);
  padding: 6px 14px 6px 8px;
  margin-bottom: 24px;
}

.hero-label .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient);
  animation: pulse 2s infinite;
}

.hero-label span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.hero-title {
  font-size: var(--text-display);
  line-height: 0.93;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 24px;
}

.hero-title em {
  font-style: normal;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}

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

.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}

.stat-item {
  background: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-small);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
  min-width: 160px;
}

.stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity var(--t-base);
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-number span {
  color: var(--accent);
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-meta);
  margin-top: 6px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── VISUAL CLUSTERS (About Page Mission etc) ──────────── */
.visual-cluster {
  position: relative;
  height: 400px;
}

.visual-item-main {
  position: absolute;
  width: 80%;
  right: 0;
  top: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  transform: rotate(2deg);
  border: 5px solid var(--white);
  box-shadow: var(--shadow-float);
  z-index: 1;
}

.visual-item-secondary {
  position: absolute;
  width: 48%;
  left: 0;
  bottom: 20px;
  border-radius: var(--radius-card);
  overflow: hidden;
  transform: rotate(-2.5deg);
  border: 5px solid var(--white);
  box-shadow: var(--shadow-float);
  z-index: 2;
}

.visual-badge {
  position: absolute;
  bottom: 40px;
  right: -10px;
  background: var(--gradient);
  border-radius: var(--radius-small);
  padding: 14px 20px;
  box-shadow: 0 8px 32px rgba(0, 180, 166, 0.35);
  z-index: 3;
}

/* Hero image cluster */
.hero-visual {
  position: relative;
  height: 520px;
}

.hero-img-main {
  position: absolute;
  width: 68%;
  right: 0;
  top: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  transform: rotate(1.5deg);
  box-shadow: var(--shadow-float);
  border: 5px solid var(--white);
}

.hero-img-main img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.hero-img-secondary {
  position: absolute;
  width: 52%;
  left: 0;
  bottom: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  transform: rotate(-2.5deg);
  box-shadow: var(--shadow-float);
  border: 5px solid var(--white);
}

.hero-img-secondary img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

/* Floating badge */
.hero-badge {
  position: absolute;
  right: -10px;
  bottom: 120px;
  background: var(--white);
  border-radius: var(--radius-small);
  padding: 12px 16px;
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
  min-width: 170px;
}

.hero-badge .badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}



.hero-badge .badge-title {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--black);
}

.hero-badge .badge-sub {
  font-size: 0.72rem;
  color: var(--text-meta);
  margin-top: 2px;
}

/* ── LOGO BAR / TRUSTED BY ──────────────────────────────── */
.logo-bar {
  background: #030a12;
  padding: 36px 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Gradient masks for fading logos */
.logo-bar::before,
.logo-bar::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.logo-bar::before {
  left: 0;
  background: linear-gradient(to right, #030a12, transparent);
}

.logo-bar::after {
  right: 0;
  background: linear-gradient(to left, #030a12, transparent);
}

.logo-bar-inner {
  display: flex;
  align-items: center;
  max-width: 100%;
}

.logo-bar-label {
  position: relative;
  z-index: 3;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  background: #030a12;
  padding-right: 30px;
  flex-shrink: 0;
}

.logo-bar-track-container {
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
}

.logo-bar-track {
  display: inline-flex;
  gap: 80px;
  align-items: center;
  animation: ticker 30s linear infinite;
  padding-left: 40px;
}

.logo-bar-track:hover {
  animation-play-state: paused;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.client-logo {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all var(--t-base);
  cursor: default;
}

.client-logo:hover {
  color: var(--accent);
  transform: scale(1.05);
}

/* ── ABOUT SECTION (DARK) ───────────────────────────────── */
.about-section {
  background: var(--dark);
  padding: var(--section-lg) 0;
  overflow: hidden;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.about-content .section-label {
  color: var(--accent);
}

.about-heading {
  font-size: var(--text-h1);
  line-height: 1.0;
  text-transform: uppercase;
  color: var(--text-on-dark);
  margin-bottom: 24px;
}

.about-body {
  color: var(--text-on-dark-muted);
  line-height: 1.75;
  font-size: 1.0625rem;
  margin-bottom: 32px;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}

.pillar-tag {
  background: rgba(0, 180, 166, 0.1);
  border: 1px solid rgba(0, 180, 166, 0.2);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pillar-tag .tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient);
  flex-shrink: 0;
}

.pillar-tag span {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

/* About visual cluster */
.about-visual {
  position: relative;
  height: 460px;
}

.about-img-main {
  position: absolute;
  width: 75%;
  right: 0;
  top: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  transform: rotate(-2deg);
  border: 5px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.about-img-main img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.about-img-small {
  position: absolute;
  width: 48%;
  left: 0;
  bottom: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  transform: rotate(2.5deg);
  border: 5px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.about-img-small img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.about-tag-card {
  position: absolute;
  top: 50%;
  left: -20px;
  transform: translateY(-50%);
  background: var(--gradient);
  border-radius: var(--radius-small);
  padding: 14px 18px;
  box-shadow: 0 8px 32px rgba(0, 180, 166, 0.35);
  z-index: 2;
}

.about-tag-card .tag-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.about-tag-card .tag-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2px;
  white-space: nowrap;
}

/* ── SERVICES SECTION (LIGHT) ───────────────────────────── */
.services-section {
  background: var(--cream);
  padding: var(--section-lg) 0;
}

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 24px;
}



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

.service-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  height: 300px;
  cursor: pointer;
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.service-card-bg {
  position: absolute;
  inset: 0;
  background: var(--dark);
  background-size: cover;
  background-position: center;
  transition: transform var(--t-slow);
}

.service-card:hover .service-card-bg {
  transform: scale(1.1);
}

/* Per-card images with thematic overlays */
.service-card:nth-child(1) .service-card-bg {
  background-image: linear-gradient(160deg, rgba(7, 21, 37, 0.85) 40%, rgba(0, 180, 166, 0.4)), url('https://images.unsplash.com/photo-1551288049-bbdac8626ad1?w=800&q=80');
}

.service-card:nth-child(2) .service-card-bg {
  background-image: linear-gradient(160deg, rgba(7, 21, 37, 0.85) 40%, rgba(10, 26, 42, 0.4)), url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?w=800&q=80');
}

.service-card:nth-child(3) .service-card-bg {
  background-image: linear-gradient(160deg, rgba(7, 21, 37, 0.85) 40%, rgba(22, 37, 5, 0.4)), url('https://images.unsplash.com/photo-1511578314322-379afb476865?w=800&q=80');
}

.service-card:nth-child(4) .service-card-bg {
  background-image: linear-gradient(160deg, rgba(7, 21, 37, 0.85) 40%, rgba(10, 42, 26, 0.4)), url('https://images.unsplash.com/photo-1509343256512-d77a5ea92913?w=800&q=80');
}

.service-card:nth-child(5) .service-card-bg {
  background-image: linear-gradient(160deg, rgba(7, 21, 37, 0.85) 40%, rgba(10, 24, 50, 0.4)), url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=800&q=80');
}

.service-card:nth-child(6) .service-card-bg {
  background-image: linear-gradient(160deg, rgba(7, 21, 37, 0.85) 40%, rgba(26, 26, 5, 0.4)), url('https://images.unsplash.com/photo-1512403754473-27835f7b9984?w=800&q=80');
}

.service-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  background: linear-gradient(to top, rgba(7, 21, 37, 0.98) 0%, rgba(7, 21, 37, 0.6) 60%, transparent 100%);
}

.service-icon {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 180, 166, 0.12);
  border: 1px solid rgba(0, 180, 166, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.service-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.04);
  position: absolute;
  top: 10px;
  right: 20px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.service-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 8px;
}

.service-desc {
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

/* ── PORTFOLIO / WORK SECTION (DARK) ────────────────────── */
.work-section {
  background: var(--dark);
  padding: var(--section-lg) 0;
}

.work-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
}

.work-heading {
  color: var(--text-on-dark);
}

/* Featured project */
.work-featured {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--dark-card);
  border: 1px solid var(--border-dark);
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
}

.work-featured-img {
  position: relative;
  overflow: hidden;
}

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

.work-featured:hover .work-featured-img img {
  transform: scale(1.04);
}

.work-featured-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.work-featured-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.work-featured-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-on-dark);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 16px;
}

.work-featured-desc {
  color: var(--text-on-dark-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 28px;
}

.work-featured-meta {
  display: flex;
  gap: 20px;
}



.meta-label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 2px;
}

.meta-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-on-dark);
}

/* Work list rows */


.work-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-top: 1px solid var(--border-dark);
  cursor: pointer;
  transition: background var(--t-fast);
  gap: 24px;
}

.work-row:hover {
  background: rgba(255, 255, 255, 0.02);
  padding: 22px 16px;
  margin: 0 -16px;
  border-radius: 10px;
  border-top: none;
}

.work-row-left {
  flex: 1;
}

.work-row-name {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 800;
  color: var(--text-on-dark);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.work-row-category {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-on-dark-muted);
  margin-top: 4px;
}

.work-row-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.work-row-date {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
  white-space: nowrap;
}

.work-row-thumb {
  width: 56px;
  height: 42px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.work-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── WHY US / DIFFERENTIATORS ───────────────────────────── */
.why-section {
  background: var(--cream);
  padding: var(--section-lg) 0;
  overflow: hidden;
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  align-items: center;
  gap: 80px;
  position: relative;
}

.why-left {
  position: relative;
  z-index: 2;
}

/* Brand watermark for empty space */
.why-watermark {
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-size: 15rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(0, 180, 166, 0.035);
  pointer-events: none;
  z-index: 1;
  letter-spacing: -0.05em;
  user-select: none;
}

.why-heading {
  font-size: var(--text-h1);
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1.0;
}

.why-desc {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1.0625rem;
  margin-bottom: 32px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 30px;
  transition: all var(--t-base);
  height: 100%;
}

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

.why-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 180, 166, 0.08);
  border: 1px solid rgba(0, 180, 166, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.why-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--black);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  line-height: 1.2;
}

.why-card-desc {
  font-size: 0.825rem;
  color: var(--text-meta);
  line-height: 1.55;
}

/* ── TESTIMONIALS (LIGHT) ───────────────────────────────── */
.testimonials-section {
  background: var(--cream);
  padding: var(--section-lg) 0;
  overflow: hidden;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 52px;
}

.testimonials-header .section-label {
  justify-content: center;
}

.testimonials-header .section-heading {
  max-width: 600px;
  margin: 0 auto;
}

.testimonials-track-wrapper {
  overflow: hidden;
  position: relative;
}

.testimonials-track {
  display: flex;
  gap: 20px;
  transition: transform var(--t-base);
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 36px;
  min-width: 380px;
  max-width: 380px;
  box-shadow: var(--shadow-card);
  flex-shrink: 0;
}

.testimonial-logo {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-meta);
  opacity: 0.6;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-client {
  display: flex;
  align-items: center;
  gap: 12px;
}

.client-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}

.client-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--black);
}

.client-role {
  font-size: 0.78rem;
  color: var(--text-meta);
  margin-top: 2px;
}

.testimonials-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.t-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t-fast);
  color: var(--text-meta);
  background: var(--white);
}

.t-nav-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── FAQ SECTION (DARK) ─────────────────────────────────── */
.faq-section {
  background: var(--dark);
  padding: var(--section-lg) 0;
  overflow: hidden;
}

.faq-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}



.faq-heading {
  font-size: var(--text-h1);
  text-transform: uppercase;
  color: var(--text-on-dark);
  line-height: 1.0;
  margin-bottom: 20px;
}

.faq-sub {
  color: var(--text-on-dark-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border-dark);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  cursor: pointer;
  gap: 16px;
}

.faq-q-text {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-on-dark);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark-muted);
  flex-shrink: 0;
  transition: all var(--t-fast);
  font-size: 18px;
}

.faq-item.open .faq-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--t-base), padding var(--t-fast);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding-bottom: 20px;
  color: var(--text-on-dark-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ── CTA SECTION ────────────────────────────────────────── */
.cta-section {
  background: var(--dark);
  padding: var(--section-lg) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 180, 166, 0.08) 0%, transparent 70%);
  left: -150px;
  bottom: -150px;
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 184, 75, 0.06) 0%, transparent 70%);
  right: -100px;
  top: -100px;
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.cta-label {
  justify-content: center;
}

.cta-heading {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.0;
  text-transform: uppercase;
  color: var(--text-on-dark);
  margin-bottom: 20px;
}

.cta-heading em {
  font-style: normal;
}

.cta-desc {
  color: var(--text-on-dark-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

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

.cta-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-on-dark-muted);
  margin-top: 20px;
  transition: color var(--t-fast);
}

.cta-whatsapp:hover {
  color: #25D366;
}

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: #040D18;
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.footer-brand .footer-logo .logo-icon {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-brand .footer-logo .logo-text {
  display: flex;
  align-items: center;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  max-width: 260px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: all var(--t-fast);
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 180, 166, 0.1);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--t-fast);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact-item .icon {
  font-size: 14px;
  color: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item span,
.footer-contact-item a {
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  transition: color var(--t-fast);
}

.footer-contact-item a:hover {
  color: var(--white);
}

/* ── CONTACT FAQ (Responsive) ────────────────────────────── */
.contact-faq-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.25);
}

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

.footer-bottom-links a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.25);
  transition: color var(--t-fast);
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* ── WHATSAPP FLOAT ─────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  font-size: 26px;
  color: white;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

/* ── SCROLL ANIMATIONS ──────────────────────────────────── */
.anim {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}

.anim.anim-left {
  transform: translateX(-28px);
}

.anim.anim-right {
  transform: translateX(28px);
}

.anim.anim-scale {
  transform: scale(0.96);
}

.anim.visible {
  opacity: 1;
  transform: none;
}

.anim-d1 {
  transition-delay: 0.1s;
}

.anim-d2 {
  transition-delay: 0.2s;
}

.anim-d3 {
  transition-delay: 0.3s;
}

.anim-d4 {
  transition-delay: 0.4s;
}

/* Fallback: if JS never fires, reveal all .anim after a delay via CSS animation */
@keyframes reveal-fallback {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.anim:not(.visible) {
  animation: reveal-fallback 0.6s ease forwards;
  animation-delay: 0.8s;
}

/* ── INNER PAGES ────────────────────────────────────────── */

/* Page hero (for inner pages) */
.page-hero {
  background: var(--dark);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 180, 166, 0.07) 0%, transparent 70%);
  right: -100px;
  top: -100px;
  pointer-events: none;
}

.page-hero-content {
  max-width: 700px;
}

.page-hero .section-label {
  color: var(--accent);
}

.page-hero-title {
  font-size: var(--text-h1);
  text-transform: uppercase;
  color: var(--text-on-dark);
  margin-bottom: 20px;
}

.page-hero-desc {
  font-size: 1.0625rem;
  color: var(--text-on-dark-muted);
  line-height: 1.7;
  max-width: 560px;
}

/* Team cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.team-card {
  background: var(--dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.team-card-img {
  height: 200px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: white;
}

.team-card-body {
  padding: 18px;
}

.team-card-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-on-dark);
  margin-bottom: 4px;
}

.team-card-role {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Process steps */
.process-section {
  background: var(--cream);
  padding: var(--section-lg) 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.process-step {
  position: relative;
}

.process-step::after {
  content: '→';
  position: absolute;
  top: 22px;
  right: -14px;
  color: var(--border-light);
  font-size: 1.2rem;
}

.process-step:last-child::after {
  display: none;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--black);
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-meta);
  line-height: 1.6;
}

/* Contact form */
.contact-form-section {
  background: var(--cream);
  padding: var(--section-lg) 0;
}

.contact-form-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

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

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-meta);
  margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-small);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 180, 166, 0.12);
}

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

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

.contact-info-box {
  background: var(--dark);
  border-radius: var(--radius-card);
  padding: 40px;
}

.contact-info-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-on-dark);
  margin-bottom: 28px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-info-item .ci-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 180, 166, 0.12);
  border: 1px solid rgba(0, 180, 166, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.ci-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin-bottom: 4px;
  font-weight: 600;
}

.ci-value {
  font-size: 0.9rem;
  color: var(--text-on-dark);
  font-weight: 500;
  line-height: 1.5;
}

.ci-value a {
  color: inherit;
  transition: color var(--t-fast);
}

.ci-value a:hover {
  color: var(--accent);
}

.hours-block {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
}

.hours-title {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.825rem;
}

.hours-day {
  color: var(--text-on-dark-muted);
}

.hours-time {
  color: var(--accent);
  font-weight: 600;
}

/* Portfolio page grid */
.portfolio-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  font-weight: 600;
  border: 1.5px solid var(--border-light);
  color: var(--text-meta);
  cursor: pointer;
  transition: all var(--t-fast);
  background: var(--white);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--gradient);
  border-color: transparent;
  color: white;
}

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

.portfolio-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--dark-card);
}

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

.portfolio-card:hover img {
  transform: scale(1.05);
}

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 21, 37, 0.9) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--t-base);
  display: flex;
  align-items: flex-end;
  padding: 28px;
}

.portfolio-card:hover .portfolio-card-overlay {
  opacity: 1;
}

.portfolio-card-info {}

.portfolio-card-cat {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.portfolio-card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
  text-transform: uppercase;
}

/* Services page pillars */
.pillar-row {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-dark);
}

.pillar-num {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  flex-shrink: 0;
  width: 80px;
}

.pillar-content {
  flex: 1;
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-on-dark);
  margin-bottom: 12px;
}

.pillar-desc {
  color: var(--text-on-dark-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.pillar-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pillar-tag-item {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0, 180, 166, 0.1);
  border: 1px solid rgba(0, 180, 166, 0.2);
  color: var(--accent);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

/* ── CASE STUDIES (from work page) ───────────────────────── */
.case-study {
  background: var(--cream);
  padding: var(--section-lg) 0;
}

.case-study:nth-child(even) {
  background: var(--dark);
}

.case-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.case-study:nth-child(even) .case-inner {
  direction: rtl;
}

.case-study:nth-child(even) .case-inner>* {
  direction: ltr;
}

.case-img {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-float);
}

.case-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.case-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.0;
  margin-bottom: 20px;
}

.case-study .case-title {
  color: var(--black);
}

.case-study:nth-child(even) .case-title {
  color: var(--text-on-dark);
}

.case-desc {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 28px;
}

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

.case-study:nth-child(even) .case-desc {
  color: var(--text-on-dark-muted);
}

.case-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.case-meta-label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}

.case-study .case-meta-label {
  color: var(--text-meta);
}

.case-study:nth-child(even) .case-meta-label {
  color: rgba(255, 255, 255, 0.3);
}

.case-meta-value {
  font-size: 0.9rem;
  font-weight: 600;
}

.case-study .case-meta-value {
  color: var(--black);
}

.case-study:nth-child(even) .case-meta-value {
  color: var(--text-on-dark);
}

.result-callout {
  background: rgba(0, 180, 166, 0.08);
  border: 1px solid rgba(0, 180, 166, 0.2);
  border-radius: var(--radius-small);
  padding: 16px 20px;
  margin-bottom: 24px;
}

.result-callout-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 6px;
}

.result-callout-text {
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.6;
}

.case-study .result-callout-text {
  color: var(--text-secondary);
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    display: none;
  }

  .hero-desc {
    max-width: 100%;
  }

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

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

  .page-hero-content,
  .hero-copy,
  .mission-inner,
  .testimonials-track-wrapper {
    max-width: 100% !important;
    overflow-x: hidden;
  }

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

  .process-step::after {
    display: none;
  }

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

@media (max-width: 768px) {
  :root {
    --section-lg: 56px;
    --section-sm: 40px;
    --pad: 1.25rem;
    /* Standardized mobile padding */
  }

  /* Global Container Padding Enforcement */
  .container,
  .nav-inner {
    padding-left: var(--pad) !important;
    padding-right: var(--pad) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  /* Prevent heading overlaps & clipping - SCALED DOWN for wide fonts */
  h1,
  h2,
  h3,
  .hero-title,
  .page-hero-title,
  .section-heading,
  .why-heading,
  .about-heading,
  .pillar-title {
    line-height: 1.15 !important;
    letter-spacing: -0.01em;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    hyphens: none !important;
  }

  h1,
  .hero-title,
  .page-hero-title {
    font-size: clamp(1.4rem, 7.5vw, 2.3rem) !important;
    margin-bottom: 16px;
    padding-right: 5px;
    line-height: 1.1;
  }

  h2,
  .section-heading,
  .why-heading,
  .mission-heading,
  .faq-heading,
  .about-heading {
    font-size: clamp(1.5rem, 7.5vw, 2.1rem) !important;
    line-height: 1.15;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  /* Hero Stats Mobile Fix */
  .hero-stats {
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    width: 100%;
  }

  .stat-item {
    width: 100%;
    min-width: 0;
    padding: 16px 20px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-card);
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-item::before {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hamburger {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-left: auto;
    /* Push to right */
  }

  .services-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    height: auto;
    min-height: 320px;
  }

  .service-card-overlay {
    position: relative;
    padding: 32px 24px;
    background: var(--dark-card);
    margin-top: 60px;
    /* space for icon */
  }

  .service-icon {
    top: 20px;
    left: 24px;
    z-index: 5;
  }

  .service-number {
    display: none;
  }

  .about-visual,
  .visual-cluster {
    height: 320px;
    margin-top: 32px;
  }

  .visual-item-main {
    width: 75%;
  }

  .visual-item-secondary {
    width: 50%;
    bottom: -10px;
  }

  .visual-badge {
    bottom: 10px;
    right: 10px;
    padding: 10px 16px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-visual {
    display: none;
  }

  .why-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .why-watermark {
    font-size: clamp(6rem, 20vw, 8rem);
    left: 50%;
    top: 5rem;
    transform: translateX(-50%);
    opacity: 0.05;
    width: 100%;
    text-align: center;
    pointer-events: none;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: left;
  }

  .why-card {
    padding: 24px;
  }

  .section-label {
    justify-content: center;
  }

  .faq-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq-heading {
    font-size: clamp(2rem, 12vw, 2.8rem);
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .faq-q-text {
    font-size: 0.95rem;
    line-height: 1.3;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .faq-question {
    padding: 18px 0;
  }

  .work-featured {
    grid-template-columns: 1fr;
  }

  .work-featured-img {
    height: 220px;
  }

  .contact-faq-inner {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    text-align: center;
  }

  .contact-faq-inner h2 {
    font-size: clamp(1.8rem, 8vw, 2.4rem) !important;

    br {
      display: none;
    }
  }

  .footer-main {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo {
    justify-content: center !important;
  }

  .footer-tagline {
    max-width: 100% !important;
    margin: 0 auto 24px !important;
  }

  .footer-social {
    justify-content: center !important;
  }

  .footer-contact-item {
    justify-content: center !important;
    text-align: center;
  }

  .contact-form-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info-box {
    padding: 30px 20px;
  }

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

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

  .process-steps {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .work-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo-bar-label {
    display: none;
  }

  .logo-bar-track {
    gap: 40px;
  }

  .pillar-row {
    flex-direction: column;
    gap: 20px;
  }

  .pillar-num {
    font-size: 3rem;
  }

  .case-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr !important;
  }

  .case-study:nth-child(even) .case-inner {
    direction: ltr !important;
  }

  .case-img {
    height: 240px;
  }

  .case-meta {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .case-title {
    font-size: 1.6rem;
  }

  .result-callout {
    padding: 14px;
    font-size: 0.825rem;
  }
}