/* ============================================================
   SPECTRE HOLDING — Premium Corporate Website
   Design: Dark Luxury / Futuristic Corporate
   ============================================================ */

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

:root {
  --black:        #080808;
  --black-2:      #0d0d0d;
  --black-3:      #111111;
  --grey-dark:    #1a1a1a;
  --grey-mid:     #2a2a2a;
  --grey-light:   #3d3d3d;
  --graphite:     #4a4a4a;
  --silver:       #8a8a8a;
  --silver-light: #b0b0b0;
  --white:        #f0f0f0;
  --white-pure:   #ffffff;
  --blue:         #1a6fff;
  --blue-dim:     #0d3d99;
  --blue-glow:    rgba(26, 111, 255, 0.15);

  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif:   'Playfair Display', Georgia, serif;

  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:  cubic-bezier(0.65, 0, 0.35, 1);

  --nav-h:        80px;
  --container:    1280px;
  --gap:          clamp(40px, 6vw, 80px);
}

html {
  font-size: 16px;
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.loading {
  overflow: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── SCROLLBAR ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--grey-mid); border-radius: 2px; }

/* ─── SELECTION ─────────────────────────────────────────────── */
::selection { background: var(--blue-dim); color: var(--white-pure); }

/* ─── CONTAINER ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}

/* ─── TYPOGRAPHY SCALE ──────────────────────────────────────── */
.section-title {
  font-family: var(--font-sans);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 200;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
}

.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--silver-light);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 24px;
}

.label-line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--blue);
}

.section-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 300;
  color: var(--silver);
  line-height: 1.7;
  max-width: 560px;
  margin-top: 20px;
}

/* ─── PRELOADER ─────────────────────────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.preloader-logo {
  width: 72px;
  height: 72px;
  border: 1px solid var(--grey-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.preloader-logo::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid var(--blue);
  opacity: 0;
  animation: preloaderPulse 2s ease-in-out infinite;
}

@keyframes preloaderPulse {
  0%, 100% { opacity: 0; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1); }
}

.preloader-bar {
  width: 200px;
  height: 1px;
  background: var(--grey-mid);
  position: relative;
  overflow: hidden;
}

.preloader-fill {
  height: 100%;
  background: var(--blue);
  width: 0%;
  transition: width 0.1s linear;
}

.preloader-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--silver);
  font-weight: 400;
}

/* ─── NAVIGATION ─────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

#navbar.scrolled {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--grey-dark);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 clamp(24px, 5vw, 80px);
  max-width: var(--container);
  margin: 0 auto;
}

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

/* ─── SITE LOGO IMAGE ────────────────────────────────────────── */
/* brightness(0) silhouettes the black PNG; invert(1) makes it white */
.site-logo {
  display: block;
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s ease;
}

.site-logo--preloader {
  height: 36px;
}

.site-logo--footer {
  height: 34px;
  opacity: 0.85;
}

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

.nav-link {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--silver);
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--blue);
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid var(--grey-mid);
  padding: 10px 24px;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.nav-cta:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ─── MOBILE MENU ─────────────────────────────────────────────── */
#mobileMenu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

#mobileMenu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
  padding: 0 24px;
}

.mobile-menu-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.mobile-menu-foot {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--graphite);
  text-transform: uppercase;
  text-align: center;
}

.mobile-link {
  display: block;
  font-size: clamp(26px, 6vw, 44px);
  font-weight: 200;
  letter-spacing: -0.01em;
  color: var(--white);
  transition: color 0.3s ease;
  padding: 6px 0;
  text-align: center;
}

.mobile-link:hover { color: var(--blue); }

/* ─── BUTTONS ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: var(--white);
  color: var(--black);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease, gap 0.3s ease;
}

.btn-primary:hover {
  background: var(--blue);
  color: var(--white-pure);
  gap: 20px;
}

.btn-primary svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: transparent;
  color: var(--silver-light);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--grey-mid);
  transition: border-color 0.3s ease, color 0.3s ease;
}

.btn-ghost:hover {
  border-color: var(--silver);
  color: var(--white);
}

/* ─── HERO ────────────────────────────────────────────────────── */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 30%, var(--black) 100%);
  z-index: 1;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  opacity: 0;
}

