@font-face {
  font-family: "Bebas Neue Cyrillic";
  src: url("../fonts/bebasneuecyrillic.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #8f77ec;
  --secondary: #f37748;
  --text: #363636;
  --hero-bg: #f0ecff;
  --card-shadow: 0px 4px 16.1px rgba(125, 102, 211, 0.12);
  --radius-btn: 50px;
  --radius-card: 10px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  color: var(--text);
  background-color: #ffffff;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  max-width: 1290px;
  margin: 0 auto;
  padding: 0 30px;
}

.btn-primary,
.btn-secondary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  font-family: "Bebas Neue Cyrillic", cursive;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-secondary {
  background-color: var(--secondary);
  color: #ffffff;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--secondary);
  color: var(--secondary);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-outline:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.section-title {
  font-family: "Bebas Neue Cyrillic", cursive;
  font-size: 50px;
  line-height: 1;
  color: var(--text);
  text-align: center;
}

/* HERO */
#hero {
  background-color: var(--hero-bg);
}

.hero-bg {
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-height: 534px;
}

.hero-content {
  flex: 0 0 846px;
  max-width: 846px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: "Bebas Neue Cyrillic", cursive;
  font-weight: 300;
  font-size: 62px;
  line-height: 1;
  color: var(--text);
  text-transform: uppercase;
  white-space: pre-line;
}

.hero-subtitle {
  font-weight: 700;
  font-size: 21px;
  line-height: 1.6;
  color: var(--text);
}

.hero-checklist {
  display: flex;
  gap: 50px;
}

.hero-checklist__col {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.hero-checklist__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  text-transform: uppercase;
}

.hero-checklist__item img {
  flex-shrink: 0;
  display: inline-block;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 17px;
  flex-wrap: nowrap;
  width: 684px;
  max-width: 100%;
  margin-top: 10px;
}

.hero-btn {
  font-size: 23px;
  padding: 23px 28px;
}

.hero-btn.btn-secondary,
.hero-btn.btn-outline {
  padding: 23px 25px;
}

.hero-visual {
  position: absolute;
  right: 0;
  top: 0;
  width: 574.005px;
  min-height: 525.149px;
  overflow: visible;
  z-index: 1;
}

.hero-illustration {
  position: relative;
  width: 574.005px;
  height: 525.149px;
  margin-left: 0;
  pointer-events: none;
  user-select: none;
}

.hero-scene__asset,
.hero-scene__mask {
  position: absolute;
  display: block;
}

.hero-scene__asset img,
.hero-scene__mask img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-scene__mask {
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-position: center;
  mask-position: center;
}

/* Stats bar */
.stats-bar {
  background-color: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
}

.stats-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.stats-divider {
  width: 1px;
  align-self: stretch;
  background-color: rgba(54, 54, 54, 0.15);
  margin: 0 20px;
  flex-shrink: 0;
}

.stats-num {
  font-family: "Bebas Neue Cyrillic", cursive;
  font-size: 36px;
  line-height: 1;
  color: var(--primary);
}

.stats-label {
  font-size: 14px;
  line-height: 1.4;
  color: var(--text);
}

.stats-label strong {
  font-weight: 700;
  display: block;
}

/* SERVICES */
.section-services {
  padding: 80px 0;
  background-color: var(--hero-bg);
}

.services-layout {
  display: flex;
  gap: 30px;
  align-items: stretch;
}

.services-left {
  flex: 0 0 832px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.services-title {
  text-align: left;
}

.services-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
}

.svc-card {
  width: 266px;
  min-height: 153px;
  background-color: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 8px 24px rgba(125, 102, 211, 0.15);
}

.svc-card--featured {
  border: 2px solid var(--primary);
  justify-content: center;
  align-items: flex-start;
  gap: 26px;
}

.svc-icon-wrap {
  width: 55px;
  height: 55px;
  border-radius: 10px;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.svc-icon-wrap img {
  display: block;
  max-width: 100%;
}

.svc-name {
  font-family: "Bebas Neue Cyrillic", cursive;
  font-size: 23px;
  line-height: 1.2;
  color: var(--text);
  text-transform: uppercase;
}

.svc-name--featured {
  font-size: 43px;
  color: var(--primary);
}

.svc-price {
  font-family: "Bebas Neue Cyrillic", cursive;
  font-size: 18px;
  line-height: 1.25;
  color: var(--primary);
  white-space: nowrap;
}

.svc-price strong {
  font-size: 29px;
  font-weight: 400;
}

.services-buttons {
  display: flex;
  align-items: center;
  gap: 17px;
  flex-wrap: wrap;
}

.services-right {
  position: relative;
  overflow: hidden;
  flex: 1;
  border-radius: var(--radius-card);
  min-height: 100%;
}

.services-map {
  position: absolute;
  inset: 6% 0 0 0;
  width: 100%;
  height: 88%;
  object-fit: contain;
  opacity: 0.75;
}

.map-pin {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50% 50% 50% 0;
  background-color: var(--secondary);
  transform: rotate(-45deg);
  box-shadow: 0 6px 16px rgba(243, 119, 72, 0.25);
}

.map-pin::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #ffffff;
  top: 5px;
  left: 5px;
}

.map-pin--one {
  top: 30%;
  left: 32%;
}

.map-pin--two {
  top: 50%;
  left: 58%;
}

.map-pin--three {
  top: 67%;
  left: 43%;
}

/* STEPS */
.section-steps {
  padding: 80px 0;
  background-color: #ffffff;
}

.section-steps .section-title {
  margin-bottom: 56px;
}

.steps-list {
  display: flex;
  gap: 0;
}

.step-item {
  width: 200px;
  padding-right: 18px;
  border-right: 1px solid #cec1ff;
}

.step-item--last {
  border-right: 0;
}

.step-image {
  width: 158px;
  height: 144px;
  object-fit: contain;
  margin-bottom: 24px;
}

.step-number {
  font-family: "Bebas Neue Cyrillic", cursive;
  font-size: 81px;
  line-height: 1;
  color: var(--primary);
}

.step-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  min-height: 44px;
}

