:root {
  --bg: #f7f7f8;
  --white: #fff;
  --dark: #12141a;
  --dark2: #1a1d26;
  --text: #1a1d26;
  --muted: #6b7280;
  --accent: #d94f45;
  --accent-soft: rgba(217, 79, 69, 0.14);
  --border: #e5e7eb;
  --radius: 16px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --ease: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1320px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* Topbar + Header */
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
}
.topbar__inner {
  display: flex; justify-content: space-between; align-items: center;
  height: 36px;
}
.topbar__link { color: #fff; font-weight: 500; }
.topbar__link:hover { color: var(--accent); }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(18, 20, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px;
}
.logo img {
  height: 34px; width: auto;
  filter: brightness(0) invert(1);
}
.nav { display: flex; gap: 28px; margin-left: auto; margin-right: 16px; }
.nav a {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.nav a:hover { color: #fff; }
.header__btn {
  padding: 10px 18px; font-size: 13px; font-weight: 600;
  background: var(--accent); color: #fff; border-radius: 999px;
  transition: 0.25s;
}
.header__btn:hover { background: #c4433a; }
.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.burger span { width: 22px; height: 2px; background: #fff; border-radius: 1px; }

/* HERO SLIDER */
.hero {
  position: relative;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
  min-height: 560px;
}
.hero__slides {
  position: relative;
  min-height: 560px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  padding: 56px 0 72px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.1s;
  display: flex;
  align-items: center;
}
.hero-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
.hero-slide__right img {
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 1.1s ease;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.hero-slide.is-active .hero-slide__right img {
  animation: imgIn 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes imgIn {
  from { opacity: 0.4; transform: scale(1.03) translateY(8px); }
  to { opacity: 1; transform: none; }
}
.hero-slide__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  gap: 48px;
  align-items: center;
}
.hero-slide__nums {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 28px;
}
.hero-num {
  background: none; border: none; cursor: pointer;
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.35);
  text-align: left; padding: 4px 0; letter-spacing: 0.04em;
  transition: color 0.2s;
}
.hero-num.is-active,
.hero-num:hover { color: var(--accent); }
.hero-slide h1 {
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  font-weight: 700; line-height: 1.12; letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.hero-slide__sub {
  font-size: 1.08rem; color: rgba(255,255,255,0.65);
  max-width: 420px; margin-bottom: 28px; line-height: 1.55;
}
.hero-slide__right {
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slide__right img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.hero__progress {
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: rgba(255,255,255,0.1);
}
.hero__progress-bar {
  height: 100%; width: 0; background: var(--accent);
  transition: width 0.1s linear;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; font-size: 14px; font-weight: 600;
  border-radius: 999px; border: none; cursor: pointer;
  transition: 0.25s;
}
.btn--light {
  background: #fff; color: var(--dark);
}
.btn--light:hover { background: #f0f0f0; transform: translateY(-1px); }
.btn--dark {
  background: var(--dark); color: #fff;
}
.btn--dark:hover { background: #000; }

/* Sections */
.section { padding: 88px 0; }
.section-label {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.2;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 1.1rem; color: var(--muted); margin-bottom: 48px;
  max-width: 560px;
}

/* About */
.about { background: var(--white); }
.about__lead {
  font-size: 1.15rem; color: var(--muted); max-width: 720px;
  margin-bottom: 40px; line-height: 1.6;
}
.about__row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.about__item {
  padding: 24px; background: var(--bg); border-radius: var(--radius);
}
.about__item strong { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.about__item span { font-size: 0.92rem; color: var(--muted); }

/* PROJECTS — wide, Request style */
.projects { background: var(--bg); }
.proj {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 24px;
  cursor: pointer;
  border: 1px solid var(--border);
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
  transition: box-shadow 0.35s, transform 0.35s;
  opacity: 0;
}
.proj:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}
.proj.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), box-shadow 0.35s;
}
.proj--from-top { transform: translateY(-48px); }
.proj--from-bottom { transform: translateY(48px); }
.proj--from-left { transform: translateX(-56px); }
.proj--from-right { transform: translateX(56px); }
.proj--from-top.is-in,
.proj--from-bottom.is-in,
.proj--from-left.is-in,
.proj--from-right.is-in { transform: none; }

.proj--full {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 0;
  min-height: 320px;
}
.proj--full .proj__media img {
  width: 100%; height: 100%; min-height: 320px;
  object-fit: cover; object-position: top;
}
.proj--full .proj__meta {
  padding: 40px 36px;
  display: flex; flex-direction: column; justify-content: center;
}

.proj-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.proj--half .proj__media img {
  width: 100%; aspect-ratio: 16/10;
  object-fit: cover; object-position: top;
}
.proj--half .proj__meta { padding: 24px 28px 28px; }

.proj__tag {
  display: inline-block; font-size: 12px; font-weight: 600;
  color: var(--accent); margin-bottom: 10px;
}
.proj h3 {
  font-size: 1.35rem; font-weight: 700; margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.proj--half h3 { font-size: 1.15rem; }
.proj__meta p {
  color: var(--muted); font-size: 0.98rem; margin-bottom: 16px;
  line-height: 1.5;
}
.proj__link {
  font-size: 14px; font-weight: 600; color: var(--text);
}
.proj:hover .proj__link { color: var(--accent); }

/* Services */
.services { background: var(--white); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: 36px;
}
.s-card {
  padding: 28px 24px; background: var(--bg); border-radius: var(--radius);
  transition: 0.3s;
  opacity: 0; transform: translateY(24px);
}
.s-card.is-in { opacity: 1; transform: none; transition: opacity 0.55s, transform 0.55s; }
.s-card:hover { background: #eeeef1; }
.s-card span { font-size: 13px; font-weight: 700; color: var(--accent); }
.s-card h3 { font-size: 1.08rem; font-weight: 600; margin: 10px 0 8px; }
.s-card p { font-size: 0.94rem; color: var(--muted); }

/* Contact */
.contact { background: var(--bg); }
.contact-box {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px;
  background: var(--white); border-radius: 24px;
  padding: 48px; border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0,0,0,0.05);
}
.contact-box__left .section-title { margin-bottom: 12px; }
.contact-box__left > p { color: var(--muted); margin-bottom: 20px; }
.contact-box ul { list-style: none; }
.contact-box li {
  position: relative; padding-left: 18px; margin-bottom: 10px;
  color: var(--muted); font-size: 0.98rem;
}
.contact-box li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
#contactForm { display: flex; flex-direction: column; gap: 12px; }
#contactForm input,
#contactForm textarea {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid var(--border); border-radius: 12px;
  background: var(--bg); outline: none; transition: 0.2s;
}
#contactForm input:focus,
#contactForm textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); background: #fff;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-hint { font-size: 12px; color: var(--muted); margin-top: -4px; }
.form-status { font-size: 14px; text-align: center; min-height: 18px; }
.form-status.ok { color: #2e7d32; }
.form-status.err { color: var(--accent); }

/* Footer */
.footer {
  background: var(--dark); color: rgba(255,255,255,0.55);
  padding: 40px 0 24px;
}
.footer__inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 16px;
}
.footer__logo {
  height: 28px; margin-bottom: 6px;
  filter: brightness(0) invert(1); opacity: 0.9;
}
.footer p { font-size: 13px; }
.footer__links { display: flex; gap: 22px; }
.footer__links a { font-size: 14px; color: rgba(255,255,255,0.65); }
.footer__links a:hover { color: #fff; }
.footer__copy {
  width: 100%; text-align: center; font-size: 13px; opacity: 0.4;
  margin-top: 18px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Modal */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: 0.3s;
}
.modal.open { opacity: 1; visibility: visible; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(10,12,18,0.65); backdrop-filter: blur(6px);
}
.modal__dialog {
  position: relative; background: #fff; border-radius: 20px;
  max-width: 960px; width: 94%; max-height: 90vh; overflow: auto;
  box-shadow: 0 30px 90px rgba(0,0,0,0.3);
  transform: translateY(16px) scale(0.98); transition: 0.35s var(--ease);
}
.modal.open .modal__dialog { transform: none; }
.modal__close {
  position: sticky; top: 12px; float: right; margin: 12px 12px 0 0;
  width: 40px; height: 40px; border: none; background: var(--bg);
  border-radius: 50%; font-size: 22px; cursor: pointer; z-index: 5;
  display: flex; align-items: center; justify-content: center;
}
.modal__content { padding: 8px 32px 36px; clear: both; }
.modal__gallery { display: grid; gap: 12px; margin-bottom: 18px; }
.modal__gallery img { width: 100%; border-radius: 12px; border: 1px solid var(--border); }
.modal__title { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; }
.modal__desc { color: var(--muted); }

@media (max-width: 1024px) {
  .hero-slide__grid, .proj--full, .contact-box { grid-template-columns: 1fr; }
  .proj-pair { grid-template-columns: 1fr; }
  .about__row { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .proj--full .proj__media img { min-height: 220px; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav, .header__btn { display: none; }
  .nav.open {
    display: flex; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--dark2); flex-direction: column; padding: 16px 20px 24px;
    gap: 12px; border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .burger { display: flex; }
  .about__row, .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero-slide { padding: 40px 0 56px; }
  .contact-box { padding: 28px 20px; }
  .hero-slide__nums { flex-direction: row; gap: 16px; }
}

/* v2: logo, backgrounds, motion */
.header__inner{height:80px}
.logo{display:flex;color:#fff}.logo-svg{height:50px;width:auto;display:block;transition:transform .3s}.logo:hover .logo-svg{transform:scale(1.04)}
.footer__logo{height:44px;color:#fff;filter:none;opacity:1;margin-bottom:8px}
.nav.open{top:80px}
.has-bg{position:relative;isolation:isolate;overflow:hidden}
.has-bg::before{content:'';position:absolute;inset:-5%;z-index:-1;background:var(--bgi) center/cover no-repeat;animation:drift 26s ease-in-out infinite alternate}
.about{--bgi:url(../images/bg/about.svg);background:#fff}.projects{--bgi:url(../images/bg/projects.svg);background:#f4f4f6}
.services{--bgi:url(../images/bg/services.svg);background:#12141a;color:#fff}.contact{--bgi:url(../images/bg/contact.svg);background:#f7f7f8}
@keyframes drift{from{transform:translate3d(-1.5%,-1%,0) scale(1)}to{transform:translate3d(1.5%,1%,0) scale(1.04)}}
.about__item{background:rgba(255,255,255,.75);backdrop-filter:blur(6px);border:1px solid var(--border);transition:transform .3s,box-shadow .3s}
.about__item:hover{transform:translateY(-5px);box-shadow:0 14px 30px rgba(217,79,69,.15)}
.services .section-title{color:#fff}
.services .s-card{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(8px)}
.services .s-card:hover{background:rgba(217,79,69,.14);border-color:rgba(217,79,69,.7);transform:translateY(-6px);box-shadow:0 16px 40px rgba(217,79,69,.25)}
.services .s-card h3{color:#fff}.services .s-card p{color:rgba(255,255,255,.65)}
.hero-slide__right{animation:float 7s ease-in-out infinite}
@keyframes float{50%{transform:translateY(-12px)}}
.hero__glow{position:absolute;inset:0;pointer-events:none;background:radial-gradient(420px circle at var(--mx,70%) var(--my,40%),rgba(217,79,69,.22),transparent 70%);z-index:2}
.proj{background:rgba(255,255,255,.92)}
@media(prefers-reduced-motion:reduce){.has-bg::before,.hero-slide__right{animation:none}}

/* v3: about cards */
.about .about__item{position:relative;overflow:hidden;padding:26px 24px 24px;background:#fff;border:1px solid #ececef;backdrop-filter:none;box-shadow:0 12px 32px rgba(18,20,26,.09)}
.about .about__item::before{content:'';position:absolute;left:0;top:0;height:4px;width:100%;background:linear-gradient(90deg,var(--accent),#ff8a7a);transform:scaleX(.28);transform-origin:left;transition:transform .45s var(--ease)}
.about .about__item:hover::before{transform:scaleX(1)}
.about .about__item:hover{transform:translateY(-6px);box-shadow:0 20px 44px rgba(217,79,69,.22)}
.ico{display:grid;place-items:center;width:48px;height:48px;margin-bottom:16px;border-radius:14px;background:var(--accent-soft);color:var(--accent);transition:background .3s,color .3s,transform .4s}
.ico svg{width:24px;height:24px}
.about .about__item:hover .ico{background:var(--accent);color:#fff;transform:rotate(-6deg) scale(1.06)}

/* v4: pinned showcase */
.showcase{padding:0;overflow:clip}
.sc-sticky{position:sticky;top:0;height:100vh;min-height:600px;padding:20px 24px;display:flex}
.sc-panel{position:relative;flex:1;max-width:1360px;margin:0 auto;display:flex;flex-direction:column;padding:34px 44px 26px;border-radius:30px;background:radial-gradient(900px 500px at 80% 40%,rgba(217,79,69,.16),transparent 70%),#0f1117;border:1px solid rgba(255,255,255,.08);box-shadow:0 30px 80px rgba(18,20,26,.28);color:#fff;overflow:hidden}
.sc-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px}.sc-head .section-title{color:#fff;margin:0}
.sc-count{font-size:15px;color:rgba(255,255,255,.45)}.sc-count b{font-size:2.4rem;font-weight:700;color:#fff;letter-spacing:-.04em}
.sc-body{flex:1;display:grid;grid-template-columns:.85fr 1.15fr;gap:40px;align-items:center;min-height:0}
.sc-list{list-style:none}.sc-name{display:flex;align-items:baseline;gap:14px;width:100%;text-align:left;background:none;border:0;cursor:pointer;padding:10px 0;font-size:clamp(1.5rem,2.5vw,2.3rem);font-weight:700;letter-spacing:-.03em;color:rgba(255,255,255,.28);transition:color .4s,transform .4s}
.sc-name em{font-style:normal;font-size:.9rem;font-weight:600;color:inherit}.sc-name:hover{color:rgba(255,255,255,.6)}
.sc-list li.is-on .sc-name{color:#fff;transform:translateX(10px)}.sc-list li.is-on .sc-name em{color:var(--accent)}
.sc-meta{display:grid;grid-template-rows:0fr;transition:grid-template-rows .5s var(--ease)}.sc-meta>div{overflow:hidden;padding-left:46px}
.sc-list li.is-on .sc-meta{grid-template-rows:1fr}
.sc-tag{display:inline-block;font-size:12px;font-weight:600;color:var(--accent);margin:6px 0 8px}.sc-meta p{color:rgba(255,255,255,.65);max-width:420px;font-size:.98rem}
.sc-ticks{display:flex;gap:6px;margin:16px 0 4px}.sc-ticks i{width:28px;height:4px;border-radius:2px;background:rgba(255,255,255,.18);transition:background .3s}.sc-ticks i.on{background:var(--accent)}
.sc-open{margin:12px 0 10px;padding:10px 18px;border-radius:999px;border:1.5px solid rgba(255,255,255,.3);background:none;color:#fff;font-weight:600;font-size:13px;cursor:pointer;transition:.25s}.sc-open:hover{background:var(--accent);border-color:var(--accent)}
.sc-stage{position:relative;perspective:1200px;display:grid;place-items:center;height:100%;min-height:0}
.sc-glow{position:absolute;width:70%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(217,79,69,.4),transparent 68%);transform:translate(calc(var(--pr,0)*70px - 35px),calc(var(--pr,0)*-50px + 25px));transition:transform .5s}
.sc-ghost{position:absolute;width:82%;aspect-ratio:16/10.6;border-radius:18px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);transition:transform .7s var(--ease)}
.sc-ghost.g1{transform:translate(26px,-22px) rotate(2.5deg)}.sc-ghost.g2{transform:translate(52px,-44px) rotate(5deg);opacity:.6}
.sc-stage.bump .g1{transform:translate(34px,-28px) rotate(3.5deg)}.sc-stage.bump .g2{transform:translate(70px,-56px) rotate(7deg)}
.sc-tilt{width:82%;transition:transform .2s ease-out;transform-style:preserve-3d}
.sc-frame{border-radius:16px;overflow:hidden;background:#1a1d26;border:1px solid rgba(255,255,255,.14);box-shadow:0 40px 90px rgba(0,0,0,.6)}
.sc-bar{display:flex;align-items:center;gap:7px;height:34px;padding:0 14px;background:#232733}.sc-bar i{width:9px;height:9px;border-radius:50%;background:#555b6b}.sc-bar i:first-child{background:var(--accent)}
.sc-bar span{margin-left:14px;padding:3px 14px;border-radius:99px;background:#12141a;font-size:12px;color:rgba(255,255,255,.55)}
.sc-shots{position:relative;aspect-ratio:16/10;background:#fff}
.sc-shots img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top;opacity:0;transform:translateY(26px) scale(.98);transition:opacity .55s,transform .7s var(--ease)}.sc-shots img.on{opacity:1;transform:none}
.sc-hint{text-align:center;font-size:12px;color:rgba(255,255,255,.35);margin-top:8px}
@media(max-width:900px){.sc-sticky{position:static;height:auto;padding:16px}.sc-panel{padding:24px 18px}.sc-body{grid-template-columns:1fr;gap:24px}.sc-stage{order:-1;height:auto;padding:10px 0 20px}.sc-tilt{width:92%}.sc-hint{display:none}.sc-meta>div{padding-left:0}}
@media(prefers-reduced-motion:reduce){.sc-tilt,.sc-ghost{transition:none}}

/* v5: click-driven showcase with thumbnails */
.showcase{padding:88px 0}
.sc-wrap{padding:0 24px}.sc-panel{max-width:1360px;margin:0 auto;min-height:0;padding:40px 44px 44px}
.sc-body{align-items:center}.sc-stage{height:auto;padding:10px 0}
.sc-main{position:relative;width:86%;display:flex;flex-direction:column;gap:18px}
.sc-deck{position:relative}.sc-deck .sc-ghost{inset:0;width:auto;aspect-ratio:auto}.sc-tilt{width:100%}
.sc-thumbs{display:flex;gap:10px}
.sc-thumb{flex:1 1 0;min-width:0;padding:0;border:2px solid transparent;border-radius:10px;overflow:hidden;background:#1a1d26;cursor:pointer;opacity:.5;aspect-ratio:16/10;transition:opacity .25s,transform .25s,border-color .25s}
.sc-thumb img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}
.sc-thumb:hover{opacity:.9;transform:translateY(-3px)}.sc-thumb.on{opacity:1;border-color:var(--accent);box-shadow:0 8px 22px rgba(217,79,69,.35)}
.sc-arr{position:absolute;top:50%;z-index:3;width:44px;height:44px;margin-top:-22px;border:0;border-radius:50%;background:rgba(15,17,23,.7);color:#fff;font-size:26px;line-height:1;cursor:pointer;opacity:0;transition:opacity .25s,background .25s;backdrop-filter:blur(6px)}
.sc-arr.prev{left:12px}.sc-arr.next{right:12px}.sc-frame:hover .sc-arr{opacity:1}.sc-arr:hover{background:var(--accent)}
.sc-main.single .sc-arr,.sc-main.single .sc-thumbs{display:none}
@media(max-width:900px){.showcase{padding:56px 0}.sc-wrap{padding:0 16px}.sc-panel{padding:24px 18px}.sc-main{width:100%}.sc-thumbs{overflow-x:auto}.sc-thumb{flex:0 0 72px}.sc-arr{opacity:1;width:38px;height:38px}}

/* v6 */
.sc-arr{display:none!important}.sc-tilt{transition:transform .25s ease-out}

/* v7: lightbox */
.sc-shots{cursor:zoom-in}.sc-shots::after{content:'Открыть макет';position:absolute;right:12px;bottom:12px;z-index:3;padding:7px 14px;border-radius:99px;background:rgba(15,17,23,.78);color:#fff;font-size:12px;font-weight:600;opacity:0;transform:translateY(6px);transition:.3s;backdrop-filter:blur(6px);pointer-events:none}
.sc-shots:hover::after{opacity:1;transform:none}
.lb{position:fixed;inset:0;z-index:300;display:grid;place-items:center}
.lb__bg{position:absolute;inset:0;background:rgba(8,9,13,.84);backdrop-filter:blur(10px);opacity:0;transition:opacity .5s}.lb.on .lb__bg{opacity:1}
.lb__card{position:relative;width:min(1100px,92vw);max-height:88vh;display:flex;flex-direction:column;border-radius:16px;overflow:hidden;background:#1a1d26;border:1px solid rgba(255,255,255,.14);box-shadow:0 50px 120px rgba(0,0,0,.7);transform-origin:0 0;transition:transform .65s cubic-bezier(.22,1,.36,1),clip-path .65s cubic-bezier(.22,1,.36,1)}
.lb__scroll{overflow:auto;background:#fff;scrollbar-color:var(--accent) #232733}.lb__scroll img{display:block;width:100%;height:auto}
.lb__x{position:absolute;top:18px;right:24px;width:46px;height:46px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:28px;line-height:1;cursor:pointer;opacity:0;transition:.4s .3s,background .2s}.lb.on .lb__x{opacity:1}.lb__x:hover{background:var(--accent)}
.lb__n{position:absolute;bottom:14px;left:0;right:0;text-align:center;font-size:12px;color:rgba(255,255,255,.55);opacity:0;transition:opacity .4s .3s}.lb.on .lb__n{opacity:1}
@media(max-width:900px){.sc-shots::after{display:none}.lb__n{display:none}}
@media(prefers-reduced-motion:reduce){.lb__card{transition:none}}

/* v8: SEO */
.skip{position:absolute;left:12px;top:-60px;z-index:400;padding:10px 16px;background:#fff;color:#12141a;border-radius:8px;font-weight:600}.skip:focus{top:12px}
.hero-slide h2.hero-title{font-size:clamp(2.4rem,4.2vw,3.4rem);font-weight:700;line-height:1.12;letter-spacing:-.03em;margin-bottom:16px}
.about__lead--2{margin-top:-20px;font-size:1.02rem}
.services .section-sub{color:rgba(255,255,255,.65);margin-bottom:8px}
.sc-h{font:inherit;margin:0}
.sc-lead{max-width:760px;margin:14px 0 0;color:rgba(255,255,255,.62);font-size:1rem}
.sc-chips{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 4px}.sc-chips li{padding:5px 12px;border-radius:99px;font-size:12px;font-weight:500;color:rgba(255,255,255,.85);background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12)}
.sc-links{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px}.sc-site{font-size:13px;color:rgba(255,255,255,.6);text-decoration:underline;text-underline-offset:3px}.sc-site:hover{color:var(--accent)}
.seo{background:#fff}.seo__grid{display:grid;grid-template-columns:1.5fr .8fr;gap:56px;align-items:start}
.seo__main h3{font-size:1.25rem;font-weight:700;letter-spacing:-.02em;margin:32px 0 10px}.seo__main>h3:first-of-type{margin-top:6px}
.seo__main p{color:#4b5160;margin-bottom:14px;max-width:70ch}
.seo__list{list-style:none;margin:0 0 18px}.seo__list li{position:relative;padding:6px 0 6px 24px;color:#3b4150}.seo__list li::before{content:'';position:absolute;left:2px;top:15px;width:8px;height:8px;border-radius:50%;background:var(--accent)}
.seo__side{position:sticky;top:104px;padding:28px;border-radius:20px;background:var(--bg);border:1px solid var(--border)}
.seo__side h3{font-size:1.2rem;margin-bottom:14px}.seo__side ol{padding-left:20px;display:grid;gap:12px;color:#4b5160;font-size:.96rem}
.seo__cta{margin:22px 0 14px;font-weight:600}
.seo__faq{margin-top:72px;max-width:860px}.seo__faq details{border-bottom:1px solid var(--border);padding:16px 0}
.seo__faq summary{cursor:pointer;font-weight:600;font-size:1.05rem;list-style:none;display:flex;justify-content:space-between;gap:16px}.seo__faq summary::after{content:'+';color:var(--accent);font-size:1.4rem;line-height:1;transition:transform .3s}
.seo__faq details[open] summary::after{transform:rotate(45deg)}.seo__faq details p{margin-top:10px;color:#4b5160}
@media(max-width:900px){.seo__grid{grid-template-columns:1fr;gap:32px}.seo__side{position:static}}

/* v9: project pages */
a.sc-open{display:inline-block;text-decoration:none}
.pp-hero{position:relative;overflow:hidden;color:#fff;background:radial-gradient(800px 420px at 85% 30%,rgba(217,79,69,.28),transparent 70%),#12141a;padding:48px 0 80px}
.pp-hero__grid{display:grid;grid-template-columns:1fr 1.05fr;gap:56px;align-items:center}
.pp-crumbs{display:flex;flex-wrap:wrap;gap:8px;font-size:13px;color:rgba(255,255,255,.5);margin-bottom:28px}.pp-crumbs a:hover{color:#fff}
.pp-tag{color:var(--accent);font-weight:600;font-size:14px;margin-bottom:12px}
.pp-hero h1{font-size:clamp(2rem,3.8vw,3rem);font-weight:700;line-height:1.12;letter-spacing:-.03em;margin-bottom:18px}
.pp-lead{color:rgba(255,255,255,.7);font-size:1.1rem;max-width:520px;margin-bottom:28px}
.pp-heroframe{animation:float 7s ease-in-out infinite}.pp-shot{aspect-ratio:16/10;overflow:hidden;background:#fff;cursor:zoom-in}
.pp-shot img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}
.pp-cols{display:grid;grid-template-columns:1fr 1fr;gap:56px}.pp-cols p{color:var(--muted);margin-bottom:14px}
.pp-lead2{font-size:1.15rem;color:var(--muted);max-width:520px}.pp-alt{background:var(--white)}
.pp-meta{display:grid;gap:0}.pp-meta>div{padding:16px 0;border-bottom:1px solid var(--border)}.pp-meta>div:first-child{border-top:1px solid var(--border)}
.pp-meta dt{font-size:13px;color:var(--muted);margin-bottom:4px}.pp-meta dd{font-weight:500}.pp-meta a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.pp-list{list-style:none}.pp-list li{position:relative;padding:8px 0 8px 26px;color:#3b4150}.pp-list li::before{content:'';position:absolute;left:2px;top:17px;width:9px;height:9px;border-radius:50%;background:var(--accent)}
.pp-hint{color:var(--muted);margin:-12px 0 28px;font-size:.95rem}
.pp-gal{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.pp-card{padding:0;border:1px solid var(--border);border-radius:14px;overflow:hidden;background:#1a1d26;cursor:zoom-in;text-align:left;transition:transform .3s,box-shadow .3s}
.pp-card:hover{transform:translateY(-6px);box-shadow:0 20px 44px rgba(217,79,69,.2)}.pp-card img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;object-position:top}
.pp-full{max-width:980px;margin:0 auto}.pp-scroll{max-height:72vh;overflow:auto;background:#fff;scrollbar-color:var(--accent) #232733}.pp-scroll img{display:block;width:100%;cursor:zoom-in}
.pp-others{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.pp-other{display:flex;flex-direction:column;gap:6px;padding:14px;border-radius:16px;background:var(--bg);border:1px solid var(--border);transition:transform .3s,box-shadow .3s}
.pp-other:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(18,20,26,.12)}.pp-other img{width:100%;aspect-ratio:16/10;object-fit:cover;object-position:top;border-radius:10px;margin-bottom:6px}
.pp-other span{font-size:12px;font-weight:600;color:var(--accent)}.pp-other strong{font-size:1.1rem}
.pp-cta{background:var(--dark);color:#fff;text-align:center}.pp-cta h2{font-size:clamp(1.7rem,3vw,2.4rem);margin-bottom:12px}.pp-cta p{color:rgba(255,255,255,.65);margin-bottom:26px}
.pl{position:fixed;inset:0;z-index:300;display:grid;place-items:center;background:rgba(8,9,13,.88);backdrop-filter:blur(10px);opacity:0;transition:opacity .35s}.pl.on{opacity:1}
.pl__box{max-width:min(1200px,94vw);max-height:90vh;overflow:auto;border-radius:14px;background:#fff;transform:scale(.92) translateY(18px);transition:transform .5s cubic-bezier(.22,1,.36,1)}.pl.on .pl__box{transform:none}.pl__box img{display:block;width:100%}
.pl__x{position:absolute;top:18px;right:24px;width:46px;height:46px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:28px;cursor:pointer}.pl__x:hover{background:var(--accent)}
.pl__n{position:absolute;bottom:14px;left:0;right:0;text-align:center;font-size:12px;color:rgba(255,255,255,.55)}
@media(max-width:900px){.pp-hero__grid,.pp-cols,.pp-gal,.pp-others{grid-template-columns:1fr}.pp-cols{gap:28px}.pp-hero{padding:32px 0 56px}}
@media(prefers-reduced-motion:reduce){.pp-heroframe{animation:none}.pl,.pl__box{transition:none}}

.pp-cap{display:block;padding:12px 16px;font-size:.9rem;font-weight:500;color:rgba(255,255,255,.85);background:#1a1d26}

/* v10: form validation */
#contactForm .field{display:block;min-width:0}#contactForm .fbox{position:relative}
#contactForm .fbox input,#contactForm .fbox textarea{width:100%}
#contactForm input[name=name]{padding-right:116px}#contactForm textarea{padding-bottom:30px}
.count{position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:11.5px;color:var(--muted);opacity:.55;pointer-events:none;transition:color .25s,opacity .25s}
textarea ~ .count{top:auto;bottom:10px;transform:none}.count.warn{color:var(--accent);opacity:1}
.f-err{display:block;margin-top:4px;color:#c4303a;font-size:12.5px;line-height:1.35}.f-err:empty{display:none}
.field.invalid input,.field.invalid textarea{border-color:#c4303a!important}
.hp-field{position:absolute!important;left:-9999px;width:1px;height:1px;opacity:0}

/* v11: макеты целиком, демо */
.pp-shot img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}
.pp-gal{display:block;column-count:2;column-gap:24px}
.pp-card{display:block;width:100%;margin:0 0 24px;break-inside:avoid}
.pp-card img{aspect-ratio:auto;height:auto;object-fit:contain;background:#fff}
.pp-scroll{max-height:none;overflow:visible}.pp-scroll img{width:100%;height:auto}
.pl__box{max-width:none;max-height:none;overflow:visible;background:none;border-radius:0;display:grid;place-items:center;cursor:zoom-in}
.pl__box img{max-width:94vw;max-height:86vh;width:auto;height:auto;border-radius:10px;background:#fff;box-shadow:0 30px 80px rgba(0,0,0,.6)}
.pl.full .pl__box{display:block;overflow:auto;max-width:min(1200px,94vw);max-height:90vh;border-radius:10px;cursor:zoom-out}
.pl.full .pl__box img{max-width:100%;max-height:none;width:100%;box-shadow:none;border-radius:0}
.pp-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.pp-demobtn,a.sc-demo{display:inline-flex;align-items:center;gap:8px;padding:13px 24px;border-radius:999px;border:1.5px solid rgba(255,255,255,.4);color:#fff;font-weight:600;font-size:15px;transition:background .25s,border-color .25s}
.pp-demobtn:hover,a.sc-demo:hover{background:var(--accent);border-color:var(--accent)}
a.sc-demo{padding:9px 16px;font-size:13px;text-decoration:none}
@media(max-width:900px){.pp-gal{column-count:1}.pl__box img{max-height:82vh}}

.hero-slide__right{flex-direction:column;gap:18px}
.hero-slide__right .hero-slide__nums{flex-direction:row;gap:18px;margin:0}
.hero-slide__left{transform:translateY(-8%)}
@media(max-width:768px){.hero-slide__left{transform:none}}
.captcha{display:flex;align-items:center;gap:10px}
.captcha__q{flex:0 0 auto;padding:13px 16px;border-radius:12px;background:var(--accent-soft);color:var(--accent);font-weight:600;font-size:15px;white-space:nowrap;user-select:none}
#contactForm .captcha input[name=captcha]{flex:1 1 0;min-width:0;width:0}
.captcha input[type=hidden]{display:none}
.captcha__r{flex:0 0 auto;width:48px;height:48px;border:1.5px solid var(--border);border-radius:12px;background:var(--bg);color:var(--muted);font-size:20px;line-height:1;cursor:pointer;transition:.2s}
.captcha__r:hover{border-color:var(--accent);color:var(--accent)}
@media(max-width:600px){.sc-thumbs{flex-direction:column;overflow:visible}.sc-thumb{flex:none;width:100%}.sc-meta>div{padding-left:0}.sc-name{font-size:1.25rem;white-space:normal;text-align:left}}

/* v17: согласие на обработку ПД и страницы документов */
#contactForm .consent{display:flex;align-items:flex-start;gap:10px;cursor:pointer;font-size:12.5px;line-height:1.45;color:var(--muted)}
#contactForm .consent input[type=checkbox]{flex:0 0 auto;width:18px;height:18px;min-width:0;margin:2px 0 0;padding:0;border-radius:5px;accent-color:var(--accent);cursor:pointer}
#contactForm .consent span{flex:1 1 auto;min-width:0}
#contactForm .consent a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}
#contactForm .consent a:hover{text-decoration:none}
#contactForm .consent.invalid{color:#c4303a}
#contactForm .consent.invalid input[type=checkbox]{outline:2px solid #c4303a;outline-offset:1px}
.footer__docs{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:14px;font-size:13px}
.footer__docs a{color:rgba(255,255,255,.55);transition:color .2s}
.footer__docs a:hover{color:#fff}
.lg-head{background:var(--dark);color:#fff}
.lg-head__inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:76px}
.lg-home{display:flex;color:#fff}.lg-home .logo-svg{height:44px;width:auto;display:block}
.lg-back{font-size:14px;color:rgba(255,255,255,.6);transition:color .2s}
.lg-back:hover{color:#fff}
.lg{padding:56px 0 88px;background:var(--bg)}
.lg__text{max-width:820px}
.lg__text h1{font-size:clamp(1.75rem,3.2vw,2.5rem);font-weight:700;line-height:1.18;letter-spacing:-.02em;margin-bottom:28px;color:var(--text)}
.lg__text h2{font-size:clamp(1.15rem,1.9vw,1.4rem);font-weight:700;line-height:1.3;margin:36px 0 14px;color:var(--text)}
.lg__text p{margin-bottom:14px;font-size:.98rem;line-height:1.65;color:#3a3f4b}
.lg__text ul,.lg__text ol{margin:0 0 14px;padding-left:22px;font-size:.98rem;line-height:1.65;color:#3a3f4b}
.lg__text li{margin-bottom:6px}
.lg__text a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}
.lg__text a:hover{text-decoration:none}
.lg__foot{margin-top:40px;padding-top:20px;border-top:1px solid var(--border);font-size:.9rem}
@media(max-width:600px){.lg{padding:32px 0 56px}.lg-head__inner{min-height:64px}.lg__text p,.lg__text ul,.lg__text ol{font-size:.94rem}}
