:root {
  --cyan: #00AEEF;
  --cyan-light: #33C3F7;
  --cyan-dark: #0088BB;
  --dark: #1a1a1a;
  --darker: #111111;
  --darkest: #0a0a0a;
  --section-hero: #090d12;
  --section-a: #0b0d10;
  --section-b: #101317;
  --section-c: #0d1014;
  --section-d: #12151a;
  --mid: #2a2a2a;
  --gray: #888;
  --light-gray: #ccc;
  --white: #f5f5f5;
  
  /* Spacing */
  --spacing-sm: 30px;
  --spacing-md: 60px;
  --spacing-lg: 120px;
  --spacing-xs: 16px;
  
  /* Z-index */
  --z-fixed: 100;
  --z-cursor: 9999;
  --z-cursor-ring: 9998;
  --z-overlay: 10;
  --z-high: 3;
  --z-mid: 2;
  --z-low: 1;
  --z-bg: 0;
  
  /* Transitions */
  --transition-fast: 0.3s;
  --transition-std: 0.4s;
  --transition-slow: 0.5s;
  --timing-ease: ease;
  --timing-easeIn: cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Borders */
  --border-light: 1px solid rgba(255,255,255,0.04);
  --border-lighter: 1px solid rgba(255,255,255,0.06);
  --border-cyan-subtle: 1px solid rgba(0,174,239,0.12);
  --border-cyan-light: 1px solid rgba(0,174,239,0.25);
  --border-accent: 3px solid var(--cyan);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--darkest);
  color: var(--white);
  overflow-x: hidden;
  cursor: auto;
}

/* ── UTILITY CLASSES ──────────────────────────────── */
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-col { display: flex; flex-direction: column; }
.flex-col-center { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gap-xs { gap: var(--spacing-xs); }
.gap-sm { gap: 12px; }
.gap-md { gap: 24px; }
.text-accent { color: var(--cyan); }
.uppercase { text-transform: uppercase; }
.font-condensed { font-family: 'Barlow Condensed', sans-serif; }
.border-light { border: var(--border-light); }
.border-lighter { border: var(--border-lighter); }
.border-cyan { border: var(--border-cyan-light); }
.transition-std { transition: all var(--transition-fast); }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { inset: 0; }

/* ── CUSTOM CURSOR ────────────────────────────────── */
.cursor {
  width: 12px; height: 12px;
  background: var(--cyan);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: var(--z-cursor);
  transition: transform var(--transition-fast) ease;
  transform: translate(-50%, -50%);
}
body.is-selecting-text .cursor {
  background: transparent !important;
  opacity: 0 !important;
}
body.is-hovering-interactive .cursor {
  background: transparent !important;
  opacity: 0 !important;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(0,174,239,0.4);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: var(--z-cursor-ring);
  transition: transform 0.15s ease, border-color var(--transition-fast) ease;
  transform: translate(-50%, -50%);
}
a:hover ~ .cursor, button:hover ~ .cursor { transform: translate(-50%, -50%) scale(2); }

@media (max-width: 1024px), (hover: none), (pointer: coarse) {
  .cursor,
  .cursor-ring {
    display: none !important;
  }
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: var(--z-fixed);
  padding: 20px var(--spacing-md);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(to bottom, rgba(10,10,10,0.95), transparent);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-fast);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.nav-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px; 
  font-weight: 700; 
  letter-spacing: -0.5px;
  text-decoration: none;
  display: flex;
  align-items: center;
  height: 40px;
  position: absolute;
  left: var(--spacing-md);
}

.nav-logo svg {
  height: 80px;
  width: auto;
  fill: var(--white);
  transition: fill var(--transition-fast);
}

.nav-logo:hover svg {
  fill: var(--cyan);
}
.nav-links { 
  display: flex; 
  gap: 40px; 
  list-style: none; 
  position: relative;
}

.nav-cta.desktop-cta {
  position: absolute;
  right: var(--spacing-md);
}

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

.nav-links a {
  font-size: 13px; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gray);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.nav-links a:hover { color: var(--cyan); }

/* ── BUTTONS ──────────────────────────────────────── */
.btn-primary,
.nav-cta,
.svc-cta {
  background: var(--cyan); color: var(--darkest);
  padding: 12px 28px; font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background var(--transition-fast);
  display: inline-block; position: relative; overflow: hidden;
}

.btn-primary {
  padding: 16px 36px;
}

.btn-primary::after,
.nav-cta::after,
.svc-cta::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%) skewX(-15deg);
  transition: transform 0.4s ease;
}

.btn-primary:hover::after,
.nav-cta:hover::after,
.svc-cta:hover::after { transform: translateX(120%) skewX(-15deg); }

.btn-primary:hover,
.nav-cta:hover,
.svc-cta:hover { background: var(--cyan-light); }

.svc-cta-arrow { transition: transform var(--transition-fast); }
.svc-cta:hover .svc-cta-arrow { transform: translateX(4px); }

.btn-ghost {
  color: var(--white); font-size: 13px; font-weight: 500;
  letter-spacing: 1px; text-decoration: none;
  display: flex; align-items: center; gap: 8px;
  transition: gap var(--transition-fast), color var(--transition-fast);
}
.btn-ghost:hover { color: var(--cyan); gap: 14px; }
.btn-ghost .arrow { font-size: 18px; }

/* HERO DYNAMIC */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 120px var(--spacing-md) 80px;
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #0a1118 0%, var(--section-hero) 100%);
  box-shadow: inset 0 -1px rgba(255,255,255,0.05);
}

/* Mobile word rotator adjustment */
.word-rotator {
  display: inline-block;
  position: relative;
  vertical-align: bottom;
  min-width: 200px;
}

#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: var(--z-bg);
  display: block;
}

.hero-scanlines {
  position: absolute; inset: 0; z-index: var(--z-low); pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.07) 3px,
    rgba(0,0,0,0.07) 4px
  );
}

.hero-bg-word {
  position: absolute;
  right: -40px; top: 50%;
  transform: translateY(-50%);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(160px, 20vw, 280px);
  font-weight: 700; letter-spacing: -6px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0,174,239,0.07);
  pointer-events: none; z-index: var(--z-low);
  user-select: none;
  animation: bgWordPulse 6s ease-in-out infinite;
}

.hero-inner {
  position: relative; z-index: var(--z-mid);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* Top bar: status badge */
.hero-status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px;
  border: 1px solid rgba(0,174,239,0.25);
  background: rgba(0,174,239,0.05);
  margin-bottom: 36px;
  animation: fadeUp 0.6s ease 0.1s both;
}
.hero-status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}
.hero-status-text {
  font-size: 11px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--cyan);
}

/* Huge headline */
.hero-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; line-height: 0.88;
  letter-spacing: -3px;
  margin-bottom: 0;
}
.hero-line {
  overflow: hidden;
}
.hero-line-nowrap {
  overflow: visible;
}
.hero-line-nowrap .hero-line-inner {
  white-space: nowrap;
  display: inline-block;
  padding-right: 0.08em;
}
.hero-line-inner {
  display: block;
  animation: slideUp 0.9s var(--timing-easeIn) both;
}
.hero-line:nth-child(1) .hero-line-inner { animation-delay: 0.15s; font-size: clamp(70px, 9.5vw, 130px); color: var(--white); }
.hero-line:nth-child(2) .hero-line-inner {
  animation-delay: 0.3s;
  font-size: clamp(70px, 9.5vw, 130px);
  color: transparent;
  -webkit-text-stroke: 2px var(--cyan);
}
.hero-line:nth-child(3) .hero-line-inner { animation-delay: 0.45s; font-size: clamp(70px, 9.5vw, 130px); color: var(--cyan); }
.hero-web-highlight {
  color: transparent;
  background: linear-gradient(to bottom, #00aeef, #005a87);
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  display: inline-block;
}
.hero-brand-lock::after {
  content: '|';
  animation: blink 1s infinite;
  color: var(--cyan);
}
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
.hero-brand-lock.typed::after {
  display: none;
}

/* Rotating word slot */
.word-rotator {
  display: inline-block;
  position: relative;
  vertical-align: bottom;
  min-width: 320px;
}
.word-slide {
  display: block;
  animation: wordIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.word-slide.out {
  animation: wordOut 0.4s ease both;
}

/* Bottom row */
.hero-bottom {
  display: flex; align-items: center;
  flex-direction: column;
  justify-content: center;
  margin-top: 60px;
  gap: 28px;
  animation: fadeUp 0.8s ease 0.9s both;
}
.hero-desc {
  font-size: 16px; font-weight: 300; color: var(--gray);
  line-height: 1.75; max-width: 620px;
}
.hero-actions {
  display: flex; align-items: center; gap: 16px;
  flex-shrink: 0; justify-content: center;
}

/* SaaS cards */
.metric-card {
  background: rgba(15,15,15,0.85);
  border: var(--border-cyan-subtle);
  padding: 18px 24px;
  border-left: var(--border-accent);
  backdrop-filter: blur(8px);
  min-width: 160px;
  position: relative; overflow: hidden;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.metric-card:hover {
  background: rgba(0,174,239,0.09);
  border-color: var(--cyan);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.3), 0 0 0 1px rgba(0,174,239,0.25) inset;
}
.metric-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  opacity: 0.5;
}
.metric-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px; font-weight: 900;
  color: var(--cyan); line-height: 1;
}
.metric-label {
  font-size: 10px; color: var(--gray);
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-top: 4px;
}

.metric-desc {
  font-size: 14px; color: rgba(255,255,255,0.75);
  margin-top: 8px; line-height: 1.55; font-weight: 300;
}
.metric-link {
  display: inline-block; margin-top: 10px; color: var(--cyan);
  font-weight: 700; text-decoration: none; letter-spacing: 1px;
}
.metric-card { padding-bottom: 16px; }

.metric-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
  margin: 12px 0;
  border: 1px solid rgba(0,174,239,0.2);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.metric-card:hover .metric-image {
  transform: scale(1.02);
  border-color: var(--cyan);
}

.metrics-subtitle { font-size: 12px; color: rgba(255,255,255,0.55); }

.saas-section {
  padding: 95px var(--spacing-md) 90px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 20%, rgba(0,174,239,0.14), transparent 36%),
    radial-gradient(circle at 88% 70%, rgba(0,174,239,0.1), transparent 34%),
    linear-gradient(180deg, rgba(8,13,20,0.99) 0%, rgba(10,17,24,0.96) 100%);
}
.saas-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 20%, transparent 75%);
  pointer-events: none;
}
#localizacao {
  background: none;
}
#localizacao::before {
  display: none;
}
.saas-header {
  position: relative;
  z-index: 1;
  max-width: none;
  width: 100%;
  margin: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 80px;
}
.section-kicker,
.saas-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 auto 14px;
  padding: 8px 14px;
  border: 1px solid rgba(0,174,239,0.35);
  background: rgba(0,174,239,0.08);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
}
.section-kicker-dot,
.saas-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(0,174,239,0.8);
}
.saas-section > .section-kicker,
.services > .section-kicker,
.portfolio > .section-kicker,
.about > .section-kicker,
.clients-section > .section-kicker {
  margin-bottom: 24px;
}
.about > .section-kicker {
  margin-top: 60px;
}
.cta-section > .section-kicker {
  grid-column: 1 / -1;
  justify-self: center;
}
.saas-header .section-title {
  margin: 10px 0 12px;
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  font-family: 'Barlow Condensed', sans-serif;
}

