﻿:root {
  --bg: #06060a;
  --text: #ffffff;
  --pink: #ff1775;
  --line: rgba(255, 255, 255, 0.14);
  --card: rgba(255, 255, 255, 0.05);
  --radius: 20px;
  --container: 1240px;
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.02em;
  font-weight: 400;
  line-height: 1.05;
}

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

img,
video {
  display: block;
  max-width: 100%;
}

section[id] {
  scroll-margin-top: 92px;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 8, 12, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 0 auto;
}

.logo img {
  width: 86px;
  height: auto;
}

.logo span {
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.nav {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  color: #f5f6fb;
}

.nav a {
  font-size: 0.88rem;
  line-height: 1.2;
  opacity: 0.9;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.nav a:hover {
  opacity: 1;
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
}

.header__instagram {
  font-weight: 800;
  white-space: nowrap;
  color: #ffd1e4;
  font-size: 0.94rem;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  padding: 0 9px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  margin: 6px 0;
}

.btn {
  border: 1px solid transparent;
  border-radius: 12px;
  background: linear-gradient(130deg, var(--pink), #ff2b89);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  padding: 0.95rem 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 10px 26px rgba(255, 23, 117, 0.36);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--small {
  padding: 0.76rem 1.05rem;
  font-size: 0.92rem;
}

.btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 23, 117, 0.66);
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: #02050c;
  overflow: hidden;
}

.hero__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 5, 8, 0.62) 0%, rgba(3, 6, 10, 0.85) 85%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 5rem 0;
}

.hero__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: center;
  max-width: 760px;
}

.hero__text h1 {
  font-size: clamp(3rem, 6vw, 6rem);
  color: var(--pink);
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.hero__text p {
  margin-top: 0.5rem;
  font-size: clamp(1.05rem, 1.9vw, 1.7rem);
  max-width: 680px;
  color: #e7eaf2;
}

.hero__actions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.section {
  padding: 92px 0;
}

.section-head {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 2.1rem;
}

.section-head h2 {
  font-size: clamp(2.9rem, 5vw, 5rem);
  color: var(--pink);
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.38);
}

.section-head p {
  margin-top: 0.4rem;
  color: #f2f3f8;
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.section--dark {
  background: radial-gradient(1200px 520px at 78% 50%, #253847 0%, #070b12 50%, #040508 100%);
}

.section--magenta {
  background: radial-gradient(1200px 700px at 50% 40%, #ba0f60 0%, #6a0031 40%, #180311 100%);
}

.about {
  display: grid;
  grid-template-columns: minmax(280px, 470px) 1fr;
  gap: clamp(1.3rem, 4vw, 5rem);
  align-items: center;
}

.about__media {
  position: relative;
  padding-bottom: 70px;
}

.about__img {
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 2px solid rgba(255, 23, 117, 0.62);
}

.about__img--main {
  width: 100%;
}

.about__img--small {
  position: absolute;
  right: -16px;
  bottom: 0;
  width: min(55%, 240px);
  background: #fff;
}

.about__text h2 {
  font-size: clamp(2.5rem, 4.6vw, 4.4rem);
  color: var(--pink);
  margin-bottom: 0.6rem;
}

.about__text p {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  color: #f9fafb;
  margin-bottom: 1rem;
  max-width: 620px;
}

.about__text .btn {
  margin-top: 0.9rem;
}

.portfolio-grid,
.services-grid,
.review-grid,
.price-visuals,
.contact-actions {
  display: grid;
  gap: 1rem;
}

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

.work-card,
.price-visual,
.review-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0c1219;
}

.work-card a {
  display: block;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #05070c;
  aspect-ratio: 4 / 5;
}

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

.service-card {
  border-radius: var(--radius);
  padding: 1.3rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--card);
  min-height: 176px;
}

.service-card h3 {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

.service-card p {
  color: #f4eff4;
}

.price-visuals {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: 9 / 16;
  background: #080d14;
}

.contact {
  max-width: 1040px;
}

.contact-actions {
  margin-top: 1.2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.social-cta {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 23, 117, 0.8);
  background: rgba(255, 23, 117, 0.12);
}

.social-cta svg {
  width: 36px;
  height: 36px;
  fill: #fff;
  flex-shrink: 0;
}

.social-cta span {
  display: grid;
  gap: 0.1rem;
  line-height: 1.2;
}

.social-cta strong {
  font-size: 1.35rem;
}

.social-cta small {
  color: #ffd6e8;
  font-size: 0.96rem;
}

.social-cta--telegram {
  background: linear-gradient(130deg, rgba(29, 162, 237, 0.34), rgba(6, 27, 46, 0.62));
}

.social-cta--instagram {
  background: linear-gradient(130deg, rgba(255, 23, 117, 0.32), rgba(64, 21, 50, 0.62));
}

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

.review-card {
  padding: 0.85rem;
}

.review-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  margin: 0 auto;
  object-fit: contain;
  background: #080d14;
}

.media-card {
  border: 0;
  width: 100%;
  background: transparent;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
  cursor: pointer;
}

.media-card span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 40px;
  border-radius: 11px;
  border: 1px solid rgba(255, 23, 117, 0.7);
  background: rgba(12, 20, 33, 0.65);
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.media-card:hover span {
  border-color: rgba(255, 23, 117, 1);
  background: rgba(255, 23, 117, 0.16);
}

.media-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.media-modal.open {
  display: flex;
}

.media-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 3, 8, 0.84);
  backdrop-filter: blur(3px);
}

