/* =====================================================
   AIR FLOW SOLUTIONS — Dark Luxury Blue Design System
   ===================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background: #000;
  color: #E4E4E7;
  overflow-x: hidden;
  line-height: 1.7;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

input,
select,
textarea {
  font-family: inherit;
}

/* === CSS VARIABLES === */
:root {
  --primary-50: #EFF6FF;
  --primary-100: #DBEAFE;
  --primary-200: #BFDBFE;
  --primary-300: #93C5FD;
  --primary-400: #60A5FA;
  --primary-500: #3B82F6;
  --primary-600: #2563EB;
  --primary-700: #1D4ED8;
  --primary-800: #1E40AF;
  --primary-900: #1E3A8A;
  --primary-rgb: 59, 130, 246;

  --bg-primary: #000000;
  --bg-secondary: #09090B;
  --bg-tertiary: #18181B;
  --bg-card: #0F0F12;

  --text-primary: #FFFFFF;
  --text-secondary: #E4E4E7;
  --text-tertiary: #A1A1AA;
  --text-quaternary: #71717A;

  --success: #22C55E;
  --warning: #F59E0B;
  --info: #3B82F6;

  --border: rgba(59, 130, 246, 0.12);
  --border-hover: rgba(59, 130, 246, 0.35);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.3),
    0 0 80px rgba(59, 130, 246, 0.15);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

/* === LAYOUT === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === GRADIENT TEXT === */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-300) 50%, #60C7FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === GLASS CARD === */
.glass-card {
  background: linear-gradient(135deg,
      rgba(var(--primary-rgb), 0.08) 0%,
      rgba(var(--primary-rgb), 0.04) 50%,
      rgba(var(--primary-rgb), 0.08) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.4),
    0 2px 4px -2px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 25px 50px -12px rgba(var(--primary-rgb), 0.25), var(--shadow-glow);
  transform: translateY(-4px);
}

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-600) 30%, var(--primary-500) 60%, var(--primary-600) 100%);
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(var(--primary-rgb), 0.5),
    0 4px 24px rgba(var(--primary-rgb), 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  animation: gradient-shift 4s ease infinite, pulse-glow 3s ease-in-out infinite;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.15);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid rgba(var(--primary-rgb), 0.35);
  color: var(--primary-400);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(var(--primary-rgb), 0.1);
  border-color: var(--primary-500);
  color: #fff;
  transform: translateY(-2px);
}

.btn-nav {
  background: rgba(var(--primary-rgb), 0.12);
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  color: var(--primary-400);
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.btn-nav:hover {
  background: rgba(var(--primary-rgb), 0.2);
  border-color: var(--primary-500);
  color: #fff;
}

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

/* === SECTION HEADERS === */
.section-label {
  display: inline-block;
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  color: var(--primary-400);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-tertiary);
  max-width: 540px;
  margin: 0 auto;
}

/* =====================
   NAVBAR
   ===================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.menu-open {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border-bottom: none !important;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
  padding: 14px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.logo-icon-sm {
  width: 36px;
  height: 36px;
}

.logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-primary);
}

.logo-accent {
  color: var(--primary-400);
}

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

.nav-link {
  color: var(--text-tertiary);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
  padding: 4px 0;
}

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

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

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =====================
   HERO
   ===================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
  background: #000;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 60% 50%, rgba(var(--primary-rgb), 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 80%, rgba(29, 78, 216, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Particles */
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--primary-500);
  border-radius: 50%;
  opacity: 0;
  animation: float-particle 20s infinite ease-in-out;
}

.particle:nth-child(3n) {
  background: var(--primary-300);
  width: 2px;
  height: 2px;
}

.particle:nth-child(5n) {
  background: var(--primary-700);
  width: 4px;
  height: 4px;
}

/* Hero content */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  color: var(--primary-300);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 28px;
  opacity: 0;
  animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-500);
  border-radius: 50%;
  animation: badge-pulse 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
  opacity: 0;
  animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-tertiary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
  opacity: 0;
  animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.hero-subtitle strong {
  color: var(--text-primary);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  opacity: 0;
  animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}

