/* ==========================================================================
   FORGE CLABS - Minimalist Corporate B2B CSS Design System
   Aesthetic: High-End Enterprise (Obsidian Dark, Crisp White, Refined Gold Accent)
   ========================================================================== */

:root {
  --bg-primary: #070a0e;
  --bg-secondary: #0d1118;
  --bg-card: rgba(13, 17, 24, 0.8);
  --bg-card-hover: rgba(22, 28, 38, 0.9);
  
  --color-primary: #ffd700;
  --color-primary-hover: #ffe555;
  --color-primary-glow: rgba(255, 215, 0, 0.25);
  --color-secondary: #e2e8f0;
  
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(255, 215, 0, 0.35);
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 25px rgba(255, 215, 0, 0.2);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  touch-action: pan-y;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  touch-action: pan-y;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Background Ambient Lighting */
.bg-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.bg-ambient-light {
  position: fixed;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.07) 0%, rgba(255, 215, 0, 0.01) 50%, transparent 70%);
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

/* Minimalist Interactive Tech Stars Canvas */
#tech-stars-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Hide Google reCAPTCHA Badge (Legal text already included under contact form) */
.grecaptcha-badge { 
  visibility: hidden !important;
}

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

/* Navigation Bar - Minimalist & Slim */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
  padding: 1rem 0;
  background: rgba(7, 10, 14, 0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}

.navbar.scrolled {
  background: rgba(7, 10, 14, 0.95);
  padding: 0.65rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  border-bottom-color: rgba(255, 215, 0, 0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1360px;
  width: 100%;
}

.nav-brand-logo {
  display: flex;
  align-items: center;
  height: 38px;
  flex-shrink: 0;
  margin-right: 1.5rem;
  white-space: nowrap;
}

.nav-brand-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-actions .btn-primary {
  white-space: nowrap;
  padding: 0.55rem 1.15rem;
  font-size: 0.84rem;
  font-weight: 700;
}

/* Language Switcher - Compact & Minimal */
.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lang-btn.active {
  background: var(--color-primary);
  color: #070a0e;
}

/* Sleek & Compact CTA Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: #070a0e;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.25);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(255, 215, 0, 0.05);
}

/* Hero Section */
.hero {
  padding: 10rem 0 5.5rem 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 215, 0, 0.06);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  animation: pulseGoldGlow 4s ease-in-out infinite;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.15);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-title-highlight {
  color: var(--color-primary);
  position: relative;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.2rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-primary);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* Hero Visual & Mockup */
.hero-visual {
  position: relative;
}

.hero-card-preview {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  transition: var(--transition-normal);
}

.hero-card-preview:hover {
  border-color: rgba(255, 215, 0, 0.3);
}

