/* ============================================
   Scale Lead — Social Media Marketing
   Bold dark hero · Mint + Indigo accents
   ============================================ */

/* --------------------------------------------
   1. Design Tokens
   -------------------------------------------- */
:root {
  /* Core palette — bright green hero */
  --hero-bg: #163D2E;
  --hero-bg-soft: #1C4D38;
  --hero-bg-deep: #123326;

  --accent-mint: #6EE7A8;
  --accent-mint-light: #A7F3D0;
  --accent-mint-dark: #34D399;
  --accent-mint-muted: rgba(110, 231, 168, 0.2);
  --accent-mint-glow: rgba(110, 231, 168, 0.48);

  --accent-indigo: #6366F1;
  --accent-indigo-light: #818CF8;
  --accent-indigo-dark: #4F46E5;
  --accent-indigo-muted: rgba(99, 102, 241, 0.14);
  --accent-indigo-glow: rgba(99, 102, 241, 0.35);

  /* Surfaces */
  --bg-primary: #F8FAFC;
  --bg-secondary: #EEF2F7;
  --bg-tertiary: #E2E8F0;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --bg-dark: #0B0F14;
  --bg-dark-elevated: #141B24;
  --bg-dark-card: rgba(255, 255, 255, 0.04);

  /* Text */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-on-dark: #F1F5F9;
  --text-on-dark-muted: #94A3B8;

  /* Borders & glass */
  --border: rgba(15, 23, 42, 0.08);
  --border-light: rgba(15, 23, 42, 0.12);
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-bg-dark: rgba(255, 255, 255, 0.05);
  --glass-blur: blur(20px);

  /* Gradients */
  --gradient-accent: linear-gradient(135deg, var(--accent-mint) 0%, var(--accent-mint-dark) 100%);
  --gradient-accent-reverse: linear-gradient(135deg, var(--accent-mint-dark) 0%, var(--accent-mint) 100%);
  --gradient-accent-soft: linear-gradient(135deg, rgba(110, 231, 168, 0.16) 0%, rgba(52, 211, 153, 0.12) 100%);
  --gradient-hero-glow: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(110, 231, 168, 0.26) 0%, transparent 70%);
  --gradient-text: linear-gradient(135deg, var(--accent-mint-light) 0%, var(--accent-mint) 100%);
  --gradient-dark: linear-gradient(180deg, var(--hero-bg) 0%, var(--hero-bg-soft) 100%);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.1);
  --shadow-xl: 0 24px 64px rgba(15, 23, 42, 0.14);
  --shadow-mint: 0 8px 32px var(--accent-mint-glow);
  --shadow-indigo: 0 8px 32px var(--accent-indigo-glow);
  --shadow-glass: 0 8px 32px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.6);

  /* Typography — Syne for editorial display, DM Sans for body */
  --font-display: 'Syne', 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --display-leading: 1.32;
  --display-tracking: -0.035em;

  /* Spacing & layout */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  --header-height: 76px;
  --container: 1200px;
  --section-padding: clamp(80px, 12vw, 140px);

  /* Motion */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --------------------------------------------
   2. Reset & Base
   -------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.modal-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

em {
  font-style: normal;
  display: inline-block;
  vertical-align: baseline;
  color: var(--accent-mint-dark);
  background: none;
  -webkit-text-fill-color: currentColor;
  padding: 0 0.01em 0.12em;
  line-height: inherit;
  overflow: visible;
}

/* Display headings — room for descenders without excess whitespace */
:where(
  h1, h2, h3, h4, h5, h6,
  .section-title,
  .hero-brand,
  .hero-title,
  .article-title,
  .contact-content h2,
  .portfolio-body h3,
  .step-content h3,
  .pricing-header h3,
  .blog-card-body h3,
  .equipment-info h4,
  .lead,
  .stat-value,
  .amount,
  .quote-mark,
  .equipment-total strong
) {
  overflow: visible;
  line-height: var(--display-leading);
  padding-bottom: 0.06em;
}

:where(.section-title, .blog-card-body h3, .article-title, .article-content h2) {
  line-height: 1.34;
  letter-spacing: var(--display-tracking);
  padding-bottom: 0.1em;
}

.section-title em {
  padding-bottom: 0.14em;
}

p,
.blog-card-body p,
.section-desc,
.hero-desc,
.hero-eyebrow {
  line-height: 1.65;
  overflow: visible;
}

.text-gradient {
  color: var(--accent-mint-dark);
  background: none;
  -webkit-text-fill-color: currentColor;
}