.saas-header .section-title i {
  color: var(--cyan);
  font-size: 0.9em;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.saas-header .section-title em { 
  font-style: normal; 
  color: var(--cyan); 
}
.saas-main-cta {
  margin-top: 22px;
}
.saas-grid {
  position: relative;
  z-index: 1;
  max-width: none;
  width: 100%;
  margin: 0 auto;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.saas-footer {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  text-align: center;
}

/* Portfolio grid responsive */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.portfolio-item {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--mid);
  transition: opacity var(--transition-std) ease, transform var(--transition-std) ease;
}

.portfolio-item.large {
  grid-column: span 2;
  aspect-ratio: 4/3;
}

.portfolio-item.hidden {
  display: none;
}

.portfolio-item.entering {
  animation: pfadeIn 0.4s ease both;
}

.portfolio-item-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-item:hover .portfolio-thumb { transform: scale(1.06); }

.portfolio-thumb {
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
  border-radius: 12px;
  position: relative; overflow: hidden;
  transition: transform var(--transition-fast);
}

.portfolio-thumb-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}

.portfolio-thumb-icon {
  font-size: 48px; opacity: 0.15;
  position: relative; z-index: 1;
}

.portfolio-thumb-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 30px 24px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight: 700; letter-spacing: -0.3px;
  z-index: var(--z-mid);
}

.portfolio-overlay {
  position: absolute; inset: 0;
  background: rgba(0,174,239,0.9);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.4s ease;
  z-index: var(--z-overlay);
  padding: 20px;
  text-align: center;
}

.portfolio-overlay-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(0,0,0,0.6);
  margin-bottom: 8px;
}

.portfolio-overlay-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; font-weight: 900; color: var(--darkest);
  line-height: 1.1; margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.portfolio-overlay-desc {
  font-size: 12px; color: rgba(0,0,0,0.7); line-height: 1.5;
  max-width: 240px;
}

.portfolio-overlay-btn {
  margin-top: 16px;
  padding: 8px 18px;
  display: inline-block;
  background: var(--darkest); color: var(--cyan);
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; border: none; cursor: pointer;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: background var(--transition-fast);
}

.portfolio-overlay-btn:hover { background: var(--mid); }

/* Mini portfolio slider (esquerda das métricas) */
.hero-portfolio {
  position: absolute;
  left: 50%;
  right: auto;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: calc(var(--z-mid) + 1);
  width: 340px;
  height: 420px;
  pointer-events: auto;
}
.hero-portfolio-slider {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  filter: drop-shadow(0 10px 30px rgba(0,174,239,0.06));
}
.hps-slide{
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 900ms var(--timing-ease), transform 900ms var(--timing-ease);
  clip-path: polygon(12% 6%, 88% 2%, 100% 28%, 78% 88%, 28% 100%, 2% 62%);
  border-radius: 22px;
  transform: scale(1.04);
}
.hps-slide.active{ opacity: 1; transform: scale(1); }
.hps-glow {
  position: absolute; inset: 0; border-radius: 22px;
  background: linear-gradient(180deg, rgba(0,174,239,0.06), rgba(0,174,239,0.02));
  mix-blend-mode: screen; pointer-events: none;
  clip-path: polygon(12% 6%, 88% 2%, 100% 28%, 78% 88%, 28% 100%, 2% 62%);
}
@media (max-width: 1000px) { .hero-portfolio{ display: none; } }

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-mid); display: flex; align-items: center; gap: 12px;
  animation: heroScrollFooterFadeUp 1s ease 1.2s both;
}
.scroll-line {
  width: 40px; height: 1px; background: rgba(255,255,255,0.15);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 1px; background: var(--cyan);
  animation: scanLine 2s ease-in-out infinite;
}
.scroll-text {
  font-size: 10px; font-weight: 600; letter-spacing: 3px;
  color: rgba(255,255,255,0.3); text-transform: uppercase;
}

@keyframes bgWordPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes slideUp {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes wordIn {
  from { transform: translateY(80%) skewY(4deg); opacity: 0; }
  to { transform: translateY(0) skewY(0); opacity: 1; }
}
@keyframes wordOut {
  from { transform: translateY(0) skewY(0); opacity: 1; }
  to { transform: translateY(-80%) skewY(-4deg); opacity: 0; }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,174,239,0.6); }
  50% { box-shadow: 0 0 0 6px rgba(0,174,239,0); }
}
@keyframes scanLine {
  0% { left: -100%; }
  100% { left: 100%; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroScrollFooterFadeUp {
  from { opacity: 0; transform: translate(-50%, 30px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes pfadeIn {
  from { opacity: 0; transform: scale(0.94) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
/* MARQUEE */
.marquee-wrap {
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 18px 0; overflow: hidden;
  background: linear-gradient(180deg, rgba(13,16,20,0.98) 0%, rgba(16,19,23,0.98) 100%);
}
.marquee-track {
  display: flex; gap: 60px;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gray);
  display: flex; align-items: center; gap: 16px;
  flex-shrink: 0;
}
.marquee-item .dot { width: 4px; height: 4px; background: var(--cyan); border-radius: 50%; }

/* ── SECTIONS COMMON ───────────────────────────────── */
.section-header {
  display: flex; align-items: flex-end;
  justify-content: space-between; margin-bottom: 80px;
}
.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 4px;
  text-transform: uppercase; color: var(--cyan);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.section-label::before { content: ''; width: 30px; height: 1px; background: var(--cyan); }
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 700; line-height: 0.95;
  letter-spacing: 0px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.section-title i,
.svc-title i {
  color: var(--cyan);
  font-size: 0.9em;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.section-title em { font-style: normal; color: var(--cyan); }
.section-count {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 120px; font-weight: 700;
  color: rgba(255,255,255,0.03); line-height: 1;
  margin-bottom: -20px;
}

/* SERVICES — ACCORDION HORIZONTAL PANELS */
.services {
  padding: var(--spacing-lg) 0;
  position: relative;
  overflow: hidden;
  background: var(--section-b);
  box-shadow: inset 0 1px rgba(255,255,255,0.04), inset 0 -1px rgba(255,255,255,0.04);
}
.services-header {
  padding: 0 var(--spacing-md);
  display: flex; align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px;
}
.services-tagline {
  font-size: 16px; font-weight: 300; color: var(--gray);
  max-width: 340px; line-height: 1.6; text-align: right;
}

/* Accordion strip */
.services-accordion {
  display: flex;
  height: 650px;
  gap: 2px;
}
.svc-panel {
  flex: 0 0 88px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.7s var(--timing-easeIn);
  background: var(--dark);
}
.svc-panel.active {
  flex: 1 1 auto;
}

.svc-panel::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--cyan);
  opacity: 0.3;
  transition: opacity var(--transition-std), width var(--transition-std);
  z-index: var(--z-low);
}
.svc-panel.active::before {
  opacity: 1;
  width: 3px;
}

/* Background number — giant */
.svc-bg-num {
  position: absolute;
  right: -20px; bottom: -40px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 240px; font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0,174,239,0.06);
  pointer-events: none;
  user-select: none;
  transition: opacity var(--transition-std), transform var(--transition-std);
  opacity: 0;
  transform: translateX(30px);
}
.svc-panel.active .svc-bg-num {
  opacity: 1;
  transform: translateX(0);
}

/* Vertical label shown when collapsed */
.svc-collapsed-label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  white-space: nowrap;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 30px; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--gray);
  transition: opacity var(--transition-fast), color var(--transition-fast);
  z-index: var(--z-high);
  pointer-events: none;
}
.svc-panel.active .svc-collapsed-label { opacity: 0; }
.svc-panel:not(.active):hover .svc-collapsed-label { color: var(--cyan); }

/* Expanded content */
.svc-content {
  position: absolute; inset: 0;
  padding: 48px 48px 48px 68px;
  display: flex; flex-direction: row;
  align-items: stretch; gap: 48px;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity var(--transition-std) 0.2s, transform var(--transition-std) 0.2s;
  pointer-events: none;
  z-index: var(--z-high);
  background-color: #09092c75;
}
.svc-panel.active .svc-content {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.svc-left {
  flex: 0 0 360px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
.svc-right {
  flex: 1 1 auto;
  min-width: 0;
  display: flex; flex-direction: column;
  position: relative;
}

.svc-top { display: flex; align-items: flex-start; justify-content: space-between; }

.svc-icon {
  width: 72px; height: 72px;
  border: var(--border-cyan-light);
  background: rgba(0,174,239,0.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  position: relative;
  flex-shrink: 0;
}
.svc-icon::after {
  content: '';
  position: absolute; top: -4px; right: -4px;
  width: 12px; height: 12px;
  background: var(--cyan);
}

.svc-num-badge {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 3px;
  color: var(--cyan); opacity: 0.6;
}

.svc-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(32px, 3.5vw, 50px);
  font-weight: 700; letter-spacing: -1px;
  line-height: 0.95;
  margin-bottom: 16px;
  color: var(--white);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.svc-desc {
  font-size: 14px; font-weight: 300;
  color: var(--gray); line-height: 1.7;
  margin-bottom: 24px;
}

.svc-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.svc-tag {
  padding: 5px 14px;
  border: var(--border-cyan-light);
  font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--cyan);
}

/* ── IMAGE SLIDER inside each panel ── */
.svc-slider {
  flex: 1 1 auto;
  position: relative;
  overflow: hidden;
  border: var(--border-cyan-subtle);
}
.svc-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.55s var(--timing-easeIn);
}
.svc-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  display: flex; align-items: flex-end;
}
.svc-slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform var(--transition-std) ease;
}
.svc-slide:hover .svc-slide-bg { transform: scale(1.04); }
.svc-slide-caption {
  position: relative; z-index: 2;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  width: 100%;
  font-size: 12px; font-weight: 600; letter-spacing: 1px;
  color: rgba(255,255,255,0.75);
}

/* Slider controls */
.svc-slider-controls {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0 0;
  flex-shrink: 0;
}
.svc-slider-dots {
  display: flex; gap: 6px;
}
.svc-sdot {
  width: 20px; height: 2px;
  background: rgba(255,255,255,0.15);
  cursor: pointer;
  transition: background var(--transition-fast), width var(--transition-fast);
  border: none; padding: 0;
}
.svc-sdot.active { background: var(--cyan); width: 36px; }
.svc-slider-arrows {
  display: flex; gap: 6px;
}
.svc-sarrow {
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent; color: var(--gray);
  font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}
.svc-sarrow:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0,174,239,0.08); }

