/* =========================================================
   Eazy Amped Details — styles
   ========================================================= */

:root {
  --bg: #07080d;
  --bg-2: #0b0d16;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eef2f8;
  --muted: #98a3b6;
  --muted-2: #6b7488;

  --accent: #19e3ff;
  --accent-2: #4f7bff;
  --accent-3: #9b6bff;
  --grad: linear-gradient(120deg, #7ff3ff 0%, #19e3ff 35%, #4f7bff 100%);
  --grad-soft: linear-gradient(120deg, #19e3ff, #4f7bff);
  --glow: rgba(25, 227, 255, 0.45);

  --radius: 18px;
  --radius-lg: 26px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 0 1px rgba(25, 227, 255, 0.18), 0 30px 80px -30px rgba(25, 130, 255, 0.5);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3, .brand__text {
  font-family: "Sora", "Inter", sans-serif;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
}

::selection { background: rgba(25, 227, 255, 0.28); color: #fff; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: #05060a; }
::-webkit-scrollbar-thumb { background: #1d2433; border-radius: 20px; border: 3px solid #05060a; }
::-webkit-scrollbar-thumb:hover { background: #2a3346; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.section { padding-block: clamp(72px, 11vw, 140px); position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 12px var(--accent);
}

.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.section__head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__title { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 800; }
.section__lead { color: var(--muted); margin-top: 18px; font-size: clamp(1rem, 1.6vw, 1.12rem); }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 0.85em; --pad-x: 1.4em;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  position: relative; isolation: isolate;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  will-change: transform;
}
.btn__icon { width: 1.1em; height: 1.1em; transition: transform 0.3s var(--ease); }
.btn:hover .btn__icon { transform: translateX(4px); }

.btn--primary {
  background: var(--grad-soft); color: #04121e; font-weight: 700;
  box-shadow: 0 10px 30px -8px var(--glow);
}
.btn--primary::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: var(--grad-soft); filter: blur(16px); opacity: 0.55; transition: opacity 0.3s var(--ease);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px var(--glow); }
.btn--primary:hover::before { opacity: 0.85; }

.btn--ghost {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border-strong); backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: var(--surface-2); border-color: var(--accent); transform: translateY(-2px); }

.btn--sm { --pad-y: 0.6em; --pad-x: 1.1em; font-size: 0.9rem; }
.btn--lg { --pad-y: 1.05em; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Background decor ---------- */
.bg-decor { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
  mix-blend-mode: screen; will-change: transform;
}
.aurora--1 { width: 52vw; height: 52vw; top: -16vw; left: -10vw; background: radial-gradient(circle, #1a6bff, transparent 65%); animation: drift1 22s var(--ease) infinite alternate; }
.aurora--2 { width: 46vw; height: 46vw; top: 30vh; right: -14vw; background: radial-gradient(circle, #14d3ff, transparent 62%); opacity: 0.4; animation: drift2 26s var(--ease) infinite alternate; }
.aurora--3 { width: 40vw; height: 40vw; bottom: -14vw; left: 24vw; background: radial-gradient(circle, #8a4dff, transparent 65%); opacity: 0.3; animation: drift3 30s var(--ease) infinite alternate; }
@keyframes drift1 { to { transform: translate(8vw, 8vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-7vw, 5vh) scale(1.1); } }
@keyframes drift3 { to { transform: translate(5vw, -7vh) scale(1.2); } }

.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.noise {
  position: absolute; inset: 0; opacity: 0.4; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* =========================================================
   Navbar
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7, 8, 13, 0.72); backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { width: 30px; height: 30px; display: grid; place-items: center; filter: drop-shadow(0 0 10px rgba(25,227,255,0.5)); }
.brand__mark svg { width: 100%; height: 100%; }
.brand__text { font-size: 0.98rem; font-weight: 700; letter-spacing: 0.06em; }
.brand__accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links > a:not(.btn) {
  padding: 8px 14px; border-radius: 999px; font-size: 0.94rem; color: var(--muted);
  font-weight: 500; transition: color 0.25s, background 0.25s; position: relative;
}
.nav__links > a:not(.btn):hover { color: var(--text); }
.nav__links > a.is-active { color: var(--text); }
.nav__links > a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  border-radius: 2px; background: var(--grad-soft);
}
.nav__cta { margin-left: 8px; }

.nav__toggle { display: none; width: 44px; height: 44px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; border-radius: 12px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero { padding-top: clamp(120px, 18vh, 180px); min-height: 100svh; display: flex; align-items: center; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 72px); align-items: center; width: 100%; }

/* Hydrophobic water-beading canvas — ceramic-coat ambience behind the hero.
   Screen blend so the refractive beads glow on the dark theme while the home
   content stays clearly the focus. Edges fade so the field floats cleanly. */
.hero__fx {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
  pointer-events: none; opacity: 0.82; mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 84%, transparent 100%);
}

/* Reusable section water layer (the hero beads continue down the page).
   Subtler than the hero so card content stays readable; fades at top/bottom. */
.section-fx {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
  pointer-events: none; opacity: 0.62; mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.section:has(> canvas.section-fx) > .container { position: relative; z-index: 1; }

.hero__title { font-size: clamp(2.7rem, 6.6vw, 5rem); font-weight: 800; }
.hero__sub { color: var(--muted); font-size: clamp(1.02rem, 1.7vw, 1.2rem); max-width: 30ch; margin-top: 22px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.eyebrow__dot { position: relative; }
.eyebrow .eyebrow__dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--accent); opacity: 0; animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(2.4); opacity: 0; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, auto); gap: clamp(18px, 4vw, 40px); margin-top: 52px; }
.stat__num { font-family: "Sora", sans-serif; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; display: flex; align-items: baseline; gap: 2px; }
.stat__star { color: var(--accent); font-size: 0.7em; }
.stat__label { color: var(--muted-2); font-size: 0.82rem; margin-top: 4px; letter-spacing: 0.02em; }

/* Hero visual */
.hero__visual { position: relative; }
.hero__frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-strong); box-shadow: var(--shadow-glow);
  aspect-ratio: 4 / 5; background: var(--bg-2);
  transform-style: preserve-3d; transition: transform 0.5s var(--ease);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero__frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,8,13,0.55), transparent 45%);
}
.hero__shine {
  position: absolute; top: 0; left: -60%; width: 50%; height: 100%; z-index: 3;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-18deg); animation: shine 5.5s ease-in-out infinite; animation-delay: 1.2s;
}
@keyframes shine { 0%, 55% { left: -60%; } 78%, 100% { left: 130%; } }

.hero__glow {
  position: absolute; inset: -14% -8% -22% -8%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(25,227,255,0.35), transparent 70%); filter: blur(40px);
}