.hero-stats {
  display: flex;
  gap: 0;
  align-items: center;
  opacity: 0;
  animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

.stat {
  text-align: center;
  padding: 0 28px;
}

.stat:first-child {
  padding-left: 0;
}

.stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-400);
  display: inline-block;
}

.stat-suffix {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-400);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-quaternary);
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 44px;
  background: rgba(var(--primary-rgb), 0.15);
}

/* Hero visual — AC Unit */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: fade-in-rotate 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-ac-wrap {
  position: relative;
  width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ac-glow-halo {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 180px;
  background: radial-gradient(ellipse, rgba(var(--primary-rgb), 0.25) 0%, rgba(var(--primary-rgb), 0.06) 50%, transparent 75%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(22px);
  animation: halo-pulse 4s ease-in-out infinite;
}

.ac-unit-container {
  position: relative;
  z-index: 1;
  width: 100%;
  animation: float-ac 5s ease-in-out infinite;
  filter: drop-shadow(0 0 28px rgba(var(--primary-rgb), 0.45)) drop-shadow(0 10px 36px rgba(0, 0, 0, 0.65));
}

.ac-svg {
  width: 100%;
  height: auto;
  display: block;
}

.airflow-streams {
  width: 100%;
  margin-top: -4px;
}

.airflow-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Airflow animation */
.afs {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: stream-flow 2s ease-in-out infinite;
}

.afs-1 {
  animation-delay: 0s;
  animation-duration: 2.2s;
}

.afs-2 {
  animation-delay: 0.3s;
  animation-duration: 2.4s;
}

.afs-3 {
  animation-delay: 0.1s;
  animation-duration: 2.0s;
}

.afs-4 {
  animation-delay: 0.2s;
  animation-duration: 2.0s;
}

.afs-5 {
  animation-delay: 0.4s;
  animation-duration: 2.4s;
}

.afs-6 {
  animation-delay: 0.15s;
  animation-duration: 2.2s;
}

/* Snowflakes */
.snow-p {
  animation: snow-fall 2.6s ease-in-out infinite;
}

.sp-1 {
  animation-delay: 0s;
  animation-duration: 2.6s;
}

.sp-2 {
  animation-delay: 0.15s;
  animation-duration: 2.4s;
}

.sp-3 {
  animation-delay: 0.3s;
  animation-duration: 2.4s;
}

.sp-4 {
  animation-delay: 0.1s;
  animation-duration: 2.8s;
}

/* LED indicator blink */
.led-blink {
  animation: led-blink 1.8s ease-in-out infinite;
}

/* Floating cards */
.float-card {
  position: absolute;
  background: rgba(10, 15, 30, 0.85);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  z-index: 3;
}

.float-card strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.float-card small {
  color: var(--text-quaternary);
}

.fc-icon {
  font-size: 1.5rem;
}

.card-a {
  top: -24px;
  left: -56px;
  animation: float 7s ease-in-out infinite 1s;
}

.card-b {
  top: 50px;
  right: -56px;
  animation: float 8s ease-in-out infinite 2s;
}

.card-c {
  bottom: 10px;
  left: -40px;
  animation: float 6s ease-in-out infinite 0.5s;
}

/* AC-specific keyframes */
@keyframes float-ac {

  0%,
  100% {
    transform: translateY(0px);
  }

  40% {
    transform: translateY(-10px);
  }

  70% {
    transform: translateY(-5px);
  }
}

@keyframes halo-pulse {

  0%,
  100% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@keyframes stream-flow {
  0% {
    stroke-dashoffset: 100;
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  80% {
    stroke-dashoffset: 0;
    opacity: 0.8;
  }

  100% {
    stroke-dashoffset: -15;
    opacity: 0;
  }
}

@keyframes snow-fall {
  0% {
    transform: translateY(0px);
    opacity: 0;
  }

  10% {
    opacity: 0.9;
  }

  85% {
    transform: translateY(78px);
    opacity: 0.6;
  }

  100% {
    transform: translateY(90px);
    opacity: 0;
  }
}

@keyframes led-blink {

  0%,
  100% {
    opacity: 1;
    fill: #3B82F6;
  }

  45%,
  55% {
    opacity: 0.2;
    fill: #1D4ED8;
  }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 2px solid rgba(var(--primary-rgb), 0.3);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--primary-500);
  border-radius: 2px;
  animation: scroll-bounce 2s ease-in-out infinite;
}

/* =====================
   BRANDS SECTION
   ===================== */
.brands-section {
  padding: 48px 0;
  border-top: 1px solid rgba(var(--primary-rgb), 0.06);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.06);
  background: rgba(0, 0, 0, 0.5);
}

.brands-label {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-quaternary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: 28px;
}

.brands-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.brand-item {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-quaternary);
  text-align: center;
  line-height: 1.2;
  transition: color 0.3s ease;
  letter-spacing: 0.02em;
}

.brand-item small {
  font-size: 0.7rem;
  font-weight: 400;
  display: block;
}

.brand-item:hover {
  color: var(--primary-400);
}

/* =====================
   SERVICES SECTION
   ===================== */
.services-section {
  padding: 100px 0;
  background: var(--bg-primary);
  position: relative;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(var(--primary-rgb), 0.05) 0%, transparent 70%);
  pointer-events: none;
}

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

