/* ==========================================
   FLOWZZY — Landing Page Styles (v2)
   Premium, dark, refined aesthetic
   ========================================== */

/* ----- Custom Properties ----- */

:root {
  /* Brand palette */
  --color-bg: #061b37;
  --color-bg-deep: #040f20;
  --color-accent: #9e8020;
  --color-accent-light: #c4a434;
  --color-accent-dim: rgba(158, 128, 32, 0.12);
  --color-text: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.55);
  --color-text-faint: rgba(255, 255, 255, 0.3);
  --color-border: rgba(158, 128, 32, 0.14);
  --color-border-light: rgba(255, 255, 255, 0.06);
  --color-glass: rgba(6, 27, 55, 0.6);
  --color-glass-border: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-heading: "Instrument Serif", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;

  /* Spacing */
  --sp-2xs: 0.25rem;
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 1.5rem;
  --sp-lg: 2.5rem;
  --sp-xl: 4rem;
  --sp-2xl: 7rem;

  /* Layout */
  --max-w: 1100px;

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

/* ==========================================
   PRELOADER
   ========================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg);
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  border-top: 4px solid #fff;
  border-right: 4px solid transparent;
  box-sizing: border-box;
  animation: loader-rotation 1s linear infinite;
}

.loader::after {
  content: "";
  box-sizing: border-box;
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border-left: 4px solid var(--color-accent);
  border-bottom: 4px solid transparent;
  animation: loader-rotation 0.5s linear infinite reverse;
}

@keyframes loader-rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* Focus-visible (a11y) */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 999;
  padding: 0.75rem 1.25rem;
  background: var(--color-accent);
  color: var(--color-bg);
  border-radius: 0 0 8px 8px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* 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-behavior: auto !important;
  }
  .anim-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ----- Utility ----- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-md);
}

/* ==========================================
   NAVIGATION
   ========================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding-block: var(--sp-sm);
  transition:
    background-color 0.4s var(--ease-out),
    backdrop-filter 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}

.nav--scrolled {
  background-color: rgba(6, 27, 55, 0.85);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 var(--color-border-light);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--sp-sm);
  padding-left: 180px;
}

.nav__logo-img {
  position: absolute;
  left: var(--sp-md);
  z-index: 90;
}

.nav__logo-img img {
  height: 190px;
  padding-left: 60px;
  padding-top: 10px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Desktop links */
.nav__links {
  display: flex;
  gap: var(--sp-lg);
  margin-right: var(--sp-lg);
}

.nav__link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  transition: color 0.25s;
  position: relative;
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.3s var(--ease-out);
}

.nav__link:hover {
  color: var(--color-text);
}

.nav__link:hover::after {
  width: 100%;
}

/* Hamburger (mobile) */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
}

.nav__hamburger-line {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--color-text);
  border-radius: 2px;
  transition:
    transform 0.3s var(--ease-out),
    opacity 0.2s;
  transform-origin: center;
}

.nav__hamburger.is-active .nav__hamburger-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__hamburger.is-active .nav__hamburger-line:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.is-active .nav__hamburger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu */
.nav__mobile {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.nav__mobile.is-open {
  max-height: 300px;
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  padding: var(--sp-sm) var(--sp-md) var(--sp-md);
  gap: var(--sp-xs);
}

.nav__mobile-link {
  font-size: 1rem;
  padding: var(--sp-xs) 0;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border-light);
  transition: color 0.2s;
}

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

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  letter-spacing: 0.015em;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-bg);
  padding: 0.875rem 2rem;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}

/* Shimmer hover effect */
.btn--primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.12),
    transparent
  );
  transition: left 0.5s var(--ease-out);
}

.btn--primary:hover::before {
  left: 100%;
}

