/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0b0b0f;
}

/* АНИМИРОВАННЫЙ ГРАДИЕНТ */
.gradient-bg {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(106,92,255,0.4), transparent 70%);
  top: 20%;
  left: 10%;
  filter: blur(100px);
  animation: moveGlow 8s ease-in-out infinite alternate;
}

@keyframes moveGlow {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(100px, 50px);
  }
}

/* CONTENT */
.container {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  max-width: 650px;
}

/* TEXT */
.hero h1 {
  font-size: 52px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.subtitle {
  font-size: 18px;
  color: #bfbfc7;
  margin-bottom: 30px;
}

/* BUTTONS */
.buttons {
  display: flex;
  gap: 15px;
}

.btn-primary {
  padding: 14px 28px;
  background: linear-gradient(135deg, #6a5cff, #8f7cff);
  border-radius: 12px;
  color: white;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(106,92,255,0.5);
  transition: 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(106,92,255,0.8);
}

/* GLASS BUTTON */
.btn-glass {
  padding: 14px 28px;
  border-radius: 12px;
  color: white;
  text-decoration: none;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  transition: 0.3s;
}

.btn-glass:hover {
  background: rgba(255,255,255,0.1);
}

/* ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero h1 {
  font-family: 'Manrope', sans-serif;
  font-size: 54px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #ffffff;
}
.subtitle {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
}

body {
  font-family: 'Manrope', sans-serif;
  background: #0b0b0f;
  color: #ffffff;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
   overflow-x: hidden;

}

/* HEADER BASE */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: 20px 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

/* INNER */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo {
  font-weight: 600;
  font-size: 18px;
}

/* NAV */
.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: 0.3s;
}

.nav a {
  position: relative;
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: color 0.3s;
}

/* линия */
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 1px;
  background: #ffffff;
  transition: width 0.3s ease;
}

/* hover */
.nav a:hover {
  color: #ffffff;
}

.nav a:hover::after {
  width: 100%;
}
/* BUTTON */
.btn-header {
  padding: 10px 18px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: #ffffff;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: 0.3s;
}

.btn-header:hover {
  background: rgba(255,255,255,0.15);
}

/* SCROLL EFFECT */
.header.scrolled {
  background: rgba(15,15,20,0.6);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 12px 0;
}
.header {
  opacity: 0;
  transform: translateY(-20px);
  animation: headerFade 0.8s ease forwards;
}

@keyframes headerFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.nav a.active {
  color: #ffffff;
}

.nav a.active::after {
  width: 100%;
}

.header {
  background: rgba(10,10,15,0.15);
  backdrop-filter: blur(8px);
}

.header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.05);
}

/* SECTION */
.trust {
  padding: 120px 0;
  background: #f7f7f9;
  color: #111;
}

/* TITLE */
.section-title {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 60px;
  letter-spacing: -0.01em;
}

/* GRID */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* CARD */
.trust-card {
  padding: 32px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

/* HOVER */
.trust-card:hover {
  transform: translateY(-5px);
  border: 1px solid rgba(0,0,0,0.1);
}

/* TITLE WITH ICON */
.trust-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

/* ICON */
.trust-title svg {
  width: 18px;
  height: 18px;
  stroke: #111;
  stroke-width: 1.5;
  fill: none;
}

/* TEXT */
.trust-card h3 {
  font-size: 18px;
  font-weight: 500;
}

.trust-card p {
  font-size: 15px;
  color: rgba(0,0,0,0.6);
  line-height: 1.6;
}

/* NOTE */
.trust-note {
  margin-top: 50px;
  font-size: 14px;
  color: rgba(0,0,0,0.5);
  max-width: 500px;
}

/* SECTION */
.branchen {
  padding: 120px 0;
  background: #0b0b0f;
}

/* TITLE */
.section-title {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 15px;
  letter-spacing: -0.01em;
}

/* SUBTITLE */
.section-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 60px;
  max-width: 500px;
}

/* GRID */
.branchen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* CARD */
.branchen-card {
  display: block;
  padding: 40px 30px;
  border-radius: 18px;
  text-decoration: none;

  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);

  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* HOVER EFFECT */