.step-accent {
  color: var(--secondary);
  text-decoration: underline;
  text-decoration-color: var(--secondary);
  text-underline-offset: 3px;
}

.steps-bottom {
  max-width: 582px;
  margin: 56px auto 0;
  text-align: center;
}

.steps-guarantee {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 18px;
}

/* PORTFOLIO */
.section-portfolio {
  padding: 80px 0;
  background-color: var(--hero-bg);
}

.section-portfolio .section-title {
  margin-bottom: 22px;
}

.portfolio-tabs {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid #cec1ff;
  margin-bottom: 28px;
}

.portfolio-tab {
  border: 0;
  background: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 4px 8px;
}

.portfolio-tab-icon {
  width: 55px;
  height: 55px;
  border-radius: 10px;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-tab-icon img {
  width: 33px;
  height: 33px;
  object-fit: contain;
}

.portfolio-tab-label {
  font-family: "Bebas Neue Cyrillic", cursive;
  font-size: 23px;
  line-height: 1;
  color: var(--text);
  text-transform: uppercase;
  opacity: 0;
}

.portfolio-tab.is-active {
  border-bottom: 2px solid var(--secondary);
}

.portfolio-tab.is-active .portfolio-tab-icon {
  background-color: var(--secondary);
}

.portfolio-tab.is-active .portfolio-tab-label {
  color: var(--secondary);
  opacity: 1;
}

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

.portfolio-card {
  background-color: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  padding: 0 18px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 8px 24px rgba(125, 102, 211, 0.15);
}

.portfolio-card-icon {
  width: 55px;
  height: 55px;
  border-radius: 10px;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -28px;
  margin-bottom: 12px;
}

.portfolio-card-icon img {
  width: 33px;
  height: 33px;
  object-fit: contain;
}

.portfolio-card-type {
  font-family: "Bebas Neue Cyrillic", cursive;
  font-size: 41px;
  line-height: 1;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.portfolio-card-topic {
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
  font-weight: 700;
}

.portfolio-divider {
  height: 1px;
  background-color: #cec1ff;
  margin: 12px 0;
}

.portfolio-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 8px;
  column-gap: 8px;
  font-size: 14px;
  line-height: 1.45;
}

.portfolio-meta strong {
  text-align: left;
  color: var(--text);
}

.portfolio-more {
  display: block;
  text-align: center;
  margin: 20px auto 26px;
  color: var(--secondary);
  font-size: 34px;
  font-family: "Bebas Neue Cyrillic", cursive;
  text-transform: uppercase;
}

.portfolio-bottom {
  max-width: 582px;
  margin: 0 auto;
  text-align: center;
}

.portfolio-bottom p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 18px;
}

