:root {
  --color-primary: #1E3A5F;
  --color-secondary: #2D5080;
  --color-accent: #00D9FF;
}

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { font-family: 'Space Grotesk', system-ui, sans-serif; text-rendering: geometricPrecision; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

img { height: auto; }

/* Button fixes */
button, .btn, [class*="btn-"], a[href="#order_form"] {
  white-space: nowrap;
  min-width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

form button[type="submit"] { white-space: normal; width: 100%; }

.rotate-180 { transform: rotate(180deg); }

/* Header: transparent -> solid */
#site-header.is-solid {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229,231,235,1);
}
#site-header.is-solid a { color: rgb(17 24 39); }
#site-header.is-solid a .text-white,
#site-header.is-solid .text-white { color: rgb(17 24 39) !important; }
#site-header.is-solid .text-white\/85,
#site-header.is-solid .text-white\/75,
#site-header.is-solid .text-white\/70 { color: rgb(75 85 99) !important; }
#site-header.is-solid .bg-white\/10 { background: rgba(17,24,39,0.06) !important; }
#site-header.is-solid .ring-white\/20 { --tw-ring-color: rgba(17,24,39,0.10) !important; }
#site-header.is-solid i { color: rgb(55 65 81); }
#site-header.is-solid a[href="#order_form"] { color: #fff !important; }

/* Animations */
[data-animate] {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: transform, opacity;
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Decorative elements (premium, subtle) */
.decor-grid-dots {
  background-image: radial-gradient(rgba(0, 217, 255, .18) 1px, transparent 1px);
  background-size: 18px 18px;
}
.decor-grid-lines {
  background-image:
    linear-gradient(to right, rgba(30, 58, 95, .09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 58, 95, .09) 1px, transparent 1px);
  background-size: 44px 44px;
}
.decor-diagonal {
  background-image: repeating-linear-gradient(135deg, rgba(0, 217, 255, .10) 0, rgba(0, 217, 255, .10) 1px, transparent 1px, transparent 12px);
}
.decor-mesh {
  background:
    radial-gradient(1200px 600px at 10% 10%, rgba(0, 217, 255, .18), transparent 55%),
    radial-gradient(900px 520px at 80% 30%, rgba(45, 80, 128, .22), transparent 58%),
    radial-gradient(900px 540px at 40% 95%, rgba(30, 58, 95, .26), transparent 58%);
}

.decor-gradient-blur::before,
.decor-gradient-blur::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 9999px;
  filter: blur(42px);
  opacity: .55;
  pointer-events: none;
}
.decor-gradient-blur::before {
  background: rgba(0, 217, 255, .40);
  top: -160px;
  left: -140px;
}
.decor-gradient-blur::after {
  background: rgba(45, 80, 128, .42);
  right: -160px;
  bottom: -190px;
}

.decor-corner-tr::before,
.decor-corner-bl::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  pointer-events: none;
}
.decor-corner-tr::before {
  top: 0;
  right: 0;
  background: linear-gradient(225deg, rgba(0,217,255,.22), transparent 70%);
}
.decor-corner-bl::after {
  bottom: 0;
  left: 0;
  background: linear-gradient(45deg, rgba(0,217,255,.16), transparent 70%);
}

.decor-glow-element {
  position: absolute;
  inset: auto;
  width: 520px;
  height: 520px;
  border-radius: 9999px;
  background: radial-gradient(circle at 30% 30%, rgba(0,217,255,.32), transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(45,80,128,.24), transparent 62%);
  filter: blur(28px);
  opacity: .65;
  pointer-events: none;
}

/* Intensity modifiers */
.decor-subtle { opacity: .06; }
.decor-moderate { opacity: .12; }
.decor-bold { opacity: .20; }

/* Inputs */
input[type="text"], input[type="tel"], input[type="email"], textarea, select {
  outline: none;
}
input:focus, textarea:focus, select:focus {
  box-shadow: 0 0 0 4px rgba(0, 217, 255, .18);
  border-color: rgba(0, 217, 255, .55);
}

/* Slider utilities (if used) */
.snap-x { scroll-snap-type: x mandatory; }
.snap-start { scroll-snap-align: start; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-animate] { transition: none !important; }
}