.floaty {
  position: absolute; z-index: 4; backdrop-filter: blur(14px) saturate(150%);
  background: rgba(11, 14, 22, 0.66); border: 1px solid var(--border-strong);
  border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.floaty--rating { top: 18px; left: 18px; display: grid; gap: 1px; }
.floaty--rating .floaty__stars { color: var(--accent); letter-spacing: 2px; font-size: 0.85rem; }
.floaty--rating .floaty__text { font-size: 0.74rem; color: var(--muted); }
.floaty--tag { bottom: 18px; right: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 500; animation-delay: 1.5s; }
.floaty__dot { width: 8px; height: 8px; border-radius: 50%; background: #36e07a; box-shadow: 0 0 10px #36e07a; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Scroll cue */
.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 1;
  width: 26px; height: 42px; border: 2px solid var(--border-strong); border-radius: 14px;
  display: grid; justify-items: center; padding-top: 7px;
}
.scroll-cue__wheel { width: 4px; height: 8px; border-radius: 2px; background: var(--accent); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-3px); } 40% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(10px); } }

/* =========================================================
   Marquee
   ========================================================= */
.marquee { overflow: hidden; border-block: 1px solid var(--border); padding-block: 20px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 38px; width: max-content; animation: scroll 32s linear infinite; }
.marquee__track span { font-family: "Sora", sans-serif; font-size: 1.15rem; font-weight: 600; color: var(--muted-2); white-space: nowrap; letter-spacing: 0.01em; }
.marquee__dot { color: var(--accent) !important; font-size: 0.7rem !important; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* =========================================================
   Services
   ========================================================= */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; padding: 30px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; opacity: 0;
  background: linear-gradient(130deg, var(--accent), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; transition: opacity 0.4s var(--ease);
}
.card::after {
  content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; top: -120px; right: -80px;
  background: radial-gradient(closest-side, rgba(25,227,255,0.16), transparent); opacity: 0; transition: opacity 0.45s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--surface-2); }