/* Bottom progress dots */
.services-nav {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 28px var(--spacing-md) 0;
}
.svc-dot {
  width: 28px; height: 3px;
  background: rgba(255,255,255,0.12);
  cursor: pointer;
  transition: background var(--transition-fast), width var(--transition-fast);
}
.svc-dot.active { background: var(--cyan); width: 52px; }

@media (max-width: 1024px) {
  .services-accordion { height: auto; flex-direction: column; }
  .svc-panel { flex: none !important; height: 80px; }
  .svc-panel.active { height: auto; min-height: 520px; }
  .svc-collapsed-label { transform: translate(-50%, -50%); writing-mode: horizontal-tb; letter-spacing: 2px; font-size: 20px; }
  .svc-content { position: relative; opacity: 1; transform: none; pointer-events: auto; padding: 28px 28px 36px; display: none; flex-direction: column; gap: 24px; }
  .svc-panel.active .svc-content { display: flex; }
  .svc-left { flex: none; }
  .svc-right { height: 220px; }
  .svc-bg-num { font-size: 120px; }
  .services-header { padding: 0 var(--spacing-sm); flex-direction: column; align-items: flex-start; gap: 16px; }
  .services-tagline { text-align: left; max-width: 100%; }
  .services-nav { padding: 20px var(--spacing-sm) 0; }
  
  /* Service cards mobile */
  .svc-title {
    font-size: clamp(24px, 5vw, 32px);
  }
  
  .svc-desc {
    font-size: 13px;
  }
  
  .svc-tags {
    gap: 6px;
  }
  
  .svc-tag {
    font-size: 10px;
    padding: 4px 10px;
  }
  
  .svc-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  
  .svc-num-badge {
    font-size: 11px;
  }
}

/* PORTFOLIO */
.portfolio {
  padding: var(--spacing-lg) var(--spacing-md);
  background: var(--section-d);
  position: relative; overflow: hidden;
  box-shadow: inset 0 1px rgba(255,255,255,0.04), inset 0 -1px rgba(255,255,255,0.04);
}
.portfolio::before {
  content: '';
  position: absolute; bottom: -150px; right: -150px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,174,239,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.portfolio-filters {
  display: flex; gap: 8px; margin: 48px 0;
  flex-wrap: wrap;
}
.portfolio-actions {
  margin: 40px 0 0;
}
.filter-btn {
  padding: 10px 22px;
  font-size: 12px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent; color: var(--gray);
  cursor: pointer; transition: all var(--transition-fast);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--cyan); color: var(--darkest);
  border-color: var(--cyan);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.portfolio-item {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--mid);
  transition: opacity var(--transition-std) ease, transform var(--transition-std) ease;
}
.portfolio-item.large {
  grid-column: span 2;
  aspect-ratio: 4/3;
}
.portfolio-item.hidden {
  display: none;
}
.portfolio-item.entering {
  animation: pfadeIn 0.4s ease both;
}
.portfolio-feed-status {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 16px 0;
  color: var(--muted);
  font-size: .95rem;
  letter-spacing: .04em;
}
.portfolio-feed-sentinel {
  width: 100%;
  height: 1px;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-item:hover .portfolio-thumb { transform: scale(1.06); }
.portfolio-thumb {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--transition-slow) ease;
  position: relative;
}
.portfolio-thumb-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.portfolio-thumb-icon {
  font-size: 48px; opacity: 0.15;
  position: relative; z-index: 1;
}
.portfolio-thumb-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 30px 24px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px; font-weight: 700; letter-spacing: -0.3px;
  z-index: var(--z-mid);
}
.portfolio-overlay {
  position: absolute; inset: 0;
  background: rgba(0,174,239,0.9);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.4s ease;
  z-index: var(--z-overlay);
  padding: 30px;
  text-align: center;
}
.portfolio-overlay-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(0,0,0,0.6);
  margin-bottom: 10px;
}
.portfolio-overlay-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px; font-weight: 900; color: var(--darkest);
  line-height: 1.1; margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.portfolio-overlay-desc {
  font-size: 13px; color: rgba(0,0,0,0.7); line-height: 1.5;
  max-width: 280px;
}
.portfolio-overlay-btn {
  margin-top: 20px;
  padding: 10px 22px;
  display: inline-block;
  background: var(--darkest); color: var(--cyan);
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; border: none; cursor: pointer;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: background var(--transition-fast);
}
.portfolio-overlay-btn:hover { background: var(--mid); }

/* gradient palettes per project */
.bg-web    { background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); }
.bg-print  { background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460); }
.bg-saas   { background: linear-gradient(135deg, #0d0d0d, #1a1a1a, #002d3a); }
.bg-brand  { background: linear-gradient(135deg, #1a0a00, #2d1500, #001a1a); }
.bg-print2 { background: linear-gradient(135deg, #0a0a1a, #12122a, #001220); }
.bg-ux     { background: linear-gradient(135deg, #001a10, #002a1a, #00150d); }

/* Portfolio page responsive */
.portfolio-page {
  min-height: 100vh;
}

.portfolio-page-note {
  font-size: 15px;
  color: var(--gray);
  max-width: 620px;
  text-align: center;
  margin: 0 auto 40px;
}

.portfolio-page-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 60px;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .portfolio-page {
    padding: 120px var(--spacing-sm) 80px;
  }
  
  .portfolio-page-note {
    font-size: 14px;
    margin-bottom: 32px;
  }
  
  .portfolio-page-cta {
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
  }
}

@media (max-width: 680px) {
  .portfolio-page {
    padding: 100px var(--spacing-xs) 60px;
  }
  
  .portfolio-page-note {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  
  .portfolio-page-cta {
    gap: 12px;
    margin-top: 32px;
  }
  
  .portfolio-page-cta .btn-primary,
  .portfolio-page-cta .btn-ghost {
    width: 100%;
    max-width: 280px;
    text-align: center;
    justify-content: center;
  }
}

/* Instagram */
.instagram-section {
  position: relative;
  padding: 120px var(--spacing-md);
  background:
    radial-gradient(circle at top left, rgba(255, 86, 48, 0.14), transparent 28%),
    radial-gradient(circle at bottom right, rgba(0, 174, 239, 0.14), transparent 32%),
    linear-gradient(180deg, #090909 0%, #111 100%);
  overflow: hidden;
}

.instagram-section > .section-kicker {
  display: flex;
  margin: 0 auto 28px;
}

.instagram-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: center;
}

.instagram-copy,
.instagram-embed {
  position: relative;
  border: var(--border-cyan-subtle);
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.instagram-copy {
  padding: 48px;
}

.instagram-copy::before,
.instagram-embed::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 174, 239, 0.85), rgba(255, 86, 48, 0.55), transparent);
}

.instagram-desc {
  max-width: 56ch;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.8;
  margin: 20px 0 28px;
}

.instagram-title-handle {
  white-space: nowrap;
}

.instagram-title-handle em {
  white-space: nowrap;
  display: inline-block;
}

.instagram-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.instagram-embed {
  padding: 18px;
}

.instagram-frame-shell {
  position: relative;
  min-height: 620px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(135deg, rgba(255, 86, 48, 0.06), rgba(131, 58, 180, 0.1), rgba(0, 174, 239, 0.08)),
    #0f0f0f;
}

.instagram-frame-shell iframe {
  width: 100%;
  min-height: 620px;
  border: 0;
  display: block;
  background: transparent;
}

.instagram-note {
  margin: 14px 6px 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* Case detail page responsive */
.case-hero {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2px;
}

.case-hero-main,
.case-hero-side {
  background: rgba(15,15,15,0.85);
  border: var(--border-cyan-subtle);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.case-hero-main::before,
.case-hero-side::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.case-hero-main {
  padding-right: 60px;
}

.case-hero-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.case-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 14px;
  border: 1px solid rgba(0,174,239,0.35);
  background: rgba(0,174,239,0.08);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
}

.case-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0px;
  margin-bottom: 20px;
  color: var(--white);
}

.case-title em {
  font-style: normal;
  color: var(--cyan);
}

.case-summary {
  font-size: 16px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.7;
  max-width: 90%;
}

.case-meta {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.case-meta-item {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 20px;
}

.case-meta-item:last-child {
  border-bottom: none;
}

.case-meta-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}

.case-meta-value {
  font-size: 14px;
  color: var(--white);
  line-height: 1.5;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin: 60px 0;
}

.case-metric-card {
  background: rgba(15,15,15,0.85);
  border: var(--border-cyan-subtle);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.case-metric-card:hover {
  background: rgba(0,174,239,0.09);
  border-color: var(--cyan);
}

.case-metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  opacity: 0.5;
}

.case-metric-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 8px;
}

.case-metric-label {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.case-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  margin: 80px 0;
}

.case-block {
  margin-bottom: 2px;
}

.case-block:last-child {
  margin-bottom: 0;
}

.case-block-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0px;
  margin-bottom: 20px;
  color: var(--white);
}

.case-block-title em {
  font-style: normal;
  color: var(--cyan);
}

.case-block-text {
  font-size: 16px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.8;
}

.case-block-text p {
  margin: 0 0 12px;
}

.case-block-text p:last-child {
  margin-bottom: 0;
}

.case-block-text ul,
.case-block-text ol {
  margin: 10px 0 10px 22px;
  padding: 0;
}

.case-block-text li {
  margin-bottom: 8px;
}

.case-list {
  list-style: none;
  padding: 0;
}

.case-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--gray);
  line-height: 1.6;
}

.case-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
}

.case-gallery {
  margin: 60px 0;
}

.case-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 2px;
}

.case-shot {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform var(--transition-std) ease;
}

.case-shot:hover {
  transform: scale(1.02);
}

.case-shot-large {
  grid-column: span 2;
  grid-row: span 2;
}

.case-shot-link {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity var(--transition-fast);
  text-decoration: none;
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.case-shot:hover .case-shot-link {
  opacity: 1;
}

.case-shot-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.case-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-std), visibility var(--transition-std);
}

.case-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.case-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  border-radius: 50%;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.case-lightbox-close:hover {
  background: var(--cyan);
  color: var(--darkest);
}

