/* ================================
   RESET
================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #080808;
  color: #ffffff;
  line-height: 1.6;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* ================================
   VARIABLES
================================ */

:root {
  --black: #080808;
  --dark: #111111;
  --dark-light: #181818;

  --white: #ffffff;
  --gray: #a5a5a5;
  --gray-dark: #787878;

  --accent: #d9ff00;

  --container: 1200px;

  --section-space: 120px;
  --section-edge-space: 60px;
  --section-heading-space: 48px;
  --hero-trust-space: 32px;
}

/* ================================
   COMMON
================================ */

.skip-link {
  position: absolute;

  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;

  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;

  border: 0;
}

.skip-link:focus-visible {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;

  width: auto;
  height: auto;
  padding: 12px 16px;
  margin: 0;

  overflow: visible;
  clip: auto;
  white-space: normal;

  background: var(--accent);
  color: #000000;

  outline: 2px solid #000000;
  outline-offset: 2px;

  font-size: 14px;
  font-weight: 700;
}

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

.section {
  padding: var(--section-edge-space) 0;
}

.section-heading {
  margin-bottom: var(--section-heading-space);
}

.section-heading__subtitle {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 15px;
}

.section-heading h2 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1;
  text-transform: uppercase;
}

.demo-notice {
  display: block;
  max-width: 720px;

  margin-top: 20px;
  padding-left: 14px;

  border-left: 2px solid var(--accent);

  color: var(--gray);

  font-size: 13px;
  line-height: 1.6;
}

.demo-notice strong {
  margin-right: 8px;

  color: var(--white);

  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

/* ================================
   HEADER
================================ */

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;

  padding: 28px 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 2px;
}

.logo span {
  color: var(--accent);
}

.navigation {
  display: flex;
  gap: 35px;
}

.navigation a {
  color: #d0d0d0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;

  transition: color 0.3s ease;
}

.navigation a:hover {
  color: var(--accent);
}

/* Hamburger */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px 10px;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  background: transparent;
  border: 0;
  cursor: pointer;
  position: relative;
  z-index: 20;
  flex: 0 0 auto;
}
.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  flex: 0 0 2px;
  background: var(--white);
}
/* Mobile menu open state */
.navigation.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--black);
  padding: 20px;
  gap: 10px;
  z-index: 10;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.navigation.open a {
  color: #d0d0d0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}
.navigation.open a:hover {
  color: var(--accent);
}

.header__button {
  padding: 12px 22px;

  border: 1px solid var(--accent);

  color: var(--accent);

  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;

  transition: all 0.3s ease;
}

.header__button:hover {
  background: var(--accent);
  color: #000000;
}

/* ================================
   BUTTONS
================================ */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 54px;
  padding: 0 30px;

  font-size: 12px;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: 1.5px;

  transition: all 0.3s ease;
}

.button--primary {
  background: var(--accent);
  color: #000000;
}

.button--primary:hover {
  background: #ffffff;
}

.button--outline {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.button--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ================================
   HERO
================================ */

.hero {
  position: relative;
  min-height: 100vh;

  display: flex;
  align-items: center;

  overflow: hidden;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.97) 0%,
      rgba(0, 0, 0, 0.82) 38%,
      rgba(0, 0, 0, 0.38) 75%,
      rgba(0, 0, 0, 0.55) 100%
    ),
    url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=2200&q=95")
      center / cover no-repeat;
}

.hero::after {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.25) 0%,
    transparent 45%,
    rgba(0, 0, 0, 0.75) 100%
  );

  pointer-events: none;
}

.hero__container {
  position: relative;
  z-index: 2;
}

.hero__content {
  max-width: 900px;
  padding-top: 100px;
}