.eyebrow-line {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--blue);
}

.eyebrow-text {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--silver);
}

.hero-headline {
  font-size: clamp(52px, 9vw, 120px);
  font-weight: 200;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
  overflow: hidden;
}

.headline-line {
  display: block;
  opacity: 0;
  transform: translateY(80px);
}

.headline-line.italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--silver-light);
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 300;
  color: var(--silver);
  line-height: 1.7;
  margin-bottom: 48px;
  opacity: 0;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--blue));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

.hero-scroll-indicator span {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--silver);
  text-transform: uppercase;
}

.hero-stats {
  position: absolute;
  bottom: 40px;
  right: clamp(24px, 5vw, 80px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 24px;
  opacity: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.stat-number {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 200;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--silver);
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--grey-mid);
}

@media (min-width: 901px) {
  #hero {
    height: auto;
    min-height: 100vh;
    align-items: flex-start;
    padding-top: calc(var(--nav-h) + 80px);
    padding-bottom: 180px;
  }

  .hero-scroll-indicator {
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
  }

  .hero-stats {
    left: 50%;
    right: auto;
    bottom: 112px;
    transform: translateX(-50%);
  }

  .stat-item {
    align-items: center;
  }
}

/* ─── SECTION SPACING ─────────────────────────────────────────── */
.section-about,
.section-brands,
.section-services,
.section-method,
.section-contact {
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
}

.section-header {
  margin-bottom: clamp(60px, 8vw, 100px);
}

/* ─── ABOUT ───────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 8vw, 120px);
  align-items: start;
}

.about-visual {
  position: relative;
  aspect-ratio: 4/3;
  margin-top: 40px;
  overflow: visible;
}

.about-shape {
  width: 100%;
  height: 100%;
  background: var(--grey-dark);
  border: 1px solid var(--grey-mid);
  position: relative;
  overflow: hidden;
}

.about-shape::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 40%, rgba(26,111,255,0.05) 100%);
}

.about-shape::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid rgba(255,255,255,0.04);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: var(--blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.badge-num {
  font-size: 36px;
  font-weight: 200;
  color: var(--white-pure);
  line-height: 1;
}

.badge-text {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  text-align: center;
  line-height: 1.4;
}

.about-lead {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--white);
  margin-bottom: 24px;
}

.about-body {
  font-size: 15px;
  font-weight: 300;
  color: var(--silver);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-values {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--grey-dark);
}

.value-icon {
  font-size: 18px;
  color: var(--blue);
  margin-top: 2px;
  flex-shrink: 0;
}

.value-item h4 {
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 4px;
}

.value-item p {
  font-size: 13px;
  color: var(--silver);
  line-height: 1.6;
}

/* ─── BRANDS ──────────────────────────────────────────────────── */
.section-brands {
  background: var(--black-2);
  border-top: 1px solid var(--grey-dark);
  border-bottom: 1px solid var(--grey-dark);
}

.brands-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--grey-dark);
  border: 1px solid var(--grey-dark);
}

.brand-card {
  position: relative;
  background: var(--black-2);
  overflow: hidden;
  cursor: pointer;
  transition: background 0.4s ease;
}

.brand-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(26,111,255,0.04) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.brand-card:hover .brand-card-bg { opacity: 1; }

.brand-card.featured {
  background: var(--grey-dark);
}

.brand-card.featured .brand-card-bg {
  opacity: 1;
  background: linear-gradient(135deg, rgba(26,111,255,0.06) 0%, rgba(26,111,255,0.02) 100%);
}

.brand-card-inner {
  position: relative;
  z-index: 1;
  padding: clamp(40px, 5vw, 64px);
}

.brand-number {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--graphite);
  margin-bottom: 40px;
}

.brand-icon-wrap {
  width: 56px;
  height: 56px;
  margin-bottom: 32px;
  color: var(--silver);
  transition: color 0.3s ease;
}

.brand-card:hover .brand-icon-wrap { color: var(--blue); }

.brand-icon-wrap svg {
  width: 100%;
  height: 100%;
}