/* — Flip Cards — */
.service-card-flip {
  height: 380px;
  perspective: 1200px;
  cursor: pointer;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-flip:hover .service-card-inner,
.service-card-flip.flipped .service-card-inner {
  transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card-front {
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px;
  text-align: center;
  transition: var(--transition);
}

.service-card-front::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(var(--primary-rgb), 0.06) 0%, transparent 100%);
  pointer-events: none;
}

.service-card-front h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  position: relative;
}

.svc-front-hint {
  font-size: 0.75rem;
  color: var(--text-quaternary);
  position: relative;
}

.svc-icon-wrap {
  width: 80px;
  height: 80px;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition);
}

.svc-icon-wrap::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card-flip:hover .svc-icon-wrap {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.3);
}

.service-card-flip:hover .svc-icon-wrap::after {
  opacity: 1;
}

.service-card-back {
  transform: rotateY(180deg);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 32px;
  background: linear-gradient(135deg,
      rgba(var(--primary-rgb), 0.1) 0%,
      rgba(var(--primary-rgb), 0.05) 50%,
      rgba(10, 10, 20, 0.95) 100%);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.svc-back-icon {
  font-size: 2rem;
}

.service-card-back h3 {
  font-size: 1.15rem;
  color: var(--text-primary);
}

.service-card-back p {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  line-height: 1.6;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.feature-tag {
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  color: var(--primary-400);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

/* === Photo Service Cards === */
.service-card-front.svc-photo {
  border: none !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  display: block !important;
  padding: 0 !important;
}

/* Anula el ::before genérico (height:60%) — overlay oscuro full-bleed */
.service-card-front.svc-photo::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  height: 100% !important;
  width: 100% !important;
  background: linear-gradient(to bottom,
      rgba(0, 5, 20, 0.0) 0%,
      rgba(0, 5, 20, 0.15) 35%,
      rgba(0, 8, 28, 0.72) 65%,
      rgba(0, 8, 28, 0.96) 100%) !important;
  z-index: 1 !important;
  pointer-events: none !important;
  transition: background 0.5s ease !important;
}

.service-card-flip:hover .service-card-front.svc-photo::before {
  background: linear-gradient(to bottom,
      rgba(0, 5, 20, 0.05) 0%,
      rgba(0, 8, 28, 0.22) 40%,
      rgba(0, 8, 28, 0.84) 68%,
      rgba(0, 8, 28, 0.98) 100%) !important;
}

.service-card-front.svc-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-500), transparent);
  z-index: 3;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card-flip:hover .service-card-front.svc-photo::after {
  opacity: 1;
}

.svc-photo-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 24px 26px;
}

.svc-overlay-label {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-200);
  background: rgba(5, 12, 35, 0.65);
  border: 1px solid rgba(var(--primary-rgb), 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.service-card-flip:hover .svc-overlay-label {
  background: rgba(var(--primary-rgb), 0.22);
  border-color: rgba(var(--primary-rgb), 0.55);
}

.svc-photo-overlay h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  align-self: flex-start;
}

