/* Self-hosted fonts (SIL Open Font License), variable weights, latin subset */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/inter-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/assets/fonts/sora-latin.woff2) format('woff2');
}

:root {
  --bg: #0b0d12;
  --bg-2: #11141b;
  --card: #161a23;
  --line: rgba(255, 255, 255, .08);
  --text: #eef0f4;
  --muted: #9aa3b2;
  --red: #b3122f;
  --red-2: #e0344f;
  --radius: 18px;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: Sora, Inter, sans-serif; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--red); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .78rem/1 Inter, sans-serif; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red-2); margin-bottom: 1.1em;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.grad {
  background: linear-gradient(100deg, #fff 0%, #ffb3bf 40%, var(--red-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Buttons */
.btn {
  --b: var(--red);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid var(--b);
  background: var(--b); color: #fff; font: 600 .98rem/1 Inter, sans-serif; text-decoration: none;
  cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  box-shadow: 0 10px 30px -10px rgba(179, 18, 47, .7);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform .7s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(224, 52, 79, .8); }
.btn:hover::after { transform: translateX(100%); }
.btn--ghost { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.35); box-shadow: none; backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.14); box-shadow: none; }
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn--block { width: 100%; }
:focus-visible { outline: 2px solid var(--red-2); outline-offset: 3px; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, backdrop-filter .4s, border-color .4s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(11, 13, 18, .78); backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.nav__inner { width: min(1320px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.15rem/1 Sora, sans-serif; letter-spacing: .02em; }
.brand img { width: 52px; height: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,.5)); }
.brand em { font: 400 .78rem/1.2 Inter, sans-serif; font-style: normal; color: var(--muted); display: block; letter-spacing: .04em; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .95rem; color: #d7dbe3; position: relative; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%; background: var(--red-2); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__links a:not(.btn):hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav__toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: transform .3s, opacity .3s; }
.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 { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero__slides, .hero__slide, .hero__shade { position: absolute; inset: 0; }
.hero__slide {
  background-size: cover; background-position: center; opacity: 0;
  transform: scale(1.12); transition: opacity 1.6s ease, transform 8s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__shade {
  background:
    linear-gradient(90deg, rgba(11,13,18,.88) 0%, rgba(11,13,18,.6) 40%, rgba(11,13,18,.1) 75%),
    linear-gradient(180deg, rgba(11,13,18,.55) 0%, rgba(11,13,18,.15) 35%, rgba(11,13,18,.9) 100%);
}
.hero__content { position: relative; width: min(1320px, 100% - 32px); margin-inline: auto; padding: 120px 0 90px; }
.hero__title { font-size: clamp(2.8rem, 8vw, 6.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; margin-bottom: .35em; text-shadow: 0 6px 40px rgba(0,0,0,.4); }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 600px; color: #dfe3ea; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 40px; }
.hero__badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__badges li { padding: 10px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: rgba(11,13,18,.45); backdrop-filter: blur(8px); font-size: .9rem; color: #cfd5de; }
.hero__badges strong { color: #fff; font-family: Sora, sans-serif; margin-right: 4px; }
.hero__dots { position: absolute; right: max(16px, calc((100% - 1320px) / 2)); bottom: 40px; display: flex; gap: 8px; }
.hero__dots button { width: 28px; height: 4px; border: 0; padding: 0; border-radius: 4px; background: rgba(255,255,255,.3); cursor: pointer; overflow: hidden; position: relative; }
.hero__dots button.is-active::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: fill 6s linear forwards; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Marquee */
.marquee { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { font: 600 1.05rem/1 Sora, sans-serif; color: #c9ced8; padding: 0 28px; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee__track span::after { content: "✦"; color: var(--red-2); font-size: .8rem; margin-left: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section--alt { background: var(--bg-2); }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section__head--row h2 { margin: 0; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), border-color .5s, box-shadow .5s; }
.svc:hover { transform: translateY(-6px); border-color: rgba(224, 52, 79, .45); box-shadow: 0 30px 60px -30px rgba(179, 18, 47, .55); }
.svc__media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: #000; }
.svc__media--light { background: #fff; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc:hover .svc__media img { transform: scale(1.08); }
.svc__tag { position: absolute; top: 14px; left: 14px; padding: 6px 12px; font: 600 .75rem/1 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; background: var(--red); border-radius: 999px; }
.svc__body { padding: 26px 26px 28px; }
.svc__body p { color: var(--muted); font-size: .97rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .93rem; }
.ticks li { padding-left: 26px; position: relative; color: #d4d9e1; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--red-2); border-bottom: 2px solid var(--red-2); transform: rotate(-45deg); }

/* Portfolio */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { background: transparent; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font: 500 .9rem Inter, sans-serif; cursor: pointer; transition: all .3s; }
.chip:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.chip.is-active { background: #fff; color: #0b0d12; border-color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 14px; }
.g { margin: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; position: relative; background: #000; }
.g--wide { grid-column: span 2; }
.g--tall { grid-row: span 2; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.g::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.55)); opacity: 0; transition: opacity .5s; }
.g:hover img { transform: scale(1.07); }
.g:hover::after { opacity: 1; }
.g.is-hidden { display: none; }

/* Process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 6%; right: 6%; height: 1px; background: linear-gradient(90deg, transparent, rgba(224,52,79,.6), transparent); }
.step { position: relative; padding: 0 6px; }
.step__n { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--bg); border: 1px solid rgba(224,52,79,.5); font: 700 1.2rem Sora, sans-serif; color: var(--red-2); margin-bottom: 22px; position: relative; box-shadow: 0 0 0 8px var(--bg); }
.step p { color: var(--muted); font-size: .97rem; }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price {
  position: relative; display: flex; flex-direction: column; text-decoration: none; padding: 30px 28px;
  border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.price:hover { transform: translateY(-5px); border-color: rgba(224,52,79,.55); background: #1a1f2a; }
.price.is-featured { background: linear-gradient(160deg, rgba(179,18,47,.35), var(--card) 60%); border-color: rgba(224,52,79,.55); }
.price__badge { position: absolute; top: -12px; right: 22px; background: var(--red); padding: 6px 12px; border-radius: 999px; font: 600 .72rem/1 Inter; letter-spacing: .08em; text-transform: uppercase; }
.price h3 { font-size: 1.1rem; color: #cfd5de; font-weight: 600; }
.price__amt { font: 800 2.8rem/1 Sora, sans-serif; letter-spacing: -.03em; margin: .2em 0 .35em; }
.price__amt small { font: 500 .85rem Inter; color: var(--muted); margin-right: 6px; letter-spacing: 0; vertical-align: middle; }
.price__amt--quote { font-size: 2rem; padding: .2em 0 .05em; }
.price__desc { color: var(--muted); font-size: .95rem; flex: 1; }
.book-note { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: #cfd5de; background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; margin: 0; }
.book-note::before { content: "↗"; color: var(--red-2); font-weight: 700; }
.price__cta { color: var(--red-2); font-weight: 600; transition: letter-spacing .3s; }
.price:hover .price__cta { letter-spacing: .03em; }

/* About */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about__media { position: relative; }
.about__media > img { border-radius: 24px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about__card { position: absolute; right: -24px; bottom: -24px; animation: float 6s ease-in-out infinite; }
.about__card img { width: 150px; height: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.65)); }
@keyframes float { 50% { transform: translateY(-10px); } }
.about__text p { color: #c3c9d3; }
.about__mission { font: 600 1.15rem/1.5 Sora, sans-serif; color: #fff !important; border-left: 3px solid var(--red-2); padding-left: 18px; margin: 28px 0 32px; }

/* Band */
.band { position: relative; padding: clamp(90px, 12vw, 160px) 0; overflow: hidden; text-align: center; }
.band__bg { position: absolute; inset: -20% 0; background-size: cover; background-position: center; will-change: transform; }
.band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,13,18,.85), rgba(60,8,20,.65), rgba(11,13,18,.9)); }
.band__inner { position: relative; z-index: 2; }
.band h2 { max-width: 760px; margin-inline: auto; }
.band .hero__cta { justify-content: center; margin-bottom: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 18px; }
.contact__list li { display: grid; gap: 2px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact__list span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact__list a { font: 600 1.2rem Sora, sans-serif; text-decoration: none; }
.contact__list a:hover { color: var(--red-2); }
.socials { display: flex; gap: 12px; }
.socials a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); transition: background .3s, transform .3s, border-color .3s; }
.socials a:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; fill: #fff; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; font-size: .88rem; font-weight: 500; color: #cfd5de; }
.form .opt { color: var(--muted); font-weight: 400; }
.form input, .form select, .form textarea {
  width: 100%; font: 400 1rem Inter, sans-serif; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px;
  transition: border-color .25s, box-shadow .25s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--red-2); box-shadow: 0 0 0 4px rgba(224,52,79,.18); }
.form textarea { resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form__status { margin: 0; min-height: 1.4em; font-size: .95rem; }
.form__status.ok { color: #6ee7a8; }
.form__status.err { color: #ff8a9b; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0; background: #080a0e; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; color: var(--muted); font-size: .9rem; }
.footer p { margin: 0; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5,6,9,.94); display: grid; place-items: center; padding: 24px; animation: fade .3s; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1400px, 100%); max-height: 86vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: zoomIn .4s var(--ease); }
.lightbox button { position: absolute; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; width: 52px; height: 52px; font-size: 1.8rem; line-height: 1; cursor: pointer; transition: background .3s; }
.lightbox button:hover { background: var(--red); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 20px; top: 50%; translate: 0 -50%; }
@keyframes fade { from { opacity: 0; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
  .services, .prices { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .steps::before { display: none; }
}
@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s;
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links .btn { margin-top: 14px; }
  .nav.menu-open { background: rgba(11,13,18,.97); }
  .about__grid, .contact { grid-template-columns: 1fr; }
  .about__card { right: 12px; bottom: -20px; }
  .about__card img { width: 90px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand em { display: none; }
  .services, .prices, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
  .g--tall { grid-row: span 1; }
  .form__row { grid-template-columns: 1fr; }
  .hero__dots { display: none; }
  .hero__content { padding-bottom: 110px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; translate: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
