/* ==========================================================================
   CREST DESIGN SYSTEM
   Strict Monochrome Black & White Aesthetic
   Fusing Onlines.com.ar Hero Canvas + Graphic Design Tool Inspector +
   Two26 Arched Curved Ribbon + Sticky Services (Zero Green) +
   Pixel Case Studies + Image Cursor Trail CTA + Dopamine Mode-Switch Footer
   ========================================================================== */

:root {
  --bg-canvas: #ffffff;
  --bg-subtle: #f8f8f9;
  --bg-card: #ffffff;
  --bg-dark-section: #000000;
  --bg-dark-card: #0c0c0e;

  --text-primary: #09090b;
  --text-secondary: #52525b;
  --text-muted: #a1a1aa;
  
  --text-dark-primary: #ffffff;
  --text-dark-secondary: #a1a1aa;
  --text-dark-muted: #71717a;

  --border-light: rgba(0, 0, 0, 0.08);
  --border-medium: rgba(0, 0, 0, 0.16);
  --border-dark: rgba(255, 255, 255, 0.12);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Inter', -apple-system, sans-serif;
  --font-dm: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Onlines Blueprint Dotted Grid Parameters */
  --grilla-celda-size: 60px;
  --hero-title-center: calc(50% - 25px);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: clip;
  overflow-x: clip;
  position: relative;
  line-height: 1.6;
}

::selection {
  background: #000000;
  color: #ffffff;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-fluid {
  width: 100%;
  padding: 0 2.5rem;
}

.mono-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-light);
  border-radius: 9999px;
  color: var(--text-primary);
}

/* ==========================================================================
   MINIMALIST HEADER (Crest Top Nav)
   ========================================================================== */
.header-onlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.header-onlines-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.brand-wordmark {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #000000;
  text-decoration: none;
}

.header-nav-center {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-text-link {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.nav-text-link:hover {
  color: #000000;
}

.btn-talk-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  background: #000000;
  color: #ffffff;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-talk-pill:hover {
  transform: scale(1.04);
  background: #18181b;
}

/* ==========================================================================
   HERO CANVAS (Authentic Onlines Blueprint + Interactive Graphic Design Tool)
   ========================================================================== */
.home-hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 750px;
  max-height: 1080px;
  background-color: #ffffff;
  overflow: hidden;
  user-select: none;
}

.home-hero__inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Blueprint Grid: Restored faded gridlines + visible dots at intersections */
.home-hero__grilla {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.28) 1.5px, transparent 0);
  background-size: var(--grilla-celda-size) var(--grilla-celda-size);
  background-position: -1px -1px;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.grid-cell-lit {
  position: absolute;
  width: var(--grilla-celda-size);
  height: var(--grilla-celda-size);
  background: rgba(0, 0, 0, 0.04);
  border: 1px dashed rgba(0, 0, 0, 0.14);
  pointer-events: none;
  transition: opacity 0.8s ease;
  z-index: 2;
}

/* Centerpiece Headline: "Leads." (Movable Graphic Design Element) */
.home-hero__titulo {
  position: absolute;
  top: var(--hero-title-center);
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 16vw, 15rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: #000000;
  z-index: 6;
  white-space: nowrap;
  cursor: grab;
  user-select: none;
  touch-action: none;
  transition: color 0.15s ease;
}

.home-hero__titulo:hover {
  color: #000000;
}

.home-hero__titulo.is-dragging {
  cursor: grabbing !important;
}

/* Design Selection Bounding Box (Movable & Resizable) */
.home-hero__seleccion {
  position: absolute;
  pointer-events: auto;
  cursor: grab;
  z-index: 5;
  transition: opacity 0.2s ease;
}

.home-hero__seleccion.is-dragging {
  cursor: grabbing !important;
}

.home-hero__seleccion.is-selected .home-hero__seleccion-borde {
  width: 100%;
  height: 100%;
  border: 1.5px dashed #0066FF; /* Design signature selection blue */
  background: rgba(0, 102, 255, 0.02);
  position: relative;
  box-shadow: 0 0 0 1px rgba(0, 102, 255, 0.1);
}

.home-hero__handle {
  position: absolute;
  width: 9px;
  height: 9px;
  background: #ffffff;
  border: 1.5px solid #0066FF;
  pointer-events: auto;
  z-index: 10;
  transition: transform 0.1s ease, background-color 0.1s ease;
}

.home-hero__handle:hover {
  background: #0066FF;
  transform: scale(1.35);
}

.home-hero__handle--tl { top: -5px; left: -5px; cursor: nwse-resize; }
.home-hero__handle--tr { top: -5px; right: -5px; cursor: nesw-resize; }
.home-hero__handle--tc { top: -5px; left: calc(50% - 4.5px); cursor: ns-resize; }
.home-hero__handle--bl { bottom: -5px; left: -5px; cursor: nesw-resize; }
.home-hero__handle--br { bottom: -5px; right: -5px; cursor: nwse-resize; }
.home-hero__handle--bc { bottom: -5px; left: calc(50% - 4.5px); cursor: ns-resize; }
.home-hero__handle--ml { top: calc(50% - 4.5px); left: -5px; cursor: ew-resize; }
.home-hero__handle--mr { top: calc(50% - 4.5px); right: -5px; cursor: ew-resize; }

/* Leads Mode Switch (Moves with Title) */
.home-hero__switch {
  position: absolute;
  top: calc(var(--hero-title-center) - 150px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  transition: opacity 0.2s ease;
}

.home-hero__switch-pill {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  border-radius: 9999px;
  padding: 0.45rem 0.65rem 0.45rem 1.1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-hero__switch-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.home-hero__switch-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

.home-hero__switch-toggle {
  width: 38px;
  height: 22px;
  background: #000000;
  border-radius: 9999px;
  position: relative;
  transition: background 0.3s ease;
}

.home-hero__switch-toggle-knob {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.home-hero__switch-toggle.is-off {
  background: #e4e4e7;
}

.home-hero__switch-toggle.is-off .home-hero__switch-toggle-knob {
  transform: translateX(-16px);
}

/* Scattered Hero Mockups (Spread Outward to Screen Margins) */
.home-hero__elemento {
  position: absolute;
  transition: transform 0.15s ease-out, opacity 0.3s ease;
}

/* 1. Wireframe Browser UI (Pushed Outward to Far Left) */
.home-hero__wireframe {
  top: calc(var(--hero-title-center) - 130px);
  left: 3%;
  z-index: 7;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.08));
}

/* 2. Code Editor Window with Live Typing (Pushed to Bottom Left) */
.home-hero__codigo {
  top: calc(var(--hero-title-center) + 120px);
  left: 4%;
  z-index: 8;
  width: 235px;
  height: 175px;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.12));
}

.home-hero__codigo-fondo img {
  display: block;
}

.home-hero__codigo-texto {
  position: absolute;
  top: 40px;
  left: 16px;
  right: 16px;
  bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.5;
  color: #27272a;
  overflow: hidden;
  white-space: pre-wrap;
  word-break: break-all;
}

.typing-cursor {
  display: inline-block;
  width: 6px;
  height: 13px;
  background: #000000;
  vertical-align: middle;
  margin-left: 2px;
  animation: blinkCursor 0.8s infinite;
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* 3. Framed Billboard (Pushed Outward to Upper-Right) */
.home-hero__diseno {
  top: calc(var(--hero-title-center) - 230px);
  right: -0.5%;
  z-index: 7;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.1));
}

/* 4. iPhone Mockup (Pushed Outward to Far-Right) */
.home-hero__celular {
  top: calc(var(--hero-title-center) + 40px);
  right: 3%;
  z-index: 8;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.14));
}

/* Design Comment Bubble */
.comentario-inline {
  top: calc(var(--hero-title-center) + 170px);
  right: 17%;
  z-index: 9;
}

.comentario-inline__burbuja {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  padding: 0.6rem 0.9rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.comentario-inline__avatar-pill {
  width: 24px;
  height: 24px;
  background: #000000;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.7rem;
}

.comentario-inline__header {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.comentario-inline__header strong {
  color: #000000;
}

.comentario-inline__texto {
  font-size: 0.76rem;
  font-weight: 600;
  color: #000000;
}


/* Multiplayer Design Cursors */
.home-hero__cursores {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 12;
  transition: opacity 0.3s ease;
}

.home-hero__cursor {
  position: absolute;
  top: var(--hero-title-center);
  left: 50%;
  display: flex;
  align-items: flex-start;
  transition: transform 0.2s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.home-hero__cursor svg {
  width: 15px;
  height: 17px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.home-hero__cursor-label {
  margin-top: 14px;
  margin-left: 2px;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
  white-space: nowrap;
}

/* ==========================================================================
   GRAPHIC DESIGN TOOL INSPECTOR PANEL (Bottom-Right Floating Dock)
   ========================================================================== */
.canvas-inspector {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 270px;
  background: rgba(15, 15, 18, 0.94);
  color: #ffffff;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.05);
  font-family: var(--font-sans);
  z-index: 1000;
  user-select: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.canvas-inspector.is-collapsed .inspector-body {
  display: none;
}

.canvas-inspector.is-collapsed {
  width: auto;
  border-radius: 9999px;
}

.inspector-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.canvas-inspector.is-collapsed .inspector-header {
  border-bottom: none;
  padding: 0.45rem 0.85rem;
}

.inspector-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.inspector-dot {
  width: 7px;
  height: 7px;
  background: #0066FF;
  border-radius: 50%;
  box-shadow: 0 0 8px #0066FF;
}

.inspector-heading {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.inspector-btn-collapse {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0 0.2rem;
  line-height: 1;
  transition: color 0.2s ease;
}

.inspector-btn-collapse:hover {
  color: #ffffff;
}

.inspector-body {
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.inspector-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.inspector-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.inspector-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.inspector-sublabel {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}

.inspector-val-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: #0066FF;
}

.inspector-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.inspector-field {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 0.3rem 0.5rem;
}

.inspector-input {
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  width: 100%;
}

.inspector-input--text {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
}

.inspector-input--text:focus {
  border-color: #0066FF;
  background: rgba(0, 102, 255, 0.08);
}

.inspector-select {
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  width: 100%;
  cursor: pointer;
}

.inspector-select option {
  background: #18181b;
  color: #ffffff;
}

.inspector-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  cursor: pointer;
}

.inspector-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0066FF;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(0, 102, 255, 0.8);
}

.inspector-section-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.3rem;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.inspector-toggles {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.inspector-toggle-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

.inspector-toggle-item input[type="checkbox"] {
  accent-color: #0066FF;
  cursor: pointer;
}

.inspector-actions {
  margin-top: 0.2rem;
}

.btn-inspector-reset {
  width: 100%;
  padding: 0.45rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-inspector-reset:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #0066FF;
}

/* ==========================================================================
   EDITORIAL MANIFESTO
   ========================================================================== */
.section-onlines-manifesto {
  padding: 6rem 0 4rem 0;
  background: #ffffff;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border-light);
}

.onlines-lead-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.25;
  max-width: 960px;
  margin: 0 auto 1.4rem auto;
  color: var(--text-primary);
}

.onlines-sub-statement {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto;
}

/* ==========================================================================
   SCROLL-DRIVEN TEXT SCRUB
   ========================================================================== */
.section-scrub {
  padding: 8rem 0;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--border-light);
}

.section-badge-center {
  text-align: center;
  margin-bottom: 3.5rem;
}

.scrub-container {
  max-width: 1060px;
  margin: 0 auto;
  text-align: center;
}

.scrub-text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.035em;
  color: var(--text-primary);
}

.scrub-word {
  display: inline-block;
  opacity: 0.18;
  transition: opacity 0.3s ease, color 0.3s ease;
  margin-right: 0.28em;
}

.scrub-word.is-active {
  opacity: 1;
  color: #000000;
}

.scrub-word.is-highlight.is-active {
  background: #000000;
  color: #ffffff;
  padding: 0 0.25em;
  border-radius: 4px;
}

.scrub-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 980px;
  margin: 5.5rem auto 0 auto;
  padding-top: 3.5rem;
  border-top: 1px solid var(--border-light);
}

.scrub-stat-card {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #000000;
  line-height: 1;
  margin-bottom: 0.6rem;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ==========================================================================
   STICKY SERVICES / PROFIT ENGINE SECTION (Strict Monochrome - Pure B&W)
   Sticky Left Column + Scrolling Right Column with Smooth 01 -> 02 -> 03 Transitions
   ========================================================================== */
.section-sticky-services {
  background: #000000;
  color: #ffffff;
  padding: 7rem 0 10rem 0;
  position: relative;
  z-index: 2;
}

.sticky-services-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 5rem;
  align-items: stretch !important;
  position: relative;
}

.sticky-left-col {
  position: relative !important;
  height: 100% !important;
  display: block !important;
}

.sticky-card-box {
  position: sticky !important;
  top: 130px !important;
  height: 520px !important;
  width: 100%;
  display: flex;
  align-items: flex-start;
}

.sticky-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-panel.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.pillar-number {
  display: block;
  font-family: var(--font-mono, monospace);
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 1.2rem;
}

.pillar-heading {
  font-family: var(--font-display, sans-serif);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: #ffffff;
  margin-bottom: 1.2rem;
}

.pillar-subtext {
  font-size: 1.15rem;
  color: #a1a1aa;
  line-height: 1.6;
  max-width: 440px;
  margin-bottom: 2.5rem;
}

.btn-mono-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.2rem;
  background: #ffffff;
  color: #000000;
  border-radius: 9999px;
  font-family: var(--font-sans, sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-mono-pill:hover {
  background: #000000;
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.scroll-right-col {
  display: flex;
  flex-direction: column;
  gap: 7rem;
}

.service-scroll-group {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding-top: 1rem;
}

.sub-service-block {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 3.5rem;
}

.sub-mono-tag {
  font-family: var(--font-mono, monospace);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 1.2rem;
}

.sub-body {
  font-size: 1.05rem;
  color: #d4d4d8;
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.sub-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ==========================================================================
   CASE STUDIES SECTION (Projects Specification with Pixel Dissolve)
   ========================================================================== */
.section-cases-pixel {
  background: #ffffff;
  color: #000000;
  position: relative;
  z-index: 2;
  font-family: var(--font-dm);
}

.badge-projects-black {
  display: inline-block;
  background: #000000;
  color: #ffffff;
  padding: 0.38rem 1rem;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
}

.cases-headline {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.text-black-muted {
  color: rgba(0, 0, 0, 0.4);
}

.pixel-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.pixel-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f4f4f5;
  cursor: pointer;
}

.pixel-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pixel-card-plus {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-size: 12px;
  z-index: 10;
}

.pixel-info-plate {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #ffffff;
  padding: 0.65rem 1rem 0.75rem 1rem;
  max-width: 70%;
  z-index: 20;
}

.plate-title {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 400;
  line-height: 1.15;
  color: #000000;
}

.plate-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.35rem;
}

.plate-cat {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.6);
}

.plate-year {
  font-size: 12px;
  font-weight: 500;
  color: #000000;
}

/* Footer of Case Studies */
.cases-footer-split {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .cases-footer-split {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.cases-narrative-box {
  max-width: 440px;
}

.square-plus-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  font-size: 12px;
  margin-bottom: 1rem;
}

.cases-footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.6);
}

.btn-work-together {
  display: inline-flex;
  align-items: flex-end;
  text-decoration: none;
  margin-top: 1.5rem;
  cursor: pointer;
}

.work-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000000;
  color: #ffffff;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s ease;
}

