@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Nunito:wght@500;600&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  height: 100%;
}

body {
  font-family: "Manrope", "Segoe UI", Tahoma, Verdana, sans-serif;
  line-height: 1.6;
  color: #eff4ff;
  background: #0f1727;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

footer {
  margin-top: auto;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 12, 32, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.header-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
}

.logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #ff965f;
}

nav {
  display: flex;
  gap: 18px;
}

nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: #dce7ff;
}

nav a:hover {
  background: rgba(255, 150, 95, 0.13);
  color: #ffb082;
}

.burger {
  display: none;
  width: 30px;
  height: 22px;
  cursor: pointer;
  position: relative;
}

.burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #fff;
  transition: 0.25s;
}

.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 9px; }
.burger span:nth-child(3) { top: 18px; }

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

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

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

.hero {
  min-height: clamp(480px, 62vh, 720px);
  padding: clamp(84px, 9vh, 110px) 0 clamp(64px, 7vh, 90px);
  background-image: linear-gradient(rgba(1, 10, 27, 0.5), rgba(2, 6, 20, 0.65)), url("images/hero/main-hero.png"), url("images/2male.webp");
  background-size: cover;
  background-position: center;
}

.hero .container {
  max-width: 860px;
}

.hero-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: #fdd6c0;
  font-size: 13px;
}

.hero h1 {
  font-size: clamp(34px, 2.4vw + 16px, 58px);
  line-height: 1.12;
  max-width: 800px;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.hero-subtitle {
  margin-top: 18px;
  font-size: clamp(19px, 1.1vw + 12px, 29px);
  max-width: 760px;
  color: #e8efff;
}

.hero-buttons {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn,
.btn-outline,
.floating-cta button,
.floating-cta a {
  border-radius: 10px;
  padding: 14px 22px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s;
  border: none;
}

.btn,
.floating-cta button {
  background: #ff965f;
  color: #fff;
  font-weight: 700;
}

.btn:hover,
.floating-cta button:hover {
  background: #ff7f3f;
}

.btn-outline,
.floating-cta a {
  background: transparent;
  border: 2px solid #ff965f;
  color: #fff;
  font-weight: 600;
}

.btn-outline:hover,
.floating-cta a:hover {
  background: rgba(255, 150, 95, 0.14);
}

.hero-points {
  margin-top: 20px;
  display: grid;
  gap: 6px;
  list-style: none;
}

.hero-points li::before {
  content: "-";
  color: #ffb082;
  margin-right: 8px;
}

section {
  padding: 76px 0;
}

h2 {
  text-align: center;
  margin-bottom: 24px;
  font-size: clamp(30px, 4.2vw, 40px);
  color: #ffab7d;
}

.page-title {
  text-align: center;
  margin-bottom: 24px;
  font-size: clamp(30px, 4.2vw, 40px);
  color: #ffab7d;
}

.section-note {
  text-align: center;
  margin-bottom: 24px;
  color: #c9d7f6;
}

.image-note {
  margin-top: 16px;
  text-align: center;
  color: #9fb0d4;
  font-size: 14px;
}

.quick-trust {
  background: #141f35;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.trust-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.trust-item strong {
  display: block;
  color: #ffb082;
  margin-bottom: 4px;
}

.trust-item span {
  color: #d3def7;
  font-size: 14px;
}

.services,
.directions,
.portfolio,
.service-page {
  background: #131e34;
}

.about,
.contacts,
.faq {
  background: #10192c;
}

.services-grid,
.direction-grid,
.portfolio-grid,
.steps-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

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

.direction-grid {
  grid-template-columns: repeat(2, 1fr);
  align-items: stretch;
}

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

.steps-grid {
  grid-template-columns: repeat(4, 1fr);
}

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

.card,
.direction-card,
.portfolio-item,
.step-card,
.faq-item {
  border-radius: 14px;
  padding: 20px;
  background: #1d2b45;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 8px 24px rgba(5, 11, 25, 0.35);
}

.direction-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 220px;
}

.direction-card p {
  margin-top: 8px;
}

.card:hover,
.direction-card:hover,
.portfolio-item:hover,
.step-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 150, 95, 0.6);
}

.card h3,
.direction-card h3,
.portfolio-item h3,
.step-card h3,
.faq-item h3 {
  margin-bottom: 8px;
  color: #ffb082;
}

.card p,
.direction-card p,
.portfolio-item p,
.step-card p,
.faq-item p,
.contacts p,
.service-info p {
  color: #d6e2fe;
}

.card-price {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  color: #ffd4bc;
}

.section-hidden-temp {
  display: none;
}

.services-button {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.portfolio-placeholder {
  height: 150px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: repeating-linear-gradient(135deg, #26344f, #26344f 12px, #2d3d5b 12px, #2d3d5b 24px);
  color: #d7e5ff;
  font-weight: 600;
}

.step-card span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #ff965f;
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}

.contacts a {
  color: #ffc9a9;
}

footer {
  padding: 24px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: #070d18;
  color: #90a0be;
}

.floating-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  gap: 8px;
}

.floating-cta button {
  border: none;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 100;
  padding: 16px;
}

.modal-content {
  position: relative;
  width: min(520px, 95vw);
  border-radius: 12px;
  padding: 24px;
  background: #1a2a43;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-content h2 {
  text-align: left;
  font-size: 28px;
  margin-bottom: 12px;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #31486e;
  background: #0f1c32;
  color: #f0f5ff;
  font-family: "Nunito", "Manrope", "Segoe UI", Tahoma, Verdana, sans-serif;
  font-weight: 600;
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.45;
}

.modal-content textarea {
  min-height: 110px;
  resize: vertical;
}

.modal-content input::placeholder,
.modal-content textarea::placeholder {
  font-family: "Nunito", "Manrope", "Segoe UI", Tahoma, Verdana, sans-serif;
  font-weight: 600;
  letter-spacing: 0.1px;
  color: #b7c5e3;
}

.modal-content button {
  margin-top: 12px;
}

.whatsapp-link {
  color: #59a8ff;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1.5px;
  font-weight: 600;
}

.whatsapp-link:hover {
  color: #8fc4ff;
}

.close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
}

.service-page h1 {
  text-align: center;
  font-size: clamp(30px, 5vw, 40px);
  color: #ffab7d;
  margin-bottom: 28px;
}

.service-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.service-image img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-info ul {
  padding-left: 20px;
  margin: 14px 0;
}

.service-info li {
  margin-bottom: 8px;
}

.price {
  font-size: 28px;
  color: #ff965f;
  font-weight: 800;
  margin: 14px 0;
}

.service-info .price {
  color: #ff965f;
}

@media (max-width: 980px) {
  .services-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .service-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0c1730;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px;
    flex-direction: column;
  }

  nav.active {
    display: flex;
  }

  .burger {
    display: block;
  }

  .services-grid,
  .direction-grid,
  .portfolio-grid,
  .steps-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .direction-card {
    min-height: auto;
  }

  .floating-cta {
    left: 10px;
    right: 10px;
    bottom: 10px;
    justify-content: stretch;
  }

  .floating-cta a,
  .floating-cta button {
    flex: 1;
    text-align: center;
  }
}
