/* ==========================================================================
   БЕЛКЛИНТОН — AWWWARDS SOTD VISUAL & NESTED MOTION LAYER
   ========================================================================== */

:root {
  --aww-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --aww-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --aww-ease-silk: cubic-bezier(0.22, 0.68, 0, 1);
  --aww-ink: #0e2c40;
  --aww-muted: #526f82;
  --aww-blue: #087fc1;
  --aww-cobalt: #0f3ea8;
  --aww-cyan: #36c2e8;
  --aww-lime: #b9f36c;
  --aww-leaf: #4eb334;
  --aww-glass: rgba(255, 255, 255, 0.78);
  --aww-glass-border: rgba(255, 255, 255, 0.92);
  --aww-shadow-soft: 0 12px 36px -16px rgba(12, 58, 98, 0.14), 0 2px 6px rgba(12, 58, 98, 0.04);
  --aww-shadow-elevated: 0 28px 68px -24px rgba(11, 56, 102, 0.24), 0 4px 12px rgba(11, 56, 102, 0.06);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--aww-ink);
  background-color: #f6fbff;
  overflow-x: clip;
}

/* ---------- Scroll Progress Bar ---------- */
#aww-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 9990;
  transform-origin: 0 50%;
  transform: scaleX(var(--scroll-progress, 0));
  background: linear-gradient(90deg, var(--aww-cobalt), var(--aww-cyan), var(--aww-leaf));
  pointer-events: none;
}

/* ---------- Ambient Optical Canvas ---------- */
#aww-ambient-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.85;
}

/* ---------- Cinematic Preloader ---------- */
#aww-preloader[hidden] { display: none; }
#aww-preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 25% 20%, rgba(67, 196, 232, 0.25), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(185, 243, 108, 0.22), transparent 50%),
    linear-gradient(145deg, #071e38 0%, #0b3366 55%, #08558b 100%);
  color: #fff;
  clip-path: inset(0 0 0% 0 round 0 0 0px 0px);
  transition: clip-path 0.95s var(--aww-ease-out), visibility 0.95s;
}

html.aww-loaded #aww-preloader {
  clip-path: inset(0 0 100% 0 round 0 0 56px 56px);
  visibility: hidden;
  pointer-events: none;
}

.aww-preloader-inner {
  width: min(320px, 82vw);
  display: grid;
  justify-items: center;
  gap: 16px;
}

.aww-preloader-drop {
  width: 54px;
  height: 66px;
  color: #7ee3ff;
  filter: drop-shadow(0 0 24px rgba(84, 214, 255, 0.5));
}

.aww-drop-path {
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  animation: aww-draw-drop 0.85s var(--aww-ease-out) forwards;
}

.aww-drop-glint {
  opacity: 0;
  animation: aww-fade-in 0.4s ease 0.45s forwards;
}

@keyframes aww-draw-drop {
  to { stroke-dashoffset: 0; }
}
@keyframes aww-fade-in {
  to { opacity: 0.9; }
}

.aww-preloader-brand {
  font-family: Manrope, Inter, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.28em;
  color: #ffffff;
}

.aww-preloader-bar {
  width: 100%;
  height: 2px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

#aww-preloader-fill {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, #57d6ff, #c2f876);
  transition: transform 0.12s linear;
}

.aww-preloader-meta {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(226, 244, 255, 0.78);
  font-variant-numeric: tabular-nums;
}

/* ---------- Trailing Magnetic Cursor Aura ---------- */
#cursor-aura {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
  width: 44px;
  height: 44px;
  margin-left: -22px;
  margin-top: -22px;
  border-radius: 999px;
  border: 1px solid rgba(8, 127, 193, 0.34);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(2px);
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--aura-x, -100px), var(--aura-y, -100px), 0) scale(0.75);
  transition: width 0.35s var(--aww-ease-out), height 0.35s var(--aww-ease-out),
              margin 0.35s var(--aww-ease-out), background 0.3s ease,
              border-color 0.3s ease, opacity 0.25s ease;
}

@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
  #cursor-aura.is-active {
    opacity: 1;
    transform: translate3d(var(--aura-x, 0px), var(--aura-y, 0px), 0) scale(1);
  }
}