.brand-name {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.brand-category {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 24px;
  display: block;
}

.brand-desc {
  font-size: 14px;
  color: var(--silver);
  line-height: 1.7;
  margin-bottom: 32px;
}

.brand-services {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}

.brand-services li {
  font-size: 12px;
  color: var(--silver);
  letter-spacing: 0.05em;
  padding-left: 16px;
  position: relative;
}

.brand-services li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 10px;
}

.brand-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver-light);
  transition: color 0.3s ease, gap 0.3s ease;
  border-bottom: 1px solid var(--grey-mid);
  padding-bottom: 4px;
}

.brand-cta:hover {
  color: var(--blue);
  gap: 16px;
  border-bottom-color: var(--blue);
}

.brand-cta svg { width: 14px; height: 14px; }

/* ─── SERVICES ────────────────────────────────────────────────── */
.section-services {
  background: var(--black);
  overflow: hidden;
}

.services-bg-canvas {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--grey-dark);
  border: 1px solid var(--grey-dark);
  position: relative;
  z-index: 1;
}

.service-item {
  padding: clamp(32px, 4vw, 56px);
  background: var(--black);
  position: relative;
  transition: background 0.3s ease;
}

.service-item:hover {
  background: rgba(26,111,255,0.03);
}

.service-num {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--graphite);
  margin-bottom: 20px;
}

.service-item h3 {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-item p {
  font-size: 14px;
  color: var(--silver);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-bar {
  height: 1px;
  background: var(--grey-dark);
  position: relative;
  overflow: hidden;
}

.service-bar-fill {
  height: 100%;
  background: var(--blue);
  width: 0%;
  transition: width 1.2s var(--ease-out);
}

.service-item.in-view .service-bar-fill {
  width: var(--w);
}

/* ─── METHODOLOGY ─────────────────────────────────────────────── */
.section-method {
  background: var(--black-2);
  border-top: 1px solid var(--grey-dark);
  border-bottom: 1px solid var(--grey-dark);
}

.method-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.method-timeline::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grey-dark);
}

.method-step {
  padding: 80px 40px 48px;
  position: relative;
}

.step-connector {
  position: absolute;
  top: 26px;
  left: 40px;
  width: 12px;
  height: 12px;
  border: 1px solid var(--blue);
  background: var(--black-2);
  z-index: 1;
}

.step-num {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--blue);
  margin-bottom: 20px;
}

.step-content h3 {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.step-content p {
  font-size: 13px;
  color: var(--silver);
  line-height: 1.7;
}

/* ─── CONTACT ─────────────────────────────────────────────────── */
.section-contact {
  background: var(--black);
  overflow: hidden;
}

.contact-canvas {
  position: absolute;
  inset: 0;
  opacity: 0.2;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(60px, 8vw, 120px);
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-desc {
  font-size: 16px;
  color: var(--silver);
  line-height: 1.7;
  margin-bottom: 48px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.info-icon {
  font-size: 16px;
  color: var(--blue);
  margin-top: 2px;
}

.info-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 4px;
}

.info-value {
  font-size: 15px;
  color: var(--white);
  transition: color 0.3s ease;
  overflow-wrap: anywhere;
  word-break: break-word;
}

a.info-value:hover { color: var(--blue); }

/* ─── FORM ────────────────────────────────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.form-group {
  position: relative;
  padding: 24px 0 0;
  border-bottom: 1px solid var(--grey-dark);
  margin-bottom: 32px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--white);
  padding: 4px 0 12px;
  resize: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select option {
  background: var(--black-3);
  color: var(--white);
}

.form-group label {
  position: absolute;
  top: 28px;
  left: 0;
  font-size: 13px;
  color: var(--silver);
  letter-spacing: 0.05em;
  transition: top 0.3s ease, font-size 0.3s ease, color 0.3s ease;
  pointer-events: none;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label {
  top: 4px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
}

.form-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--blue);
  transition: width 0.4s var(--ease-out);
}

.form-group:focus-within .form-line { width: 100%; }

.form-submit {
  margin-top: 8px;
  align-self: flex-start;
}

/* ─── FOOTER ──────────────────────────────────────────────────── */
#footer {
  background: var(--black-3);
  border-top: 1px solid var(--grey-dark);
}

.footer-top {
  padding: clamp(60px, 8vw, 100px) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--silver-light);
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 13px;
  color: var(--silver);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}

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

