* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

body {
  font-family: Arial, sans-serif;
  color: #fff;
  background: #0b0f1a;
}

body {
  font-family: Arial, sans-serif;
  color: #fff;
  background: #0b0f1a;
  line-height: 1.5;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(11, 15, 26, 0.8);
  backdrop-filter: blur(10px);
  transition: 0.3s;
}

.hero {
  margin-top: 80px;
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: 0.3px;
}

html {
  scroll-behavior: smooth;
}

/* скрыто */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

/* появляется */
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* HEADER */
.header {
  width: 100%;
  background: #0b0f1a;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 16px 0;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* логотип */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 100px;
  filter: brightness(1.2);
  width: auto;
  display: block;
  border-radius: 10px;
}

/* навигация */
.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.nav a:hover {
  opacity: 0.7;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  background: url("WhatsApp Image 2026-04-16 at 12.45.37.jpeg") center/cover no-repeat;
  display: flex;
  align-items: center;
}

/* затемнение */
.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(0,0,0,0.7),
    rgba(0,0,0,0.9)
  );
}

/* контент */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 56px;
  margin-bottom: 20px;
  line-height: 1.15;
  max-width: 800px;
}

.subtitle {
  font-size: 20px;
  margin-bottom: 28px;
  opacity: 0.92;
  max-width: 700px;
}

/* плашки */
.badges {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.badges span {
  background: rgba(255,255,255,0.1);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 14px;
}

/* кнопки */
.btn {
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: 0.3s ease;
  display: inline-block;
}

.btn.primary {
  background: #ffffff;
  color: #111;
  box-shadow: 0 8px 25px rgba(255,255,255,0.15);
}

.btn.primary:hover {
  transform: translateY(-2px);
  background: #f2f2f2;
}

.btn.secondary {
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
}

.btn.secondary:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.10);
}

/* ABOUT */
.about {
  padding: 100px 0;
  position: relative;
  background: url("мрамор темный с золотом.png") center/cover no-repeat;
}

.about::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(10, 15, 25, 0.85);
  top: 0;
  left: 0;
}

.about-wrapper {
  position: relative;
  z-index: 2;
}

.about-text {
  flex: 1;
}

.about h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.about p {
  margin-bottom: 15px;
  opacity: 0.8;
  line-height: 1.6;
}

/* цифры */
.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 30px;
}

.about-stats div {
  display: flex;
  flex-direction: column;
}

.about-stats strong {
  font-size: 22px;
}

.about-stats span {
  font-size: 14px;
  opacity: 0.7;
}

/* картинка */
.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
}

/* PORTFOLIO */
.portfolio {
  padding: 100px 0;
  background: #0b0f1a;
  text-align: center;
}

.portfolio h2 {
  font-size: 32px;
  margin-bottom: 50px;
}

/* сетка */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* карточка */
.portfolio .item {
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

.portfolio .item img {
  width: 100%;
  display: block;
  transition: 0.4s;
}

/* эффект при наведении */
.portfolio .item:hover img {
  transform: scale(1.1);
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
}

.lightbox .close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

/* WHY */
.why {
  padding: 100px 0;
  background: #0f1522;
  text-align: center;
}

.why h2 {
  font-size: 32px;
  margin-bottom: 50px;
}

/* сетка */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* карточки */
.why-item {
  padding: 25px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  transition: 0.3s;
}

.why-item h3 {
  margin-bottom: 10px;
}

.why-item p {
  font-size: 14px;
  opacity: 0.8;
}

/* hover эффект */
.why-item:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-5px);
}

/* PROCESS */
.process {
  padding: 100px 0;
  background: #0b0f1a;
  text-align: center;
}

.process h2 {
  font-size: 32px;
  margin-bottom: 50px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.process-item {
  background: rgba(255,255,255,0.04);
  padding: 25px 20px;
  border-radius: 10px;
  transition: 0.3s;
}

.process-item:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.08);
}

.step {
  width: 50px;
  height: 50px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-item h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.process-item p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.8;
}

/* PROBLEM / SOLUTION */
.problem-solution {
  padding: 100px 0;
  background: #0f1522;
}

.ps-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.ps-block {
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 35px;
}

.ps-block h2 {
  font-size: 28px;
  margin-bottom: 25px;
  line-height: 1.3;
}