.case-lightbox-image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .case-hero {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .case-hero-main {
    padding: 34px 26px;
  }
  
  .case-hero-side {
    padding: 26px;
  }
  
  .case-summary {
    max-width: 100%;
  }
  
  .case-metrics {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  
  .case-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .case-gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  
  .case-shot-large {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@media (max-width: 680px) {
  .case-hero-main,
  .case-hero-side {
    padding: 24px 20px;
  }
  
  .case-title {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: 16px;
  }
  
  .case-summary {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .case-meta {
    gap: 16px;
  }
  
  .case-meta-item {
    padding-bottom: 16px;
  }
  
  .case-metric-card {
    padding: 24px 20px;
  }
  
  .case-metric-value {
    font-size: 24px;
  }
  
  .case-content {
    margin: 60px 0;
    gap: 32px;
  }
  
  .case-block {
    margin-bottom: 40px;
  }
  
  .case-block-title {
    font-size: clamp(20px, 5vw, 28px);
    margin-bottom: 16px;
  }
  
  .case-block-text {
    font-size: 14px;
    line-height: 1.7;
  }
  
  .case-list li {
    font-size: 14px;
    padding-left: 20px;
    margin-bottom: 10px;
  }
  
  .case-gallery-grid {
    grid-auto-rows: 180px;
  }
  
  .case-shot-caption {
    font-size: 10px;
    padding: 12px 16px;
  }
  
  .case-lightbox-close {
    width: 36px;
    height: 36px;
    font-size: 20px;
    top: 16px;
    right: 16px;
  }
}
.case-hero-side {
  border: var(--border-lighter);
  background: linear-gradient(160deg, rgba(11,16,22,0.96), rgba(8,12,17,0.92));
}
.case-hero-main {
  padding: 44px 40px;
}
.case-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
}
.case-kicker::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--cyan);
}
.case-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.92;
  letter-spacing: 0px;
  margin-bottom: 18px;
}
.case-title em {
  font-style: normal;
  color: var(--cyan);
}
.case-summary {
  color: rgba(255,255,255,0.72);
  max-width: 90%;
  line-height: 1.75;
}
.case-hero-side {
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.case-meta {
  display: grid;
  gap: 14px;
}
.case-meta-item {
  border-left: 2px solid rgba(0,174,239,0.45);
  padding-left: 12px;
}
.case-meta-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.case-meta-value {
  margin-top: 4px;
  font-size: 14px;
  color: var(--white);
}
.case-metrics {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
}
.case-metric-card {
  border: var(--border-lighter);
  background: rgba(255,255,255,0.02);
  padding: 24px 22px;
}
.case-metric-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 40px;
  line-height: 0.9;
  color: var(--cyan);
}
.case-metric-label {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.58);
}
.case-content {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 2px;
}
.case-block {
  border: var(--border-lighter);
  background: rgba(255,255,255,0.02);
  padding: 32px 28px;
  height: 100%;
}
.case-block-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px;
  line-height: 0.95;
  margin-bottom: 14px;
}
.case-block-title em {
  font-style: normal;
  color: var(--cyan);
}
.case-block-text {
  color: rgba(255,255,255,0.74);
  line-height: 1.7;
}
.case-list {
  list-style: none;
  display: grid;
  gap: 10px;
  color: rgba(255,255,255,0.78);
}
.case-list li {
  position: relative;
  padding-left: 18px;
}
.case-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}

/* Portfolio detail: stack detail cards vertically with natural height */
#portfolio-detalhe .case-content {
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  gap: 18px;
}

#portfolio-detalhe .case-block {
  height: auto;
  text-align: center;
}

#portfolio-detalhe .case-block-text ul,
#portfolio-detalhe .case-block-text ol {
  margin: 10px auto;
  padding-left: 0;
  list-style: none;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 8px;
}

#portfolio-detalhe .case-list {
  justify-items: center;
  list-style: none;
  padding-left: 0;
}

#portfolio-detalhe .case-block-text li,
#portfolio-detalhe .case-list li {
  position: static;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
  max-width: 100%;
  padding-left: 0;
  text-align: center;
  white-space: normal;
}

#portfolio-detalhe .case-block-text li::before,
#portfolio-detalhe .case-list li::before {
  content: '•';
  position: static !important;
  display: inline !important;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  color: var(--cyan);
}

#portfolio-detalhe .case-block-text li > p,
#portfolio-detalhe .case-list li > p {
  margin: 0;
  display: inline;
}
.case-gallery {
  margin-top: 26px;
}
.case-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
}
.case-shot {
  position: relative;
  min-height: 190px;
  background-size: cover;
  background-position: center;
  border: var(--border-lighter);
  overflow: hidden;
}
.case-shot-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.case-shot-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 382px;
}
.case-shot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,0.72) 100%);
}
.case-shot figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 3;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255,255,255,0.9);
}
.case-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.case-lightbox.open {
  display: flex;
}
.case-lightbox-image {
  max-width: min(1200px, 95vw);
  max-height: 85vh;
  width: auto;
  height: auto;
  border: var(--border-lighter);
}
.case-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(0,0,0,0.45);
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

/* ── ABOUT — SPLIT STORY ──────────────────────────── */
.about {
  padding: 0;
  background: var(--section-a);
  position: relative; overflow: hidden;
  display: block;
  box-shadow: inset 0 1px rgba(255,255,255,0.04), inset 0 -1px rgba(255,255,255,0.04);
}

.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
}

.about-story {
  padding: 100px 72px 80px 60px;
  background: #111418;
  display: flex; flex-direction: column;
  justify-content: space-between;
  position: relative; overflow: hidden;
}
.about-story::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent, var(--cyan), transparent);
  opacity: 0.2;
}
.about-desc {
  font-size: 16px; font-weight: 300; color: var(--gray);
  line-height: 1.85; margin-top: 24px; 
}
.about-values {
  margin-top: 52px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.about-value {
  padding: 24px 22px;
  background: rgba(255,255,255,0.02);
  border: var(--border-light);
  position: relative; overflow: hidden;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}
.about-value:hover {
  background: rgba(0,174,239,0.04);
  border-color: rgba(0,174,239,0.2);
}
.about-value::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--cyan);
  transition: height var(--transition-std) ease;
}
.about-value:hover::before { height: 100%; }
.value-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px; font-weight: 900; color: var(--cyan);
  line-height: 1;
}
.value-label {
  font-size: 11px; color: var(--gray); letter-spacing: 1.5px;
  text-transform: uppercase; margin-top: 6px;
}

.about-founders-col {
  display: flex; flex-direction: row;
  gap: 2px; background: #0c0f13;
}

.founder-strip {
  flex: 1;
  align-items: stretch;
  min-height: 200px;
  background: #13171d;
}

.fstrip-photo-wrap {
  position: relative; overflow: hidden;
  height: 450px;
}
.fstrip-photo {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(10%) brightness(0.88);
  transition: all var(--transition-fast);
}
.fstrip-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,174,239,0.08), transparent);
  opacity: 1;
}

.founder-strip:hover .fstrip-photo {
  transform: scale(1.15);
  filter: grayscale(0%) brightness(1.1);
}

.founder-strip:hover .fstrip-name {
  color: var(--cyan);
}

.fstrip-info {
  padding: 36px 36px 36px 32px;
  display: flex; flex-direction: column;
  justify-content: center;
  border-left: var(--border-light);
  position: relative;
}
.fstrip-role {
  font-size: 10px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--cyan);
  opacity: 0.7; margin-bottom: 10px;
}
.fstrip-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px; font-weight: 900; letter-spacing: -0.5px;
  line-height: 0.9; margin-bottom: 12px;
  color: var(--white);
}
.fstrip-title {
  font-size: 12px; font-weight: 500; color: var(--gray);
  line-height: 1.5; margin-bottom: 20px;
}
.fstrip-bio {
  font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.55);
  line-height: 1.65;
  max-height: 80px; overflow: hidden;
}
.fstrip-info::after {
  content: '';
  position: absolute; bottom: 0; left: 32px; right: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  opacity: 0.3;
}

@media (max-width: 1024px) {
  .about-wrap { grid-template-columns: 1fr; }
  .about-story { padding: 60px var(--spacing-sm); }
  .about-values { grid-template-columns: repeat(2,1fr); }
  .about-founders-col { gap: 2px; }
  .founder-strip { grid-template-columns: 1fr; grid-template-rows: auto auto; flex: none; min-height: 160px; }
  .founder-strip:hover { flex: none; }
  .fstrip-photo-wrap { height: 200px; }
  .fstrip-bio { max-height: 80px; opacity: 1; color: rgba(255,255,255,0.5); }
}

/* ── PROCESS ──────────────────────────────────────── */
.process {
  padding: var(--spacing-lg) var(--spacing-md);
  position: relative;
  background: var(--section-c);
  box-shadow: inset 0 1px rgba(255,255,255,0.04), inset 0 -1px rgba(255,255,255,0.04);
}
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: 80px; position: relative;
}
.process-steps::before {
  content: '';
  position: absolute; top: 32px; left: 10%; right: 10%;
  height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), var(--cyan), transparent);
  opacity: 0.3;
}
.process-step { padding: 0 30px; text-align: center; position: relative; }
.step-num {
  width: 64px; height: 64px;
  border: 2px solid rgba(0,174,239,0.3);
  background: var(--darkest);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; font-weight: 900; color: var(--cyan);
  margin: 0 auto 28px;
  position: relative; z-index: var(--z-low);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}
.process-step:hover .step-num { background: rgba(0,174,239,0.1); border-color: var(--cyan); }
.step-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; font-weight: 700; margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.step-desc { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* ── CTA ──────────────────────────────────────────── */
.cta-section {
  margin: 56px var(--spacing-md) var(--spacing-lg);
  background: radial-gradient(circle at 10% 10%, rgba(0,174,239,0.16), transparent 45%), #121820;
  border: 1px solid rgba(0,174,239,0.25);
  padding: 64px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: start;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}
.cta-section::after {
  content: 'RAIO-X';
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 150px; font-weight: 900;
  position: absolute; right: -20px; top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.02);
  pointer-events: none;
}
.cta-content {
  max-width: 620px;
  position: relative;
  z-index: 1;
}
.cta-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
}
.cta-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(0,174,239,0.15);
}
.cta-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 3.2vw, 58px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -1px;
}
.cta-title em { font-style: normal; color: var(--cyan); }
.cta-sub { font-size: 15px; color: var(--gray); margin-top: 16px; line-height: 1.7; max-width: 520px; }
.cta-contact-strip {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.78);
}
.cta-contact-strip a {
  color: inherit;
  text-decoration: none;
}
.cta-contact-strip a:hover { color: var(--cyan); }
.cta-sep { opacity: 0.45; }
.cta-form-shell {
  position: relative;
  z-index: 1;
  background: rgba(8,12,16,0.84);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 22px;
  backdrop-filter: blur(8px);
}
.cta-progress-wrap { margin-bottom: 18px; }
.cta-step-counter {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 10px;
}
.cta-progress {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
}
.cta-progress span {
  display: block;
  width: 16.66%;
  height: 100%;
  background: linear-gradient(90deg, #00aef0, #00d9ff);
  transition: width var(--transition-fast);
}
.cta-form { display: flex; flex-direction: column; gap: 12px; }
.cta-step { display: none; animation: fadeUp 0.3s ease both; }
.cta-step.is-active { display: block; }
.cta-step h3 {
  font-size: 22px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
}
.cta-step select,
.cta-step input[type="text"],
.cta-step input[type="tel"] {
  width: 100%;
  min-height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.03);
  color: var(--white);
  padding: 10px 12px;
  font-size: 14px;
}
.cta-step select:focus,
.cta-step input[type="text"]:focus,
.cta-step input[type="tel"]:focus {
  outline: none;
  border-color: rgba(0,174,239,0.5);
  box-shadow: 0 0 0 3px rgba(0,174,239,0.15);
}
.cta-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.cta-fields label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
}
.cta-options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.cta-options-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.02);
  border-radius: 10px;
  padding: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  cursor: pointer;
}
.cta-options-grid label:has(input:checked) {
  border-color: rgba(0,174,239,0.6);
  background: rgba(0,174,239,0.12);
}
.cta-form-error {
  min-height: 18px;
  font-size: 12px;
  color: #ff8f8f;
  margin: 2px 0 0;
}
.cta-nav {
  display: flex;
  gap: 10px;
  align-items: center;
}
.cta-prev { display: none; }
.cta-nav .cta-prev {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
}
.cta-nav .cta-prev:hover {
  background: rgba(0,174,239,0.12);
  border-color: rgba(0,174,239,0.55);
  color: var(--white);
}
.cta-submit { display: none; }
.cta-disclaimer {
  margin-top: 2px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}