#cursor-aura.has-label {
  width: 88px;
  height: 88px;
  margin-left: -44px;
  margin-top: -44px;
  background: rgba(14, 44, 64, 0.86);
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px -10px rgba(8, 42, 74, 0.45);
}

#cursor-aura-label {
  font-family: Manrope, Inter, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #fff;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.22s ease, transform 0.25s var(--aww-ease-out);
  white-space: nowrap;
}

#cursor-aura.has-label #cursor-aura-label {
  opacity: 1;
  transform: scale(1);
}

/* ---------- Sticky Morphing Glass Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding-top: 16px;
  transition: padding-top 0.4s var(--aww-ease-out);
}

.header.is-scrolled {
  padding-top: 8px;
}

.header-inner {
  transition: min-height 0.4s var(--aww-ease-out), background 0.4s ease,
              box-shadow 0.4s ease, border-radius 0.4s var(--aww-ease-out), padding 0.4s var(--aww-ease-out);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  border: 1px solid rgba(255, 255, 255, 0.92);
}

.header.is-scrolled .header-inner {
  min-height: 60px;
  padding-block: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 38px -18px rgba(10, 58, 98, 0.22), inset 0 1px 0 #fff;
}

.main-nav a {
  position: relative;
  padding-block: 6px;
  font-weight: 600;
  transition: color 0.25s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--aww-blue), var(--aww-leaf));
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.35s var(--aww-ease-out);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: 0% 50%;
}

/* ---------- Dual-Layer Magnetic Buttons & Liquid Sheen ---------- */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--aww-ease-out), box-shadow 0.35s var(--aww-ease-out), background 0.3s ease;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(140px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.36), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover::before {
  opacity: 1;
}

.btn .btn-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  pointer-events: none;
  transition: transform 0.25s var(--aww-ease-out);
}

.btn:hover .icon {
  transform: translateX(4px);
  transition: transform 0.3s var(--aww-ease-spring);
}

/* ---------- HERO: 4-Stage Nested Entrance Choreography ---------- */
.aww-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(8, 127, 193, 0.16);
  box-shadow: 0 8px 22px -14px rgba(8, 86, 142, 0.28);
  margin-bottom: 18px;
}

.aww-eyebrow-pill .eyebrow {
  margin: 0 !important;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--aww-ink);
}

.aww-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #39b94a;
  box-shadow: 0 0 0 0 rgba(57, 185, 74, 0.6);
  animation: aww-pulse 2.2s infinite;
  flex-shrink: 0;
}

@keyframes aww-pulse {
  0% { box-shadow: 0 0 0 0 rgba(57, 185, 74, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(57, 185, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(57, 185, 74, 0); }
}

.aww-line-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.aww-line-inner {
  display: inline-block;
  will-change: transform, opacity;
}

.aww-accent-phrase {
  position: relative;
  color: var(--aww-blue);
}

.aww-title-wave {
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 14px;
  pointer-events: none;
  overflow: visible;
}

.aww-title-wave path {
  stroke-dasharray: 380;
  stroke-dashoffset: 380;
  transition: stroke-dashoffset 1.1s var(--aww-ease-out) 0.55s;
}

html.aww-loaded .aww-title-wave path {
  stroke-dashoffset: 0;
}

/* Initial states when motion is enabled */
html.motion-ready.aww-motion-enabled [data-hero-stage="1"],
html.motion-ready.aww-motion-enabled [data-hero-stage="3"],
html.motion-ready.aww-motion-enabled [data-hero-stage="4"],
html.motion-ready.aww-motion-enabled [data-hero-stage="5"] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 0.85s var(--aww-ease-out), transform 0.85s var(--aww-ease-out);
}

html.motion-ready.aww-motion-enabled .aww-hero-title .aww-line-inner {
  opacity: 0;
  transform: translate3d(0, 112%, 0) rotate(2deg);
  transform-origin: 0% 100%;
  transition: transform 0.95s var(--aww-ease-out), opacity 0.7s ease;
}

html.motion-ready.aww-motion-enabled.aww-loaded [data-hero-stage="1"] { opacity: 1; transform: none; transition-delay: 0.08s; }
html.motion-ready.aww-motion-enabled.aww-loaded .aww-hero-title .aww-line-mask:nth-child(1) .aww-line-inner { opacity: 1; transform: none; transition-delay: 0.16s; }
html.motion-ready.aww-motion-enabled.aww-loaded .aww-hero-title .aww-line-mask:nth-child(2) .aww-line-inner { opacity: 1; transform: none; transition-delay: 0.27s; }
html.motion-ready.aww-motion-enabled.aww-loaded .aww-hero-title .aww-line-mask:nth-child(3) .aww-line-inner { opacity: 1; transform: none; transition-delay: 0.38s; }
html.motion-ready.aww-motion-enabled.aww-loaded [data-hero-stage="3"] { opacity: 1; transform: none; transition-delay: 0.44s; }
html.motion-ready.aww-motion-enabled.aww-loaded [data-hero-stage="4"] { opacity: 1; transform: none; transition-delay: 0.54s; }
html.motion-ready.aww-motion-enabled.aww-loaded [data-hero-stage="5"] { opacity: 1; transform: none; transition-delay: 0.66s; }

/* Story Trigger Pill */
.aww-story-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 18px 7px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 76, 129, 0.14);
  box-shadow: var(--aww-shadow-soft);
  text-align: left;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.aww-story-pill:hover {
  background: #ffffff;
  border-color: rgba(8, 127, 193, 0.38);
  box-shadow: var(--aww-shadow-elevated);
}

