/* ============================================
   VELARQUE — Global Design System
   Inspired by: legora.com, twelvelabs.io, weavy.ai
   Light, flat, modern tech aesthetic
   ============================================ */

/* --- VARIABLES --- */
:root {
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --display: 'Space Grotesk', 'Inter', sans-serif;

  --black: #0a0a0a;
  --gray-900: #1a1a18;
  --gray-800: #2d2d2a;
  --gray-700: #404040;
  --gray-600: #555552;
  --gray-500: #6b6b67;
  --gray-400: #989894;
  --gray-300: #c0c0bc;
  --gray-200: #e5e5e0;
  --gray-100: #eeeeea;
  --gray-50: #f5f5f2;
  --bg: #fafaf8;
  --white: #ffffff;

  --accent: #1a7efb;
  --accent-light: #eef5ff;
  --accent-dark: #0a5fc7;
  --lime: #c3f73a;
  --lime-light: #f0fcd4;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.08);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}
body {
  font-family: var(--sans);
  color: var(--gray-700);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.6;
  cursor: default;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; }
em { font-style: italic; color: var(--accent); }
::selection { background: var(--accent); color: var(--white); }

/* --- CONTAINER --- */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 80px);
}

/* --- CUSTOM CURSOR --- */
.cursor, .cursor-follower {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.3s;
}
.cursor {
  width: 8px;
  height: 8px;
  background: var(--accent);
  transform: translate(-50%, -50%);
}
.cursor-follower {
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent);
  opacity: 0.4;
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease), height 0.4s var(--ease), opacity 0.3s;
}
.cursor-follower.hovering {
  width: 64px;
  height: 64px;
  opacity: 0.2;
}
@media (pointer: coarse) {
  .cursor, .cursor-follower { display: none; }
}

/* --- LOADER --- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.loader.hidden {
  opacity: 0;
  visibility: hidden;
}
.loader__inner { text-align: center; }
.loader__text {
  display: block;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 6px;
  color: var(--black);
  text-transform: lowercase;
  margin-bottom: 32px;
}
.loader__bar {
  width: 200px;
  height: 2px;
  background: var(--gray-200);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.loader__progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: var(--accent);
  animation: loaderProgress 1.8s var(--ease) forwards;
  border-radius: 2px;
}
@keyframes loaderProgress {
  to { width: 100%; }
}

/* --- BUTTONS --- */
.btn-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 16px 32px;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.btn-main:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.btn-main--full { width: 100%; justify-content: center; }
.btn-main--outline {
  background: transparent;
  border: 1px solid var(--gray-200);
  color: var(--black);
}
.btn-main--outline:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.btn-main--white {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}
.btn-main--white:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* --- TAGS / PILLS --- */
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--gray-200);
  color: var(--gray-500);
  background: var(--white);
}
.tag--accent {
  background: var(--accent-light);
  border-color: transparent;
  color: var(--accent);
}
.tag--lime {
  background: var(--lime-light);
  border-color: transparent;
  color: #3d6b00;
}

/* --- REVEAL ANIMATIONS ---
   All elements visible by default.
   GSAP handles hide→show via inline styles (fromTo).
   ------------------------------------------- */

/* --- SECTION HEADERS (shared) --- */
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 500;
  color: var(--black);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.section-subtitle {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 560px;
  margin-top: 20px;
}