.card:hover::before, .card:hover::after { opacity: 1; }

.card__icon {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 20px;
  background: rgba(25,227,255,0.08); border: 1px solid rgba(25,227,255,0.22); color: var(--accent);
  transition: transform 0.4s var(--ease);
}
.card__icon svg { width: 26px; height: 26px; }
.card:hover .card__icon { transform: scale(1.08) rotate(-4deg); }
.card__title { font-size: 1.22rem; margin-bottom: 10px; }
.card__text { color: var(--muted); font-size: 0.96rem; }
.card__tag {
  display: inline-block; margin-top: 18px; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--accent); padding: 5px 11px; border-radius: 999px; background: rgba(25,227,255,0.08); border: 1px solid rgba(25,227,255,0.2);
}
.card--feature { background: linear-gradient(150deg, rgba(25,227,255,0.1), rgba(79,123,255,0.05)); border-color: rgba(25,227,255,0.25); }

/* =========================================================
   Work / Before-after
   ========================================================= */
.work { display: grid; grid-template-columns: 1.25fr 0.9fr; gap: 22px; align-items: stretch; }

.ba {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; user-select: none;
  border: 1px solid var(--border-strong); box-shadow: var(--shadow); touch-action: pan-y;
  aspect-ratio: 5 / 4; min-height: 340px;
  width: 100%;
  container-type: inline-size;
}
.ba__img { position: absolute; inset: 0; }
.ba__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.ba__img--before { width: 50%; overflow: hidden; border-right: 2px solid rgba(255,255,255,0.85); }
.ba__img--before img { width: 100cqw; max-width: none; }
.ba__img--before { filter: saturate(0.55) brightness(0.82) contrast(0.92); }
.ba__img--before::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(40,46,58,0.45), rgba(20,24,32,0.25)); mix-blend-mode: multiply;
}
.ba__badge {
  position: absolute; top: 14px; z-index: 5; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 5px 11px; border-radius: 999px; backdrop-filter: blur(8px);
}
.ba__badge--before { left: 14px; background: rgba(10,12,18,0.7); color: var(--muted); border: 1px solid var(--border); }
.ba__badge--after { right: 14px; background: rgba(25,227,255,0.16); color: var(--accent); border: 1px solid rgba(25,227,255,0.4); }

.ba__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-50%); z-index: 6; cursor: ew-resize; }
.ba__line { position: absolute; inset: 0; width: 2px; background: rgba(255,255,255,0.9); box-shadow: 0 0 14px rgba(25,227,255,0.7); }
.ba__grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(11,14,22,0.85); border: 1px solid var(--border-strong); color: var(--text);
  backdrop-filter: blur(8px); box-shadow: 0 8px 24px rgba(0,0,0,0.5); transition: transform 0.2s var(--ease);
}
.ba__handle:hover .ba__grip, .ba__handle:focus-visible .ba__grip { transform: translate(-50%, -50%) scale(1.1); }
.ba__grip svg { width: 22px; height: 22px; }
.ba__cap { position: absolute; left: 16px; bottom: 14px; z-index: 5; font-size: 0.85rem; color: #dfe6f1; text-shadow: 0 1px 12px rgba(0,0,0,0.8); }

.work__side { display: flex; flex-direction: column; gap: 22px; }
.shot { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-strong); flex: 1; min-height: 240px; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; transition: transform 0.7s var(--ease); }
.shot:hover img { transform: scale(1.06); }
.shot__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; background: linear-gradient(to top, rgba(7,8,13,0.85), transparent 55%); }
.shot__tag { align-self: flex-start; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em; color: var(--accent); padding: 4px 10px; border-radius: 999px; background: rgba(25,227,255,0.12); border: 1px solid rgba(25,227,255,0.3); margin-bottom: 8px; }
.shot__title { font-family: "Sora", sans-serif; font-weight: 600; }

.work__cta {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px;
  border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(25,227,255,0.12), rgba(79,123,255,0.06));
  border: 1px solid rgba(25,227,255,0.25); transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.work__cta:hover { transform: translateY(-3px); border-color: var(--accent); }
