/* =========================================================
   Brisbane Wallart — CMYK-inspired dark theme
   ========================================================= */
:root {
  --bg: #0b0b10;
  --bg-2: #12121a;
  --bg-3: #1a1a25;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f4f3f8;
  --muted: #a3a2b3;
  --cyan: #00e5ff;
  --magenta: #ff2fa0;
  --yellow: #ffd400;
  --grad: linear-gradient(100deg, var(--cyan) 0%, var(--magenta) 52%, var(--yellow) 100%);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  --display: "Syne", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.05; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
::selection { background: var(--magenta); color: #fff; }

.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(80px, 12vw, 150px) 0; position: relative; }
.section-tight { padding: clamp(60px, 8vw, 100px) 0; }
.section-dark { background: var(--bg-2); }
.section-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 10% 0%, rgba(0, 229, 255, 0.07), transparent 70%),
              radial-gradient(600px 300px at 90% 100%, rgba(255, 47, 160, 0.07), transparent 70%);
}
.section-head { max-width: 760px; margin-bottom: 60px; position: relative; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.kicker { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); }
.lead { font-size: 1.15rem; color: var(--muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  --bh: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bh); padding: 0 24px; border-radius: 999px; border: 0;
  font: 600 0.95rem var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
}
.btn-lg { --bh: 58px; padding: 0 32px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad); background-size: 200% 100%; color: #0b0b10; box-shadow: 0 10px 40px -10px rgba(255, 47, 160, 0.6); }
.btn-primary:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 16px 50px -10px rgba(255, 47, 160, 0.8); }
.btn-ghost { background: rgba(255, 255, 255, 0.06); color: var(--text); border: 1px solid var(--line-2); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Cursor glow ---------- */
.cursor-glow {
  position: fixed; width: 500px; height: 500px; left: 0; top: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 47, 160, 0.08), transparent 60%);
  transform: translate(-50%, -50%); transition: opacity 0.3s; mix-blend-mode: screen;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 16px 16px auto; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 10px 10px 10px 22px; border-radius: 999px;
  background: rgba(11, 11, 16, 0.4); border: 1px solid transparent;
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  transition: background 0.4s, border-color 0.4s, inset 0.4s var(--ease);
}
.nav.scrolled { background: rgba(11, 11, 16, 0.82); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 1.15rem; }
.brand-text b { font-weight: 800; margin-left: 2px; }
.brand-text { font-weight: 500; }
.brand-mark { position: relative; width: 30px; height: 30px; flex: none; }
.brand-mark i { position: absolute; width: 16px; height: 16px; border-radius: 50%; mix-blend-mode: screen; animation: orbit 6s linear infinite; }
.brand-mark i:nth-child(1) { background: var(--cyan); left: 2px; top: 3px; }
.brand-mark i:nth-child(2) { background: var(--magenta); right: 2px; top: 3px; animation-delay: -2s; }
.brand-mark i:nth-child(3) { background: var(--yellow); left: 7px; bottom: 1px; animation-delay: -4s; }
@keyframes orbit { 50% { transform: translate(1px, -1px) scale(1.12); } }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 0.92rem; color: var(--muted); transition: color 0.2s, background 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.nav-cta { --bh: 44px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); transition: transform 0.3s var(--ease); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 140px 0 120px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg .slide {
  position: absolute; inset: -4%; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08); transition: opacity 1.8s ease, transform 9s linear;
  clip-path: inset(0 100% 0 0);
}
.hero-bg .slide.active { opacity: 1; transform: scale(1); clip-path: inset(0 0 0 0); transition: opacity 1.2s ease, transform 9s linear, clip-path 2.4s var(--ease); }
.hero-bg .slide.leaving { opacity: 1; clip-path: inset(0 0 0 0); z-index: -1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(90deg, rgba(11, 11, 16, 0.95) 0%, rgba(11, 11, 16, 0.75) 45%, rgba(11, 11, 16, 0.25) 100%),
              linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}
