﻿:root {
  --bg: #f4f4f4;
  --white: #ffffff;
  --black: #0f0f0f;
  --gray-1: #dddddd;
  --gray-2: #9c9c9c;
  --gray-3: #626262;
  --container: 1180px;
}

* {
  box-sizing: border-box;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

*::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
  background: #050505;
}

body {
  font-family: "Manrope", sans-serif;
  font-weight: 300;
  color: var(--black);
  background: #050505;
  line-height: 1.5;
}

main {
  background: var(--bg);
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  color: var(--white);
  background: #050505;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  object-fit: contain;
  object-position: 78% center;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.56));
  z-index: -1;
}

.hero-content {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.2rem 0 2rem;
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.logo {
  display: none;
}

.nav-right {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lang-toggle {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.22);
  color: var(--white);
  min-width: 84px;
  height: 36px;
  border-radius: 999px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0.2rem;
  cursor: pointer;
}

.lang-item {
  position: relative;
  z-index: 2;
  font-size: 0.72rem;
  letter-spacing: 0.11em;
}

.lang-indicator {
  position: absolute;
  left: 0.2rem;
  top: 0.2rem;
  width: calc(50% - 0.2rem);
  height: calc(100% - 0.4rem);
  background: var(--white);
  border-radius: inherit;
  transition: transform 220ms ease;
}

.lang-toggle.ua .lang-indicator {
  transform: translateX(100%);
}

.lang-toggle:not(.ua) .lang-item:first-of-type,
.lang-toggle.ua .lang-item:last-of-type {
  color: var(--black);
}

.menu {
  grid-column: 2;
  justify-self: center;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.3rem;
}

.menu a {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  opacity: 0.92;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms ease;
}

.menu a:hover::after,
.menu a:focus-visible::after {
  transform: scaleX(1);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 240ms ease, opacity 240ms ease;
}

.burger.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero-text {
  margin-top: auto;
  max-width: 720px;
  padding-bottom: clamp(1rem, 8vh, 5rem);
}

.hero-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.8rem;
}

.hero-sub {
  margin-top: 0.8rem;
  max-width: 62ch;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 9vw, 7rem);
  letter-spacing: 0.08em;
  line-height: 0.94;
  font-weight: 400;
}

.btn {
  margin-top: 1.2rem;
  border: 1px solid var(--black);
  color: var(--black);
  padding: 0.8rem 1.25rem;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--black);
  color: var(--white);
}

.btn-light {
  border-color: var(--white);
  color: var(--white);
}

.btn-light:hover,
.btn-light:focus-visible {
  background: var(--white);
  color: var(--black);
}

.section {
  padding: clamp(2.3rem, 4vw, 3.8rem) 0;
  border-bottom: 1px solid var(--gray-1);
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.3rem;
}

.section-number {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: var(--gray-2);
}

.section h2 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.9rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 400;
}

.service-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--gray-1);
}

.service-list li {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--gray-1);
}

.service-list li:last-child {
  border-bottom: 0;
}

.service-list li::before {
  content: "• ";
}

.price-box {
  border: 1px solid var(--gray-1);
  padding: 1.35rem;
  background: #f6f6f6;
  display: grid;
  gap: 1rem;
}

.price-box h3 {
  margin: 0;
  font-size: 1.18rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 600;
}

.price-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.price-icon {
  width: 26px;
  height: 26px;
  border: 1px solid #bdbdbd;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.price-icon svg {
  width: 14px;
  height: 14px;
  fill: #2c2c2c;
}

.price-box p {
  margin: 0;
  color: #2e2e2e;
}

.portfolio-group + .portfolio-group {
  margin-top: 2rem;
}

.portfolio-category {
  margin: 0 0 0.7rem;
  font-size: 1.12rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: #202020;
}

.empty-gallery {
  margin: 0;
  border: 1px dashed #bdbdbd;
  padding: 1rem;
  color: #666;
  font-size: 0.92rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.3rem;
  align-items: start;
}

.about-text {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.about-text p {
  margin: 0;
  max-width: 56ch;
  color: #2a2a2a;
}

.about-package {
  margin-top: 0.9rem;
  border: 1px solid #cdcdcd;
  background: #f3f3f3;
  padding: 1rem 1.1rem;
}

.about-package h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.package-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.38rem;
}