.aww-story-play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0b7ec2, #25b8db);
  color: #fff;
  transition: transform 0.35s var(--aww-ease-spring);
}

.aww-story-pill:hover .aww-story-play {
  transform: scale(1.1) rotate(6deg);
}

.aww-story-play .icon {
  width: 15px;
  height: 15px;
  fill: currentColor;
  stroke: none;
  margin-left: 2px;
}

.aww-story-text strong {
  display: block;
  font-size: 13px;
  font-weight: 750;
  color: var(--aww-ink);
  line-height: 1.2;
}

.aww-story-text small {
  display: block;
  font-size: 11px;
  color: var(--aww-muted);
  margin-top: 2px;
}

/* Nested Hero Frame + Floating HUD Chips */
.aww-hero-frame {
  position: relative;
  border-radius: 28px;
  box-shadow: var(--aww-shadow-elevated);
  transform-style: preserve-3d;
}

.aww-hero-media {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
}

html.motion-ready.aww-motion-enabled .aww-hero-frame .aww-hero-media {
  clip-path: inset(12% 9% 12% 9% round 40px);
  transition: clip-path 1.15s var(--aww-ease-out) 0.18s;
}

html.motion-ready.aww-motion-enabled .aww-hero-frame .aww-hero-media img {
  transform: scale(1.18);
  transition: transform 1.45s var(--aww-ease-out) 0.18s;
}

html.motion-ready.aww-motion-enabled.aww-loaded .aww-hero-frame .aww-hero-media {
  clip-path: inset(0% 0% 0% 0% round 28px);
}

html.motion-ready.aww-motion-enabled.aww-loaded .aww-hero-frame .aww-hero-media img {
  transform: scale(1.03);
}

.aww-floating-chip {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 36px -16px rgba(10, 48, 82, 0.28);
  pointer-events: none;
  max-width: 245px;
}

.aww-floating-chip--top {
  bottom: 96px;
  left: 20px;
}

.aww-floating-chip--bottom {
  bottom: 22px;
  left: 20px;
}

.aww-floating-chip .icon {
  width: 26px;
  height: 26px;
  color: var(--aww-blue);
  flex-shrink: 0;
}