.hero-scan { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.scan-head {
  position: absolute; top: 0; bottom: 0; width: 3px; left: 0;
  background: var(--grad); box-shadow: 0 0 30px 6px rgba(255, 47, 160, 0.5), 0 0 80px 20px rgba(0, 229, 255, 0.25);
  opacity: 0;
}
.scan-head.run { animation: scan 2.4s var(--ease) forwards; }
@keyframes scan { 0% { left: 0; opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.hero-grain {
  position: absolute; inset: 0; z-index: -1; opacity: 0.08; pointer-events: none;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner { width: min(1240px, 100% - 40px); margin-inline: auto; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); font-size: 0.85rem; color: var(--muted); backdrop-filter: blur(10px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3dff9a; box-shadow: 0 0 0 0 rgba(61, 255, 154, 0.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(61, 255, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 255, 154, 0); } }
.hero-title { font-size: clamp(2.8rem, 8vw, 7rem); font-weight: 800; line-height: 0.92; margin: 28px 0 28px; letter-spacing: -0.04em; }
.hero-title .line { display: block; }
.hero-sub { max-width: 620px; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: #cfcedb; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0 60px; }
.hero-stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 170px)); gap: 30px; }
.hero-stats li { border-left: 2px solid; border-image: var(--grad) 1; padding-left: 16px; }
.hero-stats b { display: block; font-family: var(--display); font-size: 2.1rem; font-weight: 800; line-height: 1.1; }
.hero-stats span { font-size: 0.82rem; color: var(--muted); }
.hero-credit { position: absolute; right: 24px; bottom: 24px; font-size: 0.72rem; color: rgba(255, 255, 255, 0.55); }
.hero-credit a { color: inherit; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 2px solid var(--line-2); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--text); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--bg); overflow: hidden; padding: 22px 0; position: relative; z-index: 1; }
.marquee-track { display: flex; gap: 34px; width: max-content; animation: marquee 40s linear infinite; font-family: var(--display); font-size: clamp(1.6rem, 3.2vw, 2.6rem); font-weight: 700; text-transform: uppercase; }
.marquee-track span:nth-of-type(3n+1) { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5); }
.marquee-track i { font-style: normal; color: var(--magenta); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.service {
  position: relative; grid-column: span 4; min-height: 380px; border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px;
  background: var(--bg-3); border: 1px solid var(--line); isolation: isolate; text-decoration: none;
  transform-style: preserve-3d; transition: transform 0.5s var(--ease), border-color 0.4s;
}
.service:nth-child(1), .service:nth-child(5) { grid-column: span 7; }
.service:nth-child(2), .service:nth-child(6) { grid-column: span 5; }
.service img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease), filter 0.6s; filter: saturate(0.9); }
.service::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 11, 16, 0) 20%, rgba(11, 11, 16, 0.92) 100%); }
.service:hover { border-color: var(--line-2); }
.service:hover img { transform: scale(1.07); filter: saturate(1.2); }
.service .tag { position: absolute; top: 22px; left: 22px; padding: 6px 12px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; background: rgba(11, 11, 16, 0.6); backdrop-filter: blur(8px); border: 1px solid var(--line-2); }
.service h3 { font-size: 1.7rem; margin-bottom: 8px; }
.service p { color: #cfcedb; margin: 0; max-width: 440px; font-size: 0.96rem; }
.service .more { margin-top: 14px; font-weight: 600; font-size: 0.9rem; opacity: 0; transform: translateY(8px); transition: 0.4s var(--ease); }
.service:hover .more { opacity: 1; transform: none; }
.service-glare { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.12), transparent 50%); opacity: 0; transition: opacity 0.3s; }
.service:hover .service-glare { opacity: 1; }

