:root {
  --bg: #0e1116;
  --blue: #10233f;
  --blue-2: #132d52;
  --cyan: #00c8d7;
  --white: #ffffff;
  --muted: #a9b2be;
  --line: rgba(255, 255, 255, 0.13);
  --glass: rgba(255, 255, 255, 0.07);
  --shadow: 0 18px 70px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  display: block;
  width: 100%;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(14, 17, 22, 0.52);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  transition: background 0.25s ease, padding 0.25s ease;
}

.site-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(14, 17, 22, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(210px, 28vw);
  min-width: 148px;
}

.brand__logo {
  width: 100%;
  height: 54px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 14px rgba(0, 200, 215, 0.2));
}

.nav {
  justify-self: center;
  display: flex;
  gap: 28px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.nav a,
.header-phone {
  transition: color 0.2s ease;
}

.nav a:hover,
.header-phone:hover {
  color: var(--cyan);
}

.header-phone {
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--glass);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.section,
.section-dark {
  position: relative;
  padding: 108px clamp(20px, 5vw, 72px);
}

.section-dark {
  background: var(--bg);
}

.section-blue {
  background:
    linear-gradient(180deg, rgba(16, 35, 63, 0.94), rgba(14, 17, 22, 0.98)),
    var(--blue);
  overflow: hidden;
}

.section-blue::before,
.stats::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  opacity: 0.32;
  background:
    radial-gradient(ellipse at 20% 100%, rgba(0, 200, 215, 0.18), transparent 38%),
    repeating-linear-gradient(105deg, transparent 0 30px, rgba(0, 200, 215, 0.1) 31px 32px);
  pointer-events: none;
}

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-top: 132px;
}

.hero__media,
.final-cta__media {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-workshop.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  will-change: transform;
}

.hero__overlay,
.final-cta__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 17, 22, 0.96) 0%, rgba(14, 17, 22, 0.72) 42%, rgba(14, 17, 22, 0.22) 100%),
    linear-gradient(0deg, rgba(14, 17, 22, 0.88) 0%, rgba(14, 17, 22, 0.02) 38%);
}

.water-sheen {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background: linear-gradient(115deg, transparent 0 45%, rgba(0, 200, 215, 0.32) 48%, transparent 53% 100%);
  animation: sheen 7s ease-in-out infinite;
}

.particles i {
  position: absolute;
  width: 2px;
  height: 46px;
  border-radius: 999px;
  background: linear-gradient(transparent, rgba(0, 200, 215, 0.7), transparent);
  animation: drift 8s linear infinite;
}

.particles i:nth-child(1) { left: 12%; top: 24%; animation-delay: 0s; }
.particles i:nth-child(2) { left: 22%; top: 72%; animation-delay: -2s; }
.particles i:nth-child(3) { left: 41%; top: 16%; animation-delay: -4s; }
.particles i:nth-child(4) { left: 56%; top: 58%; animation-delay: -1s; }
.particles i:nth-child(5) { left: 68%; top: 28%; animation-delay: -3s; }
.particles i:nth-child(6) { left: 79%; top: 76%; animation-delay: -5s; }
.particles i:nth-child(7) { left: 88%; top: 35%; animation-delay: -6s; }
.particles i:nth-child(8) { left: 34%; top: 88%; animation-delay: -7s; }

.hero__content,
.final-cta__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

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

h1,
h2 {
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 24px;
  font-size: clamp(48px, 8vw, 112px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 68px);
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.15;
}

.hero__lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 22px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  color: #061014;
  background: var(--cyan);
  box-shadow: 0 12px 36px rgba(0, 200, 215, 0.3);
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero__badges li {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
}

.section-head {
  max-width: 880px;
  margin-bottom: 46px;
}

.section-head h2 {
  margin-bottom: 0;
}

.benefit-grid,
.service-grid,
.process-grid,
.review-grid {
  display: grid;
  gap: 18px;
}

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

.benefit-card,
.service-card,
.process-step,
.review-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.benefit-card:hover,
.service-card:hover,
.process-step:hover,
.review-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 200, 215, 0.55);
  background: rgba(255, 255, 255, 0.085);
}

.benefit-card {
  min-height: 230px;
  padding: 28px;
}

.benefit-card strong {
  display: block;
  margin: 20px 0 8px;
  font-size: 22px;
}

.benefit-card p,
.service-card p,
.process-step p,
.review-card p,
.faq p {
  color: var(--muted);
}

.icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(0, 200, 215, 0.44);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(0, 200, 215, 0.05));
  box-shadow: inset 0 0 22px rgba(0, 200, 215, 0.16), 0 0 28px rgba(0, 200, 215, 0.2);
}

.icon::before,
.icon::after {
  content: "";
  position: absolute;
  border: 2px solid var(--cyan);
}