.aww-chip-badge {
  padding: 5px 8px;
  border-radius: 9px;
  background: linear-gradient(135deg, #dcf7c8, #c1f0b2);
  color: #1f5c2e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.aww-floating-chip strong {
  display: block;
  font-size: 12.5px;
  font-weight: 750;
  color: var(--aww-ink);
  line-height: 1.2;
}

.aww-floating-chip span {
  display: block;
  font-size: 11px;
  color: var(--aww-muted);
  line-height: 1.35;
  margin-top: 2px;
}

html.motion-ready.aww-motion-enabled .aww-floating-chip {
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(0.92);
  transition: opacity 0.7s var(--aww-ease-out), transform 0.8s var(--aww-ease-spring);
}

html.motion-ready.aww-motion-enabled.aww-loaded .aww-floating-chip--top {
  opacity: 1;
  transform: translate3d(0, 0, 40px) scale(1);
  transition-delay: 0.68s;
}

html.motion-ready.aww-motion-enabled.aww-loaded .aww-floating-chip--bottom {
  opacity: 1;
  transform: translate3d(0, 0, 55px) scale(1);
  transition-delay: 0.82s;
}

@media (max-width: 767px) {
  .aww-floating-chip--top { display: none; }
  .aww-floating-chip--bottom { bottom: 14px; left: 14px; right: 14px; max-width: none; }
  .hero-actions { flex-wrap: wrap; }
  .aww-story-pill { width: 100%; justify-content: center; }
}

/* ---------- Spotlight Hover Surface (`[data-spotlight]`) ---------- */
[data-spotlight] {
  position: relative;
  overflow: hidden;
}

[data-spotlight]::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(280px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(54, 194, 232, 0.15), transparent 72%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

[data-spotlight]:hover::after {
  opacity: 1;
}

/* ---------- 3D Tilt & Nested Z-Translation ---------- */
[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  [data-tilt] [data-z="24"] { transform: translateZ(18px); }
  [data-tilt] [data-z="30"] { transform: translateZ(24px); }
  [data-tilt] [data-z="35"] { transform: translateZ(28px); }
  [data-tilt] [data-z="40"] { transform: translateZ(32px); }
  [data-tilt] [data-z="45"] { transform: translateZ(36px); }
  [data-tilt] [data-z="50"] { transform: translateZ(42px); }
  [data-tilt] [data-z="60"] { transform: translateZ(48px); }
}

/* ---------- Kinetic Velocity Marquee ---------- */
.aww-marquee {
  margin-block: clamp(32px, 4.5vw, 58px);
  padding-block: 16px;
  border-block: 1px solid rgba(8, 127, 193, 0.12);
  background: linear-gradient(90deg, rgba(255,255,255,0.45), rgba(230,247,255,0.7), rgba(238,250,228,0.65));
  backdrop-filter: blur(8px);
  overflow: hidden;
  user-select: none;
}

.aww-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  transform: translate3d(var(--marquee-x, 0px), 0, 0) skewX(var(--marquee-skew, 0deg));
  transition: transform 0.06s linear;
}

.aww-marquee-group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #1c4c6e;
  white-space: nowrap;
}

.aww-marquee-group i {
  font-style: normal;
  color: var(--aww-cyan);
  font-size: 14px;
}

/* ---------- Split Heading Reveal ---------- */
.aww-heading-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}

.aww-heading-word > span {
  display: inline-block;
  will-change: transform, opacity;
}

html.motion-ready.aww-motion-enabled [data-split-heading]:not(.is-visible) .aww-heading-word > span {
  opacity: 0;
  transform: translate3d(0, 105%, 0);
}

html.motion-ready.aww-motion-enabled [data-split-heading].is-visible .aww-heading-word > span {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: transform 0.85s var(--aww-ease-out) var(--word-delay, 0s),
              opacity 0.65s ease var(--word-delay, 0s);
}

/* ---------- Calculator Enhancements ---------- */
.aww-calc-live-pill {
  padding: 12px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(8, 127, 193, 0.18);
  box-shadow: var(--aww-shadow-soft);
  max-width: 390px;
}

.aww-calc-live-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--aww-blue);
  margin-bottom: 3px;
}

.aww-calc-live-pill strong {
  display: block;
  font-family: Manrope, Inter, sans-serif;
  font-size: 14px;
  font-weight: 750;
  color: var(--aww-ink);
}

.aww-glass-panel {
  background: rgba(255, 255, 255, 0.86) !important;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.96) !important;
  box-shadow: var(--aww-shadow-elevated) !important;
}