/* ---------- Compare ---------- */
.compare-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 70px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; }
.ticks li { padding-left: 32px; position: relative; margin-bottom: 10px; color: #d6d5e2; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; background: var(--grad); color: #0b0b10; font-weight: 700; }
.compare { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); user-select: none; touch-action: pan-y; }
.compare-after { position: absolute; inset: 0; background-size: cover; background-position: center; }
.compare-before {
  position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos));
  background:
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(0, 0, 0, 0.08) 38px 40px),
    repeating-linear-gradient(90deg, transparent 0 78px, rgba(0, 0, 0, 0.06) 78px 80px),
    linear-gradient(160deg, #d9d4cc, #bdb6ab);
}
.compare-before .wall-label, .after-label { position: absolute; top: 18px; padding: 6px 12px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.compare-before .wall-label { right: 18px; background: rgba(0, 0, 0, 0.55); color: #fff; }
.after-label { left: 18px; background: var(--grad); color: #0b0b10; }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; pointer-events: none; }
.compare-handle .rail { position: absolute; top: 0; bottom: 0; left: -2px; width: 4px; background: var(--grad); box-shadow: 0 0 24px 4px rgba(255, 47, 160, 0.6); }
.compare-handle .head { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); padding: 12px 10px; border-radius: 12px; background: #0b0b10; border: 2px solid var(--magenta); font-size: 0.7rem; letter-spacing: 2px; white-space: nowrap; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* ---------- Process ---------- */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.process::before { content: ""; position: absolute; top: 46px; left: 8%; right: 8%; height: 2px; background: var(--grad); opacity: 0.35; }
.process li { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); transition: transform 0.4s var(--ease), border-color 0.4s; }
.process li:hover { transform: translateY(-8px); border-color: var(--line-2); }
.step-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); border: 2px solid var(--magenta); font-family: var(--display); font-weight: 800; font-size: 0.82rem; margin-bottom: 22px; position: relative; }
.process li:nth-child(1) .step-num { border-color: var(--cyan); }
.process li:nth-child(3) .step-num { border-color: var(--yellow); }
.process li:nth-child(4) .step-num { border-color: #3dff9a; }
.process p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ---------- Gallery ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); font: 500 0.88rem var(--body); cursor: pointer; transition: 0.25s; }
.chip:hover { color: var(--text); }
.chip.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.gallery { columns: 3 300px; column-gap: 18px; position: relative; }
.g-item { break-inside: avoid; margin: 0 0 18px; border-radius: var(--radius-sm); overflow: hidden; position: relative; cursor: zoom-in; transition: opacity 0.4s, transform 0.5s var(--ease); }
.g-item img { width: 100%; height: auto; transition: transform 0.8s var(--ease); }
.g-item:hover img { transform: scale(1.05); }
.g-item figcaption { position: absolute; inset: auto 0 0; padding: 40px 16px 14px; font-size: 0.8rem; background: linear-gradient(transparent, rgba(0, 0, 0, 0.85)); opacity: 0; transform: translateY(10px); transition: 0.35s var(--ease); display: flex; justify-content: space-between; gap: 10px; }
.g-item figcaption b { font-family: var(--display); font-size: 0.95rem; }
.g-item:hover figcaption { opacity: 1; transform: none; }
.g-item.hide { display: none; }