/* ============================
   NAV
   ============================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav--scrolled {
  background: rgba(250, 250, 248, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
/* Dark hero variant — white text on transparent bg */
.nav--dark .nav__logo { color: var(--white); }
.nav--dark .nav__links > a,
.nav--dark .nav__item > a { color: rgba(255, 255, 255, 0.7); }
.nav--dark .nav__links > a:hover,
.nav--dark .nav__item > a:hover,
.nav--dark .nav__links > a.active { color: var(--white); }
.nav--dark .nav__cta {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}
.nav--dark .nav__cta:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.nav--dark .nav__toggle span { background: var(--white); }
/* When scrolled, revert to light nav regardless */
.nav--dark.nav--scrolled .nav__logo { color: var(--black); }
.nav--dark.nav--scrolled .nav__links > a,
.nav--dark.nav--scrolled .nav__item > a { color: var(--gray-600); }
.nav--dark.nav--scrolled .nav__links > a:hover,
.nav--dark.nav--scrolled .nav__item > a:hover,
.nav--dark.nav--scrolled .nav__links > a.active { color: var(--black); }
.nav--dark.nav--scrolled .nav__cta {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.nav--dark.nav--scrolled .nav__cta:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.nav--dark.nav--scrolled .nav__toggle span { background: var(--black); }
.nav__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--black);
  transition: color 0.4s;
}
.nav__logo span { color: var(--accent); }
.nav__links {
  display: flex;
  gap: 40px;
  align-items: center;
}
.nav__links > a,
.nav__item > a {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-600);
  transition: color 0.3s;
}
.nav__links > a:hover,
.nav__item > a:hover,
.nav__links > a.active {
  color: var(--black);
}
.nav__cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  padding: 10px 24px;
  background: var(--black);
  border: 1px solid var(--black);
  border-radius: 100px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav__cta:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--black);
  transition: all 0.4s var(--ease);
}
.nav__toggle--open span:first-child { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle--open span:last-child { transform: rotate(-45deg) translate(5px, -5px); }

/* Nav dropdown */
.nav__item { position: relative; }
.nav__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  pointer-events: none;
  z-index: 101;
}
.nav__item:hover .nav__dropdown,
.nav__item--open .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.nav__dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-600);
  transition: color 0.2s, background 0.2s;
}
.nav__dropdown a:hover {
  color: var(--accent);
  background: var(--gray-50);
}

/* ============================
   HERO (homepage — light bg)
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  overflow: hidden;
  background: var(--bg);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--bg);
}
.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(26, 126, 251, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(195, 247, 58, 0.04) 0%, transparent 40%);
}
.hero__container {
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  padding: 8px 16px 8px 10px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
}
.hero__line {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}
.hero__eyebrow span:last-child {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--gray-600);
}
.hero__title {
  margin-bottom: 40px;
}
.hero__title-line {
  display: block;
  overflow: hidden;
}
.hero__word {
  display: inline-block;
  font-family: var(--display);
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--black);
}
.hero__title em {
  color: var(--accent);
  font-style: normal;
}
.hero__bottom {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}
.hero__desc {
  max-width: 440px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray-500);
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  padding: 16px 32px;
  background: var(--black);
  border: 1px solid var(--black);
  border-radius: 100px;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.hero__cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.hero__cta-arrow {
  display: flex;
  transition: transform 0.3s var(--ease);
}
.hero__cta:hover .hero__cta-arrow { transform: translate(3px, -3px); }

.hero__scroll {
  position: absolute;
  right: clamp(24px, 4vw, 80px);
  bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero__scroll span {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-400);
  writing-mode: vertical-rl;
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: var(--gray-300);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  50% { top: 100%; }
  50.01% { top: -100%; }
  100% { top: 100%; }
}

/* ============================
   PAGE HERO (internal pages — light bg)
   ============================ */
.page-hero {
  position: relative;
  padding: 180px 0 100px;
  background: var(--bg);
  overflow: hidden;
}
.page-hero--compact {
  padding: 160px 0 60px;
}
.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 6px 14px 6px 10px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
}
.page-hero__eyebrow .hero__line {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}
.page-hero__eyebrow span:last-child {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--gray-600);
}
.page-hero__title {
  font-family: var(--display);
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--black);
  max-width: 900px;
  margin-bottom: 24px;
}
.page-hero__title em {
  color: var(--accent);
  font-style: normal;
}
.page-hero__desc {
  max-width: 540px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray-500);
  margin-bottom: 36px;
}
.page-hero__actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* ============================
   TRUST BAR / LOGO MARQUEE
   ============================ */