.work__cta-title { font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.15rem; }
.work__cta-text { color: var(--muted); font-size: 0.9rem; }
.work__cta-arrow { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-soft); color: #04121e; transition: transform 0.3s var(--ease); }
.work__cta:hover .work__cta-arrow { transform: translateX(4px); }
.work__cta-arrow svg { width: 22px; height: 22px; }

/* Recent-work gallery — hydrated from the API (script.js liveWork). A horizontal,
   snap-scrolling row of cards; the div stays hidden until there are items, so the
   static before/after + showcase above act as the fallback. */
.work__gallery {
  display: flex; gap: 16px; margin-top: 26px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 10px; -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.work-card {
  position: relative; flex: 0 0 auto; width: 260px; aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-strong);
  background: var(--surface); scroll-snap-align: start; display: block;
  text-decoration: none; color: var(--text);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.work-card:hover { transform: translateY(-6px); border-color: rgba(25,227,255,0.4); }
.work-card__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work-card__placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(25,227,255,0.16), rgba(155,107,255,0.16)), var(--surface);
}
.work-card__placeholder svg { width: 52px; height: 52px; color: var(--accent); opacity: 0.7; }
.work-card__overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  gap: 7px; padding: 16px; pointer-events: none; /* let clicks reach the card link / video controls */
  background: linear-gradient(to top, rgba(4,8,16,0.88) 8%, rgba(4,8,16,0.2) 52%, transparent 78%);
}
.work-card__tag {
  align-self: flex-start; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: var(--grad-soft); color: #04121e;
}
.work-card__title { font-family: "Sora", sans-serif; font-weight: 600; font-size: 0.98rem; line-height: 1.25; }
.work-card__cta { font-size: 0.82rem; color: var(--accent); font-weight: 500; }