::selection {
  background: var(--accent-mint-muted);
  color: var(--text-primary);
}

:focus-visible {
  outline: 2px solid var(--accent-mint);
  outline-offset: 3px;
}

/* --------------------------------------------
   3. Buttons
   -------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    border-color var(--transition),
    color var(--transition);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--hero-bg);
  box-shadow: var(--shadow-mint);
}

.btn-primary:hover {
  box-shadow: 0 12px 40px var(--accent-mint-glow), 0 4px 16px var(--accent-indigo-glow);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-on-dark);
  border-color: var(--border-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-light);
}

.btn-outline:hover {
  border-color: var(--accent-indigo);
  color: var(--accent-indigo);
  background: var(--accent-indigo-muted);
}

.btn-full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* --------------------------------------------
   4. Header & Navigation
   -------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition:
    background var(--transition),
    backdrop-filter var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.header.scrolled {
  background: rgba(22, 61, 46, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-dark);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 1001;
}

.logo img {
  height: 34px;
  width: auto;
  transition: opacity var(--transition), transform var(--transition);
}

.logo:hover img {
  opacity: 0.92;
  transform: scale(1.02);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-full);
  transition:
    color var(--transition),
    background var(--transition);
}

.nav-links a:hover {
  color: var(--text-on-dark);
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  background: var(--gradient-accent) !important;
  color: var(--hero-bg) !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
  box-shadow: 0 4px 16px var(--accent-mint-glow);
}

.nav-cta:hover {
  background: var(--gradient-accent) !important;
  color: var(--hero-bg) !important;
  box-shadow: 0 6px 24px var(--accent-mint-glow);
  transform: translateY(-1px);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 4px;
}

.lang-switch span {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
  user-select: none;
}

.lang-switch a {
  padding: 8px 10px !important;
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55) !important;
}

.lang-switch a:hover {
  color: var(--text-on-dark) !important;
}

.lang-switch a.is-active {
  color: var(--accent-mint-light) !important;
  background: rgba(110, 231, 168, 0.12) !important;
}

.header.scrolled .lang-switch a.is-active {
  color: var(--accent-mint-light) !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  z-index: 1001;
  border-radius: var(--radius-md);
  transition: background var(--transition);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-on-dark);
  border-radius: 2px;
  transition:
    transform var(--transition),
    opacity var(--transition);
}

.menu-toggle.active span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle.active span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* --------------------------------------------
   5. Hero Section
   -------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(110, 231, 168, 0.24) 0%, transparent 55%),
    linear-gradient(180deg, var(--hero-bg) 0%, var(--hero-bg-soft) 100%);
  color: var(--text-on-dark);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: visible;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, black 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, black 10%, transparent 75%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: glow-drift 12s ease-in-out infinite alternate;
}

.hero-glow-1 {
  width: 480px;
  height: 480px;
  top: -5%;
  left: -5%;
  background: radial-gradient(circle, rgba(110, 231, 168, 0.32) 0%, transparent 70%);
  opacity: 0.6;
}

.hero-glow-2 {
  width: 420px;
  height: 420px;
  top: 28%;
  right: -8%;
  background: radial-gradient(circle, rgba(167, 243, 208, 0.22) 0%, transparent 70%);
  opacity: 0.5;
  animation-delay: -6s;
}

@keyframes glow-drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 20px) scale(1.1); }
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 80px;
}

.hero-content {
  max-width: 560px;
  overflow: visible;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  margin-bottom: 28px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-mint);
  background: var(--accent-mint-muted);
  border: 1px solid rgba(0, 229, 160, 0.2);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-mint);
  box-shadow: 0 0 12px var(--accent-mint);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-eyebrow {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-on-dark-muted);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.5vw, 4.75rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.04em;
  text-transform: none;
  margin-bottom: 16px;
  padding-bottom: 0.1em;
  overflow: visible;
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  color: var(--text-on-dark);
}

.hero-title .line {
  display: block;
}

.hero-title .line.accent {
  color: var(--accent-mint-light);
  background: none;
  -webkit-text-fill-color: var(--accent-mint-light);
  font-weight: 700;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-on-dark-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: clamp(24px, 4vw, 48px);
  padding-top: 32px;
  border-top: 1px solid var(--border-dark);
}

.hero-stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stats strong {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
}

.hero-stats span {
  font-size: 0.8125rem;
  color: var(--text-on-dark-muted);
  letter-spacing: 0.02em;
  text-transform: none;
}

/* Hero device mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-device {
  position: relative;
  width: min(368px, 92vw);
  padding: 14px;
  background: linear-gradient(165deg, #4a4a4c 0%, #2c2c2e 22%, #1a1a1c 55%, #252528 100%);
  border: 2px solid #636366;
  border-radius: 46px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 48px 96px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -2px 4px rgba(0, 0, 0, 0.35);
}

.hero-device::after {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 36px;
  border: 1px solid rgba(0, 0, 0, 0.45);
  pointer-events: none;
  z-index: 2;
}

.hero-device-btn {
  position: absolute;
  z-index: 4;
  background: linear-gradient(180deg, #6e6e73 0%, #48484a 100%);
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hero-device-btn--silent,
.hero-device-btn--vol-up,
.hero-device-btn--vol-down {
  left: -3px;
  width: 3px;
}

.hero-device-btn--silent {
  top: 108px;
  height: 28px;
}

.hero-device-btn--vol-up {
  top: 152px;
  height: 48px;
}

.hero-device-btn--vol-down {
  top: 208px;
  height: 48px;
}

.hero-device-btn--power {
  right: -3px;
  top: 148px;
  width: 3px;
  height: 72px;
}

.hero-device-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 3;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.hero-video-trigger {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 34px;
  overflow: hidden;
  cursor: pointer;
  border: none;
  background: #000;
  z-index: 1;
  transition:
    transform var(--transition-spring),
    box-shadow var(--transition);
}

.hero-video-trigger:hover {
  transform: scale(1.015);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.hero-video-trigger .video-thumb {
  object-fit: cover;
  padding: 0;
}

.hero-video-trigger:hover .video-play-ring {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--gradient-accent);
  color: var(--hero-bg);
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-video-trigger:hover .video-thumb,
.portfolio-video:hover .video-thumb {
  transform: scale(1.05);
}

.video-play-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  transition:
    transform var(--transition-spring),
    background var(--transition),
    color var(--transition),
    box-shadow var(--transition);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.video-play-ring svg {
  margin-left: 3px;
}

/* --------------------------------------------
   6. Marquee Band
   -------------------------------------------- */