.trust-bar {
  padding: 48px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  text-align: center;
  overflow: hidden;
  background: var(--white);
}
.trust-bar__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 24px;
}
.trust-bar__marquee { overflow: hidden; position: relative; }
.trust-bar__track {
  display: flex;
  gap: 64px;
  align-items: center;
  white-space: nowrap;
  animation: marqueeScroll 40s linear infinite;
  will-change: transform;
}
.trust-bar__logo {
  height: 24px;
  opacity: 0.4;
  filter: grayscale(100%);
  transition: opacity 0.3s, filter 0.3s;
}
.trust-bar__logo:hover {
  opacity: 0.8;
  filter: grayscale(0%);
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================
   STATS
   ============================ */
.stats {
  padding: clamp(80px, 10vh, 120px) 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  text-align: center;
}
.stat__number {
  display: block;
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 12px;
}
.stat__label {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ============================
   VALUE BLOCKS (why-velarque, about)
   ============================ */
.value-blocks__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.value-block {
  padding: 48px 40px;
  background: var(--white);
  transition: background 0.4s var(--ease);
}
.value-block:hover { background: var(--gray-50); }
.value-block__num {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--accent);
  display: block;
  margin-bottom: 20px;
}
.value-block__title {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  color: var(--black);
  line-height: 1.3;
  margin-bottom: 12px;
}
.value-block__text {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray-500);
}

/* ============================
   PROCESS
   ============================ */
.process {
  padding: clamp(100px, 12vh, 160px) 0;
}
.process__header {
  margin-bottom: 64px;
}
.process__steps {
  display: flex;
  flex-direction: column;
}
.process-step {
  display: grid;
  grid-template-columns: 120px 1fr 280px;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid var(--gray-200);
}
.process-step__left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.process-step__num {
  font-family: var(--display);
  font-size: 48px;
  font-weight: 500;
  color: var(--gray-200);
  line-height: 1;
  letter-spacing: -2px;
}
.process-step__time {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
}
.process-step__title {
  font-family: var(--display);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 500;
  color: var(--black);
  margin-bottom: 12px;
}
.process-step__text {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 400px;
}
.process-step__visual {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/2;
  border: 1px solid var(--gray-200);
}
.process-step__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.process-step:hover .process-step__visual img {
  transform: scale(1.03);
}

/* ============================
   TESTIMONIAL
   ============================ */
.testimonial-section {
  padding: clamp(80px, 12vh, 160px) 0;
  background: var(--white);
}
.testimonial {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.testimonial__marks {
  font-family: Georgia, serif;
  font-size: 80px;
  line-height: 0.5;
  color: var(--gray-200);
  margin-bottom: 32px;
}
.testimonial__text {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--black);
  margin-bottom: 40px;
}
.testimonial__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--gray-200);
}
.testimonial__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonial__name {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  text-align: left;
}
.testimonial__role {
  display: block;
  font-size: 13px;
  color: var(--gray-400);
  text-align: left;
}

/* ============================
   FAQ
   ============================ */
.faq {
  padding: clamp(80px, 10vh, 140px) 0;
}
.faq__header {
  margin-bottom: 48px;
}
.faq__list {
  max-width: 800px;
}
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-item__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 500;
  color: var(--black);
  transition: color 0.3s;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  background: var(--gray-400);
  transition: transform 0.4s var(--ease);
}
.faq-item__icon::before {
  width: 16px;
  height: 1.5px;
  top: 50%;
  left: 2px;
  transform: translateY(-50%);
}
.faq-item__icon::after {
  width: 1.5px;
  height: 16px;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
}
.faq-item[open] .faq-item__icon::after {
  transform: translateX(-50%) rotate(90deg);
}
.faq-item__a {
  padding-bottom: 24px;
}
.faq-item__a p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--gray-500);
  max-width: 640px;
}