/* =========================================================
   Process
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: transform 0.4s var(--ease), border-color 0.4s var(--ease); }
.step:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.step::after { content: ""; position: absolute; top: 50%; right: -12px; width: 24px; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); }
.step:last-child::after { display: none; }
.step__num { font-family: "Sora", sans-serif; font-size: 2.4rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0.85; }
.step__title { font-size: 1.18rem; margin: 10px 0 8px; }
.step__text { color: var(--muted); font-size: 0.94rem; }

/* =========================================================
   Pricing
   ========================================================= */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.plan {
  position: relative; padding: 34px 30px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.plan:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.plan--featured {
  background: linear-gradient(170deg, rgba(25,227,255,0.12), rgba(11,13,22,0.4));
  border-color: rgba(25,227,255,0.4); box-shadow: var(--shadow-glow); transform: translateY(-10px) scale(1.01);
}
.plan--featured:hover { transform: translateY(-16px) scale(1.01); }
.plan__badge { position: absolute; top: -13px; left: 30px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 13px; border-radius: 999px; background: var(--grad-soft); color: #04121e; box-shadow: 0 8px 20px -6px var(--glow); }
.plan__name { font-size: 1.3rem; margin-bottom: 14px; }
.plan__price { font-family: "Sora", sans-serif; font-size: 2.6rem; font-weight: 800; line-height: 1; margin-bottom: 8px; }
.plan__from { font-size: 0.8rem; font-weight: 500; color: var(--muted-2); vertical-align: middle; margin-right: 4px; letter-spacing: 0.04em; }
/* Live special offer (rendered by script.js livePricing): a distinct promo badge,
   the original price struck through, and the sale price highlighted in accent. */
.plan__badge--offer { background: linear-gradient(120deg, var(--accent-3), var(--accent-2)); color: #fff; }
.plan__was { font-size: 1.4rem; font-weight: 700; color: var(--muted-2); text-decoration: line-through; margin-right: 10px; vertical-align: middle; }
.plan__now { color: var(--accent); }
.plan__desc { color: var(--muted); font-size: 0.95rem; margin-bottom: 22px; }
.plan__list { display: grid; gap: 12px; margin-bottom: 26px; }
.plan__list li { position: relative; padding-left: 28px; color: #cfd6e2; font-size: 0.94rem; }
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(25,227,255,0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2319e3ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat;
  border: 1px solid rgba(25,227,255,0.3);
}

/* =========================================================
   Reviews
   ========================================================= */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: transform 0.4s var(--ease), border-color 0.4s var(--ease); }
.review:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.review__stars { color: var(--accent); letter-spacing: 3px; margin-bottom: 16px; }
.review blockquote { font-size: 1.02rem; color: #dde3ee; line-height: 1.6; }
.review figcaption { display: flex; align-items: center; gap: 12px; margin-top: 22px; color: var(--muted); font-size: 0.9rem; font-weight: 500; }
.review__avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: "Sora", sans-serif; font-weight: 700; color: #04121e; background: var(--grad-soft); }

/* =========================================================
   Booking / Contact
   ========================================================= */
.book { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 70px); align-items: start; }
.book__contacts { display: grid; gap: 16px; margin-top: 34px; }
.book__contacts li { display: flex; align-items: center; gap: 14px; color: #cfd6e2; }
.book__ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--accent); }
.book__ico svg { width: 21px; height: 21px; }
.book__contacts a { transition: color 0.25s; }
.book__contacts a:hover { color: var(--accent); }
.book__social { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; font-weight: 600; color: var(--text); transition: color 0.25s; }
.book__social svg { width: 22px; height: 22px; }
.book__social:hover { color: var(--accent); }

.book__form { padding: clamp(24px, 4vw, 38px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(8px); display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; padding: 18px 16px 8px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03); border: 1px solid var(--border); color: var(--text);
  font-size: 0.98rem; transition: border-color 0.25s, box-shadow 0.25s, background 0.25s; appearance: none;
}
.field textarea { resize: vertical; min-height: 84px; }
.field select { color: var(--text); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398a3b6' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-top: 22px; }
.field select option { background: #0b0d16; color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(25,227,255,0.16); background: rgba(255,255,255,0.05); }

.field label {
  position: absolute; left: 16px; top: 15px; color: var(--muted-2); font-size: 0.98rem;
  pointer-events: none; transition: transform 0.2s var(--ease), color 0.2s, font-size 0.2s; transform-origin: left;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label,
.field label.label--static {
  transform: translateY(-9px) scale(0.78); color: var(--accent);
}
.label--static { transform: translateY(-9px) scale(0.78); }

.book__note { font-size: 0.85rem; color: var(--muted-2); text-align: center; }
.book__note.is-success { color: #36e07a; font-weight: 600; }
.book__note.is-error { color: #ff6b6b; }
.field.is-invalid input, .field.is-invalid select { border-color: #ff6b6b; }

/* =========================================================
   Footer
   ========================================================= */
.footer { border-top: 1px solid var(--border); padding-top: 56px; padding-bottom: 30px; background: linear-gradient(to bottom, transparent, rgba(11,13,22,0.6)); }
.footer__inner { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: center; padding-bottom: 36px; border-bottom: 1px solid var(--border); }
.footer__tag { color: var(--muted); margin-top: 12px; font-size: 0.95rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__links a { color: var(--muted); font-size: 0.94rem; transition: color 0.25s; }
.footer__links a:hover { color: var(--accent); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; margin-top: 24px; color: var(--muted-2); font-size: 0.84rem; }

/* =========================================================
   Back to top
   ========================================================= */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(11,14,22,0.8); border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px); color: var(--text); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, border-color 0.3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { border-color: var(--accent); transform: translateY(-3px); }
.to-top svg { width: 22px; height: 22px; }

/* =========================================================
   Reveal animations
   ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; margin-inline: auto; order: -1; }
  .hero__sub { max-width: 46ch; }
  .stats { grid-template-columns: repeat(4, auto); justify-content: start; }
  .work { grid-template-columns: 1fr; }
  .book { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 18px clamp(20px, 5vw, 40px) 28px; background: rgba(7,8,13,0.96); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border); transform: translateY(-120%); transition: transform 0.4s var(--ease); pointer-events: none;
  }
  .nav__links.is-open { transform: translateY(0); pointer-events: auto; }
  .nav__links > a:not(.btn) { padding: 13px 8px; font-size: 1.05rem; }
  .nav__links > a.is-active::after { display: none; }
  .nav__cta { margin: 8px 0 0; }

  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-6px); }
  .reviews { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 20px 28px; }
  .hero__title { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .floaty--rating, .floaty--tag { transform: scale(0.92); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .aurora, .hero__shine, .marquee__track, .scroll-cue__wheel { animation: none !important; }
}