.portfolio-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* REVIEWS */
.section-reviews {
  padding: 80px 0;
  background-color: #ffffff;
}

.reviews-wrap {
  position: relative;
}

.section-reviews .section-title {
  margin-bottom: 40px;
}

.reviews-list {
  display: flex;
  gap: 20px;
}

.review-card {
  flex: 1;
  min-height: 315px;
  background-color: #ffffff;
  border-radius: 13px;
  box-shadow: 0px 8px 20.9px rgba(0, 12, 78, 0.15);
  padding: 18px 23px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
  transform: translateY(-4px);
}

.review-card--active {
  border: 2px solid var(--primary);
  box-shadow: 0px 8px 20.9px rgba(32, 0, 78, 0.15);
}

.review-stars {
  font-size: 21px;
  line-height: 1;
  color: var(--secondary);
  letter-spacing: 2px;
}

.review-name {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.45;
  color: #353b3c;
  font-weight: 700;
}

.review-date {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.45;
  color: #888888;
}

.review-text {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}

.review-source {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.review-source img {
  width: auto;
  height: 20px;
  object-fit: contain;
}

.review-source span {
  font-size: 16px;
  line-height: 1.45;
  color: #9b9b9b;
}

.reviews-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-10%);
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.reviews-nav--left {
  left: -58px;
}

.reviews-nav--right {
  right: -58px;
}

.reviews-nav img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.reviews-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

/* CONTACT */
.section-contact {
  padding: 80px 0;
  background-color: var(--hero-bg);
}

.contact-layout {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.contact-left {
  flex: 0 0 480px;
}

.contact-illustration {
  width: 100%;
  max-width: 452px;
  height: auto;
  object-fit: contain;
  margin-bottom: 24px;
}

.contact-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}

.contact-info strong {
  font-weight: 700;
}

.contact-right {
  flex: 1;
  background-color: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  padding: 32px 30px;
}

.contact-title {
  font-family: "Bebas Neue Cyrillic", cursive;
  font-size: 40px;
  line-height: 1;
  color: var(--text);
  margin-bottom: 28px;
  text-transform: uppercase;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-field {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #cec1ff;
  padding: 10px 0;
}

.contact-field img {
  width: 21px;
  height: 21px;
  object-fit: contain;
  flex-shrink: 0;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  padding: 0;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--text);
}

.contact-field--textarea {
  align-items: flex-start;
}

.contact-field textarea {
  resize: vertical;
  min-height: 64px;
}

.contact-submit {
  width: 100%;
}

.contact-policy {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text);
}

.contact-policy a {
  color: var(--secondary);
  text-decoration: underline;
  text-decoration-color: var(--secondary);
}

/* ABOUT */
.section-about {
  padding: 80px 0;
  background-color: #ffffff;
}

.about-layout {
  display: flex;
  gap: 40px;
}

.about-table,
.about-content {
  flex: 1;
}

.about-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #cec1ff;
  padding: 16px 0;
  gap: 16px;
}

.about-row span {
  font-size: 16px;
  line-height: 1.45;
  color: var(--text);
  font-weight: 700;
}

.about-row strong {
  font-size: 16px;
  line-height: 1.45;
  color: var(--primary);
  font-family: Arial, sans-serif;
  font-weight: 400;
  text-align: right;
}

.about-title {
  font-family: "Bebas Neue Cyrillic", cursive;
  font-size: 40px;
  line-height: 1;
  color: var(--text);
  text-transform: uppercase;
  margin-bottom: 22px;
}

.about-content p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 16px;
}

.about-strong {
  font-weight: 700;
}

.about-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 6px 0 16px;
}

.about-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--text);
  font-weight: 700;
}

.about-checklist img {
  width: 27px;
  height: 27px;
  object-fit: contain;
  flex-shrink: 0;
}

/* FAQ */
.section-faq {
  padding: 80px 0;
  background-color: var(--hero-bg);
}

.section-faq .section-title {
  margin-bottom: 34px;
}

.faq-columns {
  display: flex;
  gap: 30px;
}

.faq-col {
  flex: 1;
}