/* ============================
   CONTACT FORM
   ============================ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-form__group {
  position: relative;
  margin-bottom: 28px;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-form__group input,
.contact-form__group select,
.contact-form__group textarea {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid var(--gray-300);
  background: transparent;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  color: var(--black);
  outline: none;
  transition: border-color 0.3s var(--ease);
  border-radius: 0;
  -webkit-appearance: none;
}
.contact-form__group select { cursor: pointer; }
.contact-form__group input:focus,
.contact-form__group select:focus,
.contact-form__group textarea:focus {
  border-bottom-color: var(--accent);
}
.contact-form__group label {
  position: absolute;
  top: 14px;
  left: 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-400);
  pointer-events: none;
  transition: all 0.3s var(--ease);
}
.contact-form__group input:focus ~ label,
.contact-form__group input:not(:placeholder-shown) ~ label,
.contact-form__group textarea:focus ~ label,
.contact-form__group textarea:not(:placeholder-shown) ~ label,
.contact-form__group select:focus ~ label,
.contact-form__group select:not([value=""]) ~ label,
.contact-form__group select.has-value ~ label {
  top: -8px;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--accent);
}
.contact-form__group textarea { resize: vertical; min-height: 80px; }
.contact-form__group input.error,
.contact-form__group select.error,
.contact-form__group textarea.error {
  border-bottom-color: #e53935;
}
.contact-form__error {
  display: block;
  font-size: 12px;
  color: #e53935;
  margin-top: 6px;
}
.contact-form .btn-main { margin-top: 16px; }
.contact-form__note {
  text-align: center;
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 16px;
}
.contact-form__legal {
  font-size: 12px;
  color: var(--gray-400);
  line-height: 1.6;
  margin-top: 8px;
}
.contact-form__legal a {
  color: var(--accent);
  text-decoration: underline;
}

/* ============================
   CTA FINAL
   ============================ */
.cta-final {
  padding: clamp(100px, 14vh, 180px) 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  text-align: center;
  position: relative;
}
.cta-final__title {
  font-family: var(--display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 500;
  color: var(--black);
  letter-spacing: -0.03em;
  max-width: 650px;
  margin: 0 auto clamp(16px, 3vh, 28px);
}
.cta-final__title em {
  color: var(--accent);
  font-style: normal;
}
.cta-final__desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 440px;
  margin: 0 auto 36px;
}
.cta-final__note {
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 20px;
}

/* ============================
   FOOTER
   ============================ */
.footer {
  padding: 80px 0 0;
  background: var(--black);
  color: var(--gray-500);
}
.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__logo {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
  display: block;
  color: var(--white);
}
.footer__logo span { color: var(--accent); }
.footer__desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  max-width: 260px;
}
.footer__links {
  display: flex;
  gap: 72px;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 6px;
}
.footer__col a, .footer__col span {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-500);
  transition: color 0.3s;
}
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 13px;
  font-weight: 400;
}
.footer__legal {
  display: flex;
  gap: 28px;
}
.footer__legal a { transition: color 0.3s; }
.footer__legal a:hover { color: var(--white); }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-step { grid-template-columns: 100px 1fr; gap: 32px; }
  .process-step__visual { display: none; }
  .value-blocks__grid { grid-template-columns: 1fr; }
  .contact-form__row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__links--open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--bg);
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 99;
  }
  .nav__links--open a,
  .nav__links--open .nav__item a {
    font-size: 24px;
    color: var(--black);
  }
  .nav__toggle { display: flex; }
  .nav__cta { display: none; }

  .hero { padding: 140px 0 80px; min-height: auto; }
  .hero__word { font-size: clamp(32px, 10vw, 48px); letter-spacing: -0.02em; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .hero__scroll { display: none; }

  .page-hero { padding: 140px 0 60px; }
  .page-hero__title { font-size: clamp(28px, 8vw, 40px); }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .process-step { grid-template-columns: 1fr; gap: 16px; }
  .process-step__left { flex-direction: row; align-items: baseline; gap: 16px; }
  .process-step__num { font-size: 32px; }

  .section-title { font-size: clamp(26px, 6vw, 36px); }

  .footer__top { flex-direction: column; }
  .footer__links { flex-direction: column; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 12px; }
}