.btn-work-together:hover .work-label {
  background: rgba(0, 0, 0, 0.85);
}

.arrow-square-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #000000;
  margin-bottom: 1.5rem;
  transition: margin-bottom 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-work-together:hover .arrow-square-badge {
  margin-bottom: 2.25rem;
}

/* Marquee in Case Studies */
.cases-marquee-container {
  flex: 1;
  overflow: hidden;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .cases-marquee-container {
    margin-left: 3rem;
    border-top: none;
  }
}

.marquee-track-logos {
  display: flex;
  width: max-content;
  animation: marqueeProjects 28s linear infinite;
}

.marquee-track-logos:hover {
  animation-play-state: paused;
}

.logo-unit {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 2rem;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(0, 0, 0, 0.8);
}

.logo-ico {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
}

@keyframes marqueeProjects {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================================================================
   FINAL CTA WITH INTERACTIVE IMAGE CURSOR TRAIL (Image 3 Style)
   Smaller, well-spaced, and never squeezed
   ========================================================================== */
/* ==========================================================================
   CONTACT SECTION: FREE LEAK AUDIT (Two-Column Reasoning / Action)
   ========================================================================== */
.section-contact-audit {
  padding: 110px 0;
  background-color: #000000;
  color: #ffffff;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.audit-layout-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(3rem, 5vw, 5.5rem);
  align-items: start;
}

/* LEFT COLUMN: Reasoning (About 5 of 12 columns) */
.audit-left-col {
  display: flex;
  flex-direction: column;
}

.audit-label-badge {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
}

.audit-main-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: 1.2rem;
}

.audit-subtext {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #a1a1aa;
  margin-bottom: 2.75rem;
  max-width: 480px;
}

/* Three Steps: Vertical Numbered List */
.audit-steps-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.audit-step-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

.step-num-badge {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #000000;
  background: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin: 0;
}

.step-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #a1a1aa;
  margin: 0;
  max-width: 420px;
}

/* James Founder Block */
.audit-james-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  margin-bottom: 2rem;
  max-width: 440px;
}

.james-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.james-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.james-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.james-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.james-caption {
  font-size: 0.82rem;
  color: #a1a1aa;
}

.audit-engagement-note {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #71717a;
  letter-spacing: 0.02em;
  line-height: 1.5;
  margin: 0;
}

/* RIGHT COLUMN: Action (About 7 of 12 columns) */
.audit-right-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Single Form Card: 32px internal padding, 16px between fields, max-width ~520px */
.audit-form-card {
  width: 100%;
  max-width: 520px;
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.7);
  box-sizing: border-box;
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.audit-form-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.audit-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.form-field-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e4e4e7;
  font-family: var(--font-sans);
  letter-spacing: 0.01em;
}

.form-label-opt {
  font-size: 0.78rem;
  font-weight: 400;
  color: #71717a;
  font-family: var(--font-mono);
}

.form-input {
  width: 100%;
  height: 50px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0 16px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder {
  color: #52525b;
}

.form-input:focus {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 1px #ffffff;
}

.form-input.is-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 1px #ef4444 !important;
}

.form-field-error {
  display: none;
  font-size: 0.76rem;
  color: #f87171;
  font-family: var(--font-mono);
  margin-top: 2px;
}

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

.form-textarea {
  height: auto;
  min-height: 84px;
  padding: 12px 16px;
  resize: vertical;
  line-height: 1.5;
}

/* Turnstile Row */
.turnstile-row {
  display: flex;
  align-items: center;
  padding: 4px 0 2px 0;
}

.turnstile-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #a1a1aa;
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.turnstile-icon {
  color: #ffffff;
}

.turnstile-check {
  color: #4ade80;
  font-weight: 700;
}

/* Submit Button: Full width, solid accent, high-contrast */
.btn-audit-submit {
  width: 100%;
  height: 52px;
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.12);
  margin-top: 6px;
}

.btn-audit-submit:hover {
  background: #f4f4f5;
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.18);
}

.btn-audit-submit:active {
  transform: translateY(0);
}