.btn--primary:hover {
  background: var(--color-accent-light);
  box-shadow: 0 8px 32px rgba(158, 128, 32, 0.3);
  transform: translateY(-2px);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 12px rgba(158, 128, 32, 0.2);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-muted);
  padding: 0.875rem 1.5rem;
  font-size: 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.btn--ghost:hover {
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.btn--small {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-border);
  padding: 0.5rem 1.25rem;
  font-size: 0.82rem;
  border-radius: 6px;
}

.btn--small:hover {
  background: var(--color-accent-dim);
  border-color: var(--color-accent);
}

.btn--full {
  width: 100%;
}

/* Loading state */
.btn__loading {
  display: none;
  animation: spin 1s linear infinite;
}

.btn.is-loading .btn__text {
  display: none;
}
.btn.is-loading .btn__loading {
  display: block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================
   HERO
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
}

/* Ambient background */
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.hero__glow--1 {
  width: 600px;
  height: 600px;
  top: -15%;
  right: -10%;
  background: radial-gradient(
    circle,
    rgba(158, 128, 32, 0.12) 0%,
    transparent 70%
  );
}

.hero__glow--2 {
  width: 400px;
  height: 400px;
  bottom: -10%;
  left: -5%;
  background: radial-gradient(
    circle,
    rgba(158, 128, 32, 0.06) 0%,
    transparent 70%
  );
}

/* Subtle grid pattern */
.hero__grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(158, 128, 32, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(158, 128, 32, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(
    ellipse 70% 60% at 50% 40%,
    black 20%,
    transparent 80%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 70% 60% at 50% 40%,
    black 20%,
    transparent 80%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-xl);
}

.hero__content {
  max-width: 620px;
  flex-shrink: 0;
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem 0.4rem 0.65rem;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  margin-bottom: var(--sp-md);
  background: rgba(158, 128, 32, 0.05);
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(158, 128, 32, 0.4);
  }
  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 6px rgba(158, 128, 32, 0);
  }
}

.hero__headline {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: var(--sp-md);
  letter-spacing: -0.02em;
}

.hero__sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 300;
  color: var(--color-text-muted);
  max-width: 480px;
  margin-bottom: var(--sp-lg);
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}

/* Decorative rings */
.hero__visual {
  position: relative;
  width: 380px;
  height: 380px;
  flex-shrink: 0;
}

.hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 2.5px solid var(--color-border);
}

.hero__ring--outer {
  inset: 0;
  animation: ring-rotate 60s linear infinite;
}

.hero__ring--mid {
  inset: 18%;
  border-color: rgba(158, 128, 32, 0.2);
  animation: ring-rotate 45s linear infinite reverse;
}

.hero__ring--inner {
  inset: 38%;
  border-color: rgba(158, 128, 32, 0.08);
  animation: ring-rotate 30s linear infinite;
}

.hero__ring-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(158, 128, 32, 0.5);
}

/* Ring tick marks */
.hero__ring--outer::before,
.hero__ring--mid::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: 1px;
  height: 12px;
  background: var(--color-accent);
  opacity: 0.3;
  transform: translateX(-50%);
}

.hero__ring--mid::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  width: 1px;
  height: 8px;
  background: var(--color-accent);
  opacity: 0.2;
  transform: translateX(-50%);
}

@keyframes ring-rotate {
  to {
    transform: rotate(360deg);
  }
}

/* Hero illustration */
.hero__visual {
  position: relative;
  width: 460px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__illustration {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.25));
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--color-accent);
  animation: scroll-drop 2s var(--ease-in-out) infinite;
}

@keyframes scroll-drop {
  0% {
    top: -50%;
  }
  100% {
    top: 150%;
  }
}

/* ==========================================
   SECTION HEADERS
   ========================================== */
.section__header {
  margin-bottom: var(--sp-xl);
}

.section__header--center {
  text-align: center;
}

.section__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-accent);
  margin-bottom: var(--sp-xs);
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ==========================================
   SERVICES
   ========================================== */
.services {
  padding-block: var(--sp-2xl);
  position: relative;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-md);
}