.faq-item {
  border-bottom: 1px solid #cec1ff;
  padding: 16px 0;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  font-family: "Bebas Neue Cyrillic", cursive;
  font-size: 18px;
  line-height: 1.2;
  color: var(--text);
}

.faq-arrow {
  color: var(--primary);
  font-size: 22px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-answer {
  display: none;
  margin-top: 12px;
}

.faq-answer p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-item.is-open .faq-arrow {
  transform: rotate(180deg);
  color: var(--secondary);
}

/* DISCOUNTS */
.section-discounts {
  padding: 80px 0;
  background-color: #ffffff;
}

.section-discounts .section-title {
  margin-bottom: 12px;
}

.discounts-subtitle {
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 24px;
}

.discounts-list {
  display: flex;
  gap: 20px;
}

.discount-card {
  flex: 1;
  border: 1px solid #cec1ff;
  border-radius: var(--radius-card);
  background-color: #ffffff;
  padding: 16px 12px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.discount-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 8px 16px rgba(125, 102, 211, 0.12);
}

.discount-badge {
  width: 66px;
  height: 66px;
  border-radius: 2px;
  background-color: var(--primary);
  color: #ffffff;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Bebas Neue Cyrillic", cursive;
  font-size: 48px;
  line-height: 1;
}

.discount-card h3 {
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.discount-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}

.discount-card--accent {
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.discount-card--accent h3 {
  color: #ffffff;
}

.discount-card--accent p {
  color: #1f1f1f;
}

.discount-badge--light {
  background-color: #ffffff;
  color: var(--secondary);
}

.discounts-bottom {
  max-width: 582px;
  margin: 26px auto 0;
  text-align: center;
}

.discounts-bottom p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 16px;
}

/* ADVANTAGES */

/* ADVANTAGES */
.section-advantages {
  padding: 80px 0;
  background-color: #ffffff;
}

.advantages-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  text-align: center;
  max-width: 820px;
  margin: 20px auto 48px;
}

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

.perk-card {
  background-color: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  padding: 28px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.perk-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 8px 24px rgba(125, 102, 211, 0.15);
}

.perk-icon {
  width: 78px;
  height: 78px;
  object-fit: contain;
  flex-shrink: 0;
  margin-bottom: 18px;
}

.perk-title {
  font-family: "Bebas Neue Cyrillic", cursive;
  font-size: 21px;
  line-height: 1.2;
  color: var(--text);
  text-transform: uppercase;
}

.perk-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}

/* TOPBAR (FIGMA: Group 17) */
.topbar {
  height: 41px;
  background-color: #3e2f7b;
  color: #ffffff;
}

.topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
}

.topbar-left {
  gap: 33px;
  min-width: 0;
}