.branchen-card::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: radial-gradient(circle, rgba(106,92,255,0.15), transparent 60%);
  opacity: 0;
  transition: 0.4s;
}

.branchen-card:hover::before {
  opacity: 1;
}

/* HOVER MAIN */
.branchen-card:hover {
  transform: translateY(-8px);
  border: 1px solid rgba(255,255,255,0.12);
}

/* TEXT */
.card-content h3 {
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 500;
  color: #fff;
}

.card-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.branchen-card::after {
  content: "→";
  position: absolute;
  right: 20px;
  bottom: 20px;
  opacity: 0;
  transition: 0.3s;
}

.branchen-card:hover::after {
  opacity: 1;
}

/* SECTION */
.portfolio {
  padding: 120px 0;
  background: #f7f7f9;
  color: #111;
}

/* GRID */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.portfolio-card {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
  text-decoration: none;
  transition: all 0.35s ease;
}

.portfolio-card:hover {
  transform: translateY(-8px);
}

/* IMAGE */
.portfolio-image {
  height: 240px;
  position: relative;
}

/* overlay */
.portfolio-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.25), transparent);
}

/* images */
.nail {
  background: url('img/nail.jpg') center/cover;
}

.gastro {
  background: url('img/gastro.jpg') center/cover;
}

.gold {
  background: url('img/gold.jpg') center/cover;
}

/* CONTENT */
.portfolio-content {
  padding: 22px;
}

.portfolio-content h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.portfolio-content p {
  font-size: 14px;
  color: rgba(0,0,0,0.6);
}

/* LINK */
.portfolio-content span {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: #111;
  transition: 0.3s;
}

.portfolio-card:hover span {
  transform: translateX(6px);
}

.nail {
  background: url('img/nail.png') center/cover no-repeat;
}

.gastro {
  background: url('img/gastro.png') center/cover no-repeat;
}

.gold {
  background: url('img/gold.png') center/cover no-repeat;
}

.portfolio-image {
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.portfolio-image {
  height: 240px;
  background-size: cover;
  background-position: top;
}

.portfolio-image {
  transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-image {
  transform: scale(1.05);
}

.cta {
  padding: 120px 0;
  background: #0b0b0f;
  text-align: center;
}

/* TITLE */
.cta h2 {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 15px;
}

/* SUB */
.cta-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 30px;
}

/* EXTRA INFO */
.cta-extra {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

/* NOTE */
.cta-note {
  margin-top: 15px;
  font-size: 14px;
  color: rgba(255,255,255,0.4);
}

/* OVERLAY */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(10,10,15,0.7);
  backdrop-filter: blur(6px);

  display: none;
  justify-content: center;
  align-items: center;

  z-index: 2000;
}

/* MODAL BOX */
.modal-content {
  background: linear-gradient(145deg, #0f0f14, #15151c);
  padding: 40px;
  border-radius: 20px;

  width: 90%;
  max-width: 420px;

  position: relative;

  box-shadow: 
    0 20px 60px rgba(0,0,0,0.5),
    inset 0 0 0 1px rgba(255,255,255,0.05);
}

/* CLOSE BUTTON */
.close {
  position: absolute;
  top: 15px;
  right: 18px;
  font-size: 18px;
  cursor: pointer;
  color: rgba(255,255,255,0.5);
}

.close:hover {
  color: #fff;
}

/* TITLE */
.modal-content h3 {
  font-size: 22px;
  margin-bottom: 5px;
}

/* SUBTEXT */
.form-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* INPUTS */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px;
  border-radius: 12px;

  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);

  color: #fff;
  font-size: 14px;

  transition: 0.2s;
}

/* FOCUS */
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border: 1px solid rgba(120,100,255,0.6);
  background: rgba(255,255,255,0.05);
}

/* TEXTAREA */
.contact-form textarea {
  min-height: 100px;
  resize: none;
}

.success-popup {
  position: fixed;
  bottom: 40px;
  left: 50%;

  transform: translateX(-50%) translateY(40px) scale(0.95);

  background: #ffffff;
  color: #111;

  padding: 16px 24px;
  border-radius: 14px;

  box-shadow: 0 20px 60px rgba(0,0,0,0.2);

  opacity: 0;
  pointer-events: none;

  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);

  z-index: 9999;

  font-size: 14px;
}