.calc-step.is-animating-in {
  animation: aww-step-in 0.48s var(--aww-ease-out) both;
}

@keyframes aww-step-in {
  from {
    opacity: 0;
    transform: translate3d(16px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* ---------- Interactive Anatomy of Cleanliness Section ---------- */
.aww-anatomy {
  position: relative;
}

.aww-anatomy-tabs {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(225, 242, 252, 0.72);
  border: 1px solid rgba(8, 127, 193, 0.14);
  margin-bottom: 28px;
}

.aww-tab-glider {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: var(--glider-w, 0px);
  transform: translate3d(var(--glider-x, 6px), 0, 0);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 6px 18px -6px rgba(10, 62, 110, 0.22);
  transition: transform 0.45s var(--aww-ease-out), width 0.45s var(--aww-ease-out);
  pointer-events: none;
}

.aww-anatomy-tab {
  position: relative;
  z-index: 1;
  padding: 11px 20px;
  border-radius: 999px;
  background: transparent;
  font-family: Manrope, Inter, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #3d6078;
  cursor: pointer;
  transition: color 0.3s ease;
}

.aww-anatomy-tab.is-active {
  color: var(--aww-ink);
}

.aww-anatomy-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.aww-anatomy-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #dfeef7;
  box-shadow: var(--aww-shadow-elevated);
}

.aww-anatomy-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--aww-ease-out), filter 0.45s ease;
}

.aww-anatomy-visual.is-switching > img {
  transform: scale(1.06);
  filter: blur(4px) brightness(1.04);
}

.aww-anatomy-note {
  position: absolute;
  top: 22px;
  left: 24px;
  width: clamp(130px, 22%, 185px);
  color: #ffffff;
  filter: drop-shadow(0 3px 12px rgba(8, 35, 62, 0.45));
  pointer-events: none;
}

.aww-hotspots-layer {
  position: absolute;
  inset: 0;
}

.aww-hotspot {
  position: absolute;
  left: var(--hx, 50%);
  top: var(--hy, 50%);
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  border: 2px solid var(--aww-blue);
  color: var(--aww-ink);
  display: grid;
  place-items: center;
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(8, 45, 82, 0.32);
  transition: transform 0.35s var(--aww-ease-spring), background 0.3s ease, color 0.3s ease;
}

.aww-hotspot::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  animation: aww-hotspot-ping 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes aww-hotspot-ping {
  0% { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(1.55); opacity: 0; }
}

.aww-hotspot:hover,
.aww-hotspot.is-selected {
  transform: translate(-50%, -50%) scale(1.18);
  background: var(--aww-blue);
  border-color: #ffffff;
  color: #ffffff;
}

.aww-anatomy-inspector {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 38px);
  border-radius: 28px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.95), rgba(235, 248, 255, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.98);
  box-shadow: var(--aww-shadow-soft);
}

.aww-inspector-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e1f3fe;
  color: var(--aww-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.aww-anatomy-inspector h3 {
  margin-top: 18px;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.15;
  color: var(--aww-ink);
}

.aww-anatomy-inspector > p {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--aww-muted);
}

.aww-inspector-checks {
  margin-top: 22px;
  margin-bottom: 28px;
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.aww-inspector-checks li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  font-weight: 550;
  color: var(--aww-ink);
}

.aww-inspector-checks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--aww-leaf);
  font-weight: 800;
}

.aww-inspector-footer {
  margin-top: auto;
}

@media (max-width: 1023px) {
  .aww-anatomy-stage {
    grid-template-columns: minmax(0, 1fr);
  }
  .aww-anatomy-tabs {
    border-radius: 20px;
  }
  .aww-tab-glider {
    display: none;
  }
  .aww-anatomy-tab.is-active {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(8, 56, 98, 0.12);
  }
}

/* ---------- Service Cards Nested Polish ---------- */
.aww-card-3d {
  border: 1px solid rgba(8, 127, 193, 0.1);
  box-shadow: var(--aww-shadow-soft);
  transition: box-shadow 0.45s var(--aww-ease-out), border-color 0.35s ease;
}

.aww-card-3d:hover {
  border-color: rgba(8, 127, 193, 0.28);
  box-shadow: var(--aww-shadow-elevated);
}