.service-card {
  position: relative;
  padding: var(--sp-lg) var(--sp-md);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-accent-dim);
  transition:
    border-color 0.4s var(--ease-out),
    background-color 0.4s var(--ease-out),
    transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
  overflow: hidden;
}

/* Card glow on hover */
.service-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 14px;
  background: radial-gradient(
    400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(158, 128, 32, 0.1),
    transparent
  );
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  border-color: rgba(158, 128, 32, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.service-card__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(158, 128, 32, 0.1);
  border: 1px solid rgba(158, 128, 32, 0.15);
  color: var(--color-accent);
  margin-bottom: var(--sp-md);
  transition:
    background-color 0.3s,
    border-color 0.3s;
}

.service-card:hover .service-card__icon-wrap {
  background: rgba(158, 128, 32, 0.18);
  border-color: rgba(158, 128, 32, 0.3);
}

.service-card__title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--sp-2xs);
}

.service-card__text {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.service-card__arrow {
  display: inline-block;
  margin-top: var(--sp-sm);
  font-size: 1.1rem;
  color: var(--color-accent);
  opacity: 0;
  transform: translateX(-8px);
  transition:
    opacity 0.3s,
    transform 0.3s var(--ease-out);
}

.service-card:hover .service-card__arrow {
  opacity: 0.7;
  transform: translateX(0);
}

/* ==========================================
   PROCESS
   ========================================== */
.process {
  padding-block: var(--sp-2xl);
  position: relative;
}

/* Subtle top gradient */
.process::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-border),
    transparent
  );
}

.process__timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
  position: relative;
}

/* Horizontal connecting line */
.process__line {
  position: absolute;
  top: 11px;
  left: calc(12.5% + 6px);
  right: calc(12.5% + 6px);
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--color-border),
    rgba(158, 128, 32, 0.25),
    var(--color-border)
  );
}

.process__step {
  text-align: center;
}

.process__marker {
  display: flex;
  justify-content: center;
  margin-bottom: var(--sp-md);
}

.process__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 2px solid var(--color-accent);
  position: relative;
  z-index: 2;
  transition:
    background-color 0.3s,
    box-shadow 0.3s;
}

.process__step:hover .process__dot {
  background: var(--color-accent);
  box-shadow: 0 0 16px rgba(158, 128, 32, 0.4);
}

.process__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  color: var(--color-accent);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: var(--sp-xs);
  font-style: italic;
}

.process__step-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--sp-2xs);
}

.process__step-text {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 220px;
  margin-inline: auto;
}

/* ==========================================
   PROOF
   ========================================== */
.proof {
  padding-block: var(--sp-xl);
}

.proof__inner {
  position: relative;
  padding: var(--sp-xl) var(--sp-lg);
  text-align: center;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-accent-dim);
}

.proof__accent-line {
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-accent),
    transparent
  );
}

.proof__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-accent);
  margin-bottom: var(--sp-sm);
}

.proof__pulse {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

.proof__text {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.45;
  max-width: 500px;
  margin-inline: auto;
  font-style: italic;
}

/* ==========================================
   CONTACT
   ========================================== */
.contact {
  padding-block: var(--sp-2xl);
  position: relative;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-border),
    transparent
  );
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: start;
}

.contact__sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--color-text-muted);
  max-width: 380px;
  line-height: 1.8;
  margin-bottom: var(--sp-lg);
}

/* Trust signals */
.contact__trust {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}

.contact__trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.contact__trust-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Form card (glass) */
.contact__form-wrap {
  background: var(--color-glass);
  border: 1px solid var(--color-glass-border);
  border-radius: 16px;
  padding: var(--sp-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form__label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-faint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form__input {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  padding: 0.8rem 1rem;
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text);
  outline: none;
  transition:
    border-color 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out),
    background-color 0.3s var(--ease-out);
}