.marquee-band {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border-dark);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.marquee {
  padding: 18px 0;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}

.marquee-track span {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

.marquee-track span:nth-child(odd) {
  color: var(--accent-mint);
  opacity: 0.7;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --------------------------------------------
   7. Sections — Shared
   -------------------------------------------- */
.section {
  padding-block: var(--section-padding);
  position: relative;
  overflow: visible;
}

.section--alt {
  background: var(--bg-secondary);
}

.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.section-header {
  margin-bottom: clamp(48px, 8vw, 72px);
  overflow: visible;
  padding-bottom: 0.08em;
}

.section-header.centered {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: clamp(48px, 8vw, 72px);
  overflow: visible;
}

.section-header.reveal-scale {
  overflow: visible;
}

.section-tag {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-indigo);
  background: var(--accent-indigo-muted);
  border-radius: var(--radius-full);
}

.section-tag--dark {
  color: var(--accent-mint);
  background: var(--accent-mint-muted);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.125rem, 4.8vw, 3.25rem);
  font-weight: 800;
  line-height: 1.34;
  letter-spacing: var(--display-tracking);
  color: var(--text-primary);
  overflow: visible;
  padding-bottom: 0.1em;
}

.section-title em {
  color: var(--accent-mint-dark);
  font-weight: 800;
  line-height: inherit;
}

.section-title--light {
  color: var(--text-on-dark);
}

.section-desc {
  margin-top: 16px;
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.section-desc--light {
  color: var(--text-on-dark-muted);
}

.section-desc--light strong {
  color: var(--accent-mint);
  font-weight: 600;
}

/* --------------------------------------------
   8. Portfolio
   -------------------------------------------- */
.container--wide {
  max-width: 1480px;
}

.work {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(99, 102, 241, 0.06) 0%, transparent 60%),
    var(--bg-primary);
}

.work .section-header {
  margin-bottom: clamp(56px, 8vw, 80px);
}

.portfolio-slider {
  position: relative;
}

.portfolio-nav {
  display: none;
}

.portfolio-dots {
  display: none;
}

.portfolio-row {
  display: flex;
  gap: 40px;
  align-items: stretch;
}

.portfolio-card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99, 102, 241, 0.2);
}

.portfolio-video {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 260px;
  aspect-ratio: 4 / 3;
  border: none;
  border-bottom: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  transition:
    background var(--transition),
    border-color var(--transition);
}