.footer-col ul li a {
  font-size: 14px;
  color: var(--silver);
  transition: color 0.3s ease;
}

.footer-col ul li a:hover { color: var(--white); }

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

.footer-bottom .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--graphite);
  letter-spacing: 0.05em;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  justify-content: space-between;
}

.footer-bottom-legal {
  font-size: 11px;
  color: var(--graphite);
  letter-spacing: 0.04em;
}

.footer-bottom-legal span {
  color: var(--graphite);
}

.footer-bottom-dot {
  color: var(--grey-mid);
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--grey-mid);
  color: var(--silver);
  transition: border-color 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

.social-link:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

/* ─── REVEAL ANIMATIONS ───────────────────────────────────────── */
.reveal-fade {
  opacity: 0;
  transform: translateY(24px);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
}

.reveal-brand {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-service {
  opacity: 0;
  transform: translateY(30px);
}

.reveal-step {
  opacity: 0;
  transform: translateY(20px);
}


/* ─── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
  }
}

@media (max-width: 1100px) {
  .brands-showcase {
    grid-template-columns: 1fr;
  }

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

  .method-timeline::before {
    display: none;
  }
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-stats { display: none; }
  .site-logo { height: 32px; }
  .site-logo--preloader { height: 30px; }
  .site-logo--footer { height: 28px; }
  .method-timeline { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-badge {
    bottom: -10px;
    right: -10px;
    width: 84px;
    height: 84px;
  }
  .badge-num { font-size: 28px; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .form-submit {
    align-self: stretch;
    width: 100%;
    justify-content: center;
  }
  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .footer-bottom-legal {
    flex-direction: column;
    justify-content: flex-start;
    gap: 2px;
  }
  .footer-bottom-dot { display: none; }
  .section-about,
  .section-brands,
  .section-services,
  .section-method,
  .section-contact {
    padding: clamp(60px, 10vw, 100px) 0;
  }
}

@media (max-width: 480px) {
  .hero-headline { font-size: clamp(38px, 13vw, 72px); }
  .section-title { font-size: clamp(30px, 9vw, 56px); }
  .about-badge {
    width: 72px;
    height: 72px;
    bottom: -8px;
    right: -8px;
  }
  .badge-num { font-size: 22px; }
  .badge-text { font-size: 8px; }
  .brand-card-inner { padding: 32px 24px; }
  .mobile-link { font-size: clamp(22px, 8vw, 36px); }
}

/* ─── REDUCED MOTION ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-line,
  .preloader-logo::before {
    animation: none;
  }
}

/* ─── UTILITY ─────────────────────────────────────────────────── */
.no-select { user-select: none; }
.overflow-hidden { overflow: hidden; }

/* ─── FORM FEEDBACK & STATES ──────────────────────────────────── */

/* Honeypot: visually hidden, not interactable */
.form-hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Success / error message box */
.form-feedback {
  display: none;
  padding: 13px 16px;
  margin-bottom: 20px;
  font-size: 13px;
  letter-spacing: 0.03em;
  line-height: 1.5;
  border-left: 2px solid transparent;
}

.form-feedback.visible {
  display: block;
}

.form-feedback.success {
  border-left-color: #2ecc71;
  color: #2ecc71;
  background: rgba(46, 204, 113, 0.07);
}

.form-feedback.error {
  border-left-color: #e74c3c;
  color: #e74c3c;
  background: rgba(231, 76, 60, 0.07);
}

/* Submit button loading / disabled state */
.form-submit:disabled,
.form-submit.loading {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}

/* Legal consent and footer links */
.form-consent { display:flex; align-items:flex-start; gap:10px; margin:4px 0 20px; color:var(--gray-light); font-size:13px; line-height:1.55; }
.form-consent input { width:16px; height:16px; margin-top:3px; flex:0 0 auto; accent-color:var(--blue); }
.form-consent a, .footer-policy-links a { color:var(--gray-light); text-decoration:underline; text-underline-offset:3px; }
.form-consent a:hover, .footer-policy-links a:hover { color:var(--white); }
.footer-policy-links { display:flex; flex-wrap:wrap; justify-content:center; gap:5px 12px; }