.btn-audit-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Actions Meta: Secondary link & reassurance */
.audit-actions-meta {
  width: 100%;
  max-width: 520px;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.audit-call-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.audit-call-link .call-arrow {
  font-size: 1.05rem;
  transition: transform 0.2s ease;
}

.audit-call-link:hover {
  color: #d4d4d8;
}

.audit-call-link:hover .call-arrow {
  transform: translate(2px, -2px);
}

.audit-reassurance-line {
  font-size: 0.85rem;
  color: #71717a;
  margin: 0;
}

/* Success Panel */
.audit-success-panel {
  padding: 32px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.success-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  animation: popSuccess 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popSuccess {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.success-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.success-desc {
  font-size: 1.05rem;
  color: #d4d4d8;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.success-reassurance {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #a1a1aa;
}

/* Responsive: Mobile View strictly ordering elements */
@media (max-width: 768px) {
  .section-contact-audit {
    padding: 64px 0 !important;
  }

  .audit-layout-grid {
    display: flex !important;
    flex-direction: column !important;
  }

  .audit-left-col,
  .audit-right-col {
    display: contents !important;
  }

  .audit-label-badge {
    order: 1 !important;
    margin-bottom: 0.75rem !important;
  }

  .audit-main-heading {
    order: 2 !important;
    font-size: clamp(2rem, 6.5vw, 2.5rem) !important;
    margin-bottom: 0.75rem !important;
  }

  .audit-subtext {
    order: 3 !important;
    font-size: 1.05rem !important;
    margin-bottom: 1.75rem !important;
  }

  .audit-form-card {
    order: 4 !important;
    max-width: 100% !important;
    padding: 24px 20px !important;
    margin-bottom: 0.5rem !important;
  }

  .audit-actions-meta {
    order: 5 !important;
    max-width: 100% !important;
    margin-top: 12px !important;
    margin-bottom: 2.5rem !important;
  }

  .audit-steps-list {
    order: 6 !important;
    margin-bottom: 2rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem !important;
  }

  .audit-james-block {
    order: 7 !important;
    max-width: 100% !important;
    margin-bottom: 1.25rem !important;
  }

  .audit-engagement-note {
    order: 8 !important;
    text-align: left !important;
  }
}

.section-trail-cta {
  position: relative;
  background: #ffffff;
  color: #000000;
  padding: 9rem 0 11rem 0;
  overflow: hidden;
  border-top: 1px solid var(--border-light);
}

.trail-interactive-area {
  position: relative;
  width: 100%;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trail-content-inner {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.trail-heading {
  font-family: 'DM Serif Display', 'Inter', serif;
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #09090b;
  margin-bottom: 2.5rem;
}

.trail-button-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-chat-sarah {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: #09090b;
  color: #ffffff;
  padding: 0.65rem 1.6rem 0.65rem 0.75rem;
  border-radius: 9999px;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-chat-sarah:hover {
  transform: scale(1.04);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}

.sarah-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sarah-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trail-fine-print {
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.trail-card {
  position: absolute;
  width: 130px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
  pointer-events: none;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.trail-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   FOOTER: DOPAMINE-STYLE SWITCH CONCEPT (Images 2 & 3)
   Giant "PR ⬭ FIT." where the "O" is an interactive toggle switch
   ========================================================================== */
.site-footer {
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  position: relative;
  z-index: 2;
  overflow: hidden;
  transition: background-color 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-footer.is-dark {
  background-color: #000000;
  color: #ffffff;
}

.site-footer.is-dark .footer-top-strip,
.site-footer.is-dark .footer-bottom-bar {
  border-color: rgba(255, 255, 255, 0.12);
}

.site-footer.is-dark .footer-humor,
.site-footer.is-dark .dopamine-prefix,
.site-footer.is-dark .dopamine-suffix {
  color: #ffffff;
}

.site-footer.is-dark .social-link,
.site-footer.is-dark .copy-text,
.site-footer.is-dark .mono-coords,
.site-footer.is-dark .footer-status-pill {
  color: #a1a1aa;
}

.site-footer.is-dark .social-link:hover,
.site-footer.is-dark .back-to-top {
  color: #ffffff;
}

.site-footer.is-dark .status-dot {
  background: #ffffff;
}

.site-footer.is-light {
  background-color: #ffffff;
  color: #000000;
}

.site-footer.is-light .footer-top-strip,
.site-footer.is-light .footer-bottom-bar {
  border-color: rgba(0, 0, 0, 0.12);
}

.site-footer.is-light .footer-humor,
.site-footer.is-light .dopamine-prefix,
.site-footer.is-light .dopamine-suffix {
  color: #000000;
}

.site-footer.is-light .social-link,
.site-footer.is-light .copy-text,
.site-footer.is-light .mono-coords,
.site-footer.is-light .footer-status-pill {
  color: #71717a;
}

.site-footer.is-light .social-link:hover,
.site-footer.is-light .back-to-top {
  color: #000000;
}

.site-footer.is-light .status-dot {
  background: #000000;
}

.footer-top-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid currentColor;
}

.footer-humor {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.footer-status-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

.footer-socials {
  display: flex;
  gap: 2rem;
}

.social-link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-interactive-brand {
  position: relative;
  width: 100%;
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.dopamine-word-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.8vw, 24px);
  cursor: pointer;
}

.dopamine-prefix,
.dopamine-suffix {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 15vw, 17rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.85;
  user-select: none;
  transition: color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.dopamine-toggle-capsule {
  position: relative;
  width: clamp(90px, 16vw, 220px);
  height: clamp(54px, 9.5vw, 130px);
  border-radius: 9999px;
  border: clamp(3px, 0.5vw, 6px) solid currentColor;
  display: flex;
  align-items: center;
  padding: clamp(3px, 0.6vw, 8px);
  box-sizing: border-box;
  cursor: pointer;
  transition: border-color 0.4s ease, background-color 0.4s ease;
}

.dopamine-toggle-knob {
  width: clamp(42px, 7.8vw, 108px);
  height: clamp(42px, 7.8vw, 108px);
  border-radius: 50%;
  background: currentColor;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.4s ease;
  display: block;
}

.dopamine-toggle-capsule.is-on .dopamine-toggle-knob {
  transform: translateX(calc(clamp(90px, 16vw, 220px) - clamp(42px, 7.8vw, 108px) - clamp(6px, 1.2vw, 16px) - clamp(6px, 1vw, 12px)));
}

.dopamine-toggle-capsule.is-off .dopamine-toggle-knob {
  transform: translateX(0);
}

.footer-ask-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  padding: 0.6rem 1.4rem;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease, background-color 0.3s ease, color 0.3s ease;
}

.site-footer.is-dark .footer-ask-pill {
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
}

.site-footer.is-dark .footer-ask-pill:hover {
  background: #000000;
  color: #ffffff;
  transform: scale(1.05);
}

.site-footer.is-light .footer-ask-pill {
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
}

.site-footer.is-light .footer-ask-pill:hover {
  background: #ffffff;
  color: #000000;
  transform: scale(1.05);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.back-to-top {
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.back-to-top:hover {
  opacity: 0.7;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .header-nav-center { display: none; }
  .sticky-services-layout { grid-template-columns: 1fr; gap: 3rem; }
  .sticky-left-col { position: relative; top: 0; height: auto; }
  .pixel-cards-grid { grid-template-columns: 1fr; }
  .home-hero__elemento { transform: scale(0.75) !important; }
  .canvas-inspector { width: 240px; }
}




/* ==========================================================================
   3-BUTTON MINIMAL HERO DOCK (Color, Text, Dark Mode)
   ========================================================================== */
.hero-action-dock {
  position: fixed !important;
  bottom: 2rem !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 10px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
  z-index: 99999 !important;
  user-select: none !important;
  font-family: var(--font-sans) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.dock-item-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dock-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 52px;
  padding: 6px 10px;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.dock-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.dock-btn.is-active {
  background: rgba(0, 0, 0, 0.08);
}

.dock-btn-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  color: #52525b;
  line-height: 1;
}

/* Color Circle Swatch in Toolbar */
.dock-color-swatch-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #000000;
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  display: inline-block;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.dock-btn:hover .dock-color-swatch-circle {
  transform: scale(1.12);
}

/* Text Icon */
.dock-t-icon {
  stroke: #18181b;
}

/* Theme Icon */
.dock-theme-icon {
  stroke: #18181b;
}

/* Dock Popovers */
.dock-popover {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #18181b;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  padding: 10px;
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100000;
}

.dock-popover.is-open {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(0) !important;
}

.popover-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 8px;
}

/* Interactive Square Color Box */
.square-color-box {
  position: relative;
  width: 200px;
  height: 135px;
  border-radius: 8px;
  cursor: crosshair;
  background-color: #ff0000; /* base hue */
  background-image: 
    linear-gradient(to right, #ffffff, transparent),
    linear-gradient(to top, #000000, transparent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  overflow: hidden;
  user-select: none;
  touch-action: none;
}

.color-picker-cursor {
  position: absolute;
  top: 100%;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Rainbow Hue Slider */
.hue-slider-wrap {
  margin-top: 10px;
  width: 100%;
}

.hue-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: linear-gradient(to right, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000);
  cursor: pointer;
}

.hue-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #000000;
  cursor: pointer;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}

.color-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  gap: 8px;
}

.quick-swatches {
  display: flex;
  align-items: center;
  gap: 6px;
}

.swatch-mini {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.swatch-mini:hover {
  transform: scale(1.18);
}

.swatch-mini.is-selected {
  border-color: #0066FF;
  transform: scale(1.18);
}

.hex-badge {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 0.2rem 0.45rem;
}

.hex-badge span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  margin-right: 2px;
}

.hex-text-input {
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  width: 52px;
}

/* Predefined Headlines Popover Items */
.dock-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #e4e4e7;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.dock-menu-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.dock-menu-item.is-selected {
  background: rgba(0, 102, 255, 0.18);
  color: #0066FF;
  font-weight: 600;
}

.dock-menu-item .menu-sub {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
}

.dock-menu-item.is-selected .menu-sub {
  color: rgba(0, 102, 255, 0.7);
}

.dock-menu-item .menu-check {
  font-size: 0.75rem;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.dock-menu-item.is-selected .menu-check {
  opacity: 1;
}

/* ==========================================================================
   GLOBAL SITE DARK MODE (INVERTED THEME)
   White sections become Black; Black sections become White
   ========================================================================== */
body.site-dark-theme {
  background-color: #000000 !important;
  color: #ffffff !important;
}

/* 1. Header */
body.site-dark-theme .header-onlines {
  background: rgba(0, 0, 0, 0.88) !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}
body.site-dark-theme .brand-wordmark {
  color: #ffffff !important;
}
body.site-dark-theme .nav-text-link {
  color: #a1a1aa !important;
}
body.site-dark-theme .nav-text-link:hover {
  color: #ffffff !important;
}
body.site-dark-theme .btn-talk-pill {
  background: #ffffff !important;
  color: #000000 !important;
}

/* 2. Hero Section */
body.site-dark-theme .home-hero {
  background-color: #000000 !important;
}
body.site-dark-theme .home-hero__grilla {
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.35) 1.5px, transparent 0) !important;
}
body.site-dark-theme .home-hero__switch-pill {
  background: #18181b !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}
body.site-dark-theme .home-hero__switch-label {
  color: #ffffff !important;
}
body.site-dark-theme .home-hero__switch-toggle {
  background: #ffffff !important;
}
body.site-dark-theme .home-hero__switch-toggle-knob {
  background: #000000 !important;
}
body.site-dark-theme .comentario-inline__burbuja {
  background: #18181b !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}
body.site-dark-theme .comentario-inline__texto {
  color: #ffffff !important;
}
body.site-dark-theme .comentario-inline__header strong {
  color: #ffffff !important;
}

/* 3. Editorial Manifesto */
body.site-dark-theme .section-onlines-manifesto {
  background: #000000 !important;
  border-top-color: rgba(255, 255, 255, 0.1) !important;
}
body.site-dark-theme .onlines-lead-heading {
  color: #ffffff !important;
}
body.site-dark-theme .onlines-sub-statement {
  color: #a1a1aa !important;
}

/* 4. Curved Ribbon Marquee: Black section becomes White */
body.site-dark-theme .section-curved-ribbon {
  background: #000000 !important;
}
body.site-dark-theme .ribbon-band-shape {
  fill: #ffffff !important;
}
body.site-dark-theme .hero-marquee-text {
  fill: #000000 !important;
}

/* 5. Scroll-driven Text Scrub */
body.site-dark-theme .section-scrub {
  background: #000000 !important;
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}
body.site-dark-theme .mono-badge {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}
body.site-dark-theme .scrub-text {
  color: #ffffff !important;
}
body.site-dark-theme .scrub-word.is-active {
  color: #ffffff !important;
}
body.site-dark-theme .scrub-word.is-highlight.is-active {
  background: #ffffff !important;
  color: #000000 !important;
}
body.site-dark-theme .stat-number {
  color: #ffffff !important;
}
body.site-dark-theme .stat-label {
  color: #a1a1aa !important;
}

/* 6. Sticky Services / Profit Engine: Black section becomes White */
body.site-dark-theme .section-sticky-services {
  background: #ffffff !important;
  color: #000000 !important;
}
body.site-dark-theme .pillar-number,
body.site-dark-theme .pillar-heading,
body.site-dark-theme .sub-mono-tag {
  color: #000000 !important;
}
body.site-dark-theme .pillar-subtext,
body.site-dark-theme .sub-body {
  color: #52525b !important;
}
body.site-dark-theme .btn-mono-pill {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
}
body.site-dark-theme .btn-mono-pill:hover {
  background: #ffffff !important;
  color: #000000 !important;
}
body.site-dark-theme .sub-service-block {
  border-bottom-color: rgba(0, 0, 0, 0.12) !important;
}
body.site-dark-theme .mono-link-pill {
  background: #f4f4f5 !important;
  color: #000000 !important;
  border-color: rgba(0, 0, 0, 0.15) !important;
}
body.site-dark-theme .mono-link-pill:hover {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
}

/* 7. Case Studies (Projects) */
body.site-dark-theme .section-cases-pixel {
  background: #000000 !important;
  color: #ffffff !important;
}
body.site-dark-theme .badge-projects-black {
  background: #ffffff !important;
  color: #000000 !important;
}
body.site-dark-theme .cases-headline span.text-black {
  color: #ffffff !important;
}
body.site-dark-theme .cases-headline span.text-black-muted {
  color: rgba(255, 255, 255, 0.4) !important;
}
body.site-dark-theme .pixel-info-plate {
  background: #18181b !important;
}
body.site-dark-theme .plate-title {
  color: #ffffff !important;
}
body.site-dark-theme .plate-cat {
  color: rgba(255, 255, 255, 0.6) !important;
}
body.site-dark-theme .plate-year {
  color: #ffffff !important;
}
body.site-dark-theme .square-plus-badge {
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}
body.site-dark-theme .cases-footer-desc {
  color: rgba(255, 255, 255, 0.6) !important;
}
body.site-dark-theme .work-label {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}
body.site-dark-theme .arrow-square-badge {
  background: #ffffff !important;
}
body.site-dark-theme .arrow-square-badge svg {
  fill: #000000 !important;
}
body.site-dark-theme .cases-marquee-container {
  border-color: rgba(255, 255, 255, 0.1) !important;
}
body.site-dark-theme .logo-unit {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* 8. Final CTA Audit in Inverted Theme */
body.site-dark-theme .section-contact-audit {
  background: #000000 !important;
  color: #ffffff !important;
  border-top-color: rgba(255, 255, 255, 0.1) !important;
}

/* 9. Toolbar style in dark mode */
body.site-dark-theme .hero-action-dock {
  background: rgba(24, 24, 27, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5) !important;
}
body.site-dark-theme .dock-btn-label {
  color: #a1a1aa !important;
}
body.site-dark-theme .dock-btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}
body.site-dark-theme .dock-t-icon,
body.site-dark-theme .dock-theme-icon {
  stroke: #ffffff !important;
}


/* ==========================================================================
   CURVED MARQUEE (Exact Two26 Reference Implementation)
   ========================================================================== */
.section-curved-ribbon.marquee-section {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  padding: 0;
  background: transparent;
  z-index: 3;
}

.marquee-section svg.curved-svg-banner {
  display: block;
  width: 100%;
  height: auto;
    overflow: hidden;
}

.band {
  fill: none;
  stroke: #000000;
  stroke-width: 120;
}

body.site-dark-theme .band {
  stroke: #ffffff !important;
}

.marquee-text {
  font-family: "Anton", "Inter", Impact, sans-serif;
  font-size: 58px;
  letter-spacing: .02em;
  text-transform: uppercase;
  fill: #ffffff;
  white-space: pre;
}

body.site-dark-theme .marquee-text {
  fill: #000000 !important;
}


/* ==========================================================================
   CASE STUDIES: PAGINATION & TWO ADDITIONAL TEMPLATE PROJECTS
   ========================================================================== */
.cases-header-flex {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .cases-header-flex {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    text-align: left;
  }
}

.cases-nav-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.5rem 0.75rem;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.cases-pagination-count {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #000000;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding-left: 0.5rem;
}

.count-current {
  font-weight: 700;
  color: #000000;
}

.count-sep, .count-total {
  color: rgba(0, 0, 0, 0.4);
}

.cases-nav-buttons {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-case-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  border: 1px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-case-nav:hover:not(:disabled) {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  transform: scale(1.08);
}

.btn-case-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.pixel-card.is-page-hidden {
  display: none !important;
  opacity: 0;
}

.card-click-hint {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 15;
}

.card-click-hint span {
  background: #000000;
  color: #ffffff;
  padding: 0.55rem 1.1rem;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(6px);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.pixel-card:hover .card-click-hint {
  opacity: 1;
}

.pixel-card:hover .card-click-hint span {
  transform: translateY(0);
}

/* ==========================================================================
   PROJECT DETAIL MODAL / POPUP (Wide, Spacious & Fully Responsive)
   ========================================================================== */
html.modal-open,
body.modal-open {
  overflow: hidden !important;
  height: 100% !important;
  touch-action: none;
}

.project-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  overscroll-behavior: contain;
}

.project-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.project-modal-dialog {
  width: 96vw;
  max-width: 1200px;
  max-height: 92vh;
  background: #ffffff;
  color: #000000;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.75);
  transform: scale(0.96) translateY(24px);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  overscroll-behavior: contain;
}

.project-modal-backdrop.is-open .project-modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.35rem;
  right: 1.35rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close-btn:hover {
  background: #000000;
  color: #ffffff;
  transform: rotate(90deg) scale(1.06);
}

.modal-body-scroll {
  padding: 3rem 3.25rem 2.75rem 3.25rem;
  overflow-y: auto !important;
  max-height: calc(90vh - 10px);
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.modal-body-scroll::-webkit-scrollbar {
  width: 7px;
}
.modal-body-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.03);
}
.modal-body-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.22);
  border-radius: 9999px;
}
.modal-body-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.4);
}

body.site-dark-theme .modal-body-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}
body.site-dark-theme .modal-body-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
}
body.site-dark-theme .modal-body-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.45);
}

.modal-meta-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.modal-tag-pill {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: #000000;
  color: #ffffff;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}

.modal-year {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(0, 0, 0, 0.5);
}

.modal-project-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 0.5rem;
  color: #000000;
}

.modal-project-cat {
  font-size: 1.15rem;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 2.25rem;
}

.modal-hero-img-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 480px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2.75rem;
  background: #f4f4f5;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.modal-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
  margin-bottom: 2.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
}