.service-card-flip:hover .svc-photo-overlay h3 {
  transform: translateY(-5px);
}

/* Project image overlay */
.project-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 5, 20, 0.1) 0%,
      rgba(0, 5, 20, 0.5) 100%);
  transition: var(--transition);
  z-index: 0;
}

.project-card:hover .project-img-overlay {
  background: linear-gradient(to bottom,
      rgba(var(--primary-rgb), 0.1) 0%,
      rgba(0, 5, 20, 0.65) 100%);
}

.project-visual {
  position: relative;
  overflow: hidden;
}

.project-visual .project-overlay {
  position: relative;
  z-index: 2;
}

.project-card:hover .project-visual {
  background-size: 110% !important;
}

/* =====================
   PROJECTS SECTION
   ===================== */
.projects-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}

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

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(var(--primary-rgb), 0.2);
}

.project-visual {
  height: 200px;
  position: relative;
  overflow: hidden;
  background-size: 100%;
  transition: background-size 0.5s ease;
}

.project-card:hover .project-visual {
  background-size: 110% !important;
}

.pv-1 {
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb), 0.2) 0%, rgba(29, 78, 216, 0.3) 100%),
    repeating-linear-gradient(45deg, rgba(var(--primary-rgb), 0.05) 0px, rgba(var(--primary-rgb), 0.05) 1px, transparent 1px, transparent 20px),
    repeating-linear-gradient(-45deg, rgba(var(--primary-rgb), 0.05) 0px, rgba(var(--primary-rgb), 0.05) 1px, transparent 1px, transparent 20px),
    #0a0f1e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pv-1::after {
  content: '🏠';
  font-size: 4rem;
  filter: drop-shadow(0 0 20px rgba(var(--primary-rgb), 0.5));
}

.pv-2 {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%),
    #0a0e1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pv-2::after {
  content: '🏢';
  font-size: 4rem;
  filter: drop-shadow(0 0 20px rgba(var(--primary-rgb), 0.5));
}

.pv-3 {
  background:
    linear-gradient(135deg, rgba(29, 78, 216, 0.2) 0%, rgba(124, 58, 237, 0.15) 100%),
    #09080f;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pv-3::after {
  content: '🏭';
  font-size: 4rem;
  filter: drop-shadow(0 0 20px rgba(124, 58, 237, 0.5));
}

.project-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
}