.portfolio-video--light {
  background: #fafafa;
}

.portfolio-video--dark {
  background: #111;
}

.portfolio-video:hover {
  border-color: rgba(0, 229, 160, 0.25);
}

.portfolio-video .video-thumb {
  object-fit: contain;
  padding: 32px 24px;
  transform: none;
}

.portfolio-video:hover .video-thumb {
  transform: scale(1.04);
}

.portfolio-video .video-thumb--marcus {
  padding: 28px 24px;
  background: transparent;
}

.portfolio-video .video-thumb--heart {
  padding: 28px;
}

.portfolio-video .video-play-ring {
  width: 52px;
  height: 52px;
  opacity: 0.92;
}

.portfolio-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 24px 26px;
  flex: 1;
}

.portfolio-tag {
  display: inline-block;
  width: fit-content;
  padding: 4px 10px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-indigo);
  background: var(--accent-indigo-muted);
  border-radius: var(--radius-full);
}

.portfolio-tag--accent {
  color: var(--accent-mint-dark);
  background: var(--accent-mint-muted);
}

.portfolio-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  padding-bottom: 0.08em;
}

.portfolio-body p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --------------------------------------------
   9. About
   -------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lead {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 500;
  line-height: 1.75;
  color: var(--text-primary);
  padding-bottom: 0.1em;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--accent-indigo);
  transition:
    gap var(--transition),
    color var(--transition);
}

.link-arrow:hover {
  gap: 12px;
  color: var(--accent-indigo-dark);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-card {
  padding: clamp(24px, 4vw, 32px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-card.highlight {
  background: var(--gradient-accent-soft);
  border-color: rgba(0, 229, 160, 0.2);
  grid-column: span 1;
}

.stat-value {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2.125rem, 4.2vw, 2.875rem);
  font-weight: 800;
  letter-spacing: var(--display-tracking);
  line-height: 1.25;
  color: var(--accent-mint-dark);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--accent-indigo);
}

.stat-name {
  display: block;
  margin-top: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* --------------------------------------------
   10. Process Timeline
   -------------------------------------------- */
.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin-inline: auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-mint), var(--accent-indigo));
  opacity: 0.3;
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--hero-bg);
  background: var(--gradient-accent);
  border-radius: 50%;
  box-shadow: var(--shadow-mint);
  transition: transform var(--transition-spring);
}

.process-step:hover .step-number {
  transform: scale(1.08);
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
  padding-bottom: 0.08em;
}

.step-content p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------
   11. Equipment (Light / BK-style)
   -------------------------------------------- */
.equipment {
  background: #fff;
}

.equipment-categories {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.equipment-category {
  position: relative;
}

.equipment-cat-title {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.equipment-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.equipment-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.equipment-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(99, 102, 241, 0.15);
}

.equipment-image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #fff;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.equipment-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.4s ease, transform var(--transition-slow);
}

.equipment-image img.loaded {
  opacity: 1;
}

.equipment-card:hover .equipment-image img.loaded {
  transform: scale(1.04);
}

.equipment-image-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  transition: opacity var(--transition);
}

.equipment-image-fallback span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.equipment-image img.loaded + .equipment-image-fallback {
  opacity: 0;
  pointer-events: none;
}

.equipment-image.has-error .equipment-image-fallback {
  opacity: 1;
}

.equipment-info {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.equipment-tag {
  display: inline-block;
  width: fit-content;
  padding: 3px 9px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-indigo);
  background: var(--accent-indigo-muted);
  border-radius: var(--radius-full);
}

.equipment-info h4 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
}

.equipment-value {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-indigo);
  letter-spacing: 0.02em;
}

.equipment-total {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
  padding: 16px 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.equipment-total span {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.equipment-total strong {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--accent-mint-dark);
  background: none;
  -webkit-text-fill-color: currentColor;
}

/* --------------------------------------------
   12. Pricing
   -------------------------------------------- */
.pricing-includes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.pricing-includes span {
  padding: 8px 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  transition:
    border-color var(--transition),
    color var(--transition);
}

.pricing-includes span:hover {
  border-color: var(--accent-indigo);
  color: var(--accent-indigo);
}

.pricing-recommend {
  text-align: center;
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: clamp(32px, 5vw, 48px);
}

.pricing-recommend strong {
  color: var(--accent-indigo);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  padding-top: 64px;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 36px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  background: var(--hero-bg);
  color: var(--text-on-dark);
  border-color: rgba(110, 231, 168, 0.38);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(110, 231, 168, 0.18);
  transform: scale(1.04);
  z-index: 2;
  isolation: isolate;
}

.pricing-card.featured::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  box-shadow: 0 0 44px rgba(110, 231, 168, 0.22);
  opacity: 0.55;
  animation: featured-glow-opacity 4.5s ease-in-out infinite;
}