.hero__demo-badge {
  display: inline-flex;

  margin-top: 20px;
  padding: 5px 9px;

  border: 1px solid rgba(255, 255, 255, 0.24);

  background: rgba(8, 8, 8, 0.52);
  color: #d0d0d0;

  font-size: 9px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.hero__subtitle {
  display: flex;
  align-items: center;
  gap: 15px;

  color: var(--accent);

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 5px;

  margin-top: 20px;
  margin-bottom: 30px;
}

.hero__subtitle::before {
  content: "";

  width: 45px;
  height: 2px;

  background: var(--accent);
}

.hero h1 {
  max-width: 950px;

  font-size: clamp(55px, 8vw, 115px);

  line-height: 0.88;

  text-transform: uppercase;
  letter-spacing: -5px;
}

.hero h1 span {
  display: block;

  color: var(--accent);
}

.hero__text {
  max-width: 560px;

  margin-top: 35px;

  color: #d0d0d0;

  font-size: 17px;
  line-height: 1.7;
}

.hero__buttons {
  display: flex;
  gap: 15px;

  margin-top: 45px;
}

/* ================================
   TRUST STRIP
================================ */

.trust-strip {
  padding-top: var(--hero-trust-space);

  background: var(--black);
}

.trust-strip + .section {
  padding-top: var(--section-space);
}

.trust-strip__grid {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  background: #0d0d0d;

  border-top: 1px solid #242424;
  border-bottom: 1px solid #242424;
}

.trust-item {
  display: grid;

  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto 1fr;

  column-gap: 18px;
  row-gap: 8px;

  min-width: 0;
  padding: 34px 26px;
}

.trust-item + .trust-item {
  border-left: 1px solid #2a2a2a;
}

.trust-item__num {
  grid-row: 1 / span 2;

  color: var(--accent);
  opacity: 0.65;

  font-size: clamp(42px, 4vw, 58px);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -3px;
}

.trust-item__title {
  color: var(--white);

  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.trust-item__text {
  color: var(--gray);

  font-size: 13px;
  line-height: 1.5;
}

/* ================================
   SERVICES
================================ */

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

.services__grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  border-top: 1px solid #2a2a2a;
  border-left: 1px solid #2a2a2a;
}

.service-card {
  position: relative;

  min-height: 380px;

  padding: 35px;

  border-right: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;

  background: #080808;

  overflow: hidden;

  transition:
    background 0.4s ease,
    transform 0.4s ease;
}

.service-card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 2px;

  background: var(--accent);

  transform: scaleX(0);

  transform-origin: left;

  transition: transform 0.4s ease;
}