.browser-header {
  background: rgba(13, 17, 24, 0.9);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #ffd700; }
.dot-green { background: #10b981; }

.browser-address {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  font-size: 0.75rem;
  padding: 0.2rem 0.8rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  flex: 1;
}

.floating-badge {
  position: absolute;
  background: rgba(13, 17, 24, 0.95);
  border: 1px solid var(--border-glow);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.floating-badge-top {
  top: -15px;
  right: -15px;
  animation: floatBadge 5s ease-in-out infinite;
}

.floating-badge-bottom {
  bottom: -15px;
  left: -15px;
  animation: floatBadge 6s ease-in-out infinite 1.5s;
}

/* Trust / Client Bar */
.trust-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: rgba(13, 17, 24, 0.4);
}

.trust-title {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 1.8rem;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.logo-item {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Shared Section Header */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.25rem auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Services Grid */
.services-section {
  padding: 6.5rem 0;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  transition: var(--transition-normal);
}

.service-card:hover {
  border-color: rgba(255, 215, 0, 0.3);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.service-icon-wrap {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-main);
}

.service-features li::before {
  content: "✓";
  color: var(--color-primary);
  font-weight: bold;
}

/* Why Us Section */
.why-section {
  padding: 6.5rem 0;
  background: var(--bg-secondary);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition-normal);
}

.why-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
}

.why-icon-wrap {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Interactive ROI Estimator Calculator */
.calc-section {
  padding: 6.5rem 0;
}

.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 3rem;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  width: 100%;
  box-sizing: border-box;
}

.calc-form-side {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.calc-group {
  margin-bottom: 1.75rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.calc-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  word-break: break-word;
}

.calc-select, .calc-range {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: rgba(7, 10, 14, 0.9);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  outline: none;
  text-overflow: ellipsis;
}

.calc-select option {
  background: #0a0e15;
  color: #ffffff;
}

.calc-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.4;
}

.checkbox-item input {
  margin-top: 3px;
  flex-shrink: 0;
}

.checkbox-item span {
  word-break: break-word;
  overflow-wrap: break-word;
}

.calc-result-box {
  background: rgba(7, 10, 14, 0.95);
  border: 1px dashed var(--color-primary);
  border-radius: var(--radius-sm);
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.calc-estimate-price {
  display: none; /* hidden — used internally by JS for transfer */
}

/* ── Ambition Tier & Pixel Robot Display ────────────────────────── */
.calc-estimate-tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.25rem 0.5rem;
  animation: tierFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes tierFadeIn {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

/* Robot Container & Pixel Art Animations */
.calc-robot-wrap {
  width: 90px;
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
  position: relative;
}

.pixel-robot {
  width: 100%;
  height: 100%;
  shape-rendering: crispEdges;
  image-rendering: pixelated;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.65));
}

/* Tier 1: Basic Bot — slow gentle bob (2.8s) */
.pixel-robot.r-t1 {
  animation: robotBob 2.8s ease-in-out infinite;
}

/* Tier 2: Scout Bot — medium bob (2s) + eye pulse */
.pixel-robot.r-t2 {
  animation: robotBob 2s ease-in-out infinite;
  filter: drop-shadow(0 0 14px rgba(66, 153, 225, 0.45));
}
.pixel-robot.r-t2 .r-eye-glow {
  animation: eyePulse 1.8s ease-in-out infinite;
}
.pixel-robot.r-t2 .r-ant2 {
  transform-origin: 32px 6px;
  animation: antWobble 2s ease-in-out infinite;
}

/* Tier 3: Tech Bot — fast bob (1.4s) + gold glow + gear spin */
.pixel-robot.r-t3 {
  animation: robotBob 1.4s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.55));
}
.pixel-robot.r-t3 .r-eye-gold {
  animation: eyePulse 1.2s ease-in-out infinite;
}
.pixel-robot.r-t3 .r-gear {
  transform-origin: 36px 60px;
  animation: gearSpin 4s linear infinite;
}
.pixel-robot.r-t3 .r-side-glow {
  animation: sideGlow 1.5s ease-in-out infinite alternate;
}

/* Tier 4: Apex Bot — floating jet motion (1.2s) + epic glow + jet flames */
.pixel-robot.r-t4 {
  animation: robotFloat 1.2s ease-in-out infinite;
  filter: drop-shadow(0 0 26px rgba(255, 215, 0, 0.8)) drop-shadow(0 0 45px rgba(255, 140, 0, 0.45));
}
.pixel-robot.r-t4 .r-eye-epic {
  animation: eyePulse 0.8s ease-in-out infinite;
}
.pixel-robot.r-t4 .r-react {
  transform-origin: 40px 68px;
  animation: reactPulse 1s ease-in-out infinite alternate;
}
.pixel-robot.r-t4 .r-jet {
  animation: jetFlicker 0.15s steps(2) infinite alternate;
}
.pixel-robot.r-t4 .r-jet2 { animation-delay: 0.05s; }
.pixel-robot.r-t4 .r-jet3 { animation-delay: 0.08s; }
.pixel-robot.r-t4 .r-jet4 { animation-delay: 0.12s; }

/* Robot Keyframe Animations */
@keyframes robotBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes robotFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.02); }
}

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

@keyframes antWobble {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}

@keyframes gearSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes sideGlow {
  0% { fill: #d69e2e; opacity: 0.6; }
  100% { fill: #ffd700; opacity: 1; }
}

@keyframes reactPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.1); opacity: 1; }
}

@keyframes jetFlicker {
  0% { opacity: 0.8; transform: scaleY(1); }
  100% { opacity: 1; transform: scaleY(1.4); }
}

.calc-tier-label {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary);
  text-align: center;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.calc-tier-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
  max-width: 280px;
}

.calc-tier-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.calc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.3);
  transition: all 0.3s ease;
}

