:root {
  --bg: #05070b;
  --bg2: #0a0d13;
  --card: #0e1219;
  --card2: #121722;
  --text: #f5f7fa;
  --muted: #9aa3b1;
  --line: rgba(255, 255, 255, 0.09);
  --gold: #d7a846;
  --gold2: #f0c86b;
  --max: 1180px;
  --radius: 18px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
.container {
  width: min(calc(100% - 40px), var(--max));
  margin: auto;
}
.narrow {
  max-width: 900px;
}
.header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(5, 7, 11, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: 0.25s;
}
.header.scrolled {
  border-color: var(--line);
  background: rgba(5, 7, 11, 0.92);
}
.header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  white-space: nowrap;
}
.brand b {
  color: var(--gold);
}
.brand__logo {
  width: 100px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #080a0e;
  font-size: 22px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
}
.nav > a,
.dropdown__button {
  color: #cbd0d8;
  font-size: 14px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav > a:hover,
.dropdown__button:hover {
  color: #fff;
}
.dropdown {
  position: relative;
}
.dropdown__menu {
  display: none;
  position: absolute;
  top: 34px;
  right: 0;
  width: 280px;
  padding: 12px;
  background: #0c1017;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 50px #0008;
  grid-template-columns: 1fr 1fr;
}
.dropdown:hover .dropdown__menu {
  display: grid;
}
.reviews-footer {
  text-align: center;
  margin-top: 48px;
}
.dropdown__menu a {
  padding: 8px 10px;
  color: #c8ced7;
  font-size: 13px;
  border-radius: 8px;
}
.dropdown__menu a:hover {
  background: #ffffff0b;
  color: #fff;
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.phone {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.btn {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: 0.2s;
  font-weight: 700;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: #090b0e;
  border-color: transparent;
}
.btn--gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}
.btn--glass {
  background: #ffffff08;
  color: #fff;
}
.btn--glass:hover {
  background: #ffffff12;
  border-color: #ffffff22;
}
.btn--small {
  padding: 10px 14px;
  font-size: 13px;
}
.btn--large {
  padding: 15px 22px;
}
.btn--block {
  width: 100%;
}
.burger {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
}
.burger i {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px;
}
.hero {
  min-height: 820px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 75% 35%, #a9781d22 0, transparent 30%),
    linear-gradient(120deg, #05070b 35%, #101318 100%);
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #05070b 0%, transparent 65%),
    radial-gradient(circle at 80% 50%, #d6a73c16, transparent 22%);
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  right: 8%;
  top: 25%;
  border: 1px solid #d6a73c20;
  background-image: url("./images/logo.webp");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  border-radius: 50%;
  box-shadow:
    0 0 120px #d6a73c13,
    inset 0 0 100px #d6a73c0c;
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding-top: 80px;
}
.eyebrow,
.tag {
  color: var(--gold2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 800;
}
.eyebrow span {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #48c27b;
  margin-right: 8px;
  box-shadow: 0 0 12px #48c27b;
}
.hero h1 {
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.03;
  margin: 18px 0;
  letter-spacing: -0.04em;
  max-width: 800px;
}
.hero h1 em,
.section-head h2 em {
  font-style: normal;
  color: var(--gold2);
}
.hero__text {
  max-width: 680px;
  color: #b4bbc6;
  font-size: 18px;
}
.hero__points {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: #d7dce3;
  font-size: 14px;
}
.hero__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 44px;
}
.stats {
  display: flex;
  gap: 50px;
}
.stats div {
  display: flex;
  flex-direction: column;
}
.stats strong {
  font-size: 30px;
}
.stats span {
  color: var(--muted);
  font-size: 12px;
}
.section {
  padding: 105px 0;
}
.section--alt {
  background: var(--bg2);
}
.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}
.section-head h2 {
  font-size: clamp(34px, 4vw, 52px);
  margin: 10px 0;
  letter-spacing: -0.035em;
}
.section-head p {
  color: var(--muted);
  margin: 0;
}
.grid {
  display: grid;
  gap: 16px;
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.card {
  background: linear-gradient(180deg, #11161f, #0c1016);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 15px 45px #0002;
}
.symptom {
  padding: 26px;
  min-height: 205px;
  transition: 0.25s;
}
.symptom:hover,
.service:hover,
.price:hover,
.advantages .card:hover,
.review:hover {
  transform: translateY(-4px);
  border-color: #d6a73c38;
}
.symptom h3 {
  font-size: 21px;
  margin: 20px 0 8px;
}
.symptom p {
  color: var(--muted);
  font-size: 14px;
}
.symptom a,
.service a {
  color: var(--gold2);
  font-weight: 700;
  font-size: 13px;
}
.risk {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.risk--mid {
  color: #e0b34f;
}
.risk--high {
  color: #e69a50;
}
.risk--critical {
  color: #ef6969;
}
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service {
  overflow: hidden;
  transition: 0.25s;
}
.service__img {
  height: 190px;
  background: #171b21;
  overflow: hidden;
}
.service__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service__body {
  padding: 22px;
}
.service h3 {
  margin: 0 0 3px;
  font-size: 23px;
}
.service small {
  color: var(--gold2);
}
.service p {
  color: var(--muted);
  font-size: 14px;
  min-height: 66px;
}
.brands {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.brands a {
  padding: 12px 18px;
  border: 1px solid var(--line);
  background: #ffffff05;
  border-radius: 999px;
  color: #cdd3dc;
  font-size: 14px;
  transition: 0.2s;
}
.brands a:hover {
  border-color: #d6a73c66;
  color: #fff;
}
.center {
  text-align: center;
  margin-top: 30px;
}
.prices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.price {
  padding: 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: 0.25s;
}
.price--popular {
  border-color: #d6a73c55;
}
.badge {
  position: absolute;
  right: 18px;
  top: 18px;
  background: var(--gold);
  color: #090b0e;
  padding: 5px 9px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 800;
}
.price h3 {
  min-height: 52px;
  margin: 0 0 10px;
  font-size: 20px;
}
.price__value {
  font-size: 27px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}
.price__value del {
  color: #6e7580;
  font-size: 14px;
  margin-right: 5px;
}
.price ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}
.price li {
  color: #aeb6c2;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid #ffffff08;
}
.price li:before {
  content: "✓";
  color: var(--gold2);
  margin-right: 8px;
}
.price li.key {
  color: #fff;
}
.advantages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.advantages .card {
  padding: 22px;
  min-height: 175px;
  transition: 0.25s;
}
.advantages b {
  color: var(--gold);
  font-size: 12px;
}
.advantages h3 {
  font-size: 18px;
  margin: 22px 0 8px;
}
.advantages p {
  color: var(--muted);
  font-size: 13px;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.steps li {
  display: flex;
  gap: 14px;
}
.steps > li > b {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #d6a73c1c;
  color: var(--gold2);
  border: 1px solid #d6a73c55;
}
.steps h3 {
  margin: 0 0 7px;
  font-size: 18px;
}
.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery a {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}
.gallery a:hover img {
  transform: scale(1.05);
}
.reviews {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.review {
  padding: 24px;
  transition: 0.25s;
}
.stars {
  color: var(--gold2);
  letter-spacing: 2px;
}
.review p {
  color: #b7bec9;
  font-size: 14px;
  min-height: 105px;
}
.review strong,
.review small {
  display: block;
}
.review small {
  color: var(--muted);
  margin-top: 4px;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  list-style: none;
  position: relative;
  padding-right: 35px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:after {
  content: "+";
  position: absolute;
  right: 0;
  color: var(--gold2);
  font-size: 25px;
}
.faq details[open] summary:after {
  content: "−";
}
.faq p {
  color: var(--muted);
  max-width: 760px;
}
.callback {
  margin-top: 40px;
  padding: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.callback h3 {
  margin: 0 0 6px;
}
.callback p {
  margin: 0;
  color: var(--muted);
}
.contact-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 18px;
}
.contact-card {
  padding: 30px;
}
.contact-card h3 {
  font-size: 25px;
}
.contact-card p {
  color: var(--muted);
}
.contact-phone {
  display: block;
  font-size: 22px;
  font-weight: 800;
  margin: 22px 0;
}
.map {
  min-height: 420px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
}
.map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: saturate(0.75) brightness(0.8);
}
.footer {
  background: #030509;
  border-top: 1px solid var(--line);
  padding: 70px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
}
.footer p,
.footer a,
.footer span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin: 10px 0;
}
.footer h3 {
  font-size: 14px;
}
.footer__bottom {
  border-top: 1px solid var(--line);
  margin-top: 50px;
  padding: 20px;
  text-align: center;
  color: #68707c;
  font-size: 12px;
}
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  inset: 0;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open {
  display: flex;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: #000b;
  backdrop-filter: blur(5px);
}
.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 500px);
  padding: 32px;
}
.modal__close {
  position: absolute;
  right: 18px;
  top: 15px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}
.modal__dialog h2 {
  font-size: 34px;
  margin: 0 0 8px;
}
.modal__dialog > p {
  color: var(--muted);
}
.modal label {
  display: block;
  font-size: 13px;
  margin: 14px 0;
}
.modal input,
.modal textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  background: #080b10;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #fff;
  padding: 12px;
  outline: none;
}
.modal input:focus,
.modal textarea:focus {
  border-color: #d6a73c88;
}
.modal small {
  display: block;
  color: #6f7783;
  font-size: 10px;
  margin-top: 12px;
}
.toast {
  position: fixed;
  z-index: 120;
  right: 22px;
  bottom: 22px;
  background: #101722;
  border: 1px solid #d6a73c55;
  border-radius: 12px;
  padding: 15px 18px;
  transform: translateY(120px);
  opacity: 0;
  transition: 0.3s;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}
.reveal {
  opacity: 1;
  transform: none;
}
@media (max-width: 1050px) {
  .nav {
    gap: 14px;
  }
  .phone {
    display: none;
  }
  .services,
  .prices {
    grid-template-columns: repeat(2, 1fr);
  }
  .advantages {
    grid-template-columns: repeat(3, 1fr);
  }
  .reviews {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }
  .header__inner {
    min-height: 68px;
  }
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 14px;
    right: 14px;
    background: #0b0f15;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
  }
  .nav.open {
    display: flex;
  }
  .nav > a,
  .dropdown__button {
    padding: 10px;
    text-align: left;
  }
  .dropdown__menu {
    position: static;
    width: auto;
    display: none;
    box-shadow: none;
    grid-template-columns: 1fr 1fr;
  }
  .dropdown.open .dropdown__menu {
    display: grid;
  }
  .burger {
    display: block;
  }
  .header__actions {
    margin-left: auto;
  }
  .header__actions .btn {
    display: none;
  }
  .hero {
    min-height: 750px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .hero__text {
    font-size: 16px;
  }
  .stats {
    gap: 20px;
  }
  .stats strong {
    font-size: 23px;
  }
  .grid--3,
  .services,
  .prices,
  .advantages,
  .steps,
  .reviews,
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .callback {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 520px) {
  .section {
    padding: 75px 0;
  }
  .grid--3,
  .services,
  .prices,
  .advantages,
  .steps,
  .reviews,
  .gallery {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 39px;
  }
  .hero__buttons .btn {
    width: 100%;
  }
  .stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .stats div:last-child {
    grid-column: 1/-1;
  }
  .service__img {
    height: 210px;
  }
  .callback {
    padding: 22px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .map,
  .map iframe {
    min-height: 330px;
  }
}