/* АКТИВНОЕ СОСТОЯНИЕ */
.success-popup.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}

/* КРЕСТИК */
.popup-close {
  position: absolute;
  top: 6px;
  right: 10px;
  cursor: pointer;
  font-size: 14px;
}

/* CHECKBOX BLOCK */
.form-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 5px;
}

/* CHECKBOX */
.checkbox {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;

  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.checkbox input {
  margin: 0;
  margin-top: 4px;
}

.checkbox span {
  line-height: 1.4;
}
/* SMALL TEXT */
.checkbox.small {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* BUTTON */
.contact-form .btn-primary {
  margin-top: 10px;
}

.btn-primary {
  box-shadow: 0 10px 25px rgba(123,108,255,0.4);
}

/* ===== PROCESS BLOCK ===== */

.process {
  padding: 100px 20px;
  background: radial-gradient(circle at top, #111 0%, #000 100%);
}

.process .section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 10px;
}

.process .section-subtitle {
  text-align: center;
  color: #aaa;
  margin-bottom: 50px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-card {
  background: rgba(255,255,255,0.03);
  padding: 30px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
  transition: 0.3s;
}

.process-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.process-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  opacity: 0;
  transition: 0.3s;
}

.process-card:hover::before {
  opacity: 0.3;
}

.step {
  font-size: 48px;
  font-weight: 700;
  color: rgba(255,255,255,0.08);
  position: absolute;
  top: 20px;
  right: 20px;
}

.process-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.process-card p {
  font-size: 14px;
  color: #aaa;
  line-height: 1.5;
}

/* 📱 АДАПТИВ */

@media (max-width: 992px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-card {
    text-align: center;
  }

  .step {
    position: static;
    display: block;
    margin-bottom: 10px;
  }
}

.pricing {
  padding: 100px 20px;
  background: #0a0a0a;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.pricing-card {
  background: #0d0d0d;
  padding: 35px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: 0.3s;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255,255,255,0.2);
}

.price {
  font-size: 34px;
  font-weight: 600;
  margin: 10px 0;
}

.tag {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 20px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.pricing-card ul li {
  margin-bottom: 8px;
  font-size: 14px;
  color: #ccc;
}

.pricing-card ul .sub {
  font-size: 13px;
  color: #888;
  margin-left: 10px;
}

.recommend {
  margin: 20px 0;
  font-size: 13px;
  color: #aaa;
}

.recommend strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
}

.pricing-card .btn-primary {
  margin-top: 10px;
  display: inline-block;
}

/* выделенный тариф */
.featured {
  border: 1px solid #fff;
  transform: scale(1.05);
}

.badge {
  position: absolute;
  top: -10px;
  left: 20px;
  background: #fff;
  color: #000;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 10px;
}

/* адаптив */
@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .featured {
    transform: none;
  }
}

.faq {
  background: #fff;
  color: #000;
  padding: 100px 20px;
}

.section-title.dark {
  text-align: center;
  font-size: 32px;
  margin-bottom: 10px;
}

.section-subtitle.dark {
  text-align: center;
  color: #666;
  margin-bottom: 50px;
}

/* контейнер */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

/* карточка */
.faq-item {
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 15px;
  transition: 0.3s;
  cursor: pointer;
}

/* hover эффект */
.faq-item:hover {
  border-color: #000;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transform: translateY(-3px);
}

/* вопрос */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
  font-weight: 500;
}

/* плюс/минус */
.faq-icon {
  width: 18px;
  height: 18px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: #000;
  transition: 0.3s;
}

.faq-icon::before {
  width: 18px;
  height: 2px;
  top: 8px;
  left: 0;
}

.faq-icon::after {
  width: 2px;
  height: 18px;
  left: 8px;
  top: 0;
}

/* ответ */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-top: 0;
}

/* активное состояние */
.faq-item.active {
  border-color: #000;
  background: #fafafa;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  margin-top: 15px;
}