.cta-success {
  margin-top: 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,174,239,0.45);
  background: rgba(0,174,239,0.1);
  color: #d8f8ff;
  font-size: 13px;
  line-height: 1.5;
  padding: 12px;
}

/* ── FOOTER ───────────────────────────────────────── */
footer {
  background: #080b0e;
  position: relative; overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bg-text {
  position: absolute;
  bottom: -20px; left: 50%;
  transform: translateX(-50%);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(100px, 16vw, 200px);
  font-weight: 700; letter-spacing: -4px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0,174,239,0.05);
  white-space: nowrap;
  pointer-events: none; user-select: none;
  z-index: var(--z-bg);
}

.footer-glow {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--cyan) 30%, var(--cyan-light) 50%, var(--cyan) 70%, transparent 100%);
  opacity: 0.4;
}

.footer-body {
  padding: 60px var(--spacing-md) 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 1fr;
  align-items: start;
  gap: 24px;
  position: relative; z-index: 1;
}

.footer-logo-big {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 20px;
}

.footer-logo-big svg {
  height: 100px;
  width: auto;
  fill: var(--white);
  transition: fill var(--transition-fast);
}

.footer-logo-big:hover svg {
  fill: var(--cyan);
}

.footer-tagline {
  font-size: 14px; font-weight: 300; color: var(--gray);
  line-height: 1.7; max-width: 500px; margin-bottom: 32px;
}

.footer-socials {
  display: flex; gap: 8px;
}
.social-btn {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--gray);
  text-decoration: none;
  transition: all var(--transition-fast);
  position: relative; overflow: hidden;
}
.social-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--cyan);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--transition-fast) ease;
  z-index: 0;
}
.social-btn:hover { color: var(--darkest); border-color: var(--cyan); }
.social-btn:hover::before { transform: scaleY(1); }
.social-btn span { position: relative; z-index: 1; }
.social-btn i { position: relative; z-index: 1; }

/* Footer contact inside brand column */
.footer-contact {
  margin-top: 20px;
}
.footer-contact .contact-item { text-align: left; }
.footer-contact .contact-label { font-size: 11px; letter-spacing: 2px; color: var(--cyan); text-transform: uppercase; }
.footer-contact .contact-value { font-size: 15px; font-weight: 500; margin-top: 6px; color: var(--white); }

.footer-col-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--cyan);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 8px;
}
.footer-col-title::after {
  content: ''; flex: 1; height: 1px;
  background: rgba(0,174,239,0.2);
}
.footer-col-links {
  list-style: none;
  display: flex; flex-direction: column; gap: 12px;
}
.footer-service-link {
  display: grid;
  gap: 3px;
}
.footer-link-main {
  font-size: 14px;
  color: var(--gray);
}
.footer-link-desc {
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255,255,255,0.34);
}
.footer-service-link:hover .footer-link-main {
  color: var(--white);
}
.footer-service-link:hover .footer-link-desc {
  color: rgba(255,255,255,0.52);
}
.footer-col-links a {
  font-size: 14px; font-weight: 400; color: rgba(255,255,255,0.6);
  text-decoration: none;
  display: flex; align-items: center; gap: 8px;
  transition: color var(--transition-fast), gap var(--transition-fast);
}

.footer-col-links a:hover { color: var(--cyan); gap: 12px; }

/* Footer FAQ Styles */
.footer-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-faq-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 6px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.footer-faq-item:hover {
  background: rgba(0,174,239,0.05);
  border-color: rgba(0,174,239,0.2);
}

.footer-faq-question {
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition-fast);
  user-select: none;
}

.footer-faq-question:hover {
  background: rgba(0,174,239,0.05);
}

.footer-faq-question i:first-child {
  color: var(--cyan);
  font-size: 14px;
  width: 16px;
  text-align: center;
}

.footer-faq-question span {
  flex: 1;
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

.footer-faq-question i:last-child {
  color: var(--gray);
  font-size: 10px;
  transition: transform var(--transition-fast);
}

.footer-faq-item.active .footer-faq-question i:last-child {
  transform: rotate(45deg);
  color: var(--cyan);
}

.footer-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-std) ease;
}

.footer-faq-item.active .footer-faq-answer {
  max-height: 100px;
}

.footer-faq-answer p {
  padding: 0 16px 12px 42px;
  color: var(--gray);
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}

.footer-faq-more {
  margin-top: 16px;
  text-align: center;
}

.footer-faq-more a {
  font-size: 13px;
  color: var(--cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-faq-more a:hover {
  color: #00d4ff;
}

.footer-status-item {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0;
}
.status-dot.green { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.5); animation: pulse 2.5s infinite; }
.status-dot.yellow { background: #eab308; box-shadow: 0 0 6px rgba(234,179,8,0.4); }
.status-dot.red { background: #ef4444; box-shadow: 0 0 6px rgba(239,68,68,0.5); }
.status-label { font-size: 13px; color: var(--gray); }
.status-tag {
  margin-left: auto;
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  padding: 2px 8px; background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  color: #22c55e;
}
.status-tag.warn { background: rgba(234,179,8,0.1); border-color: rgba(234,179,8,0.25); color: #eab308; }
.status-tag.offline { background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.25); color: #ef4444; }

.footer-divider {
  margin: 0 var(--spacing-md);
  height: 1px;
  background: rgba(255,255,255,0.05);
  position: relative; z-index: 1;
}

.footer-bottom {
  padding: 24px var(--spacing-md);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  position: relative; z-index: 1;
}
.footer-copy {
  font-size: 12px; color:#ccc;
  letter-spacing: 0.5px;
}
.footer-copy strong { color: var(--cyan); font-weight: 600; }
.footer-legal {
  display: flex; justify-content: center;
}
.footer-legal a {
  font-size: 11px; color:#ccc;
  text-decoration: none; letter-spacing: 1px;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}
.footer-legal a:hover { color: var(--cyan); }
.footer-made {
  font-size: 11px; color: #ccc;
  letter-spacing: 1px; text-transform: uppercase;
}
.footer-made span { color: var(--cyan); }

/* ── Cookies Banner Styles ─────────────────────── */
.cookies-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10,10,10,0.98);
  border-top: 1px solid rgba(0,174,239,0.3);
  backdrop-filter: blur(12px);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform var(--transition-std) ease;
}

.cookies-banner.show {
  transform: translateY(0);
}

.cookies-content {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.cookies-icon {
  color: var(--cyan);
  font-size: 32px;
  flex-shrink: 0;
}

.cookies-text {
  flex: 1;
}

.cookies-text h4 {
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: 'Barlow Condensed', sans-serif;
}

.cookies-text p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.cookies-text a {
  color: var(--cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.cookies-text a:hover {
  color: #00d4ff;
  text-decoration: underline;
}

.cookies-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookies-accept,
.cookies-settings-btn,
.cookies-save,
.cookies-accept-all,
.cookies-customize {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  font-family: inherit;
}

.cookies-accept {
  background: var(--cyan);
  color: var(--dark);
}

.cookies-accept:hover {
  background: #00d4ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,174,239,0.3);
}

.cookies-settings-btn,
.cookies-save {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
}

.cookies-settings-btn:hover,
.cookies-save:hover {
  background: rgba(0,174,239,0.1);
  border-color: rgba(0,174,239,0.3);
  color: var(--cyan);
}

.cookies-accept-all {
  background: rgba(0,255,127,0.1);
  color: #00ff7f;
  border: 1px solid rgba(0,255,127,0.3);
}

.cookies-accept-all:hover {
  background: rgba(0,255,127,0.2);
  border-color: rgba(0,255,127,0.5);
  color: white;
}

.cookies-customize {
  background: rgba(255,255,255,0.05);
  color: var(--cyan);
  border: 1px solid rgba(0,174,239,0.3);
}

.cookies-customize:hover {
  background: rgba(0,174,239,0.1);
  border-color: rgba(0,174,239,0.5);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,174,239,0.2);
}

/* Cookie Settings Panel */
.cookie-settings-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10,10,10,0.98);
  z-index: 10000;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-std) ease;
}

.cookie-settings-panel.show {
  opacity: 1;
  visibility: visible;
}

.cookies-settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,174,239,0.05);
}

.cookies-settings-header h4 {
  color: white;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookies-close {
  background: none;
  border: none;
  color: var(--gray);
  font-size: 20px;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.cookies-close:hover {
  color: var(--cyan);
}

.cookies-settings-content {
  padding: 32px 40px;
  max-width: 800px;
  margin: 0 auto;
}

.cookie-category {
  margin-bottom: 24px;
}

.cookie-category-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.cookie-toggle input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: 20px;
  height: 20px;
}

.cookie-slider {
  width: 44px;
  height: 24px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  transition: all var(--transition-fast);
  position: relative;
  display: inline-block;
}

.cookie-slider::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: var(--gray);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.cookie-toggle input[type="checkbox"]:checked + .cookie-slider {
  background: var(--cyan);
  border-color: var(--cyan);
}

.cookie-toggle input[type="checkbox"]:checked + .cookie-slider::before {
  transform: translateX(20px);
  background: white;
}

.cookie-toggle input[type="checkbox"]:disabled + .cookie-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-info h5 {
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.cookie-info p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.cookies-settings-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Custom Cookie Modal */
.custom-cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10,10,10,0.98);
  z-index: 10001;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-std) ease;
}

.custom-cookie-modal.show {
  opacity: 1;
  visibility: visible;
}

