:root {
  --black: #111418;
  --ink: #20252b;
  --muted: #69727d;
  --red: #c8192e;
  --red-dark: #9e1021;
  --line: #e8ecef;
  --soft: #f5f7f8;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(17, 20, 24, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  background: var(--white);
}

body.is-lightbox-open {
  overflow: hidden;
}

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

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.top-strip {
  position: sticky;
  top: 0;
  z-index: 30;
  color: var(--white);
  background: linear-gradient(90deg, var(--black), #272c33);
}

.top-strip__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.top-strip p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.top-strip__button {
  flex: 0 0 auto;
  padding: 8px 14px;
  color: var(--white);
  background: var(--red);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 42px;
  z-index: 29;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  width: 286px;
  height: 82px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding: 28px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--black);
  border: 0;
  border-radius: 6px;
}

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

.hero {
  background: var(--black);
}

.slider {
  position: relative;
  min-height: calc(100vh - 120px);
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 520ms ease, visibility 520ms ease;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
}

.slide img {
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 120px);
  object-fit: cover;
}

.slide--camera img {
  object-position: right center;
}

.slide__overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

.slide__content {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 64px 0 96px;
  color: var(--white);
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.46);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  width: 34px;
  height: 3px;
  content: "";
  background: var(--red);
}

.slide h1 {
  max-width: 760px;
  margin: 18px 0 18px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

.slide p {
  max-width: 620px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.7;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  color: var(--white);
  background: var(--red);
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(200, 25, 46, 0.28);
}

.primary-button:hover,
.top-strip__button:hover {
  background: var(--red-dark);
}

.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.slider-btn--prev {
  left: 24px;
}

.slider-btn--next {
  right: 24px;
}

.slider-dots {
  position: absolute;
  right: 0;
  bottom: 34px;
  left: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.slider-dots button {
  width: 38px;
  height: 4px;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.slider-dots button.is-active {
  background: var(--red);
}

.section {
  padding: 94px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading--wide {
  max-width: none;
}

.section-heading h2,
.about h2,
.contact h2 {
  margin: 14px 0 0;
  color: var(--black);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading__single {
  white-space: nowrap;
  font-size: clamp(24px, 3vw, 40px);
}

.services {
  background: var(--soft);
}

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

.service-card {
  min-height: 270px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 35px rgba(17, 20, 24, 0.06);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
  will-change: transform;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(200, 25, 46, 0.28);
  box-shadow: 0 22px 48px rgba(17, 20, 24, 0.13);
}

.service-card:hover .service-card__icon {
  animation: serviceIconPulse 620ms ease;
}

.service-card__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--black);
  border-left: 5px solid var(--red);
  border-radius: 8px;
  font-weight: 900;
}

.service-card h3 {
  margin: 28px 0 12px;
  color: var(--black);
  font-size: 23px;
}

.service-card p,
.about__text p,
.contact-info p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.expertise-strip {
  padding: 34px 0;
  background: var(--black);
}

.expertise-strip__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.expertise-strip span {
  padding: 10px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.trust-panel {
  padding: 84px 0;
  background: var(--white);
}

.trust-panel__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 42px;
  align-items: center;
}

.trust-panel img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.trust-panel__content h2 {
  margin: 14px 0 18px;
  color: var(--black);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.trust-panel__content p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.trust-panel__content .slogan-line {
  margin-top: 22px;
  padding: 16px 18px;
  color: var(--black);
  background: var(--soft);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.55;
}

.about__grid,
.contact__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
  align-items: start;
}

.about__text {
  padding-top: 4px;
}

.about__title {
  opacity: 0;
  transform: translateX(-36px) translateY(24px) scale(0.94);
  filter: blur(8px);
}

.about__title.is-visible {
  animation: titleReveal 1800ms cubic-bezier(0.16, 0.84, 0.22, 1) forwards;
}

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

.about__stats div {
  padding: 18px;
  background: var(--black);
  border-radius: 8px;
  color: var(--white);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.about__stats div:hover {
  transform: scale(1.045);
  background: #1b2027;
  box-shadow: 0 16px 34px rgba(17, 20, 24, 0.18);
}

.about__stats strong,
.about__stats span {
  display: block;
}

.about__stats span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.brands {
  background: var(--black);
}

.brands .section-heading h2 {
  color: var(--white);
}

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

.brand-card {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  color: var(--white);
  background: #1c2128;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 17px;
  font-weight: 900;
  text-align: center;
}

.brand-card--logo {
  background: var(--white);
}

.brand-card--logo img {
  width: 100%;
  max-width: 190px;
  max-height: 72px;
  object-fit: contain;
}

.project-gallery {
  background: var(--white);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.photo-slot {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--muted);
  background:
    linear-gradient(135deg, rgba(200, 25, 46, 0.08), rgba(17, 20, 24, 0.06)),
    var(--soft);
  border: 1px dashed #c8d0d6;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  padding: 0;
  cursor: zoom-in;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.photo-slot:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(17, 20, 24, 0.13);
}

.photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.reference-card {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(17, 20, 24, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.reference-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(17, 20, 24, 0.12);
}

.reference-card img {
  width: 100%;
  max-width: 238px;
  max-height: 104px;
  object-fit: contain;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 86px 78px;
  background: rgba(6, 8, 11, 0.92);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1120px, 92vw);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  cursor: pointer;
}

.lightbox__close {
  top: 24px;
  right: 28px;
  width: 46px;
  height: 46px;
  font-size: 32px;
  line-height: 1;
}

.lightbox__nav {
  top: 50%;
  width: 58px;
  height: 58px;
  font-size: 46px;
  line-height: 1;
  transform: translateY(-50%);
}

.lightbox__nav--prev {
  left: 28px;
}

.lightbox__nav--next {
  right: 28px;
}

.contact {
  background: var(--soft);
}

.callback,
.contact-info {
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

form {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-intro {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

label {
  display: grid;
  gap: 8px;
  color: var(--black);
  font-size: 14px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  resize: vertical;
}

.consent-check {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

.consent-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--red);
}

.consent-check a {
  color: var(--red);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(200, 25, 46, 0.22);
  border-color: var(--red);
}

.contact-info {
  background: var(--black);
  color: var(--white);
}

.contact-info h2 {
  color: var(--white);
}

.contact-info a {
  display: block;
  margin-top: 18px;
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
}

.contact-info .contact-phone {
  font-size: clamp(28px, 3.4vw, 38px);
}

@keyframes serviceIconPulse {
  0% {
    transform: scale(1) rotate(0deg);
  }
  45% {
    transform: scale(1.08) rotate(-2deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

@keyframes titleReveal {
  0% {
    opacity: 0;
    transform: translateX(-36px) translateY(24px) scale(0.94);
    filter: blur(8px);
    text-shadow: 0 0 0 rgba(200, 25, 46, 0);
  }
  55% {
    opacity: 1;
    transform: translateX(6px) translateY(0) scale(1.015);
    filter: blur(0);
    text-shadow: 0 12px 26px rgba(200, 25, 46, 0.2);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
    filter: blur(0);
    text-shadow: none;
  }
}

.footer {
  color: rgba(255, 255, 255, 0.74);
  background: #0b0d10;
}

.footer__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--white);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 18px;
}

.footer-links a {
  font-size: 13px;
}

.legal-page {
  min-height: 100vh;
  padding: 70px 0;
  background:
    linear-gradient(135deg, rgba(200, 25, 46, 0.08), rgba(17, 20, 24, 0.04)),
    var(--soft);
}

.legal-page__inner {
  max-width: 930px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.legal-back {
  display: inline-flex;
  margin: 28px 34px 0;
  color: var(--red);
  font-weight: 900;
}

.legal-hero {
  margin-top: 22px;
  padding: 44px 42px;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(17, 20, 24, 0.96), rgba(17, 20, 24, 0.86)),
    var(--black);
}

.legal-hero span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.legal-page h1 {
  margin: 0 0 20px;
  color: var(--white);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
}

.legal-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.8;
}

.legal-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 28px 34px 4px;
}

.legal-summary div {
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-summary strong,
.legal-summary span {
  display: block;
}

.legal-summary strong {
  color: var(--black);
  font-size: 14px;
}

.legal-summary span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.legal-block {
  padding: 0 42px;
}

.legal-block:first-of-type {
  padding-top: 20px;
}

.legal-page h2 {
  margin: 30px 0 10px;
  color: var(--black);
  font-size: 22px;
}

.legal-page p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.legal-page ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.legal-page li + li {
  margin-top: 8px;
}

.legal-page a {
  color: var(--red);
  font-weight: 800;
}

.legal-note {
  margin: 34px 42px 42px;
  padding: 16px 18px;
  background: var(--soft);
  border-left: 4px solid var(--red);
  border-radius: 8px;
}

.cookie-consent {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 110;
  width: min(480px, calc(100% - 40px));
  display: grid;
  gap: 16px;
  padding: 20px;
  color: var(--white);
  background: rgba(17, 20, 24, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent strong {
  display: block;
  margin-bottom: 6px;
}

.cookie-consent p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.55;
}

.cookie-consent__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-consent button {
  min-height: 40px;
  padding: 0 16px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.cookie-consent button[data-cookie-accept] {
  background: var(--red);
  border-color: var(--red);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 92px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 15px;
  }

  .nav-links a::after {
    display: none;
  }

  .service-grid,
  .about__grid,
  .contact__grid,
  .trust-panel__inner,
  .brand-grid,
  .photo-grid,
  .reference-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about__grid,
  .contact__grid {
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .top-strip__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 0;
    text-align: center;
  }

  .site-header {
    top: 74px;
  }

  html {
    scroll-padding-top: 154px;
  }

  .brand img {
    width: 214px;
    height: 66px;
  }

  .nav {
    height: 86px;
  }

  .nav-links {
    top: 86px;
  }

  .lightbox {
    padding: 72px 18px;
  }

  .lightbox__nav {
    width: 46px;
    height: 46px;
    font-size: 36px;
  }

  .lightbox__nav--prev {
    left: 12px;
  }

  .lightbox__nav--next {
    right: 12px;
  }

  .slider,
  .slide img,
  .slide__content {
    min-height: 620px;
  }

  .slide h1 {
    font-size: 42px;
  }

  .slide p {
    font-size: 16px;
  }

  .slider-btn {
    display: none;
  }

  .section {
    padding: 68px 0;
  }

  .section-heading__single {
    white-space: normal;
  }

  .service-grid,
  .about__grid,
  .contact__grid,
  .trust-panel__inner,
  .brand-grid,
  .photo-grid,
  .reference-grid,
  .about__stats {
    grid-template-columns: 1fr;
  }

  .callback,
  .contact-info {
    padding: 24px;
  }

  .footer__inner {
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .legal-page__inner {
    padding: 0;
  }

  .legal-back {
    margin: 22px 20px 0;
  }

  .legal-hero,
  .legal-block {
    padding-right: 20px;
    padding-left: 20px;
  }

  .legal-summary {
    grid-template-columns: 1fr;
    padding-right: 20px;
    padding-left: 20px;
  }

  .legal-note {
    margin-right: 20px;
    margin-left: 20px;
  }
}