.faq-item.active .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.cta-final {
  background: #000;
  color: #fff;
  padding: 120px 20px;
  text-align: center;
}

.cta-final h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.cta-text {
  color: #aaa;
  margin-bottom: 30px;
  font-size: 16px;
}

.btn-primary.big {
  padding: 15px 35px;
  font-size: 16px;
  margin-bottom: 30px;
  display: inline-block;
}

.cta-benefits {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 50px;
  color: #aaa;
  font-size: 14px;
}

/* контакты */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: #0d0d0d;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
  border: 1px solid rgba(255,255,255,0.05);
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.2);
}

.icon {
  font-size: 22px;
}

.label {
  font-size: 12px;
  color: #aaa;
}

.value {
  font-size: 14px;
}

/* адаптив */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.whatsapp-glass {
  position: fixed;
  bottom: 25px;
  right: 25px;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 14px 20px;
  border-radius: 40px;

  font-size: 14px;
  color: #fff;
  text-decoration: none;

  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255,255,255,0.15);

  box-shadow: 
    0 8px 30px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.2);

  transition: all 0.3s ease;
  z-index: 999;
}

/* текст */
.whatsapp-premium {
  position: fixed;
  bottom: 25px;
  right: 25px;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 14px 20px;
  border-radius: 40px;

  font-size: 14px;
  color: #fff;
  text-decoration: none;

  background: linear-gradient(135deg, #6f5cff, #9b7bff);
  border: 1px solid rgba(255,255,255,0.2);

  box-shadow: 
    0 10px 30px rgba(111,92,255,0.4),
    inset 0 1px 0 rgba(255,255,255,0.3);

  backdrop-filter: blur(10px);

  transition: all 0.35s ease;
  z-index: 999;
}

/* текст */
.whatsapp-premium p {
  margin: 0;
}

/* иконка */
.whatsapp-premium span {
  font-size: 18px;
}

/* 🔥 перелив при наведении */
.whatsapp-premium:hover {
  transform: translateY(-5px) scale(1.05);

  background: linear-gradient(135deg, #7d6bff, #b18cff);

  box-shadow: 
    0 15px 45px rgba(111,92,255,0.6),
    0 0 20px rgba(155,123,255,0.4);
}

/* ✨ мягкое свечение */
.whatsapp-premium::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 40px;

  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
  opacity: 0;
  transition: 0.3s;
}

.whatsapp-premium:hover::after {
  opacity: 1;
}

/* затемнение */
.thankyou-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 1000;
}