@keyframes featured-glow-opacity {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.9; }
}

.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.3),
    0 0 40px var(--accent-mint-glow);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 18px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hero-bg);
  background: var(--gradient-accent);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-mint);
  white-space: nowrap;
  animation: pricing-badge-pulse 2.5s ease-in-out infinite;
}

@keyframes pricing-badge-pulse {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.04); }
}

.pricing-header {
  margin-bottom: 24px;
}

.pricing-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.35;
  padding-bottom: 0.08em;
}

.pricing-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.pricing-card.featured .pricing-desc {
  color: var(--text-on-dark-muted);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.pricing-card.featured .pricing-price {
  border-bottom-color: var(--border-dark);
}

.amount {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  padding-bottom: 0.1em;
}

.pricing-card.featured .amount {
  color: var(--accent-mint-light);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.period {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.pricing-card.featured .period {
  color: var(--text-on-dark-muted);
}

.pricing-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 28px;
  font-size: 0.9375rem;
}

.pricing-features li {
  line-height: 1.5;
}

.pricing-features .feature-heading {
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 12px;
}

.pricing-features .feature-heading:first-child {
  margin-top: 0;
}

.pricing-card.featured .pricing-features .feature-heading {
  color: var(--text-on-dark);
}

.pricing-features .feature-sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.pricing-card.featured .pricing-features .feature-sub {
  color: var(--text-on-dark-muted);
}

.pricing-features strong {
  color: var(--accent-indigo);
  font-weight: 700;
}

.pricing-card.featured .pricing-features strong {
  color: var(--accent-mint);
}

.pricing-card .btn {
  margin-top: auto;
}

.pricing-card.featured .btn-outline {
  border-color: var(--border-glass);
  color: var(--text-on-dark);
}

/* Pricing gear accents */
.pricing-card--premium,
.pricing-card--exclusive {
  overflow: visible;
}

.pricing-gear {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  line-height: 0;
}

.pricing-gear img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.28));
}

.pricing-gear--gimbal {
  top: -88px;
  right: -56px;
  width: min(260px, 46vw);
  animation: gear-float-gimbal 5s ease-in-out infinite;
}

.pricing-gear--gimbal img {
  transform: rotate(-8deg);
}

.pricing-gear--drone {
  top: -102px;
  right: -74px;
  left: auto;
  width: min(225px, 41vw);
  opacity: 0;
  transform: translate3d(-280%, -200%, 0) scale(0.06) rotate(-32deg);
  transform-origin: center center;
  backface-visibility: hidden;
  contain: layout style;
}

.pricing-gear--drone img {
  width: 100%;
  height: auto;
  mix-blend-mode: normal;
  transform: rotate(-8deg);
  backface-visibility: hidden;
}

.pricing-card--exclusive.drone-landed .pricing-gear--drone {
  will-change: transform, opacity;
  animation:
    drone-fly-in 2.8s cubic-bezier(0.14, 0.82, 0.2, 1) forwards,
    gear-float-drone 6s ease-in-out 2.8s infinite;
}

.pricing-card--exclusive.drone-settled .pricing-gear--drone {
  will-change: auto;
}

.pricing-card--exclusive.drone-settled .pricing-gear--drone img {
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.26));
}

@keyframes drone-fly-in {
  from {
    opacity: 0;
    transform: translate3d(-280%, -200%, 0) scale(0.06) rotate(-32deg);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(0.94) rotate(-8deg);
  }
}

@keyframes gear-float-gimbal {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

@keyframes gear-float-drone {
  0%, 100% { transform: translate3d(0, 0, 0) scale(0.94) rotate(-8deg); }
  50% { transform: translate3d(0, -8px, 0) scale(0.94) rotate(-6deg); }
}

.pricing-grid--animated .pricing-card {
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease;
}

.pricing-grid--animated .pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-grid--animated .pricing-card.featured:hover {
  transform: scale(1.04) translateY(-10px);
}

.pricing-card--exclusive:hover .pricing-gear--drone {
  animation-duration: 2.8s, 4.5s;
}

.pricing-card--premium:hover .pricing-gear--gimbal {
  animation-duration: 3.5s;
}

.pricing-card.featured .pricing-gear--gimbal img {
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.45));
}

