:root {
  --color-primary: #0D4F6F;
  --color-secondary: #1E6B8A;
  --color-accent: #00BCD4;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: 'Outfit', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 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%;
}

/* Inputs */
input, textarea, select {
  accent-color: var(--color-accent);
}

:focus-visible {
  outline: 2px solid rgba(0, 188, 212, .55);
  outline-offset: 2px;
}

/* Animations (context: zoom_in) */
[data-animate] {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  will-change: opacity, transform;
}

[data-animate].is-visible {
  opacity: 1;
  transform: scale(1);
}

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

/* Decorative backgrounds */
.decor-grid-dots {
  background-image: radial-gradient(rgba(13,79,111,0.22) 1px, transparent 1px);
  background-size: 18px 18px;
}

.decor-grid-lines {
  background-image:
    linear-gradient(to right, rgba(13,79,111,0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(13,79,111,0.12) 1px, transparent 1px);
  background-size: 48px 48px;
}

.decor-diagonal {
  background-image: repeating-linear-gradient(
    135deg,
    rgba(0,188,212,0.14) 0,
    rgba(0,188,212,0.14) 8px,
    transparent 8px,
    transparent 20px
  );
}

.decor-mesh {
  background:
    radial-gradient(60% 60% at 20% 15%, rgba(0,188,212,0.20) 0%, transparent 60%),
    radial-gradient(55% 55% at 85% 25%, rgba(30,107,138,0.22) 0%, transparent 62%),
    radial-gradient(50% 50% at 40% 85%, rgba(13,79,111,0.20) 0%, transparent 60%);
}

.decor-subtle { opacity: 0.06; }
.decor-moderate { opacity: 0.10; }
.decor-bold { opacity: 0.18; }

.decor-gradient-blur::before,
.decor-gradient-blur::after {
  content: "";
  position: absolute;
  inset: auto;
  width: 520px;
  height: 520px;
  filter: blur(60px);
  opacity: 0.22;
  pointer-events: none;
}

.decor-gradient-blur::before {
  top: -240px;
  left: -220px;
  background: radial-gradient(circle at center, rgba(0,188,212,1) 0%, rgba(0,188,212,0) 60%);
}

.decor-gradient-blur::after {
  bottom: -260px;
  right: -220px;
  background: radial-gradient(circle at center, rgba(30,107,138,1) 0%, rgba(30,107,138,0) 60%);
}

.decor-corner-tr::before,
.decor-corner-bl::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  pointer-events: none;
  opacity: 0.16;
  filter: blur(0);
}

.decor-corner-tr::before {
  top: -70px;
  right: -70px;
  background: radial-gradient(circle at 30% 30%, rgba(0,188,212,1) 0%, rgba(0,188,212,0) 70%);
}

.decor-corner-bl::before {
  bottom: -70px;
  left: -70px;
  background: radial-gradient(circle at 70% 70%, rgba(13,79,111,1) 0%, rgba(13,79,111,0) 70%);
}

.decor-glow-element {
  position: relative;
}

.decor-glow-element::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle at 50% 50%, rgba(0,188,212,0.35) 0%, rgba(0,188,212,0) 55%);
  filter: blur(22px);
  opacity: 0.9;
  z-index: -1;
  pointer-events: none;
}

.decor-rings-svg {
  background-image:
    radial-gradient(circle at 50% 50%, rgba(0,188,212,0.22) 0 2px, transparent 2px 18px),
    radial-gradient(circle at 50% 50%, rgba(30,107,138,0.18) 0 2px, transparent 2px 34px),
    radial-gradient(circle at 50% 50%, rgba(13,79,111,0.14) 0 2px, transparent 2px 52px);
  background-repeat: no-repeat;
  background-position: center;
}

/* Small utility */
.no-tap-highlight {
  -webkit-tap-highlight-color: transparent;
}

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