.calc-dot.active {
  background: var(--color-primary);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.7);
  transform: scale(1.3);
}

#calc-transfer-btn {
  white-space: normal;
  text-align: center;
  line-height: 1.35;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}


/* Portfolio Section */
.portfolio-section {
  padding: 6.5rem 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(255, 215, 0, 0.45);
  box-shadow: 0 20px 40px -10px rgba(255, 215, 0, 0.15);
}

.portfolio-img {
  width: 100%;
  height: 270px;
  object-fit: contain;
  background: rgba(7, 10, 14, 0.98);
  padding: 0.75rem;
  transition: transform 0.4s ease;
}

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

.portfolio-content {
  padding: 2rem;
}

.portfolio-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.portfolio-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.portfolio-metrics {
  display: flex;
  gap: 2rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.metric-val {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-primary);
}

.metric-lbl {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Methodology Process Timeline */
.process-section {
  padding: 6.5rem 0;
  background: var(--bg-secondary);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.5rem 1rem;
}

.step-num {
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  color: #070a0e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Testimonials */
.testimonials-section {
  padding: 6.5rem 0;
}

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

.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.5rem;
}

.testi-quote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.testi-author-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
}

.testi-author-role {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* FAQ Accordion */
.faq-section {
  padding: 6.5rem 0;
  background: var(--bg-secondary);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--color-primary);
  transition: var(--transition-fast);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  max-height: 300px;
}

/* Lead Contact Form Section */
.contact-section {
  padding: 6.5rem 0;
}

.contact-card {
  background: rgba(13, 17, 24, 0.95);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 4rem 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  max-width: 900px;
  margin: 0 auto;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group-full {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(7, 10, 14, 0.9);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary-glow);
}

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

.recaptcha-notice {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 1rem;
  grid-column: span 2;
}

/* Footer */
.footer {
  background: #040609;
  border-top: 1px solid var(--border-light);
  padding: 5rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand-logo {
  height: 42px;
  margin-bottom: 1.25rem;
  display: inline-block;
}

.footer-brand-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

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

/* Instagram Social Link */
.instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  transition: var(--transition-fast);
}

.instagram-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(220, 39, 67, 0.4);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Scroll Reveal Keyframe Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Floating WhatsApp Action Widget */
.whatsapp-float-wrap {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
}

.whatsapp-float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5);
  transition: var(--transition-normal);
  position: relative;
  animation: waPulse 2.5s infinite;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: rgba(7, 10, 14, 0.95);
  border: 1px solid var(--color-primary);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition-fast);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.whatsapp-float-btn:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes waPulse {
  0% {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ─── Skip Link (Accessibility) ────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-primary);
  color: #070a0e;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0.75rem; }

/* ─── Hamburger Button ───────────────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  transition: var(--transition-fast);
}
.nav-hamburger:hover { border-color: var(--color-primary); }
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition-normal);
  transform-origin: center;
}
/* Animated X state */
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Mobile Nav Drawer ──────────────────────────────────────────────────── */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  backdrop-filter: blur(4px);
}
.nav-mobile-overlay.open { display: block; }

.nav-menu-mobile {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background: #0a0e15;
  border-left: 1px solid var(--border-light);
  z-index: 999;
  padding: 5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
  overflow-y: auto;
  visibility: hidden;
  pointer-events: none;
}
.nav-menu-mobile.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
.nav-menu-mobile .nav-link {
  display: block;
  padding: 0.9rem 1rem;
  font-size: 1.1rem;
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--border-light);
  color: var(--text-muted);
}
.nav-menu-mobile .nav-link:hover { color: var(--color-primary); background: rgba(255,215,0,0.04); }
.nav-menu-mobile .btn-primary {
  margin-top: 1.5rem;
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 1rem;
}
.nav-menu-mobile .lang-switcher { margin-top: 1rem; }

/* ─── Privacy Checkbox ───────────────────────────────────────────────────── */
.privacy-wrap { margin-top: 0.25rem; }
.privacy-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  user-select: none;
}
.privacy-label:hover { color: var(--text-main); }
.privacy-checkbox {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: var(--color-primary);
  cursor: pointer;
}
.privacy-label a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.privacy-label a:hover { color: var(--color-primary-hover); }
.privacy-error {
  display: none;
  margin-top: 0.5rem;
  padding: 0.5rem 0.85rem;
  background: rgba(239,68,68,0.08);
  border-left: 3px solid #ef4444;
  border-radius: var(--radius-sm);
  color: #f87171;
  font-size: 0.82rem;
  line-height: 1.4;
}