.media-modal__content {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 1.2rem));
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #080c14;
  border-radius: 16px;
  padding: 0.9rem 0.9rem 1rem;
}

.media-modal__content img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 12px;
  background: #04070d;
}

.media-modal__actions {
  margin-top: 0.75rem;
  display: flex;
  justify-content: flex-end;
}

.media-modal__close {
  position: absolute;
  top: 0.35rem;
  right: 0.5rem;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.section--faq {
  padding-top: 50px;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 0.8rem;
}

.faq-list details {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.04);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  margin-top: 0.55rem;
  color: #ccd3e0;
}

.footer {
  background: #080b10;
  border-top: 1px solid var(--line);
}

.footer__inner {
  padding: 2.2rem 0;
  text-align: center;
  display: grid;
  gap: 0.45rem;
}

.footer__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-bottom: 0.45rem;
}

.footer__inner p {
  color: #d8deea;
}

@media (max-width: 1420px) {
  .header__inner {
    min-height: 76px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: #0b0e14;
    border-bottom: 1px solid var(--line);
    padding: 0.85rem 1rem 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    margin: 0;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    width: 100%;
    font-size: 1rem;
    padding: 0.45rem 0.1rem;
  }

  .header__cta {
    margin-left: 0;
  }

  .header__instagram,
  .header__cta .btn {
    display: none;
  }
}

@media (max-width: 1120px) {
  .hero__layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .hero {
    min-height: 80vh;
  }

  .hero__content {
    padding: 3.8rem 0;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .about__media {
    max-width: 520px;
  }

  .about__img--small {
    right: 6px;
    width: 42%;
  }

  .portfolio-grid,
  .services-grid,
  .price-visuals,
  .review-grid,
  .contact-actions {
    grid-template-columns: 1fr;
  }

  .social-cta {
    min-height: 96px;
  }

  .section {
    padding: 76px 0;
  }
}

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

  .logo img {
    width: 72px;
  }

  .logo span {
    font-size: 0.95rem;
  }

  .btn,
  .btn--small {
    width: 100%;
  }

  .hero__actions {
    display: grid;
    gap: 0.65rem;
  }

  .media-modal__content {
    width: calc(100% - 0.5rem);
    padding: 0.65rem 0.65rem 0.8rem;
  }

  .media-modal__content img {
    max-height: 72vh;
  }
}