.modal-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #000000;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.modal-stat-caption {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.6);
  font-weight: 500;
}

.modal-narrative-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.75rem;
}

.modal-narrative-block h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(0, 0, 0, 0.45);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.modal-narrative-block p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.85);
}

.modal-deliverables-wrap {
  margin-bottom: 2.75rem;
  background: rgba(0, 0, 0, 0.03);
  padding: 1.75rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.modal-deliverables-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(0, 0, 0, 0.45);
  margin-bottom: 1.15rem;
  text-transform: uppercase;
}

.modal-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.modal-deliverable-pill {
  font-size: 13.5px;
  font-weight: 600;
  background: #ffffff;
  color: #000000;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.modal-quote-box {
  margin-bottom: 2.75rem;
  border-left: 3px solid #000000;
  padding-left: 1.75rem;
}

.modal-quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-style: italic;
  line-height: 1.45;
  color: #000000;
  margin-bottom: 0.75rem;
}

.modal-quote-cite {
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.55);
}

.modal-bottom-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: #000000;
  color: #ffffff;
  border-radius: 12px;
}

.modal-cta-prompt {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.btn-modal-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.65rem;
  background: #ffffff;
  color: #000000;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-modal-action:hover {
  background: rgba(255, 255, 255, 0.88);
  transform: translateY(-2px);
}

body.site-dark-theme .project-modal-dialog {
  background: #141416 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.9) !important;
}

body.site-dark-theme .modal-close-btn {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}

body.site-dark-theme .modal-close-btn:hover {
  background: #ffffff !important;
  color: #000000 !important;
}

body.site-dark-theme .modal-tag-pill {
  background: #ffffff !important;
  color: #000000 !important;
}

body.site-dark-theme .modal-year {
  color: rgba(255, 255, 255, 0.5) !important;
}

body.site-dark-theme .modal-project-title {
  color: #ffffff !important;
}

body.site-dark-theme .modal-project-cat {
  color: rgba(255, 255, 255, 0.6) !important;
}

body.site-dark-theme .modal-hero-img-wrap {
  background: #1c1c1f !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

body.site-dark-theme .modal-stats-strip {
  border-top-color: rgba(255, 255, 255, 0.12) !important;
  border-bottom-color: rgba(255, 255, 255, 0.12) !important;
}

body.site-dark-theme .modal-stat-num {
  color: #ffffff !important;
}

body.site-dark-theme .modal-stat-caption {
  color: rgba(255, 255, 255, 0.6) !important;
}

body.site-dark-theme .modal-narrative-block h4 {
  color: rgba(255, 255, 255, 0.45) !important;
}

body.site-dark-theme .modal-narrative-block p {
  color: rgba(255, 255, 255, 0.85) !important;
}

body.site-dark-theme .modal-deliverables-wrap {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

body.site-dark-theme .modal-deliverables-title {
  color: rgba(255, 255, 255, 0.45) !important;
}

body.site-dark-theme .modal-deliverable-pill {
  background: #1f1f23 !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

body.site-dark-theme .modal-quote-box {
  border-left-color: #ffffff !important;
}

body.site-dark-theme .modal-quote-text {
  color: #ffffff !important;
}

body.site-dark-theme .modal-quote-cite {
  color: rgba(255, 255, 255, 0.55) !important;
}

body.site-dark-theme .modal-bottom-cta {
  background: #ffffff !important;
  color: #000000 !important;
}

body.site-dark-theme .modal-cta-prompt {
  color: #000000 !important;
}

body.site-dark-theme .btn-modal-action {
  background: #000000 !important;
  color: #ffffff !important;
}

/* ==========================================================================
   REVIEWS SECTION: LIQUID / WATER DISSOLVE EFFECT (User Reference 1)
   Refined Apple Aesthetic: Smaller, Organic Snapshot Tilt, Centered
   ========================================================================== */
.section-reviews-water {
  padding: 8.5rem 0 7.5rem 0;
  background: #ffffff;
  color: #000000;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border-light);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.reviews-inner-wrap {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.reviews-badge-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto 3rem auto;
  text-align: center;
}

.water-quote-stage {
  width: 100%;
  max-width: 820px;
  margin: 0 auto 3.5rem auto;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.water-quote-text {
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 2.9vw, 2.45rem);
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: -0.025em;
  color: #000000;
  margin: 0 auto 1.4rem auto;
  text-align: center;
  max-width: 780px;
  width: 100%;
  transition: filter 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: filter, opacity, transform;
}

/* The Water / Liquid Vapor Dissolve States */
.water-quote-text.is-dissolving {
  filter: blur(14px) brightness(1.25);
  opacity: 0;
  transform: scale(1.03) translateY(-6px);
}

.water-quote-text.is-emerging {
  filter: blur(14px);
  opacity: 0;
  transform: scale(0.97) translateY(6px);
}

.water-quote-author {
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.55);
  letter-spacing: 0.015em;
  margin: 0 auto;
  text-align: center;
  width: 100%;
  transition: opacity 0.4s ease, filter 0.4s ease;
}

.water-quote-author.is-dissolving {
  opacity: 0;
  filter: blur(6px);
}

/* Smaller, Apple-Style Frosted Glass Capsule Dock */
.avatar-dock-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
  margin: 0 auto;
}

/* Smaller Avatar Cards (Refined ~46px x 56px) */
.avatar-dock-card {
  width: 46px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  background: #e4e4e7;
  cursor: pointer;
  padding: 0;
  margin: 0 -3px; /* Subtle organic snapshot overlap */
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease,
              z-index 0.1s ease;
  position: relative;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  will-change: transform;
}

/* Individual Natural Tilt Angles (Matching User Reference Image 1) */
.avatar-dock-card:nth-child(1) { transform: rotate(-6deg); z-index: 1; }
.avatar-dock-card:nth-child(2) { transform: rotate(-3deg); z-index: 2; }
.avatar-dock-card:nth-child(3) { transform: rotate(0deg); z-index: 3; }
.avatar-dock-card:nth-child(4) { transform: rotate(3deg); z-index: 4; }
.avatar-dock-card:nth-child(5) { transform: rotate(6deg); z-index: 5; }

.avatar-dock-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1);
  transition: filter 0.3s ease;
  display: block;
}

/* Hover: subtle lift, straightens slightly, color peek */
.avatar-dock-card:hover {
  transform: translateY(-5px) scale(1.12) rotate(0deg);
  z-index: 20;
  border-color: #ffffff;
  box-shadow: 0 10px 20px -3px rgba(0, 0, 0, 0.2);
}

.avatar-dock-card:hover img {
  filter: grayscale(25%);
}

/* Active State: pops upright, centered, elevated, vivid color, Apple border */
.avatar-dock-card.is-active {
  transform: translateY(-10px) scale(1.22) rotate(0deg) !important;
  z-index: 30 !important;
  border-color: #000000 !important;
  box-shadow: 0 16px 32px -4px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.15) !important;
}

.avatar-dock-card.is-active img {
  filter: grayscale(0%) contrast(1.05);
}

/* ==========================================================================
   FAQ SECTION: CHAT INBOX MESSAGE BUBBLES (User Reference 2)
   ========================================================================== */
.section-faq-chat {
  padding: 8rem 0;
  background: #0d0d0f;
  color: #ffffff;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-chat-header {
  margin-bottom: 3.5rem;
}

.faq-chat-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 1.25rem 0 0.5rem 0;
  color: #ffffff;
}

.faq-chat-subtitle {
  font-size: 1.15rem;
  color: #a1a1aa;
}

.faq-chat-canvas {
  max-width: 820px;
  margin: 0 auto;
  background: #18181b;
  border-radius: 28px;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.6);
}

.faq-chat-thread {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: flex-start;
}

.faq-chat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.faq-bubble-q {
  display: inline-flex;
  align-items: center;
  background: #27272a;
  color: #f4f4f5;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 13px 22px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  text-align: left;
}

.faq-bubble-q:hover {
  background: #3f3f46;
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.faq-chat-item.is-open .faq-bubble-q {
  background: #3f3f46;
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.faq-bubble-a-wrap {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-6px) scale(0.98);
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), margin 0.35s ease;
  width: 100%;
}

.faq-chat-item.is-open .faq-bubble-a-wrap {
  max-height: 320px;
  opacity: 1;
  transform: translateY(0) scale(1);
  margin: 10px 0 16px 0;
}

.faq-bubble-a {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  background: #ffffff;
  color: #000000;
  border-radius: 12px;
  padding: 18px 24px;
  max-width: 720px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.faq-bubble-a .a-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #18181b;
  font-weight: 450;
  margin: 0;
}

.faq-agency-badge {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #000000;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  margin-top: 2px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.crest-monogram {
  font-family: var(--font-display);
  font-size: 14px;
}

/* ==========================================================================
   GLOBAL DARK MODE ADAPTATIONS (.site-dark-theme)
   ========================================================================== */