.topbar-right {
  gap: 27px;
  flex-shrink: 0;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-family: "Bebas Neue Cyrillic", cursive;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.topbar-item img {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.topbar-item--address {
  max-width: 520px;
}

.topbar-item--address span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-item--link,
.topbar-item--phone,
.topbar-social {
  transition: opacity 0.2s ease;
}

.topbar-item--link:hover,
.topbar-item--phone:hover,
.topbar-social:hover {
  opacity: 0.8;
}

.topbar-socials {
  display: flex;
  align-items: center;
  gap: 21px;
}

.topbar-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.topbar-social img {
  width: 25px;
  height: 25px;
  display: block;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  box-shadow: 0 2px 12px rgba(143, 119, 236, 0.1);
  height: 73px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.header-logo {
  font-family: "Bebas Neue Cyrillic", cursive;
  font-size: 28px;
  line-height: 1;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 37px;
  flex: 1;
  justify-content: center;
  position: relative;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Bebas Neue Cyrillic", cursive;
  font-size: 18px;
  line-height: 1;
  color: #353b3c;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-item--has-dropdown:hover > .nav-link,
.nav-item--has-dropdown:focus-within > .nav-link {
  color: var(--secondary);
}

.nav-link--dashed {
  color: var(--primary);
  border-bottom: 1.5px dashed var(--primary);
  padding-bottom: 2px;
}

.nav-link--dashed:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.nav-arrow {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.nav-item--has-dropdown:hover .nav-arrow,
.nav-item--has-dropdown:focus-within .nav-arrow {
  transform: rotate(-90deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0);
  transition: opacity 0.15s ease;
  z-index: 130;
}

.nav-dropdown--services {
  display: flex;
  align-items: flex-start;
}

.nav-item--has-dropdown:hover .nav-dropdown,
.nav-item--has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
}

.dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: 0 4px 13px rgba(0, 1, 45, 0.1);
  overflow: visible;
}

.dropdown-menu--primary {
  width: 225px;
}

.dropdown-item {
  border-bottom: 1px solid #ececec;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 8px 8px 8px 15px;
  min-height: 41px;
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #353b3c;
  text-transform: none;
  white-space: nowrap;
}

.dropdown-chevron {
  color: #353b3c;
  font-size: 18px;
  line-height: 1;
}

.dropdown-item--has-submenu {
  position: relative;
}

.dropdown-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  left: 100%;
  width: 207px;
  background-color: #ffffff;
  border-radius: 0 5px 5px 0;
  box-shadow: 0 4px 13px rgba(0, 1, 45, 0.1);
  overflow: hidden;
  z-index: 2;
  display: block;
  opacity: 1;
  visibility: visible;
}

.dropdown-submenu li {
  border-bottom: 1px solid #ececec;
}

.dropdown-submenu li:last-child {
  border-bottom: none;
}

.dropdown-submenu a {
  display: block;
  padding: 8px 8px 8px 15px;
  min-height: 41px;
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #353b3c;
  white-space: nowrap;
}

.dropdown-item--has-submenu:hover > .dropdown-link,
.dropdown-item--has-submenu:focus-within > .dropdown-link,
.dropdown-item--has-submenu > .dropdown-link {
  background-color: #f37748;
  color: #ffffff;
  font-weight: 700;
  border-top-left-radius: 5px;
}

.dropdown-item--has-submenu:hover > .dropdown-link .dropdown-chevron,
.dropdown-item--has-submenu:focus-within > .dropdown-link .dropdown-chevron,
.dropdown-item--has-submenu > .dropdown-link .dropdown-chevron {
  color: #ffffff;
}

.dropdown-item:hover > .dropdown-link,
.dropdown-item:focus-within > .dropdown-link {
  background-color: #f37748;
  color: #ffffff;
}

.dropdown-menu--primary .dropdown-item:last-child > .dropdown-link {
  border-bottom-left-radius: 5px;
}

.dropdown-item:hover > .dropdown-link .dropdown-chevron,
.dropdown-item:focus-within > .dropdown-link .dropdown-chevron {
  color: #ffffff;
}

.nav-dropdown--simple {
  min-width: 280px;
}

.nav-dropdown--simple .dropdown-link {
  justify-content: flex-start;
  gap: 0;
  padding-right: 15px;
}

.header-cta {
  flex-shrink: 0;
  padding: 12px 25px;
}

/* FOOTER CTA */
#footer {
  background-color: var(--hero-bg);
}

.footer-cta {
  padding: 60px 0;
  background-color: var(--hero-bg);
}

.footer-cta-inner {
  display: flex;
  gap: 60px;
  align-items: center;
}

.footer-cta-visual {
  flex: 0 0 auto;
}

.footer-cta-image {
  width: 300px;
  height: auto;
  object-fit: contain;
}

.footer-cta-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-cta-title {
  font-family: "Bebas Neue Cyrillic", cursive;
  font-size: 50px;
  line-height: 1;
  color: var(--text);
  text-transform: uppercase;
}

.footer-cta-description {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  max-width: 480px;
}

.footer-cta-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 8px;
}

.footer-form-fields {
  display: flex;
  gap: 74px;
}

.footer-form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-form-field input {
  border: none;
  outline: none;
  background: transparent;
  font-family: "Bebas Neue Cyrillic", cursive;
  font-size: 21px;
  line-height: 1.2;
  color: var(--text);
  text-transform: uppercase;
  padding: 0;
}

.footer-form-field input::placeholder {
  color: var(--text);
}

.form-underline {
  height: 2px;
  background-color: var(--text);
  border-radius: 10px;
}

.footer-submit {
  width: 100%;
  max-width: 300px;
  font-size: 23px;
  padding: 23px 28px;
}

.footer-cta-policy {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text);
  margin-top: -15px;
}

.footer-cta-policy a {
  color: var(--secondary);
  text-decoration: underline;
  text-decoration-color: var(--secondary);
}