.service-card:hover {
  background: #151515;

  transform: translateY(-5px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__top {
  display: flex;

  align-items: center;
  justify-content: space-between;

  margin-bottom: 55px;
}

.service-card__number {
  color: var(--accent);

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 2px;
}

.service-card__arrow {
  color: #555;

  font-size: 28px;

  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.service-card:hover .service-card__arrow {
  color: var(--accent);

  transform: translate(4px, -4px);
}

.service-card__content h3 {
  max-width: 100%;

  margin-bottom: 15px;

  font-size: 24px;

  line-height: 1.1;
}

.service-card__content p {
  max-width: 100%;

  color: var(--gray);

  font-size: 14px;

  line-height: 1.6;
}

.service-card__price {
  position: absolute;

  left: 25px;
  bottom: 25px;

  color: #ffffff;

  font-size: 14px;
  font-weight: 700;

  letter-spacing: 0.5px;
}

/* ================================
   ABOUT
================================ */

.about {
  background: #111111;
}

.about__container {
  display: grid;

  grid-template-columns: 1.2fr 0.8fr;

  gap: 100px;

  align-items: center;
}

.about__content h2 {
  max-width: 600px;

  margin-bottom: 35px;

  font-size: clamp(45px, 5vw, 72px);

  line-height: 0.95;

  text-transform: uppercase;
}

.about__content h2 span {
  color: var(--accent);
}

.about__content p:not(.section-heading__subtitle) {
  max-width: 600px;

  margin-bottom: 20px;

  color: var(--gray);

  font-size: 16px;
}

.about__content .button {
  margin-top: 20px;
}

.about__stats {
  display: flex;
  flex-direction: column;

  border-top: 1px solid #333333;
}

.about__demo-notice {
  margin: 0;
  padding-top: 16px;
  padding-bottom: 16px;

  border-bottom: 1px solid #333333;
}

.stat {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 30px 0;

  border-bottom: 1px solid #333333;
}

.stat strong {
  color: var(--accent);

  font-size: 60px;
  line-height: 1;
}

.stat span {
  color: var(--gray);

  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ================================
   WORKS
================================ */

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

.works__grid {
  display: grid;

  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  grid-template-rows: repeat(3, minmax(0, 1fr));

  gap: 15px;

  aspect-ratio: 16 / 9;
}

.work-card {
  position: relative;

  display: block;

  min-width: 0;
  min-height: 0;
  overflow: hidden;

  border: 1px solid #222;

  background: #111;
}

.work-card--featured {
  grid-column: 1;
  grid-row: 1 / -1;
}

.work-card__image {
  position: absolute;

  inset: 0;

  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  aspect-ratio: 16 / 9;

  transition:
    transform 0.7s ease,
    filter 0.7s ease;
}

.work-card::after {
  position: absolute;

  z-index: 1;

  inset: 0;

  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 25%, rgba(0, 0, 0, 0.82) 100%);

  content: "";
  pointer-events: none;
}

.work-card:hover .work-card__image {
  transform: scale(1.05);

  filter: brightness(0.9);
}

.work-card__content {
  position: absolute;

  z-index: 2;

  right: 24px;
  bottom: 24px;
  left: 24px;

  max-width: 430px;
}

.work-card--featured .work-card__content {
  right: 34px;
  bottom: 34px;
  left: 34px;

  max-width: 620px;
}

.work-card__category {
  display: block;

  margin-bottom: 8px;

  color: var(--accent);

  font-size: 10px;
  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: 2px;
}

.work-card__content h3 {
  color: var(--white);

  font-size: 25px;

  line-height: 1.1;
}

.work-card--featured .work-card__content h3 {
  font-size: clamp(30px, 3.2vw, 46px);
}

.work-card__content p {
  margin-top: 10px;

  color: rgba(255, 255, 255, 0.78);

  font-size: 14px;
  line-height: 1.5;
}
/* ================================
   CTA
================================ */

.cta {
  padding: var(--section-edge-space) 0;

  background:
    linear-gradient(rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.82)),
    url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=2200&q=95")
      center / cover fixed no-repeat;

  text-align: center;
}

.cta__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta p {
  color: var(--accent);

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 4px;

  margin-bottom: 20px;
}

.cta h2 {
  margin-bottom: 40px;

  font-size: clamp(50px, 7vw, 90px);

  line-height: 0.9;

  text-transform: uppercase;
}

/* ================================
   CONTACTS
================================ */

/* ================================
   CONTACTS / FORM
================================ */

.contacts {
  background: #111111;
}

.contacts__container {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 100px;

  align-items: start;
}

.contacts__content h2 {
  max-width: 650px;

  margin-bottom: 30px;

  font-size: clamp(45px, 5vw, 70px);

  line-height: 0.95;

  text-transform: uppercase;
}

.contacts__content h2 span {
  display: block;

  color: var(--accent);
}

.contacts__description {
  max-width: 520px;

  margin-bottom: 50px;

  color: var(--gray);

  font-size: 16px;

  line-height: 1.7;
}

.contacts__details {
  display: flex;
  flex-direction: column;
}

.contacts__details > div {
  padding: 22px 0;

  border-bottom: 1px solid #333333;
}

.contacts__details span {
  display: block;

  margin-bottom: 8px;

  color: var(--accent);

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 2px;
}

.contacts__details a,
.contacts__details p {
  color: #ffffff;

  font-size: 17px;
}

/* ================================
   FORM
================================ */

.contact-form {
  padding: 45px;

  background: #080808;

  border: 1px solid #292929;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;

  margin-bottom: 10px;

  color: #ffffff;

  font-size: 11px;
  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 1.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;

  padding: 16px 18px;

  border: 1px solid #333333;

  outline: none;

  background: #111111;

  color: #ffffff;

  font-family: inherit;

  font-size: 14px;

  transition:
    border-color 0.3s ease,
    background 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #808080;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);

  background: #151515;
}

.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.form-group textarea {
  resize: vertical;

  min-height: 120px;
}

.form-group select {
  cursor: pointer;
}

.form-submit {
  width: 100%;

  border: none;

  cursor: pointer;
}

.form-submit:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.form-status {
  margin-top: 15px;

  min-height: 20px;

  color: var(--accent);

  font-size: 13px;

  text-align: center;
}

/* ================================
   FOOTER
================================ */

.footer {
  padding: var(--section-edge-space) 0;

  background: #050505;

  border-top: 1px solid #222222;
}

.footer__container {
  display: flex;

  align-items: center;
  justify-content: space-between;
}

.footer p {
  color: var(--gray-dark);

  font-size: 12px;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 1000px) {
  :root {
    --section-space: 88px;
    --section-edge-space: 44px;
    --section-heading-space: 40px;
    --hero-trust-space: 24px;
  }

  .header:has(.navigation.open) {
    position: relative;

    background: var(--black);
  }

  .header__container:has(.navigation.open) {
    flex-wrap: wrap;
  }

  .navigation {
    display: none;
  }

  .navigation.open {
    position: static;

    order: 1;

    flex: 0 0 100%;
    align-items: stretch;
    justify-content: flex-start;

    gap: 0;

    height: auto;
    min-height: 0;
    max-height: none;
    padding: 8px 0 10px;

    background: var(--black);

    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .navigation.open a {
    display: flex;
    flex: 0 0 auto;
    align-items: center;

    min-height: 44px;
    padding: 8px 20px;

    line-height: 1.2;
  }

  .hamburger {
    display: flex;
  }

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

  .trust-item:nth-child(3) {
    border-left: 0;
  }

  .trust-item:nth-child(n + 3) {
    border-top: 1px solid #2a2a2a;
  }

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

  .about__container {
    grid-template-columns: 1fr;

    gap: 60px;
  }

  .works__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;

    aspect-ratio: auto;
  }

  .work-card {
    aspect-ratio: 16 / 10;
  }

  .work-card--featured {
    grid-column: 1 / -1;
    grid-row: auto;

    aspect-ratio: 2 / 1;
  }

  .contacts__container {
    grid-template-columns: 1fr;

    gap: 50px;
  }
}

@media (min-width: 701px) and (max-width: 1000px) {
  .work-card:last-child {
    grid-column: 1 / -1;

    aspect-ratio: 5 / 2;
  }
}

@media (max-width: 700px) {
  :root {
    --section-space: 64px;
    --section-edge-space: 32px;
    --section-heading-space: 32px;
    --hero-trust-space: 20px;
  }

  .container {
    width: min(100% - 30px, var(--container));
  }

  .trust-strip__grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    padding: 28px 20px;
  }

  .trust-item + .trust-item {
    border-top: 1px solid #2a2a2a;
    border-left: 0;
  }

  .header {
    padding: 20px 0;
  }

  .header__button {
    padding: 10px 15px;
  }

  .hero {
    min-height: 850px;
  }

  .hero h1 {
    letter-spacing: -2px;
  }

  .hero__text {
    font-size: 16px;
  }

  .hero__buttons {
    flex-direction: column;

    align-items: flex-start;
  }

  .button {
    width: 100%;
  }

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

  .service-card {
    min-height: 320px;
  }

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

  .work-card,
  .work-card--featured {
    grid-column: auto;
    grid-row: auto;

    aspect-ratio: 4 / 3;
  }

  .work-card--featured {
    aspect-ratio: 1 / 1;
  }

  .work-card__content,
  .work-card--featured .work-card__content {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }

  .work-card__content h3 {
    font-size: 22px;
  }

  .work-card--featured .work-card__content h3 {
    font-size: 28px;
  }
  .contact-form {
    padding: 25px 20px;
  }
  .footer__container {
    flex-direction: column;

    gap: 15px;

    text-align: center;
  }
}
/* ================================
   FLOATING TELEGRAM BUTTON
================================ */

.telegram-button {
  position: fixed;

  right: 25px;
  bottom: 25px;

  z-index: 100;

  display: flex;
  align-items: center;

  gap: 12px;

  min-height: 54px;

  padding: 0 20px;

  background: #087cad;

  color: #ffffff;

  border-radius: 30px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);

  font-size: 12px;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 1px;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.telegram-button:hover {
  transform: translateY(-4px);

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.telegram-button__icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 25px;
  height: 25px;

  font-size: 18px;
}

.telegram-button__text {
  white-space: nowrap;
}

/* ================================
   FLOATING CALL BUTTON
================================ */

.call-button {
  position: fixed;

  right: 25px;
  bottom: 90px;

  z-index: 100;

  display: flex;
  align-items: center;

  gap: 12px;

  min-height: 54px;

  padding: 0 20px;

  background: var(--accent);

  color: #000000;

  border-radius: 30px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);

  font-size: 12px;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: 1px;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.call-button:hover {
  transform: translateY(-4px);

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.call-button__icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 25px;
  height: 25px;

  font-size: 18px;
}

/* ================================
   RESPONSIVE FLOATING BUTTONS
================================ */

@media (max-width: 1000px) {
  .telegram-button,
  .call-button {
    right: 16px;

    gap: 8px;

    min-height: 48px;
    padding: 0 14px;

    font-size: 10px;
  }

  .telegram-button {
    bottom: 16px;
  }

  .call-button {
    bottom: 72px;
  }
}

@media (max-width: 700px) {
  .telegram-button,
  .call-button {
    right: 12px;

    width: 46px;
    height: 46px;
    min-height: 46px;
    padding: 0;

    justify-content: center;

    border-radius: 50%;
  }

  .telegram-button {
    bottom: 12px;
  }

  .call-button {
    bottom: 66px;
  }

  .telegram-button__text,
  .call-button__text {
    display: none;
  }

  .telegram-button__icon,
  .call-button__icon {
    width: auto;
    height: auto;
  }
}

/* ================================
   REVIEWS
   ================================ */
.reviews {
  background: var(--black);
}

/* Сетка карточек */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Карточка отзыва */
.review-card {
  position: relative;
  padding: 30px;
  border: 1px solid #2a2a2a;
  background: #080808;
  overflow: hidden;
  transition: background 0.4s ease;
}
.review-card:hover {
  background: #151515;
}
.review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.review-card:hover::before {
  transform: scaleX(1);
}

/* Блок с рейтингом звёзд */
.review-card__rating {
  margin-bottom: 15px;
  font-size: 18px;
  color: var(--accent);
  line-height: 1;
}

/* Текст отзыва */
.review-card__text {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Информация о клиенте */
.review-card__info {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 13px;
  color: var(--gray-dark);
  margin-bottom: 12px;
}
.review-card__info span {
  display: inline-block;
}

/* Имя клиента */
.review-card__client {
  color: var(--white);
  font-weight: 700;
}

/* Демонстрационный блок общей оценки */
.reviews__overall-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.reviews__overall-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.reviews__overall-label {
  font-size: 14px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1000px) {
  .reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .reviews__grid {
    grid-template-columns: 1fr;
  }
}

/* ================================
   FAQ
   ================================ */
.faq {
  background: var(--black);
}

.faq__inner {
  width: min(100%, 980px);
  margin: 0 auto;
}

.faq__list {
  border-top: 1px solid #2a2a2a;
}

.faq-item {
  border-bottom: 1px solid #2a2a2a;
}

.faq-item[open] {
  border-bottom-color: rgba(217, 255, 0, 0.45);
}

.faq-item__question {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  align-items: center;
  gap: 32px;

  padding: 28px 20px;

  color: var(--white);

  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 700;
  line-height: 1.3;

  cursor: pointer;
  list-style: none;
}

.faq-item__question::marker {
  content: "";
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::after {
  content: "+";

  display: grid;
  place-items: center;

  width: 32px;
  height: 32px;

  color: var(--gray);

  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

.faq-item[open] .faq-item__question::after {
  content: "−";
  color: var(--accent);
}

.faq-item__question:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.faq-item__answer {
  max-width: 820px;
  padding: 0 80px 30px 20px;
}

.faq-item__answer p {
  color: var(--gray);

  font-size: 16px;
  line-height: 1.75;
}

@media (max-width: 1000px) {
  .faq-item__question {
    gap: 24px;
    padding: 26px 16px;
  }

  .faq-item__answer {
    padding: 0 64px 28px 16px;
  }
}

@media (max-width: 700px) {
  .faq-item__question {
    grid-template-columns: minmax(0, 1fr) 26px;
    gap: 16px;

    padding: 22px 4px;

    font-size: 19px;
    line-height: 1.4;
  }

  .faq-item__question::after {
    width: 26px;
    height: 26px;

    font-size: 26px;
  }

  .faq-item__answer {
    padding: 0 36px 24px 4px;
  }

  .faq-item__answer p {
    font-size: 15px;
    line-height: 1.65;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .cta {
    background-attachment: scroll;
  }
}