body.site-dark-theme .cases-nav-row {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

body.site-dark-theme .count-current {
  color: #ffffff !important;
}

body.site-dark-theme .count-sep,
body.site-dark-theme .count-total {
  color: rgba(255, 255, 255, 0.4) !important;
}

body.site-dark-theme .btn-case-nav {
  background: #18181b !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

body.site-dark-theme .btn-case-nav:hover:not(:disabled) {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
}

body.site-dark-theme .project-modal-dialog {
  background: #141416 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

body.site-dark-theme .modal-close-btn {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}

body.site-dark-theme .modal-project-title {
  color: #ffffff !important;
}

body.site-dark-theme .modal-project-cat {
  color: rgba(255, 255, 255, 0.6) !important;
}

body.site-dark-theme .modal-tag-pill {
  background: #ffffff !important;
  color: #000000 !important;
}

body.site-dark-theme .modal-year {
  color: rgba(255, 255, 255, 0.5) !important;
}

body.site-dark-theme .modal-stats-strip {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

body.site-dark-theme .modal-stat-num {
  color: #ffffff !important;
}

body.site-dark-theme .modal-stat-caption {
  color: rgba(255, 255, 255, 0.6) !important;
}

body.site-dark-theme .modal-narrative-block h4 {
  color: #ffffff !important;
}

body.site-dark-theme .modal-narrative-block h4::before {
  background: #ffffff !important;
}

body.site-dark-theme .modal-narrative-block p {
  color: rgba(255, 255, 255, 0.75) !important;
}

body.site-dark-theme .modal-deliverable-pill {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.8) !important;
}

body.site-dark-theme .modal-quote-box {
  background: #1c1c1f !important;
  border-left-color: #ffffff !important;
}

body.site-dark-theme .modal-quote-text {
  color: rgba(255, 255, 255, 0.9) !important;
}

body.site-dark-theme .modal-quote-cite {
  color: #ffffff !important;
}

body.site-dark-theme .modal-bottom-cta {
  background: #27272a !important;
}

/* Reviews in Dark Theme (Refined Apple Aesthetic) */
body.site-dark-theme .section-reviews-water {
  background: #000000 !important;
  color: #ffffff !important;
  border-top-color: rgba(255, 255, 255, 0.1) !important;
}

body.site-dark-theme .water-quote-text {
  color: #ffffff !important;
}

body.site-dark-theme .water-quote-author {
  color: rgba(255, 255, 255, 0.55) !important;
}

body.site-dark-theme .avatar-dock-row {
  background: rgba(24, 24, 27, 0.75) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.6) !important;
}

body.site-dark-theme .avatar-dock-card {
  background: #27272a !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

body.site-dark-theme .avatar-dock-card.is-active {
  border-color: #ffffff !important;
  box-shadow: 0 16px 32px -4px rgba(255, 255, 255, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.2) !important;
}

/* FAQ in Dark Theme */
body.site-dark-theme .section-faq-chat {
  background: #000000 !important;
  border-top-color: rgba(255, 255, 255, 0.1) !important;
}

body.site-dark-theme .faq-chat-canvas {
  background: #121214 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}


/* ==========================================================================
   AUTHENTIC DESIGN VECTOR CURSOR (High-Contrast Environment-Adaptive)
   - Black fill with crisp white outline on light backgrounds
   - White fill with deep black outline on dark backgrounds
   - 100% preserves native hand pointer on links/buttons and text cursor on inputs
   ========================================================================== */
:root {
  --cursor-design-light: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNiIgdmlld0JveD0iMCAwIDI0IDI2IiBmaWxsPSJub25lIj4KICA8ZGVmcz4KICAgIDxmaWx0ZXIgaWQ9ImN1cnNvclNoYWRvdyIgeD0iLTMwJSIgeT0iLTMwJSIgd2lkdGg9IjE2MCUiIGhlaWdodD0iMTYwJSI+CiAgICAgIDxmZURyb3BTaGFkb3cgZHg9IjAuNSIgZHk9IjEuNSIgc3RkRGV2aWF0aW9uPSIxLjIiIGZsb29kLWNvbG9yPSIjMDAwMDAwIiBmbG9vZC1vcGFjaXR5PSIwLjMyIi8+CiAgICA8L2ZpbHRlcj4KICA8L2RlZnM+CiAgPHBhdGggZD0iTTMuNSAyLjVDMy4yIDEuNCA0LjQgMC41IDUuNSAxLjBMMTguNiA4LjJDMTkuOSA4LjkgMTkuNiAxMC45IDE4LjIgMTEuMUwxMi4wIDEyLjBMOC44IDE4LjBDOC4xIDE5LjMgNi4xIDE5LjAgNS45IDE3LjZMMy41IDIuNVoiIGZpbGw9IiMwMDAwMDAiIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLXdpZHRoPSIyLjUiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgZmlsdGVyPSJ1cmwoI2N1cnNvclNoYWRvdykiLz4KPC9zdmc+') 3 2, auto;
  --cursor-design-dark: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNiIgdmlld0JveD0iMCAwIDI0IDI2IiBmaWxsPSJub25lIj4KICA8ZGVmcz4KICAgIDxmaWx0ZXIgaWQ9ImN1cnNvckdsb3ciIHg9Ii0zMCUiIHk9Ii0zMCUiIHdpZHRoPSIxNjAlIiBoZWlnaHQ9IjE2MCUiPgogICAgICA8ZmVEcm9wU2hhZG93IGR4PSIwLjUiIGR5PSIxLjUiIHN0ZERldmlhdGlvbj0iMS41IiBmbG9vZC1jb2xvcj0iIzAwMDAwMCIgZmxvb2Qtb3BhY2l0eT0iMC42Ii8+CiAgICA8L2ZpbHRlcj4KICA8L2RlZnM+CiAgPHBhdGggZD0iTTMuNSAyLjVDMy4yIDEuNCA0LjQgMC41IDUuNSAxLjBMMTguNiA4LjJDMTkuOSA4LjkgMTkuNiAxMC45IDE4LjIgMTEuMUwxMi4wIDEyLjBMOC44IDE4LjBDOC4xIDE5LjMgNi4xIDE5LjAgNS45IDE3LjZMMy41IDIuNVoiIGZpbGw9IiNmZmZmZmYiIHN0cm9rZT0iIzAwMDAwMCIgc3Ryb2tlLXdpZHRoPSIyLjUiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgZmlsdGVyPSJ1cmwoI2N1cnNvckdsb3cpIi8+Cjwvc3ZnPg==') 3 2, auto;
}

html, body {
  cursor: var(--cursor-design-light);
}

/* Environment-Adaptive: Dark Sections Automatically Switch to White Design Arrow */
.section-sticky-services,
.site-footer,
.modal-bottom-cta,
body.site-dark-theme,
[data-cursor-theme="dark"] {
  cursor: var(--cursor-design-dark) !important;
}

/* In Dark Theme: White Sections (which are inverted to black) use Dark Cursor */
body.site-dark-theme .section-onlines-manifesto,
body.site-dark-theme .section-scrub,
body.site-dark-theme .section-cases-pixel,
body.site-dark-theme .section-reviews-water,
body.site-dark-theme .section-contact-audit,
body.site-dark-theme .section-faq-chat {
  cursor: var(--cursor-design-dark) !important;
}

body.footer-light-mode .site-footer {
  cursor: var(--cursor-design-light) !important;
}


/* In Dark Theme: Black Sections (inverted to white like sticky services) use Light Cursor */
body.site-dark-theme .section-sticky-services {
  cursor: var(--cursor-design-light) !important;
}

/* PRESERVE NATIVE INTERACTIVE HAND CURSOR (Exact User Requirement) */
a,
button,
[role="button"],
[role="tab"],
input[type="submit"],
input[type="button"],
input[type="reset"],
input[type="checkbox"],
input[type="radio"],
select,
.btn-talk-pill,
.btn-work-together,
.btn-modal-action,
.btn-chat-sarah,
.btn-case-nav,
.pixel-card,
.avatar-dock-card,
.faq-bubble-q,
.dock-btn,
.swatch-mini,
.dock-menu-item,
.modal-close-btn,
.dopamine-word-wrapper,
.footer-ask-pill,
.social-link,
.back-to-top,
.nav-text-link,
.mono-link-pill,
.card-click-hint {
  cursor: pointer !important;
}

/* PRESERVE NATIVE TEXT SELECTION CURSOR ON INPUTS */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
[contenteditable="true"] {
  cursor: text !important;
}

/* PRESERVE RESIZE & DRAG HANDLES */
.home-hero__titulo {
  cursor: grab !important;
}
.home-hero__titulo.is-dragging {
  cursor: grabbing !important;
}
.home-hero__handle--tl, .home-hero__handle--br {
  cursor: nwse-resize !important;
}
.home-hero__handle--tr, .home-hero__handle--bl {
  cursor: nesw-resize !important;
}
.home-hero__handle--tc, .home-hero__handle--bc {
  cursor: ns-resize !important;
}
.home-hero__handle--ml, .home-hero__handle--mr {
  cursor: ew-resize !important;
}
.square-color-box {
  cursor: crosshair !important;
}


/* ==========================================================================
   AUTHENTIC HERO MOCKUP PLACEMENT & PROPORTIONS (Matching Onlines Reference)
   ========================================================================== */
.hero-mockup-img {
  display: block;
  max-width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

/* 1. MacBook on Wooden Stool (Upper-Left - Slanted & Balanced Spacing) */
.home-hero__laptop-stool {
  position: absolute;
  top: calc(var(--hero-title-center) - 170px);
  left: -2%;
  width: 215px;
  z-index: 7;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.16));
  pointer-events: none;
  user-select: none;
  animation: heroBreatheStool 5.4s ease-in-out infinite;
}

/* 2. MacBook Held by Hand (Lower-Left - Slanted & Balanced Spacing) */
.home-hero__laptop-hand {
  position: absolute;
  top: calc(var(--hero-title-center) + 35px);
  left: -1.5%;
  width: 210px;
  z-index: 8;
  filter: drop-shadow(0 22px 45px rgba(0, 0, 0, 0.16));
  pointer-events: none;
  user-select: none;
  animation: heroBreatheHand 6.0s ease-in-out infinite -2.2s;
}

/* 3. Framed Editorial Billboard "BEYOND" (Upper-Right - Slanted & Balanced Spacing) */
.home-hero__diseno {
  position: absolute;
  top: calc(var(--hero-title-center) - 175px) !important;
  right: -0.5% !important;
  width: 215px;
  z-index: 7 !important;
  pointer-events: none;
  user-select: none;
  animation: heroBreatheBillboard 5.6s ease-in-out infinite -1.1s;
}

.hero-billboard-img {
  width: 215px;
  height: auto;
  border-radius: 6px;
  border: 3px solid #ffffff;
  box-shadow: 0 20px 42px -8px rgba(0, 0, 0, 0.22), 0 3px 12px rgba(0, 0, 0, 0.08);
}

/* 4. Real Upright iPhone Mockup with E-Commerce Store (Far-Right - Slanted & Balanced Spacing) */
.home-hero__celular {
  position: absolute;
  top: calc(var(--hero-title-center) + 35px) !important;
  right: 2% !important;
  width: 125px;
  z-index: 8 !important;
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.17)) !important;
  pointer-events: none;
  user-select: none;
  animation: heroBreathePhone 5.8s ease-in-out infinite -3.3s;
}

.home-hero__celular-screen {
  width: 125px;
  height: auto;
}

/* Design Comments (Matching Onlines Reference) */
.home-hero__comentario--1 {
  top: calc(var(--hero-title-center) + 140px);
  right: 27%;
  animation: heroBreatheComment 5.0s ease-in-out infinite -1.5s;
}

.home-hero__comentario--2 {
  top: calc(var(--hero-title-center) - 140px);
  right: 17%;
  animation: heroBreatheComment 5.2s ease-in-out infinite -0.6s;
}

/* ==========================================================================
   SMOOTH FLOATING BREATHING EFFECT (Subtly gliding up and down very smoothly)
   ========================================================================== */
@keyframes heroBreatheStool {
  0%, 100% {
    transform: translateY(0px) rotate(-4deg);
  }
  50% {
    transform: translateY(-8px) rotate(-4deg);
  }
}

@keyframes heroBreatheHand {
  0%, 100% {
    transform: translateY(0px) rotate(2.5deg);
  }
  50% {
    transform: translateY(-7px) rotate(2.5deg);
  }
}

@keyframes heroBreatheBillboard {
  0%, 100% {
    transform: translateY(0px) rotate(-3.5deg);
  }
  50% {
    transform: translateY(-8px) rotate(-3.5deg);
  }
}

@keyframes heroBreathePhone {
  0%, 100% {
    transform: translateY(0px) rotate(4.5deg);
  }
  50% {
    transform: translateY(-7px) rotate(4.5deg);
  }
}

@keyframes heroBreatheComment {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes heroBreatheApp {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}


/* Authentic Design Multiplayer Cursor Styles (Structured per Onlines) */
.home-hero__cursor {
  position: absolute;
  top: var(--hero-title-center);
  left: 50%;
  display: flex;
  align-items: flex-start;
  pointer-events: none;
  z-index: 20;
  will-change: transform;
}

.home-hero__cursor svg {
  width: 14px;
  height: 16px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.home-hero__cursor-label {
  margin-top: 10px;
  margin-left: 2px;
  padding: 2.5px 7px;
  border-radius: 4px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  user-select: none;
}

.home-hero__cursor-label--stacked {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  padding: 3px 7px;
  text-align: left;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .home-hero__laptop-stool { width: 175px; left: 1%; }
  .home-hero__laptop-hand { width: 170px; left: 0%; }
  .home-hero__diseno { width: 180px; right: 2%; }
  .home-hero__celular { width: 110px; right: 1%; }
}

/* Removed rogue hero mobile overrides */


/* ==========================================================================
   AUDIT FIXES: STAT FOOTNOTE, CONTACT LINKS, FOOTER LEGAL, REDUCED MOTION
   ========================================================================== */

/* Footnote caption under ROAS stat */
.stat-footnote-caption {
  display: block;
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.45);
  margin-top: 0.35rem;
  text-transform: uppercase;
}

body.site-dark-theme .stat-footnote-caption {
  color: rgba(255, 255, 255, 0.45);
}

/* Contact Section: Secondary Contact Line */
.trail-secondary-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-family: var(--font-sans, sans-serif);
}

.trail-email-link,
.trail-book-link {
  color: #000000;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.trail-email-link:hover,
.trail-book-link:hover {
  opacity: 0.65;
}

.trail-divider {
  color: rgba(0, 0, 0, 0.3);
  user-select: none;
}

body.site-dark-theme .trail-email-link,
body.site-dark-theme .trail-book-link {
  color: #ffffff;
}

body.site-dark-theme .trail-divider {
  color: rgba(255, 255, 255, 0.3);
}

/* Footer Legal Links */
.footer-legal-links {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
}

.footer-legal-link {
  color: inherit;
  opacity: 0.65;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-legal-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.legal-divider {
  opacity: 0.35;
  user-select: none;
}

/* ==========================================================================
   ACCESSIBILITY: PREFERS-REDUCED-MOTION (Section 10 Audit Rule)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .home-hero__laptop-stool,
  .home-hero__laptop-hand,
  .home-hero__diseno,
  .home-hero__celular,
  .home-hero__comentario {
    animation: none !important;
  }

  .hero-marquee-tp {
    animation: none !important;
  }

  .trail-card {
    display: none !important;
  }
}


/* ==========================================================================
   HOW IT WORKS PROCESS STEPS & ENGAGEMENT MODELS (Section 8 Audit Resolution)
   ========================================================================== */
.contact-process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 820px;
  margin: 2.25rem auto 2.5rem;
  text-align: left;
}

.process-step-item {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 1.25rem 1.15rem;
  transition: all 0.25s ease;
}

.process-step-item:hover {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.process-step-num {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.4);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.4rem;
}

.process-step-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #000000;
}

.process-step-desc {
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.65);
  margin: 0;
}

