/* ==========================================================================
   TheDarkForce — Core Stylesheet
   Shared by index.html and brand-book.html
   ========================================================================== */

:root {
  /* Brand spectrum */
  --df-red: #FF3B30;
  --df-orange: #FF5722;
  --df-amber: #FFA000;
  --df-yellow: #FFC107;
  --df-lime: #8BC34A;
  --df-green: #10B981;
  --df-teal: #00BCD4;
  --df-cyan: #00E5FF;
  --df-electric-blue: #007AFF;
  --df-whatsapp: #25D366;

  /* Surfaces */
  --df-bg-void: #050608;
  --df-bg-deep: #080A0F;
  --df-bg-surface: #0E121B;
  --df-bg-card: rgba(15, 21, 33, 0.72);
  --df-bg-card-hover: rgba(22, 30, 48, 0.88);
  --df-bg-glass: rgba(255, 255, 255, 0.03);

  /* Borders & glows */
  --df-border: rgba(255, 255, 255, 0.08);
  --df-border-light: rgba(255, 255, 255, 0.15);
  --df-border-glow: rgba(0, 229, 255, 0.28);
  --df-glow-cyan: 0 0 24px rgba(0, 229, 255, 0.28);
  --df-glow-orange: 0 0 24px rgba(255, 87, 34, 0.28);

  /* Text */
  --df-text-white: #FFFFFF;
  --df-text-heading: #F8FAFC;
  --df-text-body: #A3B1C6;
  --df-text-muted: #7C8BA1;
  --df-text-dark: #0F172A;

  /* Gradients */
  --df-grad-brand: linear-gradient(135deg, #FF5722 0%, #FFA000 28%, #8BC34A 60%, #00E5FF 100%);
  --df-grad-warm: linear-gradient(135deg, #FF3B30 0%, #FF9800 100%);
  --df-grad-cool: linear-gradient(135deg, #10B981 0%, #00E5FF 100%);

  /* Type */
  --df-font-display: 'Outfit', 'Plus Jakarta Sans', -apple-system, sans-serif;
  --df-font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  --df-font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Layout */
  --max-w: 1280px;
  --gutter: 1.5rem;
  --nav-height: 76px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --section-pad: clamp(4rem, 8vw, 6.5rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 1rem);
  font-size: 16px;
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--df-font-body);
  background-color: var(--df-bg-void);
  color: var(--df-text-body);
  line-height: 1.65;
  min-height: 100vh;
  position: relative;
  /* Safety net only — layout below is built not to overflow */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@supports (overflow: clip) {
  body { overflow-x: clip; }
}

body.nav-open {
  overflow: hidden;
}

img, svg, video, canvas {
  display: block;
  max-width: 100%;
}

img { height: auto; }

a { color: inherit; }

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

:focus-visible {
  outline: 2px solid var(--df-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 2000;
  background: var(--df-cyan);
  color: #000;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus { top: 1rem; }

#constellation-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

.site-wrapper {
  position: relative;
  z-index: 1;
}

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

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--df-font-display);
  color: var(--df-text-heading);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.25rem, 4.5vw + 1rem, 4.25rem);
  font-weight: 800;
}

h2 { font-size: clamp(1.75rem, 3vw + 0.75rem, 3rem); }
h3 { font-size: clamp(1.15rem, 1vw + 0.85rem, 1.4rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.text-gradient {
  background: var(--df-grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.text-gradient-warm {
  background: var(--df-grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cool {
  background: var(--df-grad-cool);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-eyebrow {
  font-family: var(--df-font-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--df-cyan);
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  background: rgba(14, 21, 33, 0.8);
  border: 1px solid var(--df-border);
  font-size: 0.875rem;
  font-weight: 600;
  color: #E2E8F0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.badge-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--df-cyan);
  box-shadow: 0 0 10px var(--df-cyan);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  max-width: 100%;
  font-family: var(--df-font-display);
  font-weight: 700;
  font-size: 0.975rem;
  line-height: 1.3;
  text-align: center;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn-primary {
  background: var(--df-grad-brand);
  color: #050608;
  box-shadow: 0 4px 24px rgba(255, 87, 34, 0.25), 0 0 15px rgba(0, 229, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 87, 34, 0.4), 0 0 25px rgba(0, 229, 255, 0.35);
}

.btn-secondary {
  background: rgba(14, 21, 33, 0.7);
  border-color: var(--df-border-light);
  color: var(--df-text-white);
}

.btn-secondary:hover {
  background: rgba(22, 31, 49, 0.95);
  border-color: var(--df-cyan);
  color: var(--df-cyan);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--df-border-light);
  color: var(--df-text-white);
}

.btn-outline:hover {
  border-color: var(--df-text-white);
  background: rgba(255, 255, 255, 0.05);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-block { width: 100%; }

.btn[disabled] {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.glass-card {
  background: var(--df-bg-card);
  border: 1px solid var(--df-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--df-grad-brand);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.glass-card:hover {
  border-color: rgba(0, 229, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), var(--df-glow-cyan);
}

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

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--df-border);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   become the containing block for the fixed mobile drawer and trap it. */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(5, 6, 8, 0.78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: background 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.site-header.scrolled::before { background: rgba(8, 10, 15, 0.94); }

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

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

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

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

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: clamp(1.1rem, 2vw, 2rem);
}

.nav-link {
  color: var(--df-text-body);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--df-grad-brand);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-drawer-cta { display: none; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-cta { white-space: nowrap; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--df-border-light);
  color: #fff;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.1rem;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(3, 4, 6, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.nav-open .nav-overlay {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   Sections (shared)
   -------------------------------------------------------------------------- */
.section {
  padding-block: var(--section-pad);
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.section-head h2 { margin-top: 0.6rem; }

.section-head p {
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.125rem);
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero-section {
  padding-block: clamp(3rem, 7vw, 6rem) var(--section-pad);
  background: radial-gradient(circle at 50% 10%, rgba(255, 87, 34, 0.08) 0%, rgba(0, 229, 255, 0.05) 35%, transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.4rem;
  min-width: 0;
}

.hero-title { line-height: 1.1; }

.hero-tagline {
  font-family: var(--df-font-display);
  font-size: clamp(1.15rem, 1vw + 0.95rem, 1.5rem);
  font-weight: 600;
  color: var(--df-text-white);
  margin: 0;
  padding-bottom: 1.1rem;
  position: relative;
}

.hero-tagline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80px;
  height: 3px;
  border-radius: 3px;
  background: var(--df-grad-warm);
}

.hero-subtitle {
  font-size: clamp(1rem, 0.4vw + 0.95rem, 1.15rem);
  max-width: 620px;
  line-height: 1.75;
  margin: 0;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

/* Featured services card */
.featured-card {
  background: rgba(14, 20, 32, 0.85);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), var(--df-glow-cyan);
  min-width: 0;
}

.featured-label {
  font-family: var(--df-font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--df-text-muted);
  margin-bottom: 1.25rem;
}

.featured-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.featured-item {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--df-border);
}

.featured-item:first-child {
  border-top: none;
  padding-top: 0;
}

.featured-item:last-child { padding-bottom: 0; }

.featured-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  font-size: 1.15rem;
  color: var(--accent, var(--df-cyan));
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--df-border);
}

.featured-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.featured-item p {
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-num {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: var(--df-font-display);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 1.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--df-border);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover .service-icon-box {
  border-color: var(--df-cyan);
  box-shadow: var(--df-glow-cyan);
}

.service-card h3 {
  margin-bottom: 0.75rem;
  color: #fff;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-features-list {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #CBD5E1;
}

.service-features-list li i {
  color: var(--df-cyan);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.service-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--df-font-display);
  font-weight: 700;
  font-size: 0.925rem;
  color: var(--df-cyan);
  text-decoration: none;
}

.service-link i { transition: transform 0.25s ease; }
.service-link:hover i { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   DarkForce One
   -------------------------------------------------------------------------- */
.one-section {
  background: linear-gradient(180deg, rgba(8, 10, 15, 0.3) 0%, rgba(14, 19, 30, 0.75) 50%, rgba(8, 10, 15, 0.3) 100%);
  border-block: 1px solid var(--df-border);
}

.one-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.one-content h2 { margin: 0.6rem 0 0.75rem; }

.one-subtitle {
  font-family: var(--df-font-display);
  font-size: clamp(1.1rem, 0.8vw + 0.95rem, 1.35rem);
  font-weight: 600;
  color: var(--df-text-white);
  margin-bottom: 1.25rem;
}

.one-content .btn { margin-top: 1rem; }

.ecosystem-card:hover { transform: none; }

.ecosystem-label {
  font-family: var(--df-font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--df-text-muted);
  margin-bottom: 1.25rem;
}

.ecosystem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ecosystem-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--df-border);
  font-size: 0.95rem;
}

.ecosystem-list strong { color: #fff; }

.ecosystem-dot {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--df-grad-brand);
  color: #050608;
  font-weight: 800;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   Process
   -------------------------------------------------------------------------- */
.process-motto {
  font-family: var(--df-font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--df-text-white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}

.process-card {
  background: var(--df-bg-card);
  border: 1px solid var(--df-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
  min-width: 0;
}

.process-card:hover {
  border-color: var(--df-cyan);
  transform: translateY(-4px);
}

.process-card h3 {
  color: #fff;
  margin-bottom: 0.6rem;
}

.process-card p { font-size: 0.925rem; }

.process-step-num {
  font-family: var(--df-font-display);
  font-size: 2.75rem;
  font-weight: 900;
  background: var(--df-grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 1rem;
}

.statement {
  max-width: 820px;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  text-align: center;
  font-family: var(--df-font-display);
  font-size: clamp(1.1rem, 1vw + 0.9rem, 1.5rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--df-text-white);
}

/* --------------------------------------------------------------------------
   Why TheDarkForce
   -------------------------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.why-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.4rem;
  border-radius: var(--radius-md);
  background: var(--df-bg-card);
  border: 1px solid var(--df-border);
  transition: border-color 0.3s ease;
  min-width: 0;
}

.why-card:hover { border-color: rgba(0, 229, 255, 0.35); }

.why-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: rgba(0, 229, 255, 0.08);
  color: var(--df-cyan);
}

.why-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.why-card p {
  font-size: 0.9rem;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Clients marquee
   -------------------------------------------------------------------------- */
.clients-section { padding-bottom: calc(var(--section-pad) - 1rem); }

.marquee-container {
  overflow: hidden;
  width: 100%;
  padding-block: 0.75rem;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.marquee-content {
  display: flex;
  width: max-content;
  gap: 1.5rem;
  animation: scroll-marquee 30s linear infinite;
}

.marquee-container:hover .marquee-content { animation-play-state: paused; }

@keyframes scroll-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 0.75rem)); }
}

.client-card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 220px;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: var(--df-bg-card);
  border: 1px solid var(--df-border);
  text-decoration: none;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.client-card:hover {
  border-color: rgba(0, 229, 255, 0.35);
  transform: translateY(-3px);
}

.client-logo {
  width: 100%;
  height: 80px;
  display: grid;
  place-items: center;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  background: #fff;
}

.client-logo img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.client-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #CBD5E1;
  text-align: center;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--df-border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  background: var(--df-bg-card);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item.active { border-color: rgba(0, 229, 255, 0.35); }

.faq-heading {
  font-size: inherit;
  margin: 0;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--df-font-display);
  font-size: clamp(1rem, 0.4vw + 0.95rem, 1.1rem);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-icon {
  flex-shrink: 0;
  color: var(--df-cyan);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon { transform: rotate(180deg); }

.faq-answer {
  padding: 0 1.5rem 1.4rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  background: rgba(14, 20, 32, 0.85);
  border: 1px solid var(--df-border-light);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 5vw, 3.5rem);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.contact-info-col { min-width: 0; }

.contact-info-col h2 { margin: 0.6rem 0 1rem; }

.contact-details {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-detail-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  min-width: 0;
}

a.contact-detail-row:hover .contact-icon-box {
  border-color: var(--df-cyan);
  box-shadow: var(--df-glow-cyan);
}

.contact-icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--df-border);
  display: grid;
  place-items: center;
  color: var(--df-cyan);
  flex-shrink: 0;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--df-text-muted);
}

.contact-value {
  display: block;
  color: #fff;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  min-width: 0;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field { min-width: 0; }

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.4rem;
}

.req { color: var(--df-red); }

.input-field, .select-field {
  width: 100%;
  min-width: 0;
  padding: 0.9rem 1.1rem;
  background: rgba(8, 10, 15, 0.85);
  border: 1px solid var(--df-border-light);
  border-radius: var(--radius-md);
  color: #fff;
  font-family: var(--df-font-body);
  font-size: 1rem; /* 16px avoids iOS zoom on focus */
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

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

.input-field::placeholder { color: #5D6B80; }

.select-field {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2300E5FF' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  cursor: pointer;
}

.select-field option { background: #0E121B; }

.input-field:focus, .select-field:focus {
  outline: none;
  border-color: var(--df-cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
}

.input-field.is-invalid, .select-field.is-invalid {
  border-color: var(--df-red);
  box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.15);
}

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-note {
  font-size: 0.8rem;
  color: var(--df-text-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #040507;
  border-top: 1px solid var(--df-border);
  padding: clamp(3.5rem, 7vw, 5rem) 0 2rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  margin-bottom: 3rem;
}

.footer-col { min-width: 0; }

.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: 0.925rem;
  line-height: 1.6;
  max-width: 340px;
}

.footer-heading,
.footer-col h4 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 1.15rem;
  letter-spacing: 0.03em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a,
.footer-address {
  color: var(--df-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.footer-links i {
  width: 1.1em;
  margin-right: 0.35rem;
  color: var(--df-cyan);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: var(--df-text-muted);
}

/* --------------------------------------------------------------------------
   Floating WhatsApp & toast
   -------------------------------------------------------------------------- */
.fab-whatsapp {
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--df-whatsapp);
  color: #fff;
  font-size: 1.75rem;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fab-whatsapp:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.5);
}

.toast-msg {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 9999;
  width: max-content;
  max-width: calc(100% - 2rem);
  background: #0E1624;
  border: 1px solid var(--df-cyan);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.25rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.925rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), var(--df-glow-cyan);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 20px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.toast-msg.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.toast-msg.is-error { border-color: var(--df-red); }

/* --------------------------------------------------------------------------
   Brand book shared components
   -------------------------------------------------------------------------- */
.color-swatches-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.color-swatch-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--df-border);
  background: rgba(14, 21, 33, 0.8);
  cursor: pointer;
  min-width: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.color-swatch-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.swatch-fill {
  height: 80px;
  width: 100%;
}

.swatch-info {
  padding: 0.75rem;
  text-align: center;
}

.swatch-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
}

.swatch-code {
  font-family: var(--df-font-mono);
  font-size: 0.75rem;
  color: var(--df-text-muted);
  margin-top: 0.2rem;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  /* Off-canvas navigation drawer */
  .menu-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99;
    height: 100vh;
    height: 100dvh;
    width: min(340px, 86vw);
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
    padding: calc(var(--nav-height) + 1.5rem) 1.75rem 2rem;
    background: #080A0F;
    border-left: 1px solid var(--df-border);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.6);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
  }

  body.nav-open .site-nav {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-menu li { border-bottom: 1px solid var(--df-border); }

  .nav-link {
    display: flex;
    padding: 1rem 0.25rem;
    font-size: 1.05rem;
  }

  .nav-link::after { display: none; }

  .nav-drawer-cta { display: inline-flex; }

  /* Keep the logo and toggle above the open drawer */
  .brand-logo-link, .nav-actions {
    position: relative;
    z-index: 101;
  }

  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .color-swatches-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero-grid,
  .one-grid,
  .contact-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .featured-card { max-width: 640px; }
}

@media (max-width: 640px) {
  :root {
    --gutter: 1rem;
    --nav-height: 68px;
  }

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

  .services-grid,
  .process-grid,
  .why-grid,
  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-cta-group { width: 100%; }
  .hero-cta-group .btn { flex: 1 1 100%; }

  .btn-lg {
    padding: 0.95rem 1.5rem;
    font-size: 1rem;
  }

  .contact-card-grid { border-radius: var(--radius-lg); }

  .faq-question { padding: 1.1rem 1.15rem; }
  .faq-answer { padding: 0 1.15rem 1.2rem; }

  .client-card { width: 180px; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { justify-content: center; text-align: center; }

  .color-swatches-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .fab-whatsapp {
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
  }
}

@media (max-width: 380px) {
  .nav-cta { display: none; }
  .badge-pill { font-size: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .marquee-content {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  #constellation-canvas { display: none; }
}
