:root{
  --color-primary:#2C3E50;
  --color-secondary:#3D5266;
  --color-accent:#48C9B0;
}

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { font-family: 'Inter', system-ui, sans-serif; text-rendering: optimizeLegibility; }

::selection { background: rgba(72, 201, 176, 0.22); }

img { max-width: 100%; height: auto; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid rgba(72, 201, 176, .9);
  outline-offset: 2px;
}

/* 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: .5rem;
}

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

/* Scroll animations */
[data-animate]{
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s ease-out, transform .5s ease-out;
  will-change: opacity, transform;
}

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

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

/* Premium subtle glow */
.glow-accent{
  box-shadow: 0 18px 45px rgba(72, 201, 176, .18);
}

.card-premium{
  border: 1px solid rgba(17, 24, 39, .08);
  background: rgba(255,255,255, .9);
  backdrop-filter: blur(10px);
}

/* Decorative backgrounds */
.decor-grid-dots{
  background-image: radial-gradient(rgba(44, 62, 80, .22) 1px, transparent 1px);
  background-size: 18px 18px;
  background-position: 0 0;
}

.decor-grid-lines{
  background-image:
    linear-gradient(to right, rgba(44, 62, 80, .08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(44, 62, 80, .08) 1px, transparent 1px);
  background-size: 34px 34px;
}

.decor-diagonal{
  background-image: repeating-linear-gradient(
    135deg,
    rgba(72, 201, 176, .12) 0,
    rgba(72, 201, 176, .12) 1px,
    transparent 1px,
    transparent 12px
  );
}

.decor-mesh{
  background:
    radial-gradient(700px 380px at 20% 15%, rgba(72, 201, 176, .20), transparent 60%),
    radial-gradient(600px 420px at 80% 25%, rgba(61, 82, 102, .18), transparent 60%),
    radial-gradient(700px 420px at 50% 90%, rgba(44, 62, 80, .16), transparent 60%);
}

.decor-gradient-blur{
  position: relative;
}

.decor-gradient-blur::before,
.decor-gradient-blur::after{
  content:"";
  position: absolute;
  inset: -120px -80px auto -80px;
  height: 320px;
  background: radial-gradient(closest-side, rgba(72, 201, 176, .38), transparent 70%);
  filter: blur(18px);
  opacity: .9;
  pointer-events: none;
}

.decor-gradient-blur::after{
  inset: auto -90px -140px -90px;
  height: 360px;
  background: radial-gradient(closest-side, rgba(61, 82, 102, .30), transparent 70%);
}

.decor-corner-tr, .decor-corner-bl{ position: relative; overflow: hidden; }

.decor-corner-tr::after{
  content:"";
  position:absolute;
  top:-80px;
  right:-80px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at center, rgba(72, 201, 176, .22), transparent 68%);
  transform: rotate(18deg);
  pointer-events:none;
}

.decor-corner-bl::after{
  content:"";
  position:absolute;
  bottom:-90px;
  left:-90px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at center, rgba(44, 62, 80, .14), transparent 70%);
  pointer-events:none;
}

.decor-glow-element{
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 9999px;
  background: radial-gradient(circle at 30% 30%, rgba(72, 201, 176, .35), transparent 60%);
  filter: blur(16px);
  opacity: .9;
  pointer-events: none;
}

.decor-rings-svg{
  background-image: radial-gradient(circle at center,
    transparent 0,
    transparent 48%,
    rgba(255,255,255,.14) 49%,
    transparent 51%,
    transparent 63%,
    rgba(255,255,255,.10) 64%,
    transparent 66%,
    transparent 76%,
    rgba(255,255,255,.08) 77%,
    transparent 79%
  );
  background-size: 320px 320px;
  background-repeat: no-repeat;
  background-position: center;
}

.decor-subtle{ opacity: .06; }
.decor-moderate{ opacity: .10; }
.decor-bold{ opacity: .18; }

/* Cookie toggle knob fix for Safari */
.cookie-toggle{ position: relative; }
.cookie-toggle::after{ display:block; }

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