.equipment-card--highlight {
  border-color: rgba(0, 229, 160, 0.25);
  box-shadow: 0 8px 32px rgba(0, 229, 160, 0.08);
}

.equipment-tag--accent {
  color: var(--accent-mint-dark);
  background: var(--accent-mint-muted);
}

/* --------------------------------------------
   13. Testimonials (Nav-based, no swipe)
   -------------------------------------------- */
.testimonial-slider {
  max-width: 720px;
  margin-inline: auto;
}

.testimonial-track {
  position: relative;
  min-height: 280px;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(32px, 5vw, 48px);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition:
    opacity var(--transition-slow),
    transform var(--transition-slow),
    visibility var(--transition-slow);
}

.testimonial-card.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.5;
  color: var(--accent-mint-dark);
  background: none;
  -webkit-text-fill-color: currentColor;
  opacity: 0.5;
  margin-bottom: 0;
}

.testimonial-card p {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.7;
  color: var(--text-primary);
  flex: 1;
  margin-bottom: 28px;
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.avatar.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--hero-bg);
  background: var(--gradient-accent);
}

.testimonial-card cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 0.9375rem;
}

.testimonial-card footer span {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.t-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  transition:
    color var(--transition),
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

.t-nav-btn:hover {
  color: var(--accent-indigo);
  border-color: var(--accent-indigo);
}

.t-nav-btn.active {
  color: var(--hero-bg);
  background: var(--gradient-accent);
  border-color: transparent;
  box-shadow: var(--shadow-mint);
}

/* --------------------------------------------
   14. Contact
   -------------------------------------------- */
.contact-box {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 64px);
  align-items: start;
  padding: clamp(40px, 6vw, 64px);
  background: var(--hero-bg);
  color: var(--text-on-dark);
  border-radius: var(--radius-2xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.contact-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-mint-glow) 0%, transparent 70%);
  filter: blur(60px);
  opacity: 0.4;
  pointer-events: none;
}

.contact-box::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-indigo-glow) 0%, transparent 70%);
  filter: blur(60px);
  opacity: 0.3;
  pointer-events: none;
}

.contact-content {
  position: relative;
  z-index: 1;
}

.contact-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  padding-bottom: 0.12em;
  overflow: visible;
}

.contact-content p {
  font-size: 1.0625rem;
  color: var(--text-on-dark-muted);
  line-height: 1.7;
}

.contact-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-on-dark-muted);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  padding: 14px 16px;
  font-size: 0.9375rem;
  color: var(--text-on-dark);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  transition:
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(148, 163, 184, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-mint);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px var(--accent-mint-muted);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* --------------------------------------------
   15. Footer
   -------------------------------------------- */
.footer {
  background: var(--hero-bg-deep);
  color: var(--text-on-dark-muted);
  padding-top: clamp(64px, 10vw, 80px);
  padding-bottom: 32px;
  border-top: 1px solid var(--border-dark);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: clamp(40px, 6vw, 64px);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-links h4 {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  margin-bottom: 16px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9375rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent-mint);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
}

.footer-bottom p {
  font-size: 0.8125rem;
}

.back-to-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--text-on-dark);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-full);
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.back-to-top:hover {
  background: var(--gradient-accent);
  color: var(--hero-bg);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: var(--shadow-mint);
}

/* --------------------------------------------
   16. Video Modal
   -------------------------------------------- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition),
    visibility var(--transition);
}

.video-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 9, 16, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.video-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  background: var(--hero-bg);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 4vw, 32px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.95) translateY(20px);
  transition: transform var(--transition-slow);
}

.video-modal.is-open .video-modal-dialog {
  transform: scale(1) translateY(0);
}

.video-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-on-dark-muted);
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  transition:
    color var(--transition),
    background var(--transition);
  z-index: 2;
}

.video-modal-close:hover {
  color: var(--text-on-dark);
  background: rgba(255, 255, 255, 0.12);
}

.video-modal-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 16px;
  padding-right: 48px;
}

.video-modal-player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.video-modal-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal-fallback {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-mint);
  transition: color var(--transition);
}

.video-modal-fallback:hover {
  color: var(--accent-mint-light);
}

.video-modal-fallback[hidden] {
  display: none;
}

/* --------------------------------------------
   17. File Warning Banner
   -------------------------------------------- */