.package-list li {
  position: relative;
  padding-left: 1rem;
  color: #2a2a2a;
}

.package-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: #303030;
}

.about-photo {
  margin: 0;
  width: 100%;
  max-width: 460px;
  justify-self: end;
  aspect-ratio: 4 / 5;
  min-height: 0;
  overflow: hidden;
  background: #101010;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.filter {
  border: 1px solid var(--gray-1);
  background: transparent;
  color: var(--gray-3);
  padding: 0.48rem 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 220ms ease;
}

.filter.active,
.filter:hover,
.filter:focus-visible {
  border-color: var(--black);
  color: var(--black);
  background: #ececec;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.shot {
  width: 100%;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #0f0f0f;
  border: 1px solid #1f1f1f;
  position: relative;
  transition: opacity 300ms ease, transform 300ms ease, box-shadow 280ms ease, border-color 280ms ease;
  opacity: 1;
  transform: none;
  padding: 0;
  cursor: zoom-in;
}

.shot.tall {
  aspect-ratio: 4 / 5;
}

.shot.wide {
  grid-column: span 1;
  aspect-ratio: 4 / 5;
}

.shot img {
  filter: none;
  transform: none;
  transition: opacity 260ms ease, transform 360ms ease;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
  opacity: 0.22;
  transition: opacity 300ms ease;
}

.shot:hover::after {
  opacity: 0.34;
}

.shot:hover,
.shot:focus-visible {
  transform: translateY(-4px);
  border-color: #5a5a5a;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.shot:hover img,
.shot:focus-visible img {
  transform: scale(1.04);
  filter: none;
}

.shot:focus-visible {
  outline: 2px solid #7f7f7f;
  outline-offset: 2px;
}

.shot.hidden {
  opacity: 0 !important;
  transform: scale(0.98);
  pointer-events: none;
  display: none;
}

.shot.pre-reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
}

.shot.in-view {
  opacity: 1;
  transform: none;
}

.workflow-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--gray-1);
}

.workflow-list li {
  border-bottom: 1px solid var(--gray-1);
  padding: 0.95rem 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 0.7rem;
}

.workflow-list li span {
  color: var(--gray-2);
  font-size: 0.73rem;
  letter-spacing: 0.1em;
}

.quote-block {
  margin: 0;
  position: relative;
  min-height: 56vh;
}

.quote-block img {
  position: absolute;
  inset: 0;
  object-position: center 38%;
}

.quote-overlay {
  position: relative;
  z-index: 1;
  min-height: 56vh;
  display: grid;
  align-items: center;
  justify-items: center;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45));
  padding: 2rem 1rem;
}

.quote-overlay p {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.15rem, 3.6vw, 2.15rem);
  max-width: 820px;
  text-align: center;
  letter-spacing: 0.04em;
  font-weight: 300;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(290px, 410px);
  align-items: start;
  gap: 1.35rem;
}