.aww-card-featured {
  border-color: rgba(8, 127, 193, 0.28);
  background: linear-gradient(180deg, #ffffff 0%, #f4fbff 100%);
}

.aww-photo-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  color: var(--aww-ink);
  font-size: 11px;
  font-weight: 750;
}

.aww-photo-tag--accent {
  background: linear-gradient(135deg, #087fc1, #27b9dc);
  color: #fff;
}

@media (max-width: 767px) {
  .aww-photo-tag { display: none; }
}

/* ---------- Portfolio Cinema Rail & Skew ---------- */
.aww-work-toolbar {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.aww-work-toolbar > p {
  margin: 0;
  color: var(--aww-muted);
}

.aww-rail-controls {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.aww-rail-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(8, 127, 193, 0.2);
  background: #ffffff;
  color: var(--aww-ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--aww-shadow-soft);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.aww-rail-btn:hover {
  background: var(--aww-blue);
  border-color: var(--aww-blue);
  color: #fff;
}

.aww-rail-btn .icon {
  width: 18px;
  height: 18px;
}

.aww-rail-progress {
  width: 110px;
  height: 3px;
  border-radius: 99px;
  background: rgba(8, 127, 193, 0.15);
  overflow: hidden;
}

#work-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0.2);
  background: linear-gradient(90deg, var(--aww-blue), var(--aww-leaf));
  transition: transform 0.15s ease-out;
}

.work-grid--portfolio .work-photo {
  transform: perspective(900px) rotateY(var(--rail-tilt, 0deg));
  transition: transform 0.35s var(--aww-ease-out), box-shadow 0.35s ease !important;
}

.aww-work-meta {
  position: absolute;
  left: 14px !important;
  right: 14px !important;
  bottom: 14px !important;
  padding: 11px 14px !important;
  border-radius: 14px !important;
  background: rgba(14, 38, 56, 0.72) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff !important;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start !important;
  gap: 2px;
  pointer-events: none;
}

.aww-work-meta em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #8ce2ff;
}

.aww-work-meta strong {
  font-family: Manrope, Inter, sans-serif;
  font-size: 13.5px;
  font-weight: 750;
  color: #ffffff;
}

/* ---------- Floating Bottom Glass Booking Bar ---------- */
.aww-floating-bar {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 55;
  transform: translate3d(-50%, 130%, 0);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.55s var(--aww-ease-out), opacity 0.4s ease;
  width: max-content;
  max-width: calc(100vw - 24px);
}

.aww-floating-bar.is-visible {
  transform: translate3d(-50%, 0, 0);
  opacity: 1;
  pointer-events: auto;
}

.aww-floating-bar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 10px 8px 18px;
  border-radius: 999px;
  background: rgba(12, 37, 56, 0.86);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 22px 48px -12px rgba(6, 28, 49, 0.48);
  color: #ffffff;
}

.aww-floating-bar-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(62vw, 440px);
}

@media (max-width: 600px) {
  .aww-floating-bar-summary {
    font-size: 12px;
    max-width: 56vw;
  }
}

/* ---------- Editorial Giant Footer Wordmark ---------- */
.aww-footer {
  overflow: hidden;
}

.aww-footer-wordmark {
  margin-top: 38px;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(42px, 11.4vw, 168px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.055em;
  text-align: center;
  background: linear-gradient(180deg, rgba(8, 127, 193, 0.16) 0%, rgba(8, 127, 193, 0.02) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  pointer-events: none;
}

.aww-booking-badge {
  padding: 10px 14px;
  border-radius: 12px;
  background: #eaf6fe;
  color: #0e4973 !important;
  font-weight: 600;
}

/* ---------- Reduced Motion Safety ---------- */
@media (prefers-reduced-motion: reduce) {
  #aww-preloader,
  #aww-ambient-canvas,
  #cursor-aura {
    display: none !important;
  }
  .aww-hero-frame .aww-hero-media,
  .aww-hero-frame .aww-hero-media img,
  .aww-hero-title .aww-line-inner,
  .aww-floating-chip,
  [data-hero-stage] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }
}