.trail-engagement-badge {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
  background: rgba(0, 0, 0, 0.04);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

body.site-dark-theme .process-step-item {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

body.site-dark-theme .process-step-title {
  color: #ffffff;
}

body.site-dark-theme .process-step-desc {
  color: rgba(255, 255, 255, 0.65);
}

body.site-dark-theme .process-step-num {
  color: rgba(255, 255, 255, 0.4);
}

body.site-dark-theme .trail-engagement-badge {
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 768px) {
  .contact-process-steps {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0 1rem;
    margin: 1.75rem auto 2rem;
  }
}


/* ==========================================================================
   MASTER MOBILE RESPONSIVE SUITE (Comprehensive 320px - 1024px Coverage)
   ========================================================================== */

/* 1. Global Viewport Overflow Guard */
html, body {
  max-width: 100vw;
  overflow-x: hidden !important;
  overflow-x: clip !important;
  position: relative;
}

/* 2. Tablet & Smaller Laptops (<= 1024px) */
@media (max-width: 1024px) {
  .header-nav-center {
    display: none !important;
  }
  /* Tablet & Mobile Layout: Sticky header transitions smoothly as right services scroll */
  .section-sticky-services {
    padding: 3.5rem 0 6rem 0 !important;
  }
  .sticky-services-layout {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .sticky-left-col {
    position: sticky !important;
    top: 0px !important;
    height: 330px !important;
    background: #000000 !important;
    z-index: 15 !important;
    padding: 0 0 1rem 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  }
  body.site-dark-theme .sticky-left-col {
    background: #ffffff !important;
    border-bottom-color: rgba(0, 0, 0, 0.12) !important;
  }
  .sticky-card-box {
    position: relative !important;
    height: 100% !important;
  }
  .sticky-panel {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
  }
  .pillar-number {
    font-size: 2.2rem !important;
    margin-bottom: 0.15rem !important;
  }
  .pillar-heading {
    font-size: clamp(1.4rem, 5.2vw, 1.95rem) !important;
    margin-bottom: 0.35rem !important;
    line-height: 1.08 !important;
  }
  .pillar-subtext {
    font-size: 0.85rem !important;
    margin-bottom: 0.65rem !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .btn-mono-pill {
    padding: 0.45rem 1.25rem !important;
    font-size: 0.8rem !important;
  }
  .scroll-right-col {
    gap: 4.5rem !important;
  }
  .service-scroll-group {
    gap: 2.25rem !important;
  }
  .sub-service-block {
    padding-bottom: 2rem !important;
  }
  .pixel-cards-grid {
    grid-template-columns: 1fr !important;
  }
}

/* 3. Tablets & Phablets & Mobile (<= 768px) */
@media (max-width: 768px) {
  /* Layout Containers */
  .container,
  .container-fluid,
  .container-narrow {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  /* Header */
  .header-onlines {
    height: 64px !important;
  }
  .header-onlines-inner {
    padding: 0 1.25rem !important;
  }
  .brand-wordmark {
    font-size: 1.25rem !important;
  }
  .btn-talk-pill {
    padding: 0.45rem 1.05rem !important;
    font-size: 0.8rem !important;
  }

  /* Hero Section */
  .home-hero {
    height: 100svh !important;
    min-height: 560px !important;
    max-height: none !important;
  }
  .home-hero__titulo {
    font-size: clamp(3rem, 14vw, 5.5rem) !important;
    line-height: 0.95 !important;
  }
  .home-hero__seleccion {
    padding: 0.2rem !important;
  }
  .home-hero__switch {
    top: -38px !important;
    padding: 2px 7px !important;
  }
  .home-hero__switch-label {
    font-size: 9px !important;
  }
  .home-hero__dimensiones {
    display: none !important;
  }
  /* Remove Qualified pipeline badge completely from mobile */
  .home-hero__comentario,
  .comentario-inline,
  .home-hero__comentario--1,
  .home-hero__comentario--2 {
    display: none !important;
  }

  /* Keep cursors & raw code clean on touchscreens */
  .home-hero__cursores,
  .home-hero__codigo,
  .home-hero__dimensiones {
    display: none !important;
  }

  /* ALL 4 MOCKUPS: 100% Full Original Opacity, Symmetrical 4 Corners (No Missing Laptop) */
  .home-hero__laptop-stool,
  .home-hero__laptop-hand,
  .home-hero__diseno,
  .home-hero__celular {
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
    pointer-events: none !important;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.18)) !important;
    z-index: 8 !important;
  }
  /* Top-Left: Laptop on Stool */
  .home-hero__laptop-stool {
    width: 104px !important;
    left: -8px !important;
    top: 12% !important;
    transform: rotate(-4deg) !important;
  }
  /* Bottom-Left: Laptop Held in Hand */
  .home-hero__laptop-hand {
    width: 100px !important;
    left: -8px !important;
    top: auto !important;
    bottom: 11% !important;
    transform: rotate(2.5deg) !important;
  }
  /* Top-Right: Framed Billboard */
  .home-hero__diseno {
    width: 104px !important;
    right: -8px !important;
    top: 11% !important;
    transform: rotate(-3.5deg) !important;
  }
  /* Bottom-Right: Phone Mockup */
  .home-hero__celular {
    width: 66px !important;
    right: 4px !important;
    top: auto !important;
    bottom: 10% !important;
    transform: rotate(4deg) !important;
  }


  /* Hero Minimal Dock */
  .hero-action-dock {
    bottom: 1rem !important;
    padding: 4px 8px !important;
    gap: 4px !important;
    border-radius: 12px !important;
  }
  .dock-btn {
    min-width: 44px !important;
    padding: 4px 6px !important;
  }
  .dock-btn-label {
    font-size: 9.5px !important;
  }
  .dock-color-swatch-circle {
    width: 17px !important;
    height: 17px !important;
  }
  .dock-popover {
    bottom: calc(100% + 8px) !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(8px) !important;
    min-width: 250px !important;
    max-width: calc(100vw - 2rem) !important;
  }
  .dock-popover.is-open {
    transform: translateX(-50%) translateY(0) !important;
  }
  .square-color-box {
    width: 100% !important;
    max-width: 230px !important;
    height: 110px !important;
  }

  /* Editorial Manifesto */
  .section-onlines-manifesto {
    padding: 4rem 0 2.5rem 0 !important;
  }
  .onlines-lead-heading {
    font-size: clamp(1.4rem, 5.2vw, 2.1rem) !important;
    line-height: 1.3 !important;
    margin-bottom: 1rem !important;
  }
  .onlines-sub-statement {
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }

  /* Curved Ribbon Marquee */
  .marquee-text {
    font-size: 42px !important;
  }

  /* The Reality & Stats */
  .section-scrub {
    padding: 4.5rem 0 !important;
  }
  .section-badge-center {
    margin-bottom: 2rem !important;
  }
  .scrub-text {
    font-size: clamp(1.35rem, 5vw, 2.2rem) !important;
    line-height: 1.36 !important;
  }
  .scrub-stats-grid {
    grid-template-columns: 1fr !important;
    gap: 2.25rem !important;
    margin-top: 3rem !important;
    padding-top: 2.25rem !important;
  }
  .stat-number {
    font-size: 2.5rem !important;
  }
  .stat-label {
    font-size: 0.88rem !important;
  }

  /* Case Studies */
  .section-cases-pixel {
    padding-top: 4rem !important;
    padding-bottom: 3.5rem !important;
  }
  .cases-headline {
    font-size: clamp(1.5rem, 5vw, 2.2rem) !important;
  }
  .cases-header-flex {
    flex-direction: column !important;
    gap: 1.25rem !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
  .cases-nav-row {
    width: 100% !important;
    justify-content: space-between !important;
  }
  .pixel-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .pixel-info-plate {
    max-width: 85% !important;
    padding: 0.55rem 0.85rem !important;
  }
  .plate-title {
    font-size: 1.25rem !important;
  }
  .plate-meta {
    gap: 0.5rem !important;
  }
  .cases-footer-split {
    flex-direction: column !important;
    gap: 2rem !important;
    align-items: stretch !important;
  }
  .cases-marquee-container {
    margin-left: 0 !important;
    width: 100% !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
    padding-top: 1rem !important;
  }

  /* Project Detail Modal Mobile Responsiveness */
  .project-modal-backdrop {
    padding: 0.65rem !important;
  }
  .project-modal-dialog {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 94vh !important;
    border-radius: 12px !important;
  }
  .modal-body-scroll {
    padding: 2.25rem 1.15rem 1.5rem !important;
    max-height: calc(94vh - 10px) !important;
  }
  .modal-close-btn {
    top: 0.65rem !important;
    right: 0.65rem !important;
    width: 38px !important;
    height: 38px !important;
  }
  .modal-project-title {
    font-size: clamp(1.65rem, 6vw, 2.2rem) !important;
  }
  .modal-project-cat {
    font-size: 0.95rem !important;
    margin-bottom: 1.25rem !important;
  }
  .modal-hero-img-wrap {
    aspect-ratio: 16/10 !important;
    margin-bottom: 1.5rem !important;
  }
  .modal-stats-strip {
    grid-template-columns: 1fr !important;
    gap: 1.15rem !important;
    padding: 1.25rem 0 !important;
    margin-bottom: 1.75rem !important;
  }
  .modal-stat-num {
    font-size: 2.2rem !important;
  }
  .modal-narrative-split {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    margin-bottom: 1.75rem !important;
  }
  .modal-bottom-cta {
    flex-direction: column !important;
    gap: 0.85rem !important;
    align-items: stretch !important;
    text-align: center !important;
    padding: 1.25rem !important;
  }
  .btn-modal-action {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Reviews */
  .section-reviews-water {
    padding: 4rem 0 3.5rem 0 !important;
  }
  .reviews-inner-wrap {
    padding: 0 1rem !important;
  }
  .reviews-badge-wrapper {
    margin-bottom: 1.5rem !important;
  }
  .water-quote-stage {
    min-height: 170px !important;
    margin-bottom: 2rem !important;
  }
  .water-quote-text {
    font-size: clamp(1.15rem, 4.2vw, 1.6rem) !important;
    line-height: 1.45 !important;
    margin-bottom: 1rem !important;
  }
  .water-quote-author {
    font-size: 13.5px !important;
  }
  .avatar-dock-row {
    padding: 5px 8px !important;
    max-width: 100% !important;
  }
  .avatar-dock-card {
    width: 38px !important;
    height: 48px !important;
    border-radius: 9px !important;
    margin: 0 -2px !important;
  }
  .avatar-dock-card.is-active {
    transform: translateY(-8px) scale(1.18) rotate(0deg) !important;
  }

  /* FAQ */
  .section-faq-chat {
    padding: 4rem 0 !important;
  }
  .faq-chat-header {
    margin-bottom: 2rem !important;
  }
  .faq-chat-title {
    font-size: clamp(1.75rem, 5.5vw, 2.3rem) !important;
  }
  .faq-chat-subtitle {
    font-size: 0.95rem !important;
  }
  .faq-chat-canvas {
    padding: 1.25rem 0.85rem !important;
    border-radius: 18px !important;
  }
  .faq-bubble-q {
    padding: 11px 15px !important;
    font-size: 0.9rem !important;
    border-radius: 14px !important;
    width: 100% !important;
  }
  .faq-bubble-a {
    padding: 14px 15px !important;
    border-radius: 14px !important;
    gap: 0.65rem !important;
    flex-direction: column !important;
  }
  .faq-agency-badge {
    align-self: flex-end !important;
  }
  .faq-bubble-a .a-text {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
  }
  .faq-chat-item.is-open .faq-bubble-a-wrap {
    max-height: 650px !important;
  }

  /* Partner / Contact */
  /* ==========================================================================
   CONTACT SECTION: FREE LEAK AUDIT (Two-Column Reasoning / Action)
   ========================================================================== */
.section-contact-audit {
  padding: 110px 0;
  background-color: #000000;
  color: #ffffff;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.audit-layout-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(3rem, 5vw, 5.5rem);
  align-items: start;
}

/* LEFT COLUMN: Reasoning (About 5 of 12 columns) */
.audit-left-col {
  display: flex;
  flex-direction: column;
}

.audit-label-badge {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
}

.audit-main-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: 1.2rem;
}

.audit-subtext {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #a1a1aa;
  margin-bottom: 2.75rem;
  max-width: 480px;
}

/* Three Steps: Vertical Numbered List */
.audit-steps-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.audit-step-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

.step-num-badge {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #000000;
  background: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin: 0;
}

.step-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #a1a1aa;
  margin: 0;
  max-width: 420px;
}

/* James Founder Block */
.audit-james-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  margin-bottom: 2rem;
  max-width: 440px;
}

.james-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.james-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.james-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.james-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.james-caption {
  font-size: 0.82rem;
  color: #a1a1aa;
}

.audit-engagement-note {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #71717a;
  letter-spacing: 0.02em;
  line-height: 1.5;
  margin: 0;
}

/* RIGHT COLUMN: Action (About 7 of 12 columns) */
.audit-right-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Single Form Card: 32px internal padding, 16px between fields, max-width ~520px */
.audit-form-card {
  width: 100%;
  max-width: 520px;
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.7);
  box-sizing: border-box;
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.audit-form-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.audit-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.form-field-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e4e4e7;
  font-family: var(--font-sans);
  letter-spacing: 0.01em;
}

.form-label-opt {
  font-size: 0.78rem;
  font-weight: 400;
  color: #71717a;
  font-family: var(--font-mono);
}

.form-input {
  width: 100%;
  height: 50px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0 16px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder {
  color: #52525b;
}

.form-input:focus {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 1px #ffffff;
}

.form-input.is-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 1px #ef4444 !important;
}

.form-field-error {
  display: none;
  font-size: 0.76rem;
  color: #f87171;
  font-family: var(--font-mono);
  margin-top: 2px;
}

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

.form-textarea {
  height: auto;
  min-height: 84px;
  padding: 12px 16px;
  resize: vertical;
  line-height: 1.5;
}

/* Turnstile Row */
.turnstile-row {
  display: flex;
  align-items: center;
  padding: 4px 0 2px 0;
}

.turnstile-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #a1a1aa;
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.turnstile-icon {
  color: #ffffff;
}

.turnstile-check {
  color: #4ade80;
  font-weight: 700;
}

/* Submit Button: Full width, solid accent, high-contrast */
.btn-audit-submit {
  width: 100%;
  height: 52px;
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.12);
  margin-top: 6px;
}

.btn-audit-submit:hover {
  background: #f4f4f5;
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.18);
}