/* FOOTER MAIN */
.footer-main {
  padding: 60px 0;
  background-color: #f5f5f5;
}

.footer-main-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-column--logo {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  font-family: "Bebas Neue Cyrillic", cursive;
  font-size: 28px;
  line-height: 1;
  color: var(--primary);
  font-weight: 700;
}

.footer-tagline {
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--text);
}

.footer-column--logo .btn-secondary {
  width: fit-content;
  padding: 12px 25px;
  font-size: 14px;
}

.footer-column-title {
  font-family: "Bebas Neue Cyrillic", cursive;
  font-size: 28px;
  line-height: 1;
  color: var(--text);
  text-transform: uppercase;
  margin: 0;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s ease;
}

.footer-links a:hover {
  text-decoration-color: var(--text);
}

.footer-links--accent a {
  color: var(--secondary);
  text-decoration-color: var(--secondary);
}

.footer-links--accent a:hover {
  opacity: 0.8;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-label {
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
  font-weight: 400;
}

.footer-contact-value {
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
  margin: 0;
  font-weight: 700;
}

.footer-phone-link {
  color: var(--secondary);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-phone-link:hover {
  opacity: 0.8;
}

.footer-socials {
  display: flex;
  gap: 15px;
  align-items: center;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-size: 16px;
}

.footer-social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.footer-column .btn-secondary {
  width: fit-content;
  padding: 12px 25px;
  font-size: 14px;
  margin-top: 8px;
}

/* FOOTER BOTTOM */
.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid #d9d9d9;
  background-color: #f5f5f5;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copyright {
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 27px;
  align-items: center;
}

.footer-bottom-links a {
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s ease;
}

.footer-bottom-links a:hover {
  text-decoration-color: var(--text);
}

@media (max-width: 1439px) {
  .hero-content {
    flex-basis: 760px;
    max-width: 760px;
  }

  .hero-illustration {
    transform: scale(0.92);
    transform-origin: top right;
  }

  .hero-visual {
    width: 528px;
    min-height: 485px;
  }

  .topbar-item--address {
    max-width: 400px;
  }

  .topbar-left {
    gap: 20px;
  }

  .topbar-right {
    gap: 18px;
  }

  .topbar-socials {
    gap: 14px;
  }
}

@media (max-width: 1199px) {
  .hero-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .hero-content {
    flex: 0 0 auto;
    max-width: none;
  }

  .hero-visual {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    min-height: 470px;
  }

  .hero-illustration {
    margin: 10px auto 0;
    transform: scale(0.8);
    transform-origin: top center;
  }

  .hero-buttons {
    flex-wrap: nowrap;
    width: 100%;
    gap: 12px;
  }

  .hero-btn {
    font-size: 19px;
    padding: 17px 18px;
  }

  .hero-btn.btn-secondary,
  .hero-btn.btn-outline {
    padding: 17px 18px;
  }

  .topbar {
    height: auto;
    padding: 8px 0;
  }

  .topbar-inner {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 8px;
  }

  .topbar-item {
    font-size: 16px;
  }

  .topbar-item img {
    width: 16px;
    height: 16px;
  }

  .topbar-social img {
    width: 22px;
    height: 22px;
  }

  .topbar-item--address {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .hero-visual {
    min-height: 340px;
  }

  .hero-illustration {
    transform: scale(0.58);
  }

  .hero-buttons {
    gap: 8px;
  }

  .hero-btn {
    font-size: 14px;
    padding: 12px 11px;
  }

  .hero-btn.btn-secondary,
  .hero-btn.btn-outline {
    padding: 12px 10px;
  }

  .topbar {
    padding: 6px 0;
  }

  .topbar-inner {
    justify-content: flex-start;
    align-items: flex-start;
  }

  .topbar-left,
  .topbar-right {
    width: 100%;
    flex-wrap: wrap;
    row-gap: 6px;
    column-gap: 12px;
  }

  .topbar-item {
    font-size: 14px;
    line-height: 1.1;
  }

  .topbar-item img {
    width: 14px;
    height: 14px;
  }

  .topbar-social img {
    width: 20px;
    height: 20px;
  }

  .topbar-item--address {
    order: 3;
    width: 100%;
    max-width: none;
  }

  .topbar-item--phone {
    font-size: 15px;
  }
}