.ps-block ul {
  list-style: none;
  padding: 0;
}

.ps-block li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 14px;
  line-height: 1.6;
  opacity: 0.9;
}

.ps-block li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: #fff;
}

/* адаптив */
@media (max-width: 768px) {
  .ps-wrapper {
    grid-template-columns: 1fr;
  }
}

/* CTA */
.cta {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(135deg, #0f1522, #1a2233);
}

.cta h2 {
  font-size: 34px;
  margin-bottom: 15px;
}

.cta p {
  margin-bottom: 30px;
  opacity: 0.8;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* CONTACTS */
.contacts {
  padding: 50px 0;
  background: #0b0f1a;
}

.contacts-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.contacts h3 {
  margin-bottom: 10px;
}

.contacts p {
  opacity: 0.8;
  margin-bottom: 5px;
}

/* адаптив */
@media (max-width: 768px) {
  .contacts-wrapper {
    flex-direction: column;
  }
}

/* адаптив */
@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

.whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  font-size: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 999;

  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  transition: 0.3s;
}

.whatsapp:hover {
  transform: scale(1.1);
}

.whatsapp img {
  width: 28px;
  height: 28px;
}

.portfolio-more {
  margin-top: 40px;
  text-align: center;
}

/* REVIEWS */
.reviews {
  padding: 100px 0;
  background: #0b0f1a;
  text-align: center;
}

.reviews h2 {
  font-size: 32px;
  margin-bottom: 40px;
}

.reviews-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.reviews-window {
  overflow: hidden;
  width: 100%;
}

.reviews-track {
  display: flex;
  transition: transform 0.4s ease;
}

.review-slide {
  min-width: calc(100% / 3);
  padding: 0 10px;
  box-sizing: border-box;
}

.review-slide img {
  width: 100%;
  height: 520px;
  object-fit: contain;
  border-radius: 14px;
  display: block;
  background: rgba(255,255,255,0.03);
}

.reviews-btn {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  transition: 0.3s;
  flex-shrink: 0;
}

.reviews-btn:hover {
  background: rgba(255,255,255,0.16);
}

@media (max-width: 992px) {
  .review-slide {
    min-width: 50%;
  }
}

@media (max-width: 600px) {
  .review-slide {
    min-width: 100%;
  }

  .review-slide img {
    height: 460px;
  }

  .reviews-slider {
    gap: 10px;
  }

  .reviews-btn {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }
}

.contacts a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
}

.contacts a:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 120px 0 80px;
    margin-top: 0;
  }

  .hero h1 {
    font-size: 56px;
    line-height: 1.05;
    max-width: 100%;
    word-break: break-word;
  }

  .subtitle {
    font-size: 18px;
    max-width: 100%;
  }

  .badges {
    flex-wrap: wrap;
  }

  .buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  transition: 0.3s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.22);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

.phone {
  position: fixed;
  bottom: 95px; /* выше WhatsApp */
  right: 25px;
  width: 60px;
  height: 60px;
  background: #1e90ff;
  color: #fff;
  font-size: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 999;

  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  transition: 0.3s;
}

.phone:hover {
  transform: scale(1.1);
}

.phone img {
  width: 26px;
  height: 26px;
}

.phone svg {
  width: 26px;
  height: 26px;
}

.nav {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
}

.nav a {
  white-space: nowrap;
  font-size: 14px;
}

@media (max-width: 768px) {
  .nav {
    gap: 15px;
  }

  .nav a {
    font-size: 13px;
  }
}

.hero h1 {
  word-break: normal;
  overflow-wrap: normal;
}

.hero h1 {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}


@media (max-width: 768px) {
  .hero h1 {
    font-size: 38px;
    line-height: 1.1;
  }
}

@media (max-width: 768px) {
  .hero-content {
    max-width: 100%;
    padding-right: 10px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.1;
    max-width: 100%;
  }
}

.hero h1 {
  overflow-wrap: break-word;
}

.badges {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap; /* запрещаем перенос */
}

.badges span {
  white-space: nowrap; /* текст не ломается */
}

@media (max-width: 768px) {
  .badges {
    gap: 8px;
  }

  .badges span {
    font-size: 12px;
    padding: 6px 10px;
  }
}