.contact-info {
  max-width: none;
  padding: 1.1rem 1.15rem 1.2rem;
  border: 1px solid #cfcfcf;
  background: linear-gradient(180deg, #f8f8f8, #f2f2f2);
}

.contact-info p {
  margin: 0;
  padding: 0.55rem 0;
  border-bottom: 1px solid #d9d9d9;
  color: #212121;
}

.contact-info p strong {
  min-width: 88px;
  display: inline-block;
  font-weight: 600;
}

.contact-info a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-info .instagram-handle {
  text-decoration: none;
  border-bottom: 1px solid #232323;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.contact-info .btn {
  margin-top: 1rem;
}

.instagram-qr {
  margin-top: 0;
  display: grid;
  gap: 0.55rem;
  max-width: 100%;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid #d6d6d6;
  background: linear-gradient(155deg, #fafafa, #ececec);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.instagram-qr p {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2f2f2f;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.instagram-qr p::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #111, #676767);
}

.instagram-qr .qr-note {
  font-size: 0.82rem;
  color: #4a4a4a;
}

.instagram-qr a {
  text-decoration: none;
  display: block;
  border-radius: 14px;
  border: 1px solid #bcbcbc;
  background: #fff;
  padding: 0.45rem;
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.instagram-qr a:hover,
.instagram-qr a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.instagram-qr a::after {
  content: "SCAN";
  position: absolute;
  right: 0.48rem;
  bottom: 0.48rem;
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  color: #fff;
  background: rgba(16, 16, 16, 0.72);
  padding: 0.2rem 0.36rem;
  border-radius: 999px;
}

.instagram-qr img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  border: 0;
  padding: 0;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid #bdbdbd;
  background: var(--white);
  color: var(--black);
  padding: 0.72rem 0.8rem;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid var(--black);
  border-color: var(--black);
}

.form-status {
  margin: 0;
  min-height: 1.35rem;
  color: var(--gray-3);
  font-size: 0.86rem;
}

.footer {
  padding: 1rem 0 1.6rem;
  background: #efefef;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.socials {
  display: flex;
  gap: 0.9rem;
}

.socials a {
  text-decoration: none;
  border: 1px solid #2f2f2f;
  padding: 0.45rem 0.8rem;
  background: #f7f7f7;
  transition: background 220ms ease, color 220ms ease;
}

.socials a:hover,
.socials a:focus-visible {
  background: #202020;
  color: #fff;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  padding: clamp(0.75rem, 2.2vw, 1.5rem);
  display: grid;
  place-items: center;
  background: rgba(5, 5, 5, 0.86);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(10, 10, 10, 0.58);
  color: #fff;
  width: 48px;
  height: 48px;
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.lightbox-close {
  position: absolute;
  top: clamp(0.55rem, 1.8vw, 0.95rem);
  right: clamp(0.55rem, 1.8vw, 0.95rem);
  font-size: 1.5rem;
  line-height: 1;
}

.lightbox-stage {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 0.55rem;
}

.lightbox-stage img {
  width: auto;
  height: auto;
  max-width: min(88vw, 1250px);
  max-height: 82vh;
  object-fit: contain;
  background: #0f0f0f;
}

.lightbox-stage figcaption {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 760ms ease, transform 760ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .service-wrap,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-photo {
    max-width: none;
    justify-self: stretch;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--container), calc(100% - 1rem));
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero-content {
    min-height: 100vh;
    min-height: 100svh;
    padding: 0.75rem 0 1rem;
  }

  .nav {
    display: flex;
    justify-content: flex-end;
  }

  .menu {
    grid-column: auto;
    justify-self: auto;
  }

  .nav-right {
    margin-left: auto;
    position: relative;
    z-index: 31;
  }

  .hero-text {
    padding-bottom: 0.7rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 12vw, 3.15rem);
    letter-spacing: 0.06em;
  }

  .hero-sub {
    margin-top: 0.6rem;
    font-size: 0.9rem;
    line-height: 1.42;
    max-width: 44ch;
  }

  .section {
    padding: 1.55rem 0;
  }

  .section-head {
    margin-bottom: 0.95rem;
  }

  .portfolio-group + .portfolio-group {
    margin-top: 1.15rem;
  }

  .burger {
    display: inline-flex;
    z-index: 30;
  }

  .menu {
    position: fixed;
    top: 0.8rem;
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
    max-height: min(68svh, 470px);
    overflow: auto;
    background: rgba(5, 5, 5, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 0.65rem;
    display: grid;
    gap: 0.35rem;
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    z-index: 28;
    transition: opacity 240ms ease, transform 240ms ease;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.42);
  }

  .menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .menu a {
    display: block;
    padding: 0.58rem 0.45rem;
    font-size: 0.74rem;
    letter-spacing: 0.11em;
    color: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .menu li:last-child a {
    border-bottom: 0;
  }

  .lang-toggle {
    min-width: 76px;
    height: 34px;
  }

  .hero-bg {
    object-fit: contain;
    object-position: 70% center;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.28rem;
  }

  .shot,
  .shot.wide,
  .shot.tall {
    grid-column: auto;
    aspect-ratio: 3 / 4;
    min-height: 0;
    margin-bottom: 0;
  }

  .quote-block,
  .quote-overlay {
    min-height: 44vh;
  }

  .contact-grid {
    gap: 0.9rem;
  }

  .instagram-qr {
    padding: 0.8rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .lightbox {
    grid-template-columns: 1fr;
    align-content: center;
    justify-items: center;
    gap: 0.6rem;
    padding: 0.75rem;
  }

  .lightbox-stage img {
    max-width: 94vw;
    max-height: 78vh;
  }

  .reveal,
  .shot.pre-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (hover: none), (pointer: coarse) {
  .reveal,
  .shot.pre-reveal {
    opacity: 1;
    transform: none;
    transition: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