/* ---------- Tech ---------- */
.tech-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; }
.tech-media { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; }
.tech-media img { width: 100%; height: 100%; object-fit: cover; }
.tech-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 0 48%, rgba(0, 229, 255, 0.5) 50%, transparent 52%) 0 0 / 100% 200%; animation: scanY 4s linear infinite; mix-blend-mode: screen; }
.tech-media::after { content: "SCANNING SURFACE…"; position: absolute; left: 20px; bottom: 20px; z-index: 2; font: 600 0.72rem var(--body); letter-spacing: 0.2em; padding: 8px 12px; background: rgba(0, 0, 0, 0.6); border-radius: 8px; color: var(--cyan); }
@keyframes scanY { from { background-position: 0 100%; } to { background-position: 0 -100%; } }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 30px; background: var(--line); border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); }
.spec-grid div { background: var(--bg); padding: 20px 18px; }
.spec-grid b { display: block; font-family: var(--display); font-size: 1.5rem; }
.spec-grid span { font-size: 0.8rem; color: var(--muted); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; position: relative; }
.about-copy > p { color: #cfcedb; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.values div { padding: 20px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.values span { font-size: 1.5rem; }
.values b { display: block; font-family: var(--display); margin: 6px 0 4px; }
.values p { font-size: 0.85rem; color: var(--muted); margin: 0; }
.about-collage { position: relative; height: 560px; }
.about-collage img { position: absolute; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform 0.6s var(--ease); }
.about-collage img:nth-child(1) { width: 62%; height: 70%; top: 0; left: 0; }
.about-collage img:nth-child(2) { width: 50%; height: 52%; right: 0; top: 18%; z-index: 2; }
.about-collage img:nth-child(3) { width: 46%; height: 38%; left: 14%; bottom: 0; z-index: 3; }
.about-collage:hover img:nth-child(1) { transform: translate(-10px, -10px) rotate(-2deg); }
.about-collage:hover img:nth-child(2) { transform: translate(10px, 0) rotate(2deg); }
.about-collage:hover img:nth-child(3) { transform: translate(0, 10px) rotate(-1deg); }
.about-collage .badge-float { position: absolute; z-index: 4; right: 6%; bottom: 8%; width: 130px; height: 130px; border-radius: 50%; background: var(--grad); color: #0b0b10; display: grid; place-items: center; text-align: center; font-family: var(--display); font-weight: 800; line-height: 1.1; animation: spin 18s linear infinite; }
.about-collage .badge-float span { animation: spin 18s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.team-title { font-size: 1.8rem; margin: 100px 0 30px; position: relative; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.member { border-radius: var(--radius); overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); }
.member .ph { aspect-ratio: 4 / 5; overflow: hidden; }
.member img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 0.5s, transform 0.8s var(--ease); }
.member:hover img { filter: none; transform: scale(1.05); }
.member div.info { padding: 18px 20px 20px; }
.member b { font-family: var(--display); font-size: 1.1rem; display: block; }
.member span { font-size: 0.85rem; color: var(--muted); }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { margin: 0; padding: 34px; border-radius: var(--radius); background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box; border: 1px solid transparent; position: relative; }
.quote::before { content: "“"; position: absolute; top: -10px; right: 24px; font: 800 6rem/1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0.6; }
.quote blockquote { margin: 0 0 20px; font-size: 1.05rem; }
.quote figcaption { font-size: 0.88rem; color: var(--muted); }
.quote figcaption b { color: var(--text); }

/* ---------- Estimator ---------- */
.estimator { display: grid; grid-template-columns: 1.3fr 1fr; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); margin-bottom: 40px; }
.est-controls { padding: 40px; display: grid; gap: 24px; }
.est-controls label { display: grid; gap: 10px; font-weight: 600; font-size: 0.92rem; }
.est-controls output { float: right; font-family: var(--display); color: var(--cyan); }
.est-controls label:has(output) { grid-template-columns: 1fr auto; }
.est-controls label:has(output) input { grid-column: 1 / -1; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: var(--bg-3); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--text); border: 4px solid var(--magenta); cursor: pointer; box-shadow: 0 0 0 6px rgba(255, 47, 160, 0.15); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--text); border: 4px solid var(--magenta); cursor: pointer; }
select, .field input, .field textarea {
  width: 100%; font: 400 1rem var(--body); color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a3a2b3' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; cursor: pointer; }
select:focus, .field input:focus, .field textarea:focus { border-color: var(--magenta); box-shadow: 0 0 0 4px rgba(255, 47, 160, 0.15); }
.toggles { display: flex; flex-wrap: wrap; gap: 20px; }
.switch { display: flex !important; align-items: center; gap: 12px !important; grid-template-columns: none !important; font-weight: 500 !important; cursor: pointer; }
.switch input { display: none; }
.switch span { width: 44px; height: 26px; border-radius: 13px; background: var(--bg-3); border: 1px solid var(--line-2); position: relative; transition: 0.3s; flex: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--muted); transition: 0.3s var(--ease); }
.switch input:checked + span { background: var(--magenta); border-color: var(--magenta); }
.switch input:checked + span::after { left: 21px; background: #fff; }
.est-result { padding: 40px; background: var(--bg-3); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; border-left: 1px solid var(--line); }
.est-wall { width: 200px; height: 140px; display: grid; place-items: center; margin-bottom: 26px; border-radius: 6px; background: var(--grad); color: #0b0b10; font-family: var(--display); font-weight: 800; transition: width 0.4s var(--ease), height 0.4s var(--ease); box-shadow: 0 20px 60px -20px rgba(255, 47, 160, 0.7); }
.est-label { margin: 0; text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.75rem; color: var(--muted); }
.est-price { font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1; margin: 8px 0; }
.est-note { color: var(--muted); font-size: 0.88rem; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { padding: 34px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); position: relative; transition: transform 0.4s var(--ease); }
.plan:hover { transform: translateY(-6px); }
.plan-hot { background: linear-gradient(var(--bg-3), var(--bg-3)) padding-box, var(--grad) border-box; border: 2px solid transparent; }
.badge { position: absolute; top: -13px; left: 34px; padding: 5px 12px; border-radius: 999px; background: var(--grad); color: #0b0b10; font-size: 0.75rem; font-weight: 700; }
.plan-price { color: var(--muted); }
.plan-price b { font-family: var(--display); font-size: 2.2rem; color: var(--text); }
.plan > p:not(.plan-price) { color: var(--muted); font-size: 0.95rem; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 0; }
.plan li { padding: 8px 0; border-top: 1px solid var(--line); font-size: 0.92rem; }
.plan li::before { content: "→ "; color: var(--magenta); }

/* ---------- Booking ---------- */
.booking { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; position: relative; }
.booking-cal, .booking-form { padding: 32px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.cal-head h3 { margin: 0; font-size: 1.4rem; }
.cal-nav { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text); font-size: 1.4rem; cursor: pointer; transition: 0.2s; }
.cal-nav:hover:not(:disabled) { background: var(--text); color: var(--bg); }
.cal-nav:disabled { opacity: 0.3; cursor: not-allowed; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal-dow span { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; padding-bottom: 8px; }
.cal-day {
  aspect-ratio: 1; border-radius: 12px; border: 1px solid transparent; background: var(--bg-2); color: var(--text);
  font: 600 0.95rem var(--body); cursor: pointer; position: relative; transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s;
}
.cal-day::after { content: ""; position: absolute; bottom: 7px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #3dff9a; }
.cal-day.few::after { background: var(--yellow); }
.cal-day.full, .cal-day.past, .cal-day.closed { color: rgba(255, 255, 255, 0.22); cursor: not-allowed; background: transparent; }
.cal-day.full::after { background: var(--magenta); opacity: 0.5; }
.cal-day.past::after, .cal-day.closed::after, .cal-day.empty::after { display: none; }
.cal-day.empty { visibility: hidden; }
.cal-day.today { border-color: var(--line-2); }
.cal-day:not(.full):not(.past):not(.closed):hover { transform: scale(1.08); border-color: var(--magenta); }
.cal-day.selected { background: var(--grad) !important; color: #0b0b10; transform: scale(1.05); }
.cal-day.selected::after { background: #0b0b10; }
.cal-legend { display: flex; gap: 18px; justify-content: center; margin: 18px 0 0; font-size: 0.78rem; color: var(--muted); flex-wrap: wrap; }
.cal-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.lg-open { background: #3dff9a; } .lg-few { background: var(--yellow); } .lg-full { background: var(--magenta); }
.slots-wrap { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.slots-title { font-weight: 600; font-size: 0.95rem; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot { padding: 12px 6px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font: 600 0.9rem var(--body); cursor: pointer; transition: 0.2s; animation: pop 0.35s var(--ease) backwards; }
.slot:hover:not(:disabled) { border-color: var(--cyan); color: var(--cyan); }
.slot.selected { background: var(--cyan); color: #0b0b10; border-color: var(--cyan); }
.slot:disabled { opacity: 0.25; text-decoration: line-through; cursor: not-allowed; }
@keyframes pop { from { opacity: 0; transform: scale(0.8); } }

.booking-form { display: grid; gap: 16px; align-content: start; }
.picked { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--bg-2); border: 1px dashed var(--line-2); transition: 0.3s; }
.picked.ok { border-style: solid; border-color: var(--cyan); background: rgba(0, 229, 255, 0.06); }
.picked-ico { font-size: 1.6rem; }
.picked small { display: block; color: var(--muted); font-size: 0.78rem; }
.picked b { font-family: var(--display); }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; font-size: 0.92rem; margin-bottom: 10px; }
.pill-select { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-select input { position: absolute; opacity: 0; pointer-events: none; }
.pill-select span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); cursor: pointer; font-size: 0.9rem; transition: 0.2s; }
.pill-select input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.pill-select input:focus-visible + span { outline: 2px solid var(--magenta); outline-offset: 2px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; }
.field input, .field textarea, .field select { padding: 22px 16px 8px; }
.field textarea { resize: vertical; min-height: 110px; }
.field label { position: absolute; left: 17px; top: 16px; color: var(--muted); pointer-events: none; transition: 0.2s var(--ease); font-size: 1rem; }
.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 { top: 6px; font-size: 0.72rem; color: var(--cyan); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #ff4d6d; }
.dropzone { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: var(--radius-sm); border: 2px dashed var(--line-2); cursor: pointer; transition: 0.2s; color: var(--muted); font-size: 0.9rem; }
.dropzone:hover, .dropzone.drag { border-color: var(--magenta); background: rgba(255, 47, 160, 0.05); }
.dropzone b { color: var(--text); }
.dropzone input { display: none; }
.dz-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-3); font-size: 1.2rem; flex: none; color: var(--text); }
.check { display: flex; gap: 10px; align-items: center; font-size: 0.9rem; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--magenta); }
.form-error { color: #ff6b85; font-size: 0.9rem; margin: 0; min-height: 1em; }
.form-fine { text-align: center; color: var(--muted); font-size: 0.78rem; margin: 0; }
.form-ok, .news-ok { color: #3dff9a; font-size: 0.9rem; margin: 10px 0 0; min-height: 1em; }
.btn.loading { pointer-events: none; opacity: 0.8; }
.btn.loading .arr { animation: spin 0.8s linear infinite; display: inline-block; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 70px; align-items: start; }
.faq-wrap .section-head { position: sticky; top: 120px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 50px 24px 0; font-family: var(--display); font-size: 1.2rem; font-weight: 700; position: relative; transition: color 0.2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); font-family: var(--body); font-weight: 400; transition: transform 0.3s var(--ease), background 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--magenta); border-color: var(--magenta); }
.faq summary:hover { color: var(--cyan); }
.faq details p { color: var(--muted); padding-right: 50px; margin: 0 0 24px; animation: fade 0.4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; position: relative; }
.contact-list { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-list li > span { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--bg-3); border: 1px solid var(--line); font-size: 1.3rem; flex: none; }
.contact-list small { display: block; color: var(--muted); font-size: 0.78rem; }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--cyan); }
.socials { display: flex; gap: 10px; }
.socials a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; text-decoration: none; font-size: 0.8rem; font-weight: 700; transition: 0.3s var(--ease); }
.socials a:hover { background: var(--grad); color: #0b0b10; border-color: transparent; transform: translateY(-3px); }
.contact-card { border-radius: var(--radius); overflow: hidden; background: var(--bg); border: 1px solid var(--line); }
.contact-card form { padding: 32px; display: grid; gap: 14px; }
.contact-card h3 { margin: 0 0 4px; }
.map { width: 100%; height: 240px; border: 0; display: block; filter: invert(0.92) hue-rotate(180deg) saturate(0.6) contrast(0.9); }

/* ---------- Footer ---------- */
.footer { position: relative; padding: 0 0 30px; overflow: hidden; border-top: 1px solid var(--line); }
.footer-big { font-family: var(--display); font-weight: 800; font-size: clamp(5rem, 22vw, 20rem); line-height: 0.8; text-align: center; letter-spacing: -0.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0.12; margin: 40px 0 -2vw; user-select: none; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding: 60px 0 40px; }
.footer-grid p { color: var(--muted); font-size: 0.92rem; margin-top: 16px; max-width: 320px; }
.footer-grid h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted); margin-bottom: 16px; font-family: var(--body); }
.footer-grid a:not(.brand) { display: block; text-decoration: none; padding: 4px 0; font-size: 0.95rem; }
.footer-grid a:not(.brand):hover { color: var(--cyan); }
.news { display: flex; gap: 8px; }
.news input { flex: 1; min-width: 0; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font: inherit; outline: none; }
.news input:focus { border-color: var(--magenta); }
.news .btn { --bh: 48px; width: 48px; padding: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }

/* ---------- Lightbox / Modal / Toast ---------- */
.lightbox, .modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(5, 5, 8, 0.92); backdrop-filter: blur(10px); animation: fade 0.3s; padding: 20px; }
.lightbox[hidden], .modal[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1100px, 90vw); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: var(--radius-sm); }
.lightbox figcaption { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 14px; }
.lb-close, .lb-nav { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.05); color: #fff; font-size: 1.4rem; cursor: pointer; transition: 0.2s; }
.lb-close:hover, .lb-nav:hover { background: #fff; color: #000; }
.lb-close { top: 24px; right: 24px; font-size: 1rem; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.modal-card { position: relative; width: min(480px, 100%); padding: 48px 36px 36px; text-align: center; border-radius: var(--radius); background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box; border: 2px solid transparent; overflow: hidden; animation: rise 0.6s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(40px) scale(0.95); } }
.modal-ico { width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #0b0b10; font-size: 2.2rem; font-weight: 800; }
.modal-card p { color: var(--muted); }
.modal-card .ref b { color: var(--text); font-family: var(--display); letter-spacing: 0.08em; }
.modal-actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i { position: absolute; top: -10px; width: 8px; height: 14px; border-radius: 2px; animation: fall 2.2s ease-in forwards; }
@keyframes fall { to { transform: translateY(620px) rotate(720deg); opacity: 0; } }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translate(-50%, 140%); opacity: 0; visibility: hidden; padding: 14px 22px; border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 600; font-size: 0.92rem; transition: transform 0.45s var(--ease), opacity 0.3s, visibility 0.45s; box-shadow: var(--shadow); }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.hero-title .line.reveal { transform: translateY(80px) skewY(4deg); }
.hero-title .line.reveal.in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { position: fixed; inset: 84px 16px auto; flex-direction: column; padding: 16px; border-radius: var(--radius); background: rgba(11, 11, 16, 0.96); border: 1px solid var(--line); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: 0.3s var(--ease); margin: 0; }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links a { padding: 14px 18px; font-size: 1.05rem; }
  .nav-toggle { display: block; }
  .nav-cta { margin-left: auto; }
  .compare-wrap, .tech-wrap, .about-grid, .contact-grid, .faq-wrap, .booking, .estimator { grid-template-columns: 1fr; gap: 40px; }
  .estimator { gap: 0; }
  .est-result { border-left: 0; border-top: 1px solid var(--line); }
  .faq-wrap .section-head { position: static; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process::before { display: none; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .container, .hero-inner { width: calc(100% - 32px); }
  .nav { inset: 10px 10px auto; padding-left: 16px; gap: 10px; }
  .nav-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .hero { padding-top: 120px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .hero-credit { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .service, .service:nth-child(n) { grid-column: auto; min-height: 320px; }
  .process, .testimonials, .plans, .values { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .about-collage { height: 420px; }
  .row { grid-template-columns: 1fr; }
  .booking-cal, .booking-form, .est-controls, .est-result, .contact-card form { padding: 22px; }
  .cal-dow, .cal-grid { gap: 4px; }
  .cal-day { border-radius: 9px; font-size: 0.85rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .lb-nav { top: auto; bottom: 24px; transform: none; }
  .scroll-cue { display: none; }
}