.btn-audit-submit:active {
  transform: translateY(0);
}

.btn-audit-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Actions Meta: Secondary link & reassurance */
.audit-actions-meta {
  width: 100%;
  max-width: 520px;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.audit-call-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.audit-call-link .call-arrow {
  font-size: 1.05rem;
  transition: transform 0.2s ease;
}

.audit-call-link:hover {
  color: #d4d4d8;
}

.audit-call-link:hover .call-arrow {
  transform: translate(2px, -2px);
}

.audit-reassurance-line {
  font-size: 0.85rem;
  color: #71717a;
  margin: 0;
}

/* Success Panel */
.audit-success-panel {
  padding: 32px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.success-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  animation: popSuccess 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popSuccess {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.success-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.success-desc {
  font-size: 1.05rem;
  color: #d4d4d8;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.success-reassurance {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #a1a1aa;
}

/* Responsive: Mobile View strictly ordering elements */
@media (max-width: 768px) {
  .section-contact-audit {
    padding: 64px 0 !important;
  }

  .audit-layout-grid {
    display: flex !important;
    flex-direction: column !important;
  }

  .audit-left-col,
  .audit-right-col {
    display: contents !important;
  }

  .audit-label-badge {
    order: 1 !important;
    margin-bottom: 0.75rem !important;
  }

  .audit-main-heading {
    order: 2 !important;
    font-size: clamp(2rem, 6.5vw, 2.5rem) !important;
    margin-bottom: 0.75rem !important;
  }

  .audit-subtext {
    order: 3 !important;
    font-size: 1.05rem !important;
    margin-bottom: 1.75rem !important;
  }

  .audit-form-card {
    order: 4 !important;
    max-width: 100% !important;
    padding: 24px 20px !important;
    margin-bottom: 0.5rem !important;
  }

  .audit-actions-meta {
    order: 5 !important;
    max-width: 100% !important;
    margin-top: 12px !important;
    margin-bottom: 2.5rem !important;
  }

  .audit-steps-list {
    order: 6 !important;
    margin-bottom: 2rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem !important;
  }

  .audit-james-block {
    order: 7 !important;
    max-width: 100% !important;
    margin-bottom: 1.25rem !important;
  }

  .audit-engagement-note {
    order: 8 !important;
    text-align: left !important;
  }
}

.section-trail-cta {
    padding: 4.5rem 0 5.5rem 0 !important;
  }
  .trail-interactive-area {
    min-height: auto !important;
    padding: 0 1rem !important;
  }
  .trail-heading {
    font-size: clamp(1.85rem, 6.5vw, 2.8rem) !important;
  }
  .contact-process-steps {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
    padding: 0 !important;
    margin: 1.5rem 0 1.75rem 0 !important;
  }
  .process-step-item {
    padding: 1rem !important;
  }
  .trail-engagement-badge {
    font-size: 0.65rem !important;
    padding: 0.35rem 0.65rem !important;
    margin-bottom: 1.25rem !important;
  }
  .btn-chat-sarah {
    width: 100% !important;
    max-width: 310px !important;
    justify-content: center !important;
    padding: 0.75rem 1.35rem !important;
    font-size: 0.95rem !important;
  }
  .trail-secondary-contact {
    flex-direction: column !important;
    gap: 0.35rem !important;
    font-size: 0.85rem !important;
    margin-top: 0.85rem !important;
  }
  .trail-divider {
    display: none !important;
  }
  .trail-fine-print {
    font-size: 0.72rem !important;
    line-height: 1.45 !important;
    margin-top: 1rem !important;
  }

  /* Footer */
  .site-footer {
    padding: 3.5rem 0 2rem 0 !important;
  }
  .footer-top-strip {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1.25rem !important;
    padding-bottom: 2rem !important;
  }
  .footer-humor {
    font-size: 1.2rem !important;
  }
  .footer-socials {
    gap: 1.25rem !important;
    flex-wrap: wrap !important;
  }
  .social-link {
    font-size: 0.72rem !important;
  }
  .footer-interactive-brand {
    padding: 1.75rem 0 !important;
  }
  .dopamine-word-wrapper {
    gap: clamp(4px, 1.2vw, 10px) !important;
    width: 100% !important;
    justify-content: center !important;
  }
  .dopamine-prefix,
  .dopamine-suffix {
    font-size: clamp(2.2rem, 11vw, 5rem) !important;
  }
  .dopamine-toggle-capsule {
    width: clamp(52px, 13vw, 100px) !important;
    height: clamp(32px, 8vw, 60px) !important;
    border-width: 3px !important;
    padding: 3px !important;
  }
  .dopamine-toggle-knob {
    width: clamp(24px, 6vw, 48px) !important;
    height: clamp(24px, 6vw, 48px) !important;
  }
  .dopamine-toggle-capsule.is-on .dopamine-toggle-knob {
    transform: translateX(calc(clamp(52px, 13vw, 100px) - clamp(24px, 6vw, 48px) - 6px)) !important;
  }
  .footer-ask-pill {
    margin-top: 1.25rem !important;
    padding: 0.5rem 1.15rem !important;
    font-size: 0.82rem !important;
  }
  .footer-bottom-bar {
    flex-direction: column !important;
    gap: 0.75rem !important;
    align-items: center !important;
    text-align: center !important;
    padding-top: 1.5rem !important;
  }
  .footer-legal-links {
    gap: 0.65rem !important;
    font-size: 0.72rem !important;
  }
  .copy-text,
  .mono-coords,
  .back-to-top {
    font-size: 0.7rem !important;
  }
}

/* 4. Compact Mobile Phones (<= 400px - iPhone SE, Galaxy S, Fold cover) */
@media (max-width: 400px) {
  .home-hero__titulo {
    font-size: clamp(2.6rem, 13vw, 3.8rem) !important;
  }
  .home-hero__laptop-stool {
    width: 82px !important;
    left: -12px !important;
  }
  .home-hero__laptop-hand {
    width: 78px !important;
    left: -12px !important;
  }
  .home-hero__diseno {
    width: 82px !important;
    right: -12px !important;
  }
  .home-hero__celular {
    width: 52px !important;
    right: 0 !important;
  }
  .avatar-dock-card {
    width: 34px !important;
    height: 44px !important;
    border-radius: 8px !important;
    margin: 0 -3px !important;
  }
  .dopamine-prefix,
  .dopamine-suffix {
    font-size: clamp(1.9rem, 10vw, 3.2rem) !important;
  }
  .dopamine-toggle-capsule {
    width: 48px !important;
    height: 28px !important;
    border-width: 2.5px !important;
    padding: 2px !important;
  }
  .dopamine-toggle-knob {
    width: 20px !important;
    height: 20px !important;
  }
  .dopamine-toggle-capsule.is-on .dopamine-toggle-knob {
    transform: translateX(20px) !important;
  }
  .btn-talk-pill {
    padding: 0.4rem 0.85rem !important;
    font-size: 0.76rem !important;
  }
}

/* ==========================================================================
   ACCESSIBILITY: VISIBLE KEYBOARD FOCUS
   White outline over a black halo, so the ring shows on dark and light surfaces.
   ========================================================================== */
:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #000000;
}

:focus:not(:focus-visible) {
  outline: none;
}


/* 3-Image Showcase Gallery in Project Detail Modal */
.modal-headline-result-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #000000;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-family: var(--font-mono, monospace);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

body.site-dark-theme .modal-headline-result-badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.modal-gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 2.75rem;
}

.modal-gallery-main {
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 440px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #f4f4f5;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.modal-gallery-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.modal-gallery-sub {
  width: 100%;
  aspect-ratio: 16/10;
  max-height: 240px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #f4f4f5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.modal-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.modal-gallery-sub:hover .modal-gallery-img,
.modal-gallery-main:hover .modal-gallery-img {
  transform: scale(1.02);
}

body.site-dark-theme .modal-gallery-main,
body.site-dark-theme .modal-gallery-sub {
  background: #1c1c1f !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.modal-section-box {
  margin-bottom: 2.5rem;
}

.modal-section-title {
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(0, 0, 0, 0.45);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

body.site-dark-theme .modal-section-title {
  color: rgba(255, 255, 255, 0.45) !important;
}

.modal-section-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.85);
}

body.site-dark-theme .modal-section-body {
  color: rgba(255, 255, 255, 0.85) !important;
}

.modal-tasks-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.modal-task-item {
  background: rgba(0, 0, 0, 0.025);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
}

body.site-dark-theme .modal-task-item {
  background: rgba(255, 255, 255, 0.035) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.modal-task-heading {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #000000;
}

body.site-dark-theme .modal-task-heading {
  color: #ffffff !important;
}

.modal-task-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.7);
  margin: 0;
}