.form__input::placeholder {
  color: var(--color-text-faint);
}

.form__input:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.form__input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(158, 128, 32, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

/* Validation errors */
.form__error {
  font-size: 0.78rem;
  color: #e85454;
  min-height: 1rem;
  transition: opacity 0.2s;
}

.form__input.is-invalid {
  border-color: #e85454;
}

.form__input.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(232, 84, 84, 0.12);
}

/* Success message */
.form__success {
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: var(--sp-sm);
  background: rgba(158, 128, 32, 0.1);
  border: 1px solid rgba(158, 128, 32, 0.2);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--color-accent);
  margin-top: var(--sp-xs);
  display: none;
}

.form__success svg {
  flex-shrink: 0;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  padding-block: var(--sp-xl) var(--sp-lg);
  border-top: 1px solid var(--color-border-light);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-md);
  text-align: center;
}

.footer__logo {
  height: 150px;
  width: auto;
  opacity: 0.6;
  position: absolute;
  top: auto;
}

.footer__tagline {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--color-text-faint);
  margin-top: var(--sp-2xs);
}

.footer__links {
  display: flex;
  gap: var(--sp-lg);
}

.footer__links a {
  font-size: 0.82rem;
  color: var(--color-text-faint);
  transition: color 0.25s;
}

.footer__links a:hover {
  color: var(--color-text-muted);
}

.footer__bottom {
  padding-top: var(--sp-md);
  border-top: 1px solid var(--color-border-light);
  width: 100%;
}

.footer__copy {
  font-size: 0.78rem;
  color: var(--color-text-faint);
  text-align: center;
}

/* ==========================================
   ANIMATIONS (scroll reveal)
   ========================================== */
.anim-reveal {
  opacity: 0;
  transform: translateY(28px);
}

.anim-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}

/* Stagger delays */
.anim-reveal[data-delay="1"].is-visible {
  transition-delay: 0.1s;
}
.anim-reveal[data-delay="2"].is-visible {
  transition-delay: 0.2s;
}
.anim-reveal[data-delay="3"].is-visible {
  transition-delay: 0.3s;
}
.anim-reveal[data-delay="4"].is-visible {
  transition-delay: 0.4s;
}

/* ==========================================
   RESPONSIVE — TABLET (≤ 900px)
   ========================================== */
@media (max-width: 900px) {
  .hero__inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .hero__content {
    max-width: 560px;
  }

  .hero__sub {
    margin-inline: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    width: 260px;
    height: 260px;
  }

  .process__timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-lg);
  }

  .process__line {
    display: none;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }

  .nav__links {
    display: none;
  }
  .nav__cta.btn--small {
    display: none;
  }
  .nav__hamburger {
    display: flex;
  }
}

/* ==========================================
   RESPONSIVE — MOBILE (≤ 600px)
   ========================================== */
@media (max-width: 600px) {
  :root {
    --sp-2xl: 4.5rem;
    --sp-xl: 3rem;
    --sp-lg: 2rem;
  }

  .hero {
    min-height: auto;
    padding-top: 6rem;
    padding-bottom: var(--sp-xl);
  }

  .hero__visual {
    display: none;
  }

  .hero__scroll {
    display: none;
  }

  .hero__headline {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .hero__badge {
    font-size: 0.72rem;
  }

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

  .process__timeline {
    grid-template-columns: 1fr;
    gap: var(--sp-md);
  }

  .process__marker {
    display: none;
  }

  .process__step {
    text-align: left;
    padding-left: var(--sp-md);
    border-left: 1px solid var(--color-border);
  }

  .process__step-text {
    max-width: none;
    margin-inline: 0;
  }

  .contact__form-wrap {
    padding: var(--sp-md);
  }

  .proof__inner {
    padding: var(--sp-lg) var(--sp-md);
  }
  .nav__inner {
    padding-left: 140px;
  }

  .footer__links {
    gap: var(--sp-md);
  }
}