.icon-shield::before { width: 20px; height: 24px; border-radius: 10px 10px 14px 14px; }
.icon-medal::before { width: 22px; height: 22px; border-radius: 50%; }
.icon-wrench::before { width: 24px; height: 8px; transform: rotate(-35deg); border-radius: 8px; }
.icon-timer::before { width: 22px; height: 22px; border-radius: 50%; }
.icon-scan::before { width: 26px; height: 18px; border-radius: 4px; }
.icon-pin::before { width: 20px; height: 20px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.icon-phone::before { width: 22px; height: 22px; border-width: 0 0 3px 3px; border-radius: 4px; transform: rotate(-45deg); }
.icon-clock::before { width: 24px; height: 24px; border-radius: 50%; }
.icon-chat::before { width: 26px; height: 18px; border-radius: 7px; }
.icon-mail::before { width: 26px; height: 18px; border-radius: 4px; }
.icon-mail::after { width: 16px; height: 16px; border-width: 0 0 2px 2px; transform: translateY(-3px) rotate(-45deg); }

.service-visual {
  max-width: 1180px;
  margin: 0 auto 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-visual img {
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

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

.service-card {
  min-height: 240px;
  padding: 26px;
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 8px;
  color: var(--cyan);
  border: 1px solid rgba(0, 200, 215, 0.45);
  font-size: 24px;
  box-shadow: 0 0 26px rgba(0, 200, 215, 0.18);
}

.brand-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.brand-strip span {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  text-align: center;
  filter: grayscale(1);
}

.seo-area {
  background:
    linear-gradient(180deg, rgba(14, 17, 22, 0.98), rgba(16, 35, 63, 0.72)),
    var(--bg);
}

.seo-area__content {
  max-width: 980px;
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.seo-area__content p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

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

.process-step {
  padding: 30px;
}

.process-step span,
.stat strong {
  font-family: "Bebas Neue", Impact, sans-serif;
  color: var(--cyan);
  line-height: 0.9;
}

.process-step span {
  display: block;
  margin-bottom: 28px;
  font-size: 62px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  overflow: hidden;
}

.stat {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  padding: 28px;
  border-left: 1px solid var(--line);
}

.stat strong {
  font-size: clamp(58px, 8vw, 104px);
}

.stat span {
  color: var(--muted);
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-auto-rows: 270px;
  gap: 18px;
}

.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--blue);
}

.gallery-item--large {
  grid-row: span 2;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(14, 17, 22, 0.72);
  backdrop-filter: blur(10px);
  font-weight: 800;
}

.real-works__intro {
  max-width: 920px;
  margin: -22px 0 34px;
}

.real-works__intro p {
  color: var(--muted);
  font-size: 18px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 230px;
  gap: 14px;
}

.work-item {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #080b0f;
  cursor: zoom-in;
  box-shadow: var(--shadow);
}

.work-item--wide {
  grid-column: span 2;
}

.work-item--tall {
  grid-row: span 2;
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.work-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.78));
  opacity: 0.9;
}

.work-item span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  color: var(--white);
  font-weight: 800;
  text-align: left;
}

.work-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

.work-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(4, 7, 12, 0.88);
  backdrop-filter: blur(16px);
}

.work-lightbox.is-open {
  display: grid;
}

.work-lightbox__dialog {
  position: relative;
  width: min(1120px, 100%);
  max-height: 92svh;
}

.work-lightbox img {
  max-height: 82svh;
  width: 100%;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #05070a;
  box-shadow: var(--shadow);
}

.work-lightbox__caption {
  margin: 12px 56px 0 0;
  color: var(--white);
  font-weight: 800;
}

.work-lightbox__close {
  position: absolute;
  top: -16px;
  right: -16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--white);
  background: rgba(14, 17, 22, 0.9);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

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

.review-card {
  padding: 28px;
}

.stars {
  margin-bottom: 16px;
  color: var(--cyan);
  letter-spacing: 0.08em;
}

.faq-list {
  max-width: 980px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.055);
  overflow: hidden;
}

summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(0, 200, 215, 0.55);
  border-radius: 50%;
  color: var(--cyan);
}

details p {
  margin: 0;
  padding: 0 22px 24px 68px;
}

.contacts {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(420px, 1.15fr);
  gap: 42px;
}

.contact-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.84);
}

.contact-list .icon {
  width: 38px;
  height: 38px;
}

.lead-form {
  display: grid;
  gap: 12px;
  max-width: 520px;
}

input,
select {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

select option {
  color: #10131a;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.map {
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.85) invert(0.9) contrast(0.95);
}

.final-cta {
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.final-cta__media {
  background-image: url("assets/cta-water.png");
}

.final-cta__content p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #090b0f;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes sheen {
  0%, 100% { transform: translateX(-25%); }
  50% { transform: translateX(25%); }
}

@keyframes drift {
  0% { transform: translate3d(0, 30px, 0) rotate(20deg); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translate3d(26px, -90px, 0) rotate(20deg); opacity: 0; }
}

@media (max-width: 1100px) {
  .benefit-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-strip,
  .process-grid,
  .stats,
  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-phone {
    display: none;
  }

  .brand {
    width: 156px;
    min-width: 0;
  }

  .brand__logo {
    height: 46px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 74px;
    right: 20px;
    left: 20px;
    display: none;
    grid-column: 1 / -1;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(14, 17, 22, 0.95);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: grid;
  }

  .section,
  .section-dark {
    padding: 78px 20px;
  }

  .hero {
    min-height: 920px;
  }

  .hero__overlay,
  .final-cta__overlay {
    background:
      linear-gradient(180deg, rgba(14, 17, 22, 0.88) 0%, rgba(14, 17, 22, 0.76) 52%, rgba(14, 17, 22, 0.92) 100%),
      linear-gradient(90deg, rgba(14, 17, 22, 0.88), rgba(14, 17, 22, 0.2));
  }

  .hero__actions,
  .footer {
    flex-direction: column;
  }

  .hero__actions .btn,
  .lead-form .btn {
    width: 100%;
  }

  .benefit-grid,
  .service-grid,
  .brand-strip,
  .process-grid,
  .stats,
  .review-grid,
  .gallery-grid,
  .works-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid,
  .works-grid {
    grid-auto-rows: 260px;
  }

  .gallery-item--large,
  .work-item--wide,
  .work-item--tall {
    grid-column: auto;
    grid-row: span 1;
  }

  .work-lightbox {
    padding: 18px;
  }

  .work-lightbox__close {
    top: 8px;
    right: 8px;
  }

  .service-visual img {
    aspect-ratio: 1 / 1;
  }

  .map {
    min-height: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