.custom-cookie-content {
  max-width: 700px;
  margin: 40px auto;
  background: rgba(15,15,15,0.95);
  border: 1px solid rgba(0,174,239,0.3);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.custom-cookie-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  background: rgba(0,174,239,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.custom-cookie-header h3 {
  color: white;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  display: flex;
  align-items: center;
  gap: 12px;
}

.custom-cookie-close {
  background: none;
  border: none;
  color: var(--gray);
  font-size: 20px;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.custom-cookie-close:hover {
  color: var(--cyan);
}

.custom-cookie-body {
  padding: 32px;
}

.custom-cookie-desc {
  color: var(--gray);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
  text-align: center;
}

.custom-options-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 32px;
}

.custom-option {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 20px;
  transition: all var(--transition-fast);
}

.custom-option:hover {
  background: rgba(0,174,239,0.05);
  border-color: rgba(0,174,239,0.2);
}

.custom-option-label {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  cursor: pointer;
}

.custom-option-label input[type="checkbox"] {
  margin: 0;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.custom-option-info h4 {
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.custom-option-info p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.custom-category {
  display: inline-block;
  background: var(--cyan);
  color: var(--dark);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 8px;
}

.custom-cookie-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* Cookie Widget Styles */
.cookie-widget {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9998;
  transition: all var(--transition-std) ease;
}

.cookie-widget.show {
  left: 320px;
}

.cookie-widget-toggle {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: var(--cyan);
  border: none;
  border-radius: 0 8px 8px 0;
  color: var(--dark);
  font-size: 20px;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 2px 8px 16px rgba(0,174,239,0.3);
}

.cookie-widget-toggle:hover {
  background: #00d4ff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 4px 12px 24px rgba(0,174,239,0.4);
}

.cookie-widget-panel {
  position: absolute;
  left: 60px;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  background: rgba(10,10,10,0.98);
  border: 1px solid rgba(0,174,239,0.3);
  border-radius: 0 12px 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-std) ease;
  box-shadow: 4px 12px 24px rgba(0,0,0,0.3);
}

.cookie-widget.show .cookie-widget-panel {
  opacity: 1;
  visibility: visible;
  left: 80px;
}

.cookie-widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: rgba(0,174,239,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.cookie-widget-header h4 {
  color: white;
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-widget-close {
  background: none;
  border: none;
  color: var(--gray);
  font-size: 16px;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.cookie-widget-close:hover {
  color: var(--cyan);
}

.cookie-widget-content {
  padding: 20px;
}

.cookie-status {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.cookie-status-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 6px;
}

.cookie-status-item i {
  color: var(--cyan);
  font-size: 14px;
}

.cookie-status-item span {
  color: var(--gray);
  font-size: 12px;
  font-weight: 500;
}

.cookie-widget-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.cookie-widget-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  color: white;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.cookie-widget-btn:hover {
  background: rgba(0,174,239,0.1);
  border-color: rgba(0,174,239,0.3);
  color: var(--cyan);
  transform: translateY(-1px);
}

/* Cookie Widget Responsive */
@media (max-width: 768px) {
  .cookie-widget.show {
    left: 20px;
  }
  
  .cookie-widget-panel {
    width: 280px;
    left: 20px;
  }
  
  .cookie-widget-toggle {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }
  
  .cookie-widget-actions {
    grid-template-columns: 1fr;
  }
}

/* Cookies Responsive */
@media (max-width: 768px) {
  .cookies-content {
    flex-direction: column;
    gap: 16px;
    padding: 20px var(--spacing-xs);
    text-align: center;
  }
  
  .cookies-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .cookies-accept,
  .cookies-settings-btn,
  .cookies-save,
  .cookies-accept-all {
    width: 100%;
    justify-content: center;
  }
  
  .cookies-settings-content {
    padding: 24px var(--spacing-xs);
  }
  
  .cookie-category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .cookies-settings-actions {
    flex-direction: column;
  }
}

/* Footer responsive adjustments */
@media (max-width: 1024px) {
  .footer-body { 
    grid-template-columns: 1fr 1fr; 
    gap: 34px; 
    padding: 60px var(--spacing-sm) 40px; 
  }
  
  .footer-bottom { 
    flex-direction: column; 
    gap: 16px; 
    text-align: center; 
    padding: 20px var(--spacing-sm); 
  }
  
  .footer-divider { 
    margin: 0 var(--spacing-sm); 
  }
  
  .footer-legal { 
    justify-content: center; 
  }
  
  .footer-logo-big svg {
    height: 80px;
  }
  
  .footer-tagline {
    font-size: 13px;
  }
  
  .footer-col-title {
    font-size: 18px;
  }
  
  .footer-service-link {
    gap: 2px;
  }
  
  .footer-link-main {
    font-size: 13px;
  }
  
  .footer-link-desc {
    font-size: 10px;
  }
  
  .footer-status-item {
    margin-bottom: 12px;
  }
  
  .status-label {
    font-size: 12px;
  }
  
  .status-tag {
    font-size: 9px;
    padding: 1px 6px;
  }
}

@media (max-width: 768px) {
  .footer-body {
    grid-template-columns: 1fr;
    padding: 40px var(--spacing-xs) 30px;
    gap: 24px;
  }
  
  .footer-logo-big svg {
    height: 70px;
  }
  
  .footer-tagline {
    font-size: 12px;
    line-height: 1.6;
  }
  
  .footer-socials {
    gap: 6px;
  }
  
  .social-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  
  .footer-contact {
    margin-top: 16px;
  }
  
  .contact-item {
    margin-top: 10px;
  }
  
  .contact-label {
    font-size: 10px;
  }
  
  .contact-value {
    font-size: 14px;
  }
  
  .footer-col-title {
    font-size: 16px;
    margin-bottom: 20px;
  }
  
  .footer-service-link {
    gap: 2px;
  }
  
  .footer-link-main {
    font-size: 12px;
  }
  
  .footer-link-desc {
    font-size: 9px;
    line-height: 1.3;
  }
  
  .footer-status-item {
    gap: 8px;
    margin-bottom: 10px;
  }
  
  .status-label {
    font-size: 11px;
  }
  
  .status-tag {
    font-size: 8px;
    padding: 1px 4px;
  }
  
  .footer-bottom {
    padding: 16px var(--spacing-xs);
  }
  
  .footer-copy {
    font-size: 11px;
  }
  
  .footer-legal {
    gap: 16px;
  }
  
  .footer-legal a {
    font-size: 10px;
  }
  
  .footer-made {
    font-size: 10px;
  }
}


/* ── CLIENTS / PARTNERS ─────────────────────────────– */
.clients-section {
  padding: 100px var(--spacing-md);
  background: var(--section-a);
  position: relative; overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.clients-intro {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px;
}
.clients-note {
  font-size: 14px; font-weight: 300; color: var(--gray);
  max-width: 300px; line-height: 1.6; text-align: right;
}
.clients-grid {
  display: block;
  position: relative;
  overflow: hidden;
}
.client-card {
  background: var(--dark);
  padding: 14px 10px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  cursor: default;
  position: relative; overflow: hidden;
}
.client-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,174,239,0.04), transparent);
  opacity: 0; transition: opacity var(--transition-fast);
}
.client-card:hover {
  background: var(--mid);
  border-color: rgba(0,174,239,0.15);
  transform: translateY(-3px);
}
.client-card:hover::after { opacity: 1; }
.client-logo-wrap {
  width: min(100%, 168px);
  aspect-ratio: 1 / 1;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 8px;
}
.client-logo-image {
  width: 100%;
  height: 100%;
  max-width: 150px;
  max-height: 150px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: opacity var(--transition-fast), filter var(--transition-fast), transform var(--transition-fast);
}
.client-card:hover .client-logo-image {
  filter: none;
  opacity: 1;
  transform: scale(1.03);
}
.client-logo-icon {
  font-size: 28px; opacity: 0.6;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}
.client-card:hover .client-logo-icon { opacity: 1; transform: scale(1.1); }
.client-logo-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px; font-weight: 700; letter-spacing: 1px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase; text-align: center;
  transition: color var(--transition-fast);
}
.client-card:hover .client-logo-name { color: rgba(255,255,255,0.7); }
.client-sector {
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(0,174,239,0.4); margin-top: -4px;
  transition: color var(--transition-fast);
}
.client-card:hover .client-sector { color: var(--cyan); }

.clients-track {
  display: flex;
  gap: 12px;
  width: max-content;
  will-change: transform;
}
.clients-track .client-card {
  flex: 0 0 clamp(180px, 20vw, 240px);
}

.clients-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

@media (max-width: 1024px) {
  .clients-section { padding: 80px var(--spacing-sm); }
  .clients-track .client-card { flex-basis: clamp(160px, 52vw, 220px); }
  .clients-intro { flex-direction: column; align-items: flex-start; gap: 16px; }
  .clients-note { text-align: left; }
  .clients-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .clients-list-grid { grid-template-columns: 1fr; }
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  nav { padding: 20px var(--spacing-sm); }
  
  /* Reset absolute positioning for mobile */
  .nav-logo {
    position: relative;
    left: auto;
  }
  
  .nav-cta {
    position: relative;
    right: auto;
  }
  
  /* Mobile navigation */
  .nav-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 0;
    padding: 80px 24px 24px;
    transition: right var(--transition-std);
    z-index: 1000;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  
  .nav-links a {
    display: block;
    padding: 16px 0;
    font-size: 14px;
    border-radius: 0;
  }
  
  .nav-cta.mobile-cta {
    display: block;
    margin-top: 20px;
    width: 100%;
    text-align: center;
  }
  
  .nav-cta.desktop-cta {
    display: none;
  }
  
  /* Section titles responsive */
  .section-title {
    font-size: clamp(32px, 5vw, 48px);
    gap: 12px;
    justify-content: center;
    text-align: center;
  }
  
  .section-title i {
    font-size: 0.85em;
  }
  
  /* Portfolio header specific responsive */
  .portfolio .section-header .section-title {
    font-size: clamp(32px, 5vw, 48px);
    gap: 12px;
    justify-content: center;
    text-align: center;
  }
  
  .portfolio .section-header .section-title i {
    font-size: 0.85em;
  }
  
  /* Services header specific responsive */
  .services-header {
    padding: 0 var(--spacing-sm);
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }
  
  .services-header .section-title {
    font-size: clamp(32px, 5vw, 48px);
    gap: 12px;
    justify-content: center;
    text-align: center;
  }
  
  .services-header .section-title i {
    font-size: 0.85em;
  }
  
  /* SaaS header specific responsive */
  .saas-header {
    margin-bottom: 60px;
    padding: 0 var(--spacing-sm);
  }
  
  .saas-header .section-title {
    font-size: clamp(32px, 5vw, 48px);
    gap: 12px;
    justify-content: center;
    text-align: center;
  }
  
  .saas-header .section-title i {
    font-size: 0.85em;
  }
  
  .hero-bottom { flex-direction: column; align-items: center; gap: 24px; }
  .services { padding: 80px var(--spacing-sm); }
  .services-grid { grid-template-columns: 1fr; }
  .process { padding: 80px var(--spacing-sm); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .instagram-section { padding: 96px var(--spacing-sm); }
  .instagram-wrap { grid-template-columns: 1fr; }
  .instagram-copy { padding: 38px; }
  .instagram-frame-shell,
  .instagram-frame-shell iframe { min-height: 560px; }
  .portfolio { padding: 80px var(--spacing-sm); }
  .portfolio-page { padding-top: 120px; }
  .portfolio-actions { margin: 28px 0 0; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-item.large { grid-column: span 1; aspect-ratio: 4/3; }
  .case-hero { grid-template-columns: 1fr; }
  .case-hero-main { padding: 34px 26px; }
  .case-summary { max-width: 100%; }
  .case-hero-side { padding: 26px; }
  .case-metrics { grid-template-columns: 1fr; }
  .case-content { grid-template-columns: 1fr; }
  .case-gallery-grid { grid-template-columns: 1fr; }
  .case-shot-large { grid-column: span 1; grid-row: span 1; min-height: 220px; }
  .process-steps::before { display: none; }
  .cta-section {
    margin: 40px var(--spacing-sm) 80px;
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 42px 26px;
  }
  .cta-section::after { font-size: 110px; right: -8px; }
  .cta-options-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 100px var(--spacing-sm) 80px; }
  .hero-desc { max-width: 100%; }
  
  /* SaaS grid mobile */
  .saas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .metric-card {
    min-width: auto;
    padding: 16px 20px;
  }
  
  .metric-image {
    height: 180px;
    margin: 8px 0;
  }
  
  .metric-value {
    font-size: 28px;
  }
  
  .metric-label {
    font-size: 9px;
  }
  
  .metric-desc {
    font-size: 10px;
  }
}

@media (max-width: 680px) {
  .cta-section {
    margin: 32px var(--spacing-xs) 72px;
    padding: 30px 18px;
  }
  .cta-section::after { display: none; }
  .cta-title { font-size: clamp(30px, 8vw, 38px); }
  .cta-form-shell { padding: 14px; }
  .cta-step h3 { font-size: 19px; }
  .cta-options-grid { grid-template-columns: 1fr; }
  .cta-nav {
    flex-direction: column;
    align-items: stretch;
  }

  /* Section titles mobile */
  .section-title {
    font-size: clamp(28px, 6vw, 36px);
    gap: 10px;
    line-height: 1.0;
    justify-content: center;
    text-align: center;
  }
  
  .section-title i {
    font-size: 0.8em;
  }
  
  /* Portfolio header specific mobile */
  .portfolio .section-header .section-title {
    font-size: clamp(28px, 6vw, 36px);
    gap: 10px;
    line-height: 1.0;
    justify-content: center;
    text-align: center;
  }
  
  .portfolio .section-header .section-title i {
    font-size: 0.8em;
  }
  
  /* Services header specific mobile */
  .services-header {
    padding: 0;
    margin-bottom: 40px;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }
  
  .services-header .section-title {
    font-size: clamp(28px, 6vw, 36px);
    gap: 10px;
    line-height: 1.0;
    justify-content: center;
    text-align: center;
  }
  
  .services-header .section-title i {
    font-size: 0.8em;
  }
  
  /* SaaS header specific mobile */
  .saas-header {
    margin-bottom: 40px;
    padding: 0 var(--spacing-xs);
  }
  
  .saas-header .section-title {
    font-size: clamp(28px, 6vw, 36px);
    gap: 10px;
    line-height: 1.0;
    justify-content: center;
    text-align: center;
  }
  
  .saas-header .section-title i {
    font-size: 0.8em;
  }
  
  /* Services mobile */
  .services {
    padding: 60px var(--spacing-xs) 40px;
  }

  .instagram-section {
    padding: 80px var(--spacing-xs);
  }

  .instagram-copy,
  .instagram-embed {
    padding-left: 20px;
    padding-right: 20px;
  }

  .instagram-copy {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .instagram-embed {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .instagram-desc {
    font-size: 14px;
  }

  .instagram-frame-shell,
  .instagram-frame-shell iframe {
    min-height: 480px;
  }
  
  .services-header {
    padding: 0;
    margin-bottom: 40px;
  }
  
  .services-tagline {
    font-size: 14px;
    line-height: 1.5;
  }
  
  .svc-panel {
    height: 70px;
  }
  
  .svc-panel.active {
    min-height: 480px;
  }
  
  .svc-collapsed-label {
    font-size: 16px;
    letter-spacing: 1px;
  }
  
  .svc-content {
    padding: 20px;
    gap: 20px;
  }
  
  .svc-left {
    gap: 16px;
  }
  
  .svc-right {
    height: 180px;
  }
  
  .svc-top {
    gap: 12px;
  }
  
  .svc-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .svc-title {
    font-size: clamp(20px, 6vw, 28px);
    margin-bottom: 12px;
  }
  
  .svc-desc {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .svc-tags {
    gap: 4px;
    margin-bottom: 20px;
  }
  
  .svc-tag {
    font-size: 9px;
    padding: 3px 8px;
    letter-spacing: 1px;
  }
  
  .svc-cta {
    font-size: 11px;
    padding: 10px 20px;
  }
  
  .svc-slider-controls {
    padding: 8px 0 0;
  }
  
  .svc-sdot {
    width: 16px;
    height: 2px;
  }
  
  .svc-sdot.active {
    width: 28px;
  }
  
  .svc-sarrow {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  
  .services-nav {
    padding: 16px 0 0;
  }
  
  .svc-dot {
    width: 24px;
    height: 2px;
  }
  
  .svc-dot.active {
    width: 40px;
  }
  
  .hero-actions { flex-direction: column; }
  .saas-grid { grid-template-columns: 1fr; }
  .saas-main-cta { width: 100%; max-width: 320px; }
  
  .metric-image {
    height: 180px;
  }
  
  /* Portfolio mobile */
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  
  .portfolio-item {
    aspect-ratio: 3/2;
  }
  
  .portfolio-thumb-label {
    font-size: 14px;
    padding: 20px 16px 16px;
  }
  
  .portfolio-overlay {
    padding: 16px;
  }
  
  .portfolio-overlay-title {
    font-size: 18px;
  }
  
  .portfolio-overlay-desc {
    font-size: 11px;
    max-width: 200px;
  }
  
  .portfolio-overlay-btn {
    font-size: 9px;
    padding: 6px 14px;
  }
  
  /* Hero mobile adjustments */
  .hero {
    padding: 100px var(--spacing-xs) 60px;
  }
  
  .hero-headline {
    text-align: center;
  }
  
  .hero-line-inner {
    font-size: clamp(40px, 8vw, 60px) !important;
  }
  
  .word-rotator {
    min-width: 150px;
  }
  
  .hero-status {
    margin-bottom: 24px;
    padding: 6px 12px;
  }
  
  .hero-status-text {
    font-size: 9px;
  }
  
  .hero-desc {
    font-size: 14px;
    text-align: center;
  }
  
  .hero-actions {
    gap: 12px;
  }
  
  .btn-primary {
    padding: 14px 28px;
    font-size: 11px;
  }
  
  .btn-ghost {
    font-size: 12px;
  }
  
  /* Navigation mobile adjustments */
  .nav-logo svg {
    height: 60px;
  }
  
  .nav-links {
    width: 85%;
    padding: 80px 20px 20px;
  }
  
  .nav-links a {
    font-size: 13px;
    padding: 14px 0;
  }
  
  .nav-cta {
    font-size: 11px;
    padding: 10px 20px;
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Contact Page Styles ──────────────────────────── */
.contact-wrapper {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 30px;
  max-width: none;
  margin: 0;
  padding: 0 40px;
}

.contact-form-container {
  max-width: none;
  margin: 0;
  padding: 0;
}

.contact-form {
  background: rgba(15,15,15,0.85);
  border: var(--border-cyan-subtle);
  padding: 40px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

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

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

.form-label {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  padding: 16px;
  font-size: 16px;
  border-radius: 4px;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(0,174,239,0.05);
  box-shadow: 0 0 0 1px rgba(0,174,239,0.3);
}

.form-input::placeholder {
  color: rgba(255,255,255,0.4);
}

/* Select specific styles */
select.form-input {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px;
  padding-right: 50px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}

select.form-input option {
  background: var(--dark);
  color: white;
  padding: 12px;
}

select.form-input option:hover {
  background: rgba(0,174,239,0.1);
}

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

/* CAPTCHA Styles */
.captcha-container {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.captcha-question {
  display: flex;
  align-items: center;
  background: rgba(0,174,239,0.1);
  border: 1px solid rgba(0,174,239,0.3);
  padding: 12px 20px;
  border-radius: 8px;
  min-width: 120px;
  justify-content: center;
}

.captcha-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--cyan);
  font-family: 'Courier New', monospace;
  letter-spacing: 2px;
}

.captcha-input {
  flex: 1;
  min-width: 150px;
  max-width: 200px;
}

@media (max-width: 768px) {
  .captcha-container {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  .captcha-question {
    justify-content: center;
    min-width: auto;
  }
  
  .captcha-input {
    max-width: none;
  }
}

/* Success Message */
.success-message {
  background: linear-gradient(135deg, rgba(0,255,127,0.1), rgba(0,200,100,0.1));
  border: 1px solid rgba(0,255,127,0.3);
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  margin-bottom: 32px;
  animation: slideInUp 0.6s ease;
}

.success-message i {
  font-size: 48px;
  color: #00ff7f;
  margin-bottom: 16px;
  display: block;
}

.success-message h3 {
  color: white;
  font-size: 24px;
  margin-bottom: 12px;
  font-weight: 700;
}

.success-message p {
  color: var(--gray);
  font-size: 16px;
  margin: 0;
}

.error-message {
  background: linear-gradient(135deg, rgba(255,77,77,0.12), rgba(255,77,77,0.06));
  border: 1px solid rgba(255,77,77,0.45);
  border-radius: 8px;
  padding: 28px;
  text-align: center;
  margin-bottom: 32px;
  animation: slideInUp 0.6s ease;
}

.error-message i {
  font-size: 44px;
  color: #ff6666;
  margin-bottom: 14px;
  display: block;
}

.error-message h3 {
  color: white;
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 700;
}

.error-message p {
  color: var(--gray);
  font-size: 15px;
  margin: 0;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.form-actions button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.form-actions .btn-primary {
  background: var(--cyan);
  color: var(--dark);
}

.form-actions .btn-primary:hover {
  background: #00d4ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,174,239,0.3);
}

.form-actions .btn-ghost {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--cyan);
}

.form-actions .btn-ghost:hover {
  background: rgba(0,174,239,0.1);
  transform: translateY(-2px);
}

/* Map Styles */
.map-container {
  max-width: none;
  margin: 0;
  padding: 0 40px;
}

.map-embed {
  margin-bottom: 60px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(0,0,0,0.3);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.contact-info-card {
  background: rgba(15,15,15,0.85);
  border: var(--border-cyan-subtle);
  padding: 32px 24px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.contact-info-card:hover {
  background: rgba(0,174,239,0.09);
  border-color: var(--cyan);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.3), 0 0 0 1px rgba(0,174,239,0.25) inset;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(0,174,239,0.1);
  border: 1px solid rgba(0,174,239,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 18px;
  flex-shrink: 0;
}

.contact-info-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: white;
}

.contact-info-content p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
  margin: 0;
}

.contact-info-content a {
  color: var(--cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-info-content a:hover {
  color: #00d4ff;
}

/* FAQ Styles */
.faq-container {
  background: rgba(15,15,15,0.85);
  border: var(--border-cyan-subtle);
  border-radius: 8px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.faq-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.faq-header {
  margin-bottom: 32px;
  text-align: center;
}

.faq-title {
  color: white;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.faq-title i {
  color: var(--cyan);
  font-size: 20px;
}

.faq-subtitle {
  color: var(--gray);
  font-size: 14px;
  margin: 0;
}

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

.faq-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 6px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  background: rgba(0,174,239,0.05);
  border-color: rgba(0,174,239,0.2);
}

.faq-item.active {
  background: rgba(0,174,239,0.08);
  border-color: rgba(0,174,239,0.3);
}

.faq-question {
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all var(--transition-fast);
  user-select: none;
}

.faq-question:hover {
  background: rgba(0,174,239,0.05);
}

.faq-question i:first-child {
  color: var(--cyan);
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.faq-question span {
  flex: 1;
  color: white;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.faq-question i:last-child {
  color: var(--gray);
  font-size: 12px;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-question i:last-child {
  transform: rotate(180deg);
  color: var(--cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-std) ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 20px 16px 52px;
  color: var(--gray);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

/* ── Privacy Policy Styles ─────────────────────────── */
.privacy-content {
  max-width: none;
  margin: 0;
  padding: 0 40px;
}

.privacy-intro {
  background: rgba(15,15,15,0.85);
  border: var(--border-cyan-subtle);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.privacy-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.privacy-intro p {
  color: var(--gray);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.privacy-intro p:last-child {
  margin-bottom: 0;
}

.last-updated {
  color: var(--cyan);
  font-size: 14px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.privacy-sections {
  display: grid;
  gap: 32px;
}

.privacy-section {
  background: rgba(15,15,15,0.85);
  border: var(--border-cyan-subtle);
  border-radius: 8px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.privacy-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.privacy-title {
  color: white;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: -0.5px;
}

.privacy-title i {
  color: var(--cyan);
  font-size: 20px;
}

.privacy-content h4 {
  color: var(--cyan);
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 12px 0;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: -0.3px;
}

.privacy-content h4:first-child {
  margin-top: 0;
}

.privacy-content p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.privacy-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.privacy-list li {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

.privacy-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: bold;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(0,174,239,0.05);
  border: 1px solid rgba(0,174,239,0.2);
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.contact-item:hover {
  background: rgba(0,174,239,0.08);
  border-color: rgba(0,174,239,0.3);
  transform: translateY(-2px);
}

.contact-item i {
  color: var(--cyan);
  font-size: 24px;
  width: 40px;
  text-align: center;
}

.contact-item h4 {
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--gray);
  font-size: 14px;
  margin: 0;
  line-height: 1.4;
}

/* Privacy Policy Responsive */
@media (max-width: 768px) {
  .privacy-content {
    padding: 0 var(--spacing-xs);
  }
  
  .privacy-intro,
  .privacy-section {
    padding: 24px 20px;
  }
  
  .privacy-title {
    font-size: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .privacy-content h4 {
    font-size: 16px;
    margin: 20px 0 12px 0;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .contact-item {
    padding: 16px;
  }
}

/* Contact Page Responsive */
@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 var(--spacing-xs);
  }
  
  .contact-form-container {
    padding: 0;
  }
  
  .map-container {
    padding: 0 var(--spacing-xs);
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .contact-form {
    padding: 24px 20px;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .form-actions button {
    width: 100%;
    justify-content: center;
  }
  
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .contact-info-card {
    padding: 24px 20px;
  }
  
  .map-embed iframe {
    height: 300px;
  }
  
  /* Form inputs mobile */
  .form-input {
    padding: 14px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .form-label {
    font-size: 11px;
    margin-bottom: 6px;
  }
  
  .form-actions button {
    padding: 14px 24px;
    font-size: 13px;
  }
}

/* ── Floating Cookie Button ───────────────────────────── */
.floating-cookie-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  background: rgba(0,174,239,0.9);
  border: 2px solid var(--white);
  border-radius: 50%;
  color: var(--dark);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,174,239,0.3);
}

.floating-cookie-btn.visible {
  display: flex;
}

.floating-cookie-btn:hover {
  background: var(--cyan);
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0,174,239,0.4);
}

.floating-cookie-btn i {
  font-size: 18px;
}

.floating-scroll-top {
  position: fixed;
  right: 20px;
  bottom: 72px;
  width: 40px;
  height: 40px;
  background: rgba(10, 18, 20, 0.9);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 50%;
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast), background var(--transition-fast);
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.28);
}

.floating-scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-scroll-top:hover {
  background: var(--cyan);
  color: var(--dark);
}

/* ── Floating WhatsApp Mini Chat ──────────────────────── */
.floating-chat-assistant {
  position: fixed;
  left: 16px;
  bottom: 20px;
  transform: none;
  width: 220px;
  min-height: 96px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: rgba(10, 18, 20, 0.95);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 174, 239, 0.35);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
  z-index: 999;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.floating-chat-assistant:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.42);
  border-color: rgba(37, 211, 102, 0.75);
}

.floating-chat-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, #00aeef, #25d366);
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.38);
  font-size: 18px;
}

.floating-chat-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.floating-chat-title {
  margin: 0;
  color: #dff7ff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.floating-chat-message {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  line-height: 1.2;
}

.floating-chat-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  text-decoration: none;
  color: #ffffff;
  background: #25d366;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.floating-chat-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(37, 211, 102, 0.38);
  filter: saturate(1.1);
}

@media (max-width: 768px) {
  .floating-cookie-btn {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
    font-size: 16px;
  }
  
  .floating-cookie-btn i {
    font-size: 16px;
  }

  .floating-scroll-top {
    right: 16px;
    bottom: 72px;
    width: 48px;
    height: 48px;
    font-size: 15px;
  }

  .floating-chat-assistant {
    left: 12px;
    bottom: 14px;
    width: 56px;
    min-height: 56px;
    padding: 6px;
    border-radius: 999px;
    justify-content: center;
    gap: 0;
    cursor: pointer;
  }

  .floating-chat-assistant .floating-chat-content {
    display: none;
  }

  .floating-chat-assistant.is-open {
    width: 188px;
    min-height: 88px;
    padding: 9px;
    border-radius: 16px;
    justify-content: flex-start;
    gap: 10px;
    cursor: default;
  }

  .floating-chat-assistant.is-open .floating-chat-content {
    display: flex;
  }

  .floating-chat-avatar {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    font-size: 16px;
  }

  .floating-chat-title {
    font-size: 11px;
  }

  .floating-chat-message {
    font-size: 11px;
  }

  .floating-chat-action {
    font-size: 10px;
    padding: 6px 8px;
  }
}


/* ============================================================
   MOBILE FIXES — responsividade específica (max-width: 680px)
   ============================================================ */

/* 1. ECOSSISTEMA SAAS — remover espaço lateral excessivo */
@media (max-width: 680px) {
  .saas-section {
    padding: 60px 16px 60px;
  }
  .saas-header {
    padding: 0;
    margin-bottom: 32px;
  }
  .saas-grid {
    padding: 0;
    gap: 12px;
  }
  .saas-card {
    padding: 24px 20px;
  }
  .saas-footer {
    padding: 0;
    margin-top: 32px;
  }
}

/* 2. PORTFÓLIO — espaço entre título e subtítulo */
@media (max-width: 680px) {
  .portfolio .section-header {
    margin-bottom: 8px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .portfolio .section-header > div {
    width: 100%;
  }
  .portfolio .section-header .section-label {
    margin-bottom: 4px;
    justify-content: flex-start;
    text-align: left;
  }
  .portfolio .section-header .section-title {
    margin-bottom: 8px;
    justify-content: flex-start;
    text-align: left;
  }
  /* Subtítulo "Explore nossos cases..." logo abaixo do título */
  .portfolio-subtitle,
  .portfolio .section-desc,
  .portfolio > p,
  .portfolio .section-header + p,
  .portfolio .section-header ~ p {
    margin-top: 12px;
    margin-bottom: 0;
    text-align: left;
  }
  .portfolio-filters {
    margin: 24px 0 16px;
  }
}

/* 3. SOBRE NÓS — título "Experiência que Transforma" sem quebra errada */
@media (max-width: 680px) {
  .about-story {
    padding: 48px 20px 40px;
  }
  .about-story .section-title,
  .about-wrap .section-title {
    line-height: 1.0;
    white-space: normal;
    word-break: keep-all;
    text-align: left;
    hyphens: none;
  }
  .about-story .section-title br {
    display: block;
  }
  .about-desc {
    font-size: 15px;
    line-height: 1.75;
    margin-top: 16px;
  }
  .about-values {
    margin-top: 36px;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
  }
  .about-value {
    padding: 20px 16px;
  }
  .value-num {
    font-size: 28px;
  }
}

/* 4. FUNDADORES — mostrar ambos corretamente em mobile */
@media (max-width: 680px) {
  .about-founders-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  /* Cada strip ocupa largura total, empilhado */
  .founder-strip {
    display: flex;
    flex-direction: column;
    flex: none;
    min-height: auto;
    width: 100%;
  }
  /* Foto com altura fixa visível */
  .fstrip-photo-wrap {
    width: 100%;
    height: 260px;
    position: relative;
    flex-shrink: 0;
  }
  .fstrip-photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
  }
  /* Info abaixo da foto */
  .fstrip-info {
    padding: 24px 20px 28px;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.06);
    position: relative;
  }
  /* Bio sempre visível no mobile */
  .fstrip-bio {
    max-height: 120px;
    opacity: 1;
    color: rgba(255,255,255,0.55);
    margin-bottom: 0;
  }
  /* Socials sempre visíveis */
  .founder-socials,
  .fstrip-socials {
    opacity: 1;
    transform: none;
  }
  /* Linha decorativa inferior */
  .fstrip-info::after {
    opacity: 0.3;
  }
  /* Hover expand não funciona no touch — desabilitar */
  .founder-strip:hover {
    flex: none;
  }
  .fstrip-name {
    font-size: 28px;
  }
  .fstrip-role {
    font-size: 10px;
  }
  .fstrip-title {
    font-size: 12px;
    margin-bottom: 12px;
  }
}

/* 5. PORTFÓLIO — manter título à esquerda em todo mobile/tablet */
@media (max-width: 1024px) {
  .portfolio .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .portfolio .section-header > div {
    width: 100%;
  }
  .portfolio .section-header .section-label,
  .portfolio .section-header .section-title {
    justify-content: flex-start;
    text-align: left;
  }
  .portfolio .section-header .services-tagline {
    max-width: 100%;
    text-align: left;
  }
}

/* 6. SERVIÇOS — manter cabeçalho à esquerda em mobile/tablet */
@media (max-width: 1024px) {
  .services-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
  }
  .services-header > div {
    width: 100%;
  }
  .services-header .section-label,
  .services-header .section-title {
    justify-content: flex-start;
    text-align: left;
  }
  .services-header .services-tagline {
    max-width: 100%;
    text-align: left;
  }
}