.project-cat {
  background: rgba(var(--primary-rgb), 0.15);
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  color: var(--primary-300);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.project-info {
  padding: 24px;
}

.project-info h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.project-info p {
  font-size: 0.88rem;
  color: var(--text-tertiary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.project-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-quaternary);
}

/* =====================
   ABOUT SECTION
   ===================== */
.about-section {
  padding: 100px 0;
  background: var(--bg-primary);
}

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

.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-sphere {
  width: 260px;
  height: 260px;
  background: radial-gradient(ellipse at 30% 30%, rgba(var(--primary-rgb), 0.15) 0%, transparent 60%),
    rgba(var(--primary-rgb), 0.05);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  animation: float 6s ease-in-out infinite;
}

.about-badge {
  position: absolute;
  background: rgba(10, 15, 30, 0.9);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.about-badge strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.about-badge small {
  color: var(--text-quaternary);
}

.about-badge span {
  font-size: 1.4rem;
}

.sec-badge {
  top: 0;
  right: -20px;
}

.exp-badge {
  bottom: 20px;
  left: -20px;
}

.about-text {
  font-size: 1rem;
  color: var(--text-tertiary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-text strong {
  color: var(--text-primary);
}

.about-content .section-title {
  font-size: 2.2rem;
}

.about-content .section-label {
  margin-top: 0;
}

.about-values {
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: rgba(var(--primary-rgb), 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.value-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.value-item strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.value-item p {
  font-size: 0.84rem;
  color: var(--text-tertiary);
}

/* =====================
   TESTIMONIALS
   ===================== */
.testimonials-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}

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

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stars {
  color: #F59E0B;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-tertiary);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.testimonial-text::before {
  content: '"';
  color: var(--primary-500);
  font-size: 1.5rem;
  line-height: 0;
  vertical-align: -0.4em;
  margin-right: 2px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
  border: 2px solid rgba(var(--primary-rgb), 0.3);
}

.av-1 {
  background: linear-gradient(135deg, #1D4ED8, #3B82F6);
}

.av-2 {
  background: linear-gradient(135deg, #2563EB, #06B6D4);
}

.av-3 {
  background: linear-gradient(135deg, #7C3AED, #3B82F6);
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.testimonial-author small {
  font-size: 0.8rem;
  color: var(--text-quaternary);
}

/* =====================
   CTA SECTION
   ===================== */
.cta-section {
  padding: 100px 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.cta-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(var(--primary-rgb), 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.cta-container {
  position: relative;
  z-index: 1;
}

.cta-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: var(--text-tertiary);
  line-height: 1.7;
  margin-bottom: 40px;
}

.cta-form-wrap {
  text-align: left;
  margin-bottom: 24px;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-tertiary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.92rem;
  width: 100%;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group select option {
  background: #1a1a2e;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-quaternary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.cta-trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

/* =====================
   FOOTER
   ===================== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding-top: 64px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-quaternary);
  line-height: 1.7;
  margin: 16px 0 24px;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-quaternary);
  transition: var(--transition);
}

.social-link:hover {
  border-color: rgba(var(--primary-rgb), 0.4);
  color: var(--primary-400);
  background: rgba(var(--primary-rgb), 0.08);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col li {
  font-size: 0.88rem;
  color: var(--text-quaternary);
}

.footer-col a {
  color: var(--text-quaternary);
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-quaternary);
  text-align: center;
}

/* =====================
   REVEAL ANIMATIONS
   ===================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* =====================
   KEYFRAMES
   ===================== */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in-rotate {
  from {
    opacity: 0;
    transform: scale(0.9) rotateY(-10deg);
  }

  to {
    opacity: 1;
    transform: scale(1) rotateY(0deg);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-16px) rotate(1.5deg);
  }

  50% {
    transform: translateY(-8px) rotate(-1.5deg);
  }

  75% {
    transform: translateY(-24px) rotate(0.5deg);
  }
}

@keyframes sphere-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes float-particle {

  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0;
  }

  10% {
    opacity: 0.6;
  }

  50% {
    transform: translate(80px, -180px);
    opacity: 0.4;
  }

  90% {
    opacity: 0.2;
  }
}

@keyframes gradient-shift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.5),
      0 4px 24px rgba(var(--primary-rgb), 0.4),
      0 0 60px rgba(var(--primary-rgb), 0.2);
  }

  50% {
    box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.8),
      0 8px 40px rgba(var(--primary-rgb), 0.6),
      0 0 80px rgba(var(--primary-rgb), 0.4);
  }
}

@keyframes badge-pulse {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.4);
  }

  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 6px rgba(var(--primary-rgb), 0);
  }
}

@keyframes scroll-bounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(10px);
    opacity: 0.4;
  }
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1023px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .hero-visual {
    justify-content: center;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

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

  .about-container {
    grid-template-columns: 1fr;
  }

  .about-visual {
    margin-bottom: 24px;
  }

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

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

  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .section-title {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(24px);
    align-items: center;
    justify-content: center;
    gap: 40px;
    z-index: 999;
  }

  .nav-links.open .nav-link {
    font-size: 1.5rem;
  }

  .btn-nav {
    display: none;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .hamburger.active {
    position: fixed;
    top: 20px;
    right: 24px;
  }

  .hero-ac-wrap {
    width: 340px;
  }

  .card-a,
  .card-b,
  .card-c {
    display: none;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

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

  .service-card-flip {
    height: 320px;
  }

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

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

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

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .brands-grid {
    gap: 28px;
  }

  .particle:nth-child(n+20) {
    display: none;
  }
}

@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }

  .hero-title {
    font-size: 5rem;
  }
}