/* ============================================================
   HYETECH SOLUTIONS — Light Theme Design System
   DESIGN_VARIANCE: 8 | MOTION_INTENSITY: 6 | VISUAL_DENSITY: 4
   ============================================================ */

/* --- Base ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: #ffffff; color: #18181b; }
::selection { background: rgba(24, 24, 27, 0.08); color: #18181b; }


::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #fafafa; }
::-webkit-scrollbar-thumb { background: #d4d4d8; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #a1a1aa; }

/* --- HomeKit-Style Service Icon Colors (modifiers) ------------- */
/* Home Automation — Purple */
.service-icon--home { background: #F3E8FF; border: 1px solid #E0CFFC; }
.service-icon--home svg { color: #8B5CF6; }

/* Audio/Video — Coral/Red */
.service-icon--av { background: #FFF0F1; border: 1px solid #FECDD3; }
.service-icon--av svg { color: #F43F5E; }

/* Networking — Blue */
.service-icon--net { background: #EFF6FF; border: 1px solid #BFDBFE; }
.service-icon--net svg { color: #2563EB; }

/* Security — Green */
.service-icon--cam { background: #ECFDF5; border: 1px solid #A7F3D0; }
.service-icon--cam svg { color: #16A34A; }

/* --- Text Gradient (dark shimmer for light backgrounds) ------- */
.text-gradient-dark {
  background: linear-gradient(135deg, #18181b 0%, #52525b 50%, #18181b 100%);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
}

/* --- Text Gradient (light shimmer for dark backgrounds) ------- */
.text-gradient-light {
  background: linear-gradient(135deg, #e4e4e7 0%, #a1a1aa 50%, #e4e4e7 100%);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
}

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

/* ============================================================
   NAVBAR — Glassmorphism with liquid glass refraction
   ============================================================ */
.navbar-inner { transition: all 0.4s ease; }
#navbar { transition: all 0.4s ease; }

#navbar.scrolled .navbar-inner {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 0.5px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  border-radius: 0;
  max-width: 100%;
  padding: 0 24px;
}

#navbar.scrolled { background: transparent; }

/* --- Buttons -------------------------------------------------- */
.apple-btn {
  background: #18181b;
  color: #fff;
  border-radius: 980px;
  display: inline-block;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: -0.01em;
}
.apple-btn:hover { background: #27272a; }
.apple-btn:active { transform: scale(0.98); }

.apple-btn-primary {
  display: inline-block;
  background: #18181b;
  color: #fff;
  border-radius: 980px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: -0.01em;
}
.apple-btn-primary:hover {
  background: #27272a;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
.apple-btn-primary:active { transform: scale(0.98) translateY(1px); }

.apple-btn-ghost {
  display: inline-block;
  background: rgba(0,0,0,0.03);
  color: #18181b;
  border: 0.5px solid rgba(0,0,0,0.12);
  border-radius: 980px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: -0.01em;
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}
.apple-btn-ghost:hover {
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.2);
}
.apple-btn-ghost:active { transform: scale(0.98) translateY(1px); }

/* --- Magnetic Button ------------------------------------------ */
.magnetic-btn {
  will-change: transform;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease, box-shadow 0.25s ease;
}

/* --- Mobile Menu ---------------------------------------------- */
.mobile-menu-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-bottom: 0.5px solid rgba(0,0,0,0.06);
}
.mobile-menu-panel.open { max-height: 360px; }

#menu-btn.open .ham-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
#menu-btn.open .ham-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
#menu-btn.open .ham-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 22px; background: #18181b; }

/* ============================================================
   BACKGROUND CANVAS
   ============================================================ */
#bg-canvas { opacity: 0.9; }

/* ============================================================
   HERO — Video Background + Inward Radial Vignette (to white)
   ============================================================ */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Inward radial mask: subtle white wash center, solid white edges */
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(
      ellipse 65% 60% at 50% 50%,
      rgba(255, 255, 255, 0.45) 0%,
      rgba(255, 255, 255, 0.60) 35%,
      rgba(255, 255, 255, 0.80) 58%,
      rgba(255, 255, 255, 0.95) 76%,
      #ffffff 100%
    );
  pointer-events: none;
}

/* ============================================================
   PERPETUAL MICRO-INTERACTIONS
   ============================================================ */

/* Breathing dot — neon blue glow (matches hero house) */
@keyframes breathe {
  0%, 100% { opacity: 0.6; transform: scale(0.85); box-shadow: 0 0 4px rgba(14, 165, 233, 0.4); }
  50%      { opacity: 1;   transform: scale(1.15); box-shadow: 0 0 10px rgba(14, 165, 233, 0.9), 0 0 22px rgba(14, 165, 233, 0.35); }
}
.animate-breathe {
  animation: breathe 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.hero-glow-dot {
  background: #0EA5E9;
  box-shadow: 0 0 6px rgba(14, 165, 233, 0.6);
}

/* Float */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.animate-float-slow {
  animation: floatSlow 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ============================================================
   SCROLL CUE
   ============================================================ */
.scroll-cue { animation: scrollBob 2.5s ease-in-out infinite; }
.scroll-dot {
  width: 20px; height: 32px;
  border: 1.5px solid rgba(0,0,0,0.15);
  border-radius: 10px;
  position: relative;
}
.scroll-dot::after {
  content: '';
  position: absolute;
  top: 5px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 6px;
  background: rgba(0,0,0,0.35);
  border-radius: 2px;
  animation: scrollDot 2.5s ease-in-out infinite;
}
@keyframes scrollBob {
  0%, 100% { transform: translateY(0); opacity: 0.8; }
  50%       { transform: translateY(4px); opacity: 0.4; }
}
@keyframes scrollDot {
  0%   { top: 5px; opacity: 1; }
  100% { top: 16px; opacity: 0; }
}

/* ============================================================
   SCROLL-DRIVEN VIDEO — Exploding Stereo View
   ============================================================ */
.stereo-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #0a0a0a;
}

.stereo-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Cinematic overlay — dark gradient for text + white fade transitions */
.stereo-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    /* Top: white fade-in from page above */
    linear-gradient(to bottom,
      #ffffff 0%,
      rgba(255,255,255,0.7) 6%,
      rgba(255,255,255,0.2) 14%,
      transparent 22%
    ),
    /* Bottom: white fade-out to page below */
    linear-gradient(to top,
      #ffffff 0%,
      rgba(255,255,255,0.7) 6%,
      rgba(255,255,255,0.2) 14%,
      transparent 22%
    ),
    /* Left dark gradient for text readability */
    linear-gradient(to right,
      rgba(0,0,0,0.82) 0%,
      rgba(0,0,0,0.55) 30%,
      rgba(0,0,0,0.15) 55%,
      transparent 75%
    ),
    /* Bottom ambient darken */
    linear-gradient(to top,
      rgba(0,0,0,0.3) 0%,
      transparent 25%
    );
}

.stereo-overlay {
  position: absolute;
  left: 6%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 400px;
  pointer-events: none;
}

.stereo-headline {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #f4f4f5;
  margin: 12px 0 16px;
}

.stereo-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  max-width: 360px;
}

.stereo-text {
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: absolute;
  top: 0;
  left: 0;
}

.stereo-text-hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.stereo-text-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Progress bar at bottom */
.stereo-progress-track {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 1px;
  z-index: 3;
  overflow: hidden;
}

.stereo-progress-bar {
  height: 100%;
  width: 0%;
  background: #18181b;
  border-radius: 1px;
  transition: width 0.1s linear;
}

@media (max-width: 768px) {
  .stereo-video {
    left: 50%;
    height: 60vh;
    max-width: none;
    top: 35%;
    -webkit-mask-image:
      radial-gradient(
        ellipse 45% 45% at 50% 50%,
        black 0%, black 30%,
        rgba(0,0,0,0.5) 55%,
        transparent 80%
      );
    mask-image:
      radial-gradient(
        ellipse 45% 45% at 50% 50%,
        black 0%, black 30%,
        rgba(0,0,0,0.5) 55%,
        transparent 80%
      );
  }
  .stereo-overlay {
    left: 5%;
    right: 5%;
    top: auto;
    bottom: 10%;
    transform: none;
    max-width: none;
  }
  .stereo-headline {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  .stereo-sub {
    font-size: 14px;
    max-width: none;
  }
}

/* ============================================================
   SCROLL-DRIVEN RACK BUILD — Text panel transitions
   ============================================================ */
.rack-text-panel {
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: absolute;
  top: 50%;
  left: 4%;
  transform: translateY(-50%);
  max-width: 420px;
}
.rack-panel-hidden {
  opacity: 0;
  transform: translateY(calc(-50% + 24px));
  pointer-events: none;
}
.rack-panel-visible {
  opacity: 1;
  transform: translateY(-50%);
}

@media (max-width: 768px) {
  .rack-text-panel {
    left: 5%;
    right: 5%;
    top: auto;
    bottom: 12%;
    transform: none;
    max-width: none;
  }
  .rack-panel-hidden {
    transform: translateY(24px);
  }
  .rack-panel-visible {
    transform: none;
  }
}

/* ============================================================
   KINETIC MARQUEE
   ============================================================ */
.marquee-track {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}
.marquee-item {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.marquee-sep {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   SECTION HELPERS
   ============================================================ */
.section-dark { background: #f9fafb; }

.section-label {
  display: inline-block;
  color: #71717a;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-headline {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: #18181b;
  margin-bottom: 20px;
}

.section-sub {
  color: #71717a;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.65;
}

/* ============================================================
   SPOTLIGHT CARDS — Border illumination on cursor
   ============================================================ */
.spotlight-card {
  --spotlight-x: 50%;
  --spotlight-y: 50%;
  --spotlight-opacity: 0;
  position: relative;
  overflow: hidden;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--spotlight-x) var(--spotlight-y),
    rgba(24,24,27,0.04),
    transparent 40%
  );
  opacity: var(--spotlight-opacity);
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: inherit;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-card {
  background: #ffffff;
  border: 0.5px solid #e4e4e7;
  border-radius: 18px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  border-color: rgba(24,24,27,0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.06), 0 0 0 0.5px rgba(24,24,27,0.08);
}

.service-icon {
  width: 52px; height: 52px;
  background: rgba(24,24,27,0.04);
  border: 0.5px solid rgba(24,24,27,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #52525b;
  transition: all 0.3s ease;
}
.service-card:hover .service-icon {
  background: rgba(24,24,27,0.08);
  border-color: rgba(24,24,27,0.2);
  box-shadow: 0 0 20px rgba(24,24,27,0.06);
}

/* ============================================================
   PAIN POINTS — Stacked with dividers + colored icons
   ============================================================ */
.pain-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pain-icon svg {
  width: 1.625rem;
  height: 1.625rem;
}

/* Dead Zones — Blue (networking) */
.pain-icon--wifi { background: #EFF6FF; border: 1px solid #BFDBFE; }
.pain-icon--wifi svg { color: #2563EB; }

/* Too Many Apps — Purple (automation) */
.pain-icon--apps { background: #F3E8FF; border: 1px solid #E0CFFC; }
.pain-icon--apps svg { color: #8B5CF6; }

/* Bad Installs — Coral/Red */
.pain-icon--install { background: #FFF0F1; border: 1px solid #FECDD3; }
.pain-icon--install svg { color: #F43F5E; }

/* Security Blind Spots — Green */
.pain-icon--security { background: #ECFDF5; border: 1px solid #A7F3D0; }
.pain-icon--security svg { color: #16A34A; }

/* ============================================================
   PROCESS
   ============================================================ */
/* Process flow layout */
.process-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .process-flow { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .process-flow {
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: stretch;
    gap: 0;
    column-gap: 12px;
  }
}

/* Arrow connectors */
.process-arrow {
  align-items: center;
  justify-content: center;
  opacity: 0.5;
}

.process-card {
  position: relative;
  z-index: 1;
  padding: 32px 28px;
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
/* Colored top accent bar */
.process-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.process-card:hover::before { opacity: 1; }
.process-card--1::before { background: linear-gradient(90deg, #8B5CF6, #A78BFA); }
.process-card--2::before { background: linear-gradient(90deg, #F43F5E, #FB7185); }
.process-card--3::before { background: linear-gradient(90deg, #2563EB, #60A5FA); }
.process-card--4::before { background: linear-gradient(90deg, #16A34A, #4ADE80); }

.process-card:hover {
  border-color: rgba(24,24,27,0.12);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}

.process-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.process-step-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: #d4d4d8;
  letter-spacing: 0.1em;
}

/* Process icons — colored like HomeKit */
.process-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
}
.process-icon svg {
  width: 24px; height: 24px;
  transition: color 0.35s ease;
}

/* Step 1 — Purple (Discovery) */
.process-icon--1 { background: #F3E8FF; border: 1px solid #E0CFFC; }
.process-icon--1 svg { color: #8B5CF6; }
.group:hover .process-icon--1 { background: #EDE9FE; box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12); }

/* Step 2 — Coral (Design) */
.process-icon--2 { background: #FFF0F1; border: 1px solid #FECDD3; }
.process-icon--2 svg { color: #F43F5E; }
.group:hover .process-icon--2 { background: #FFE4E6; box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.12); }

/* Step 3 — Blue (Install) */
.process-icon--3 { background: #EFF6FF; border: 1px solid #BFDBFE; }
.process-icon--3 svg { color: #2563EB; }
.group:hover .process-icon--3 { background: #DBEAFE; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12); }

/* Step 4 — Green (Support) */
.process-icon--4 { background: #ECFDF5; border: 1px solid #A7F3D0; }
.process-icon--4 svg { color: #16A34A; }
.group:hover .process-icon--4 { background: #D1FAE5; box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: #ffffff;
  border: 1px solid rgba(24,24,27,0.06);
  border-radius: 20px;
  padding: 32px 28px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.02);
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonial-card:hover {
  border-color: rgba(24,24,27,0.1);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
}

/* Expanded testimonial overlay */
.testimonial-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  z-index: 999;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
  pointer-events: none;
}
.testimonial-backdrop.active {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  pointer-events: auto;
}

.testimonial-card.expanded {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 1000 !important;
  max-width: 600px;
  width: calc(100% - 48px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0,0,0,0.05);
  border-color: transparent;
  margin: 0 !important;
}
.testimonial-card.expanded:hover {
  transform: translate(-50%, -50%) !important;
}
.testimonial-card.collapsing {
  position: fixed !important;
  z-index: 1000 !important;
  transition: top 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              left 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.5s ease;
  margin: 0 !important;
}
.testimonial-card.collapsing:hover {
  transform: none !important;
}

.avatar {
  width: 40px; height: 40px;
  background: rgba(24,24,27,0.06);
  border: 0.5px solid rgba(24,24,27,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #18181b;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

/* ============================================================
   ABOUT
   ============================================================ */
.partner-badge {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(24,24,27,0.03);
  border: 0.5px solid #e4e4e7;
  border-radius: 30px;
  font-size: 0.75rem;
  color: #71717a;
  transition: all 0.2s ease;
}
.partner-badge:hover {
  color: #18181b;
  border-color: rgba(24,24,27,0.25);
  background: rgba(24,24,27,0.05);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-glow {
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(24,24,27,0.02) 0%, transparent 70%);
}
.cta-card {
  background: #ffffff;
  border: 0.5px solid #e4e4e7;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 20px 40px -15px rgba(0,0,0,0.05);
}

.contact-option {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fafafa;
  border: 0.5px solid #e4e4e7;
  border-radius: 14px;
  padding: 16px 20px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact-option:hover {
  border-color: rgba(24,24,27,0.25);
  background: rgba(24,24,27,0.03);
}

.contact-option-icon {
  width: 40px; height: 40px;
  background: rgba(24,24,27,0.04);
  border: 0.5px solid rgba(24,24,27,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #52525b;
  flex-shrink: 0;
}

.divider-line {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #a1a1aa;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.divider-line::before,
.divider-line::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: rgba(0,0,0,0.08);
}

/* ============================================================
   FORM
   ============================================================ */
.form-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #71717a;
  margin-bottom: 7px;
}
.form-input {
  width: 100%;
  background: #fafafa;
  border: 0.5px solid #e4e4e7;
  border-radius: 10px;
  padding: 12px 14px;
  color: #18181b;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: all 0.2s ease;
  -webkit-appearance: none;
}
.form-input::placeholder { color: rgba(113,113,122,0.5); }
.form-input:focus {
  border-color: rgba(24,24,27,0.35);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(24,24,27,0.04);
}
.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2371717a' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}
.form-select option { background: #fff; color: #18181b; }

/* ============================================================
   SCROLL REVEAL — Whole-section pop-up (Framer style)
   The ENTIRE section pops into view as one unit: scales up
   from slightly smaller + shifts up + fades in.
   ============================================================ */

/* Section-level pop: wraps ALL content inside a section */
.section-pop {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.section-pop.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Basic element reveal (kept for hero cascade + minor elements) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* (old 3D rack section styles removed — replaced by scroll-driven rack build above) */

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio-filter {
  padding: 8px 20px;
  border-radius: 980px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #71717a;
  background: rgba(24,24,27,0.03);
  border: 0.5px solid #e4e4e7;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.portfolio-filter:hover {
  color: #18181b;
  border-color: rgba(24,24,27,0.2);
  background: rgba(24,24,27,0.05);
}
.portfolio-filter.active {
  color: #fff;
  background: #18181b;
  border-color: #18181b;
}

.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.portfolio-item {
  width: calc(50% - 12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.portfolio-item.portfolio-wide {
  width: calc(50% - 12px);
}
@media (max-width: 768px) {
  .portfolio-item,
  .portfolio-item.portfolio-wide { width: 100%; }
}

.portfolio-item.filter-hidden {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.portfolio-thumb {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #f4f4f5;
  border: 0.5px solid #e4e4e7;
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}
.portfolio-card:hover .portfolio-thumb {
  border-color: rgba(24,24,27,0.18);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.portfolio-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(255,255,255,0.85) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }

.portfolio-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(24,24,27,0.08);
  border: 0.5px solid rgba(24,24,27,0.15);
  border-radius: 980px;
  font-size: 11px;
  font-weight: 500;
  color: #18181b;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- Portfolio Lightbox -------------------------------------- */
.portfolio-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  cursor: pointer;
  padding: 40px 24px;
}
.portfolio-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}
.portfolio-lightbox-img {
  max-width: 85vw;
  max-height: 75vh;
  border-radius: 16px;
  object-fit: contain;
  transform: scale(0.92);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.portfolio-lightbox.active .portfolio-lightbox-img {
  transform: scale(1);
}
.portfolio-lightbox-caption {
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.6;
  margin-top: 20px;
  max-width: 500px;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.4s ease 0.15s;
}
.portfolio-lightbox.active .portfolio-lightbox-caption {
  transform: translateY(0);
  opacity: 1;
}

/* Make portfolio items clickable */
.portfolio-card { cursor: pointer; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 680px;
  margin: 0 auto;
}
.faq-item {
  background: #ffffff;
  border: 0.5px solid #e4e4e7;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item.open { border-color: rgba(24,24,27,0.25); }
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: center;
}
.faq-question {
  font-size: 16px;
  font-weight: 600;
  color: #18181b;
  line-height: 1.4;
}
.faq-chevron {
  color: #a1a1aa;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: #18181b; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 24px;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 20px; }
.faq-answer p { color: #71717a; font-size: 15px; line-height: 1.7; }

/* ============================================================
   RESPONSIVE — Mobile collapse (taste-skill: MOBILE OVERRIDE)
   ============================================================ */
@media (max-width: 768px) {
  .cta-card { padding: 24px 20px; }
  .section-headline { letter-spacing: -0.01em; }
  .hero-dash-wrap { display: none; }
}