/* ─── Instagram Button ───────────────────────────────────────────────────── */
.instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}
.instagram-btn:hover { transform: translateY(-2px); opacity: 0.9; }

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ══════════════════════════════════════════════════════════════════════════ */

/* ─── Tablet Large: ≤ 1024px ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .hero-title { font-size: 2.8rem; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-items: center; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .floating-badge { display: none; } /* Hide on tablet to avoid overlap */

  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-grid { grid-template-columns: 1fr; gap: 2rem; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; max-width: 680px; margin: 0 auto; }
  .process-timeline { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .contact-card { padding: 3rem 2rem; }
}

/* ─── Tablet & Medium Screens: ≤ 1120px ──────────────────────────────────── */
@media (max-width: 1120px) {
  /* Navbar – show hamburger, hide desktop menu */
  .nav-menu { display: none !important; }
  .nav-hamburger { display: flex; }
  .nav-actions .btn-primary { display: none; } /* hide desktop CTA in nav bar */
}

/* ─── Tablet Small: ≤ 768px ──────────────────────────────────────────────── */
@media (max-width: 768px) {

  .hero { padding: 7rem 0 4rem; }
  .hero-title { font-size: 2.2rem; line-height: 1.2; }
  .hero-subtitle { font-size: 1rem; }
  .hero-badge { font-size: 0.7rem; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .stat-number { font-size: 1.8rem; }
  .stat-label { font-size: 0.75rem; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 1.75rem; }

  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-card { padding: 1.5rem 1rem; }

  .calc-card { padding: 2rem 1.5rem; }
  .calc-result-box { padding: 1.5rem; }
  .calc-estimate-price { font-size: 2rem; }

  .portfolio-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .portfolio-img { height: 200px; }

  .process-timeline { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .process-step { padding: 1.25rem 0.9rem; }

  .testi-grid { grid-template-columns: 1fr; }
  .testi-card { padding: 1.75rem; }

  .faq-question { font-size: 0.95rem; padding: 1.1rem; }
  .faq-answer { font-size: 0.9rem; }

  .contact-card { padding: 2rem 1.25rem; border-radius: var(--radius-md); }
  .contact-form { grid-template-columns: 1fr; gap: 1.25rem; }
  .form-group-full { grid-column: span 1; }
  .recaptcha-notice { grid-column: span 1; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer { padding: 3.5rem 0 2rem; }
  .footer-grid { margin-bottom: 2rem; }

  /* Sections padding reduction for symmetry */
  .services-section,
  .why-section,
  .calc-section,
  .portfolio-section,
  .process-section,
  .testimonials-section,
  .faq-section,
  .contact-section { padding: 4.5rem 0; }

  .section-title { font-size: 1.9rem; }
  .section-header { margin-bottom: 2.25rem; }

  /* WhatsApp button position on mobile */
  .whatsapp-float-wrap { bottom: 20px; right: 16px; }
  .whatsapp-float-btn { width: 52px; height: 52px; }
  .whatsapp-tooltip { display: none; } /* Hide tooltip text on mobile */
}

/* ─── Mobile: ≤ 480px ────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .container { padding: 0 1rem; }

  .navbar { padding: 0.75rem 0; }

  .hero { padding: 6rem 0 3rem; }
  .hero-title { font-size: 1.85rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-ctas { flex-direction: column; gap: 0.75rem; }
  .hero-ctas .btn { width: 100%; justify-content: center; min-height: 52px; font-size: 0.95rem; }
  .hero-stats { gap: 0.25rem; }
  .stat-number { font-size: 1.5rem; }
  .stat-label { font-size: 0.7rem; }

  .hero-card-preview { border-radius: var(--radius-sm); }
  .hero-card-preview img { height: auto; max-height: 200px; object-fit: cover; }

  .trust-logos { gap: 1rem; flex-wrap: wrap; justify-content: center; }
  .logo-item { font-size: 0.9rem; }

  .why-grid { grid-template-columns: 1fr; }
  .why-card { padding: 1.25rem; }

  .process-timeline { grid-template-columns: 1fr; }
  .process-step { padding: 1.1rem; }

  .section-title { font-size: 1.65rem; }
  .section-desc { font-size: 0.93rem; }

  /* Form touch targets */
  .form-input, .form-select, .form-textarea {
    font-size: 16px; /* Prevents iOS zoom on focus */
    padding: 0.9rem 1rem;
  }
  .privacy-checkbox { width: 22px; height: 22px; min-width: 22px; }

  /* Sections padding reduction for mobile symmetry */
  .services-section,
  .why-section,
  .calc-section,
  .portfolio-section,
  .process-section,
  .testimonials-section,
  .faq-section,
  .contact-section { padding: 3.5rem 0; }

  .section-header { margin-bottom: 1.75rem; }

  .btn { min-height: 48px; }
  .btn-primary { padding: 0.85rem 1.25rem; }

  .contact-card { padding: 1.5rem 1rem; }

  .nav-actions { gap: 0.5rem; }
  .lang-btn { padding: 0.2rem 0.45rem; font-size: 0.7rem; }

  /* Footer */
  .footer-col h4 { font-size: 1rem; }
  .footer-links a { font-size: 0.85rem; }
  .footer-bottom { font-size: 0.8rem; padding-top: 1.25rem; }

  /* FAQ */
  .faq-question { font-size: 0.88rem; padding: 1rem; gap: 0.5rem; }
  .faq-item.active .faq-answer { max-height: 400px; }

  /* Calculator */
  .calc-card { padding: 1.5rem 1rem; }
  .calc-estimate-price { font-size: 1.75rem; }

  /* WhatsApp */
  .whatsapp-float-wrap { bottom: 16px; right: 12px; }
  .whatsapp-float-btn { width: 50px; height: 50px; }
  /* Calculator Responsive Refinements */
  .calc-card { padding: 1.25rem 0.75rem; border-radius: var(--radius-sm); }
  .calc-select { font-size: 14px; padding: 0.75rem 0.6rem; }
  .checkbox-item { font-size: 0.85rem; }
  .calc-result-box { padding: 1.5rem 0.85rem; }
  .calc-estimate-price { font-size: 1.8rem; }
  #calc-transfer-btn { font-size: 0.88rem; padding: 0.85rem 0.75rem; }
}

/* ─── Very small screens: ≤ 360px ───────────────────────────────────────── */
@media (max-width: 360px) {
  .hero-title { font-size: 1.6rem; }
  .nav-brand-logo { height: 30px; }
  .contact-card { padding: 1.25rem 0.85rem; }
  .section-title { font-size: 1.5rem; }
  .calc-card { padding: 1rem 0.5rem; }
  .calc-select { font-size: 13px; padding: 0.65rem 0.5rem; }
}

/* ==========================================================================
   ANIMATIONS & MICRO-INTERACTIONS DESIGN SYSTEM
   ========================================================================== */

/* Keyframe Animations */
@keyframes floatBadge {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulseGoldGlow {
  0%, 100% {
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.5);
    border-color: rgba(255, 215, 0, 0.7);
  }
}

@keyframes cardGlowPulse {
  0%, 100% { border-color: rgba(255, 255, 255, 0.08); }
  50% { border-color: rgba(255, 215, 0, 0.3); }
}

/* Enhanced Scroll Reveal Transitions */
.reveal {
  opacity: 0;
  transform: translateY(35px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Card Hover Micro-Animations */
.service-card, .why-card, .process-step, .testi-card, .contact-card, .calc-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 20px 40px -10px rgba(255, 215, 0, 0.15);
}

.why-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--color-primary);
  box-shadow: 0 15px 30px -5px rgba(255, 215, 0, 0.2);
}

.process-step {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-step:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 25px -5px rgba(255, 215, 0, 0.2);
}

.process-step:hover .step-num {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.step-num {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.testi-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 215, 0, 0.35);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

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


/* ─── Landscape phones ───────────────────────────────────────────────────── */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { padding: 5rem 0 2.5rem; }
  .hero-title { font-size: 1.7rem; }
  .nav-menu-mobile { padding-top: 4rem; }
}