.file-warning {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  padding: 12px 20px;
  font-size: 0.875rem;
  text-align: center;
  color: var(--hero-bg);
  background: linear-gradient(90deg, #FBBF24, #F59E0B);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.file-warning strong {
  font-weight: 700;
}

.file-warning code {
  padding: 2px 8px;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.8125rem;
  background: rgba(0, 0, 0, 0.12);
  border-radius: 4px;
}

body:has(.file-warning) .header {
  top: 44px;
}

body:has(.file-warning) {
  scroll-padding-top: calc(var(--header-height) + 44px);
}

/* --------------------------------------------
   18. Reveal Animations
   -------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .marquee-track {
    animation: none;
  }

  .hero-glow {
    animation: none;
  }

  .pulse-dot {
    animation: none;
  }

  .pricing-badge,
  .pricing-card.featured::after,
  .pricing-gear--gimbal,
  .pricing-gear--drone {
    animation: none !important;
  }

  .pricing-card--exclusive.drone-landed .pricing-gear--drone {
    opacity: 1;
    transform: translate(0, 0) scale(0.94) rotate(-8deg);
  }
}

/* --------------------------------------------
   19. Responsive — Tablet
   -------------------------------------------- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: calc(var(--header-height) + 40px);
  }

  .hero-content {
    max-width: 100%;
    margin-inline: auto;
  }

  .hero-desc {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-device {
    width: min(300px, 78vw);
  }

  .hero-brand {
    letter-spacing: 0.03em;
    font-size: clamp(2.2rem, 10vw, 4.5rem);
  }

  .portfolio-slider {
    padding-inline: 48px;
  }

  .portfolio-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    z-index: 4;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition:
      background var(--transition),
      border-color var(--transition),
      transform var(--transition),
      opacity var(--transition);
  }

  .portfolio-nav:hover:not(:disabled) {
    border-color: var(--accent-indigo);
    color: var(--accent-indigo);
    transform: translateY(-50%) scale(1.05);
  }

  .portfolio-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
  }

  .portfolio-nav--prev {
    left: 0;
  }

  .portfolio-nav--next {
    right: 0;
  }

  .portfolio-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
  }

  .portfolio-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition:
      background var(--transition),
      transform var(--transition);
  }

  .portfolio-dot.active {
    background: var(--accent-indigo);
    transform: scale(1.2);
  }

  .portfolio-row {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 8px;
    margin-inline: 0;
    padding-inline: 4px;
    gap: 20px;
  }

  .portfolio-row::-webkit-scrollbar {
    display: none;
  }

  .portfolio-card {
    flex: 0 0 min(300px, calc(100vw - 120px));
    scroll-snap-align: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .process-timeline::before {
    display: none;
  }

  .equipment-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-inline: auto;
    padding-top: 48px;
  }

  .pricing-gear--gimbal {
    top: -64px;
    right: -24px;
    width: min(210px, 54vw);
  }

  .pricing-gear--drone {
    top: -76px;
    right: -34px;
    width: min(185px, 47vw);
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured::after {
    animation: featured-glow-opacity 4.5s ease-in-out infinite;
  }

  .pricing-card.featured:hover {
    transform: translateY(-6px);
  }

  .contact-box {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --------------------------------------------
   20. Responsive — Mobile
   -------------------------------------------- */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: rgba(11, 15, 20, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity var(--transition),
      visibility var(--transition),
      transform var(--transition);
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 1.125rem;
    padding: 14px 24px;
  }

  .nav-cta {
    margin-top: 8px;
  }

  .hero-title {
    font-size: clamp(2.25rem, 9vw, 3rem);
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card.highlight {
    grid-column: span 1;
  }

  .process-timeline {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .process-step {
    flex-direction: row;
    text-align: left;
    gap: 20px;
  }

  .step-number {
    width: 56px;
    height: 56px;
    font-size: 1rem;
    flex-shrink: 0;
  }

  .equipment-grid,
  .equipment-grid-3 {
    grid-template-columns: 1fr;
  }

  .equipment-total {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .testimonial-track {
    min-height: 320px;
  }

  .video-modal-dialog {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .pricing-includes span {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  .contact-box {
    padding: 28px 20px;
  }

  .marquee-track span {
    font-size: 0.6875rem;
  }
}

/* --------------------------------------------
   21. Blog
   -------------------------------------------- */
.container--narrow {
  max-width: 720px;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 1100px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  overflow: visible;
  box-shadow: var(--shadow-md);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(110, 231, 168, 0.25);
}

.blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  border-radius: inherit;
  overflow: visible;
}

.blog-card-image {
  position: relative;
  min-height: 180px;
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  background:
    radial-gradient(ellipse 80% 80% at 20% 20%, rgba(110, 231, 168, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse 70% 70% at 80% 80%, rgba(52, 211, 153, 0.15) 0%, transparent 50%),
    linear-gradient(145deg, var(--hero-bg) 0%, var(--hero-bg-soft) 100%);
}

.blog-card-image--quality {
  background:
    radial-gradient(ellipse 70% 70% at 75% 25%, rgba(110, 231, 168, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 60% 60% at 15% 75%, rgba(52, 211, 153, 0.18) 0%, transparent 45%),
    linear-gradient(160deg, #0f2a22 0%, var(--hero-bg) 45%, var(--hero-bg-soft) 100%);
}

.blog-card-image--strategy {
  background:
    radial-gradient(ellipse 65% 65% at 30% 30%, rgba(99, 102, 241, 0.22) 0%, transparent 50%),
    radial-gradient(ellipse 70% 70% at 80% 70%, rgba(110, 231, 168, 0.15) 0%, transparent 45%),
    linear-gradient(155deg, var(--hero-bg) 0%, #1a3344 55%, var(--hero-bg-soft) 100%);
}

.blog-card-category {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 12px;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-mint-light);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(110, 231, 168, 0.25);
  border-radius: var(--radius-full);
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 28px 36px;
  flex: 1;
  overflow: visible;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.blog-card-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.55rem);
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -0.02em;
  overflow: visible;
}

.blog-card-body p {
  font-size: 0.9875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
  overflow: visible;
}

.blog-card-cta {
  margin-top: 4px;
  font-size: 0.9375rem;
}

/* Article page */
.article-page {
  padding-top: calc(var(--header-height) + 48px);
  padding-bottom: var(--section-padding);
}

.article-header {
  padding-bottom: 40px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(110, 231, 168, 0.1) 0%, transparent 60%),
    var(--bg-primary);
}

.article-back {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.article-back:hover {
  color: var(--accent-mint-dark);
}

.article-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.03em;
  margin: 16px 0 20px;
  padding-bottom: 0.12em;
  overflow: visible;
}

.article-deck {
  font-size: clamp(1.0625rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.article-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-primary);
}

.article-content p {
  margin-bottom: 1.25em;
}

.article-lead {
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.65;
  color: var(--text-primary);
}

.article-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 1.875rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin: 2.5em 0 0.75em;
  padding-top: 0.5em;
  padding-bottom: 0.08em;
  overflow: visible;
}

.article-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2em 0 0.6em;
  line-height: 1.35;
  padding-bottom: 0.06em;
  overflow: visible;
}

.article-content ul,
.article-content ol {
  margin: 0 0 1.5em 1.25em;
}

.article-content li {
  margin-bottom: 0.5em;
}

.article-content a {
  color: var(--accent-mint-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content a:hover {
  color: var(--accent-mint);
}

.article-callout {
  margin: 2em 0;
  padding: 24px 28px;
  background: var(--accent-mint-muted);
  border-left: 4px solid var(--accent-mint);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.article-callout p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
}

.article-callout--dark {
  background: linear-gradient(135deg, var(--hero-bg) 0%, var(--hero-bg-soft) 100%);
  border-left-color: var(--accent-mint);
  color: var(--text-on-dark);
}

.article-callout--dark p {
  color: var(--text-on-dark-muted);
}

.article-callout--dark strong {
  color: var(--text-on-dark);
}

.article-checklist {
  list-style: none;
  margin-left: 0;
  padding: 0;
}

.article-checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.article-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-mint-dark);
  font-weight: 700;
}

.article-cta {
  margin: 3em 0 2em;
  padding: clamp(32px, 5vw, 48px);
  text-align: center;
  background:
    radial-gradient(ellipse 80% 80% at 50% 0%, rgba(110, 231, 168, 0.15) 0%, transparent 60%),
    var(--hero-bg);
  color: var(--text-on-dark);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(110, 231, 168, 0.2);
}

.article-cta h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--text-on-dark);
  margin: 0 0 12px;
}

.article-cta p {
  color: var(--text-on-dark-muted);
  margin-bottom: 24px;
  max-width: 480px;
  margin-inline: auto;
}

.article-references {
  margin-top: 3em;
  padding-top: 2em;
  border-top: 1px solid var(--border);
}

.article-references h2 {
  font-size: 1.25rem;
  margin-top: 0;
}

.article-references ol {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.article-references li {
  margin-bottom: 12px;
}