/* активное */
.thankyou-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* окно */
.thankyou-box {
  background: #111;
  color: #fff;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  max-width: 400px;

  transform: translateY(20px);
  transition: 0.3s;

  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.thankyou-overlay.active .thankyou-box {
  transform: translateY(0);
}

/* галочка */
.check {
  font-size: 40px;
  margin-bottom: 15px;
  color: #6f5cff;
}

/* текст */
.thankyou-box h3 {
  margin-bottom: 10px;
}

.thankyou-box p {
  color: #aaa;
  font-size: 14px;
  margin-bottom: 20px;
}

/* кнопка */
.close-thankyou {
  background: linear-gradient(135deg, #6f5cff, #9b7bff);
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.close-thankyou:hover {
  transform: scale(1.05);
}

/* планшеты */
@media (max-width: 768px) {

  .thankyou-box {
    max-width: 90%;
    padding: 30px 20px;
  }

  .thankyou-box h3 {
    font-size: 22px;
  }

  .thankyou-box p {
    font-size: 14px;
  }

  .close-thankyou {
    width: 100%;
    padding: 14px;
    font-size: 15px;
  }

}


/* телефоны */
@media (max-width: 480px) {

  .thankyou-box {
    max-width: 92%;
    padding: 25px 18px;
    border-radius: 16px;
  }

  .check {
    font-size: 32px;
  }

  .thankyou-box h3 {
    font-size: 20px;
  }

  .thankyou-box p {
    font-size: 13px;
    line-height: 1.5;
  }

}

.legal {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 13px;
}

.legal a {
  color: #aaa;
  text-decoration: none;
  transition: 0.3s;
}

.legal a:hover {
  color: #fff;
}

/* ===== ОСНОВА ===== */

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

/* чтобы ничего не вылазило */
body {
  overflow-x: hidden;
}

@media (max-width: 992px) {

  .container {
    padding: 0 20px;
  }

  h1 {
    font-size: 32px;
    line-height: 1.3;
  }

  .section-title {
    font-size: 26px;
  }

  .hero-content {
    text-align: center;
  }

  .buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* карточки */
  .pricing-grid,
  .process-grid,
  .portfolio-grid,
  .branchen-grid {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width: 768px) {

  h1 {
    font-size: 26px;
  }

  .section-title {
    font-size: 22px;
  }

  .section-subtitle {
    font-size: 14px;
  }

  /* кнопки */
  .buttons {
    flex-direction: column;
    gap: 10px;
  }

  .btn-primary,
  .btn-glass {
    width: 100%;
    text-align: center;
  }

  /* ВСЕ карточки в 1 колонку */
  .pricing-grid,
  .process-grid,
  .portfolio-grid,
  .branchen-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* модалка */
  .modal-content {
    width: 90%;
    padding: 25px;
  }

  /* CTA */
  .cta-extra {
    flex-direction: column;
    gap: 10px;
  }

}

@media (max-width: 480px) {

  body {
    font-size: 14px;
  }

  .section-title {
    font-size: 20px;
  }

  .pricing-card,
  .process-card {
    padding: 20px;
  }

}

/* ===== MOBILE FIX FINAL ===== */

/* убираем любые вылазящие элементы */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* ===== HERO ===== */
@media (max-width: 768px) {

  .hero h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .subtitle {
    font-size: 14px;
  }

  .buttons {
    flex-direction: column;
    gap: 10px;
  }

  .btn-primary,
  .btn-glass {
    width: 100%;
    text-align: center;
  }

}

/* ===== HEADER ===== */
@media (max-width: 768px) {

  .header-inner {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  .nav {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

}

/* ===== GRADIENT FIX ===== */
@media (max-width: 768px) {

  .gradient-bg {
    width: 300px;
    height: 300px;
    filter: blur(80px);
  }

}

/* ===== GRID FIX ===== */
@media (max-width: 768px) {

  .trust-grid,
  .branchen-grid,
  .portfolio-grid,
  .process-grid,
  .pricing-grid,
  .contact-grid {
    grid-template-columns: 1fr !important;
  }

}

/* ===== SECTIONS SPACING ===== */
@media (max-width: 768px) {

  .trust,
  .branchen,
  .portfolio,
  .cta,
  .process,
  .pricing,
  .faq,
  .cta-final {
    padding: 70px 20px;
  }

}

/* ===== MODAL ===== */
@media (max-width: 768px) {

  .modal-content {
    width: 90%;
    padding: 25px;
  }

}

/* ===== TEXT SCALE ===== */
@media (max-width: 480px) {

  h1 {
    font-size: 24px;
  }

  .section-title {
    font-size: 20px;
  }

}

/* ===== CLEAN CHECKBOX ===== */

.form-options .checkbox {
  display: flex;
  align-items: center;
  gap: 8px;

  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

/* чекбокс */
.form-options .checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;

  width: 14px;
  height: 14px;

  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 3px;

  cursor: pointer;
  position: relative;

  flex-shrink: 0;
}

/* галочка */
.form-options .checkbox input[type="checkbox"]:checked {
  background: #6f5cff;
  border-color: #6f5cff;
}

.form-options .checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;

  width: 3px;
  height: 7px;

  border: solid white;
  border-width: 0 2px 2px 0;

  transform: rotate(45deg);

  top: 1px;
  left: 4px;
}

/* текст */
.form-options .checkbox span {
  line-height: 1.4;
}

/* ===== LOGO FIX ===== */

.logo {
  display: flex;
  align-items: center;
}

/* десктоп */
.logo img {
  height: 104px;
  width: auto;
  max-width: 160px; /* ограничение ширины */
  object-fit: contain;
}

/* мобильная версия */
@media (max-width: 768px) {

  .logo img {
    height: 52px;
    max-width: 120px; /* ещё меньше */
  }

}