body.site-dark-theme .modal-task-desc {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* ==========================================================================
   FINAL THEME PASS � ALTERNATING FAQ / CONTACT / FOOTER
   Light mode uses warm paper + white form; dark mode follows the site theme.
   ========================================================================== */

/* --------------------------------------------------------------------------
   SECTION RHYTHM, REVIEWS > FAQ > CONTACT > NIGHT FOOTER
   Light theme: white / black / white / night.
   Dark theme:  black / charcoal / black / night.
   -------------------------------------------------------------------------- */

/* FAQ: contrast band (black in light theme) */
.section-faq-chat {
  background: #09090b !important;
  color: #ffffff !important;
  border-top-color: transparent !important;
  transition: background-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.5s ease;
}

.section-faq-chat .mono-badge {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

.faq-chat-title {
  color: #ffffff !important;
}

.faq-chat-subtitle {
  color: #a1a1aa !important;
}

.faq-chat-canvas {
  background: #131316 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7) !important;
}

.faq-bubble-q {
  background: #26262b !important;
  color: #f4f4f5 !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

.faq-bubble-q:hover {
  background: #34343a !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

.faq-chat-item.is-open .faq-bubble-q {
  background: #ffffff !important;
  color: #09090b !important;
  border-color: #ffffff !important;
}

.faq-bubble-a {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 18px 44px -28px rgba(0, 0, 0, 0.6) !important;
}

.faq-bubble-a .a-text {
  color: #18181b !important;
}

/* FAQ: dark theme becomes lifted charcoal so it still alternates with the black around it */
body.site-dark-theme .section-faq-chat {
  background: #17171b !important;
  color: #ffffff !important;
  border-top-color: rgba(255, 255, 255, 0.08) !important;
}

body.site-dark-theme .faq-chat-canvas {
  background: #0d0d0f !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.6) !important;
}

body.site-dark-theme .faq-bubble-q {
  background: #232328 !important;
}

body.site-dark-theme .faq-bubble-q:hover {
  background: #33333a !important;
}

body.site-dark-theme .faq-chat-item.is-open .faq-bubble-q {
  background: #ffffff !important;
  color: #09090b !important;
  border-color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   CONTACT � white section in light mode, dark section in site dark mode
   -------------------------------------------------------------------------- */
.section-contact-audit {
  background: #ffffff !important;
  color: #09090b !important;
  border-top-color: rgba(0, 0, 0, 0.08) !important;
  transition: background-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.5s ease;
}

.audit-label-badge {
  background: rgba(0, 0, 0, 0.04) !important;
  color: #09090b !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
}

.audit-main-heading {
  color: #09090b !important;
}

.audit-subtext {
  color: #52525b !important;
}

.step-num-badge {
  background: #09090b !important;
  color: #ffffff !important;
}

.step-title {
  color: #09090b !important;
}

.step-desc {
  color: #52525b !important;
}

.audit-james-block {
  background: #f7f6f2 !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

.james-avatar {
  border-color: rgba(0, 0, 0, 0.15) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
}

.james-name {
  color: #09090b !important;
}

.james-caption {
  color: #52525b !important;
}

.audit-engagement-note {
  color: #71717a !important;
}

.audit-form-card {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.22) !important;
}

.audit-form-card:hover {
  border-color: rgba(0, 0, 0, 0.2) !important;
}

.form-field-label {
  color: #18181b !important;
}

.form-label-opt {
  color: #71717a !important;
}

.form-input {
  background: #fafafa !important;
  border-color: rgba(0, 0, 0, 0.14) !important;
  color: #09090b !important;
}

.form-input::placeholder {
  color: #a1a1aa !important;
}

.form-input:focus {
  border-color: #09090b !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 1px #09090b !important;
}

.form-field-error {
  color: #dc2626 !important;
}

.btn-audit-submit {
  background: #09090b !important;
  color: #ffffff !important;
  border-color: #09090b !important;
  box-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.5) !important;
}

.btn-audit-submit:hover {
  background: #27272a !important;
  color: #ffffff !important;
  box-shadow: 0 16px 32px -14px rgba(0, 0, 0, 0.55) !important;
}

.audit-call-link {
  color: #09090b !important;
}

.audit-call-link:hover {
  color: #52525b !important;
}

.audit-reassurance-line {
  color: #71717a !important;
}

.success-icon-wrap {
  background: #09090b !important;
  border-color: #09090b !important;
}

.success-title {
  color: #09090b !important;
}

.success-desc {
  color: #52525b !important;
}

.success-reassurance {
  color: #71717a !important;
}

.audit-steps-list {
  border-top-color: rgba(0, 0, 0, 0.08) !important;
}

/* CONTACT � dark mode */
body.site-dark-theme .section-contact-audit {
  background: #000000 !important;
  color: #ffffff !important;
  border-top-color: rgba(255, 255, 255, 0.1) !important;
}

body.site-dark-theme .audit-label-badge {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

body.site-dark-theme .audit-main-heading {
  color: #ffffff !important;
}

body.site-dark-theme .audit-subtext {
  color: #a1a1aa !important;
}

body.site-dark-theme .step-num-badge {
  background: #ffffff !important;
  color: #000000 !important;
}

body.site-dark-theme .step-title {
  color: #ffffff !important;
}

body.site-dark-theme .step-desc {
  color: #a1a1aa !important;
}

body.site-dark-theme .audit-james-block {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

body.site-dark-theme .james-avatar {
  border-color: rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

body.site-dark-theme .james-name {
  color: #ffffff !important;
}

body.site-dark-theme .james-caption {
  color: #a1a1aa !important;
}

body.site-dark-theme .audit-engagement-note {
  color: #71717a !important;
}

body.site-dark-theme .audit-form-card {
  background: #141416 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.7) !important;
}

body.site-dark-theme .audit-form-card:hover {
  border-color: rgba(255, 255, 255, 0.18) !important;
}

body.site-dark-theme .form-field-label {
  color: #e4e4e7 !important;
}

body.site-dark-theme .form-label-opt {
  color: #71717a !important;
}

body.site-dark-theme .form-input {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

body.site-dark-theme .form-input::placeholder {
  color: #52525b !important;
}

body.site-dark-theme .form-input:focus {
  border-color: #ffffff !important;
  background: rgba(255, 255, 255, 0.07) !important;
  box-shadow: 0 0 0 1px #ffffff !important;
}

body.site-dark-theme .form-field-error {
  color: #f87171 !important;
}

body.site-dark-theme .btn-audit-submit {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.12) !important;
}

body.site-dark-theme .btn-audit-submit:hover {
  background: #f4f4f5 !important;
  color: #000000 !important;
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.18) !important;
}

body.site-dark-theme .audit-call-link {
  color: #ffffff !important;
}

body.site-dark-theme .audit-call-link:hover {
  color: #d4d4d8 !important;
}

body.site-dark-theme .audit-reassurance-line {
  color: #71717a !important;
}

body.site-dark-theme .success-icon-wrap {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

body.site-dark-theme .success-title {
  color: #ffffff !important;
}

body.site-dark-theme .success-desc {
  color: #d4d4d8 !important;
}

body.site-dark-theme .success-reassurance {
  color: #a1a1aa !important;
}

body.site-dark-theme .audit-steps-list {
  border-top-color: rgba(255, 255, 255, 0.08) !important;
}

/* --------------------------------------------------------------------------
   DAY-TO-NIGHT TRANSITION INTO THE BLACK FOOTER
   -------------------------------------------------------------------------- */
.footer-dusk {
  position: relative;
  width: 100%;
  height: clamp(230px, 32vw, 420px);
  margin-top: -1px;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f6f4ee 30%,
      #e6e3da 60%,
      #cfccc2 100%
    );
  transition: background 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

body.site-dark-theme .footer-dusk {
  background:
    linear-gradient(
      180deg,
      #000000 0%,
      #0b0b12 52%,
      #000000 100%
    );
}

body.footer-light-mode .footer-dusk {
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f4f2ec 45%,
      #ffffff 100%
    );
}

.footer-dusk__sky {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at 50% 58%, rgba(255, 255, 255, 0.16), transparent 56%);
}

.footer-dusk__sun {
  position: absolute;
  left: 50%;
  top: 20%;
  z-index: 2;
  width: clamp(66px, 9vw, 132px);
  height: clamp(66px, 9vw, 132px);
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #f3f1ea 48%, #c9c5ba 100%);
  box-shadow:
    0 0 60px 20px rgba(255, 255, 255, 0.5),
    0 0 150px 65px rgba(255, 255, 255, 0.14);
  will-change: transform, opacity;
}

body.site-dark-theme .footer-dusk__sun {
  width: clamp(46px, 6.5vw, 86px);
  height: clamp(46px, 6.5vw, 86px);
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #e7e7e7 48%, #8f8f8f 100%);
  box-shadow:
    0 0 46px 12px rgba(255, 255, 255, 0.28),
    0 0 120px 42px rgba(255, 255, 255, 0.07);
}

body.footer-light-mode .footer-dusk__sun {
  opacity: 0.45;
}

.footer-dusk__horizon {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 58%;
  z-index: 3;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  opacity: 0.55;
}

/* Night veil: a tall gradient that is clear at the top (matches the white section above)
   and solid black at the bottom (matches the footer). JS slides it up as you scroll,
   so night rises from the horizon instead of the strip being a fixed gradient. */
.footer-dusk__veil {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 220%;
  z-index: 4;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 14%,
    rgba(0, 0, 0, 0.55) 26%,
    #000000 44%,
    #000000 100%
  );
  will-change: transform;
}

body.footer-light-mode .footer-dusk__veil {
  display: none;
}

.footer-dusk__stars {
  position: absolute;
  inset: 0;
  z-index: 5;
  opacity: 0;
  will-change: opacity;
}

.dusk-star {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
  animation: duskTwinkle var(--tw, 3s) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
}

@keyframes duskTwinkle {
  from { opacity: 0.2; transform: scale(0.8); }
  to   { opacity: 1;   transform: scale(1.2); }
}

body.footer-light-mode .footer-dusk__stars {
  opacity: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  .dusk-star {
    animation: none;
    opacity: 0.85;
  }
}


/* --------------------------------------------------------------------------
   LIGHTS SWITCH: light sections fade to their dark twin together when a dark
   section arrives, and back when a light one does. Driven by initLightSwitch().
   -------------------------------------------------------------------------- */
.tone-sw,
.tone-sw-chrome {
  transition-property: filter;
  transition-duration: 0.75s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* A transparent section needs a real backdrop so there is something to invert */
.tone-sw.tone-sw--needs-base {
  background-color: var(--tone-sw-base, #ffffff);
}

.tone-sw.is-lights-off,
.tone-sw-chrome.is-lights-off {
  filter: invert(1) hue-rotate(180deg);
}

/* Photos and video keep their real colours while their section is flipped */
.tone-sw :is(img, video, canvas, iframe) {
  transition: filter 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.tone-sw.is-lights-off :is(img, video, canvas, iframe) {
  filter: invert(1) hue-rotate(180deg);
}

/* Reviews avatars already carry their own grayscale filters, so keep those and add the flip */
.tone-sw.is-lights-off .avatar-dock-card img {
  filter: grayscale(100%) contrast(1.1) invert(1) hue-rotate(180deg);
}

.tone-sw.is-lights-off .avatar-dock-card:hover img {
  filter: grayscale(25%) invert(1) hue-rotate(180deg);
}

.tone-sw.is-lights-off .avatar-dock-card.is-active img {
  filter: grayscale(0%) contrast(1.05) invert(1) hue-rotate(180deg);
}

/* First paint: set the right state instantly, no fade */
.tone-sw-init .tone-sw,
.tone-sw-init .tone-sw *,
.tone-sw-init .tone-sw-chrome {
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .tone-sw,
  .tone-sw-chrome,
  .tone-sw :is(img, video, canvas, iframe) {
    transition-duration: 0.01s;
  }
}

/* Audit form: spam honeypot, send error, and secondary contact */
.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.audit-form-error {
  display: none;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.5;
  color: #b91c1c;
}

.audit-form-error.is-visible {
  display: block;
}

.audit-form-error a {
  color: #991b1b;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.audit-email-link {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #52525b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.audit-email-link:hover {
  color: #09090b;
}

body.site-dark-theme .audit-form-error {
  color: #f87171;
}

body.site-dark-theme .audit-form-error a {
  color: #fca5a5;
}

body.site-dark-theme .audit-email-link {
  color: #a1a1aa;
}

body.site-dark-theme .audit-email-link:hover {
  color: #ffffff;
}
