/* SoloTeam — Clean Window landing */

:root {
  --text-dark: #14191f;
  --text-muted: #556d83;
  --teal: #27a2aa;
  --teal-end: #26a2aa;
  --teal-start: #93ad94;
  --bg-light: #e8eef4;
  --bg-white: #ffffff;
  --max: 1174px;
  --page: 1366px;
  --pad: 98px;
  --font: "Roboto", system-ui, sans-serif;
  --grad: linear-gradient(90deg, var(--teal-start) 0%, var(--teal-end) 100%);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.35;
  overflow-x: hidden;
  max-width: 100%;
}

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

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

ul {
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
  border: none;
  background: none;
  outline: none;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 50px;
  border-radius: 100px;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  text-transform: lowercase;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn--wide {
  width: 100%;
  max-width: 573px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: 100px;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}

.header.is-solid {
  background: rgba(20, 25, 31, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.header__inner {
  width: min(100%, var(--page));
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  width: 113px;
  height: 32px;
  flex-shrink: 0;
}

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

.lang {
  position: relative;
}

.lang__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 21.6px;
  cursor: pointer;
}

.lang__btn::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #fff;
}

.lang__menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: -8px;
  background: #fff;
  border-radius: 4px;
  min-width: 60px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.lang.is-open .lang__menu {
  display: block;
}

.lang__menu button {
  display: block;
  width: 100%;
  padding: 6px 16px;
  text-align: center;
  font-weight: 700;
  font-size: 21.6px;
  color: #000;
  cursor: pointer;
}

.lang__menu button.is-current,
.lang__menu button[hidden] {
  display: none !important;
}

.lang__menu button:hover {
  background: #f0f4f8;
}

.header__spacer {
  flex: 1;
}

.header__phone {
  color: #fff;
  font-weight: 700;
  font-size: 21.6px;
  white-space: nowrap;
  cursor: pointer;
}

.header__phone:hover {
  opacity: 0.85;
}

.burger {
  position: relative;
  width: 32px;
  height: 32px;
  cursor: pointer;
  margin-left: 1rem;
  flex-shrink: 0;
}

.burger span {
  position: absolute;
  left: 0;
  right: 0;
  display: block;
  height: 3.86px;
  background: #fff;
  border-radius: 100px;
}

.burger span:nth-child(1) {
  top: 16.12%;
}

.burger span:nth-child(2) {
  top: 43.38%;
}

.burger span:nth-child(3) {
  top: 70.63%;
}

/* Hero */
.hero {
  position: relative;
  height: 900px;
  color: #fff;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

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

.hero__blur {
  position: absolute;
  inset: 0 0 auto;
  height: 260px;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  mask-image: linear-gradient(180deg, #000 0%, #000 28%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 28%, transparent 100%);
}

.hero__blur img {
  width: 100%;
  height: 900px;
  object-fit: cover;
  filter: blur(22px);
  transform: scale(1.08);
  transform-origin: top center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero__overlay-top,
.hero__overlay-side {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay-top {
  opacity: 0.9;
}

.hero__logo {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 1;
  width: min(106%, 1444px);
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
}

.hero__logo img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.5;
  filter: brightness(0) invert(1);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: min(100%, var(--page));
  height: 100%;
  margin: 0 auto;
  padding: 199px var(--pad) 64px;
  box-sizing: border-box;
}

.hero__title {
  font-size: clamp(28px, 3vw, 41.47px);
  font-weight: 600;
  line-height: 1.15;
  text-transform: uppercase;
  max-width: 539px;
  margin-bottom: 53px;
}

.hero__lead {
  font-size: 21.6px;
  font-weight: 400;
  line-height: 1.35;
  max-width: 538px;
  margin-bottom: 0;
}

.hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 56px;
  max-width: 700px;
  margin-top: auto;
}

.hero__feature {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  width: 174px;
  font-size: 18px;
  line-height: 1.25;
}

.hero__feature-icon {
  width: 32px;
  height: 9px;
  margin-top: 7px;
  flex-shrink: 0;
  object-fit: contain;
}

.social-float {
  position: absolute;
  right: max(1.5rem, calc((100% - var(--page)) / 2 + 97px));
  top: 193px;
  z-index: 3;
  width: 56px;
  height: 153px;
}

.social-float__bg {
  position: absolute;
  left: 3px;
  top: 7px;
  width: 50px;
  height: 140px;
  pointer-events: none;
  opacity: 0.55;
}

.social-float__item {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
  opacity: 0.55;
}

.social-float__item:hover {
  opacity: 0.8;
}

.social-float__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-float__item--fb {
  top: 20px;
  left: 17px;
  width: 23px;
  height: 23px;
}

.social-float__item--ig {
  top: 65px;
  left: 16px;
  width: 24px;
  height: 24px;
}

.social-float__item--tt {
  top: 111px;
  left: 16px;
  width: 24px;
  height: 24px;
}

/* Intro */
.intro-wrap {
  background: var(--bg-light);
  padding: 100px 27px 0;
}

.intro {
  position: relative;
  max-width: 1313px;
  margin: 0 auto;
  background: #fff;
  border-radius: 40px;
  padding: 98px 71px;
  display: grid;
  grid-template-columns: minmax(0, 375px) minmax(0, 1fr);
  gap: 0 27px;
  box-shadow: 0 20px 60px rgba(20, 25, 31, 0.08);
  overflow: visible;
  align-items: stretch;
  box-sizing: border-box;
  width: 100%;
}

.intro__right {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: visible;
  min-width: 0;
}

.intro__left {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 375px;
}

.intro__title {
  font-size: 25.92px;
  font-weight: 600;
  max-width: 373px;
  line-height: 1.2;
  margin-bottom: 50px;
}

.intro__left > .intro__text {
  margin-bottom: 51px;
}

.intro .btn {
  width: 241px;
  height: 51px;
  padding: 0 24px;
  box-sizing: border-box;
}

.intro__text {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.2;
}

.intro__quote {
  margin-top: auto;
  padding-top: 2rem;
}

.intro__quote-mark {
  display: block;
  width: 76px;
  height: 31px;
  margin-bottom: 38px;
  object-fit: contain;
  object-position: left center;
}

.intro__promises {
  text-align: center;
  font-size: clamp(22px, 2.4vw, 37.33px);
  line-height: 1.18;
  color: var(--text-muted);
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 101px;
}

.intro__promises strong {
  color: var(--text-dark);
  font-weight: 600;
}

@media (min-width: 1500px) {
  .intro__promises {
    max-width: 880px;
  }
}

.intro__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 21px;
  align-items: start;
  overflow: visible;
  padding: 0;
  width: 100%;
  max-width: 771px;
  margin-left: auto;
}

.service-card {
  position: relative;
  width: 100%;
  max-width: 243px;
  height: auto;
  aspect-ratio: 243 / 375;
  flex-shrink: 0;
  cursor: pointer;
  z-index: 0;
  justify-self: end;
}

.service-card__inner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  border-radius: 35px;
  overflow: hidden;
  transition:
    height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.74) 0%,
    rgba(102, 102, 102, 0) 55%
  );
  pointer-events: none;
}

.service-card__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.service-card__title {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 20px;
  right: 20px;
  margin: 0;
  color: #fff;
  font-weight: 600;
  font-size: 25.92px;
  text-transform: uppercase;
  line-height: 1.15;
}

.service-card__desc {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 22px;
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.4s ease 0.05s,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.05s;
  pointer-events: none;
}

.service-card:hover {
  z-index: 3;
}

.service-card:hover .service-card__inner {
  height: 108%;
  box-shadow: 0 24px 48px rgba(20, 25, 31, 0.28);
}

.service-card:hover .service-card__inner::after {
  opacity: 1;
}

.service-card:hover .service-card__desc {
  opacity: 1;
  transform: translateY(0);
}

.service-card.reveal,
.service-card.reveal.is-in {
  transform: none;
}

.service-card.reveal.is-in {
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Services */
.services {
  background: var(--bg-light);
  padding: 111px 0 5rem;
}

.service-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  width: 100%;
  margin-bottom: 100px;
  position: relative;
}

.tab-line {
  flex: 1 1 auto;
  height: 2px;
  min-width: 40px;
  background: var(--teal);
  align-self: center;
}

.tab {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  min-height: 51px;
  padding: 12px 50px;
  border-radius: 100px;
  border: 2px solid var(--teal);
  background: #fff;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  text-transform: lowercase;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s, color 0.25s;
}

.tab.is-active {
  background: transparent;
  color: var(--text-muted);
  font-weight: 700;
}

.tab:hover {
  color: var(--text-dark);
}

.services__blocks {
  padding-top: 0;
}

.service-block {
  padding-bottom: 200px;
  scroll-margin-top: 120px;
}

.service-block:last-child {
  padding-bottom: 1rem;
}

.service-hero {
  display: grid;
  grid-template-columns: minmax(0, 573px) minmax(0, 570px);
  gap: 0 31px;
  margin-bottom: 100px;
  align-items: start;
  justify-content: space-between;
}

.service-hero > div:first-child {
  width: 100%;
  max-width: 573px;
  display: flex;
  flex-direction: column;
  min-height: 657px;
}

.service-hero__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  max-width: 575px;
  margin-bottom: 100px;
}

.service-hero__meta p {
  font-size: 18px;
  line-height: 1.35;
  color: var(--text-muted);
  max-width: 176px;
  margin: 0;
}

.service-hero__title {
  font-size: 41.47px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 50px;
  max-width: none;
  line-height: 1.15;
  white-space: normal;
  overflow-wrap: break-word;
}

.price-list {
  display: flex;
  flex-direction: column;
  gap: 42px;
  width: 100%;
  max-width: 532px;
  margin-bottom: 50px;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 18px;
  line-height: 1.2;
  color: var(--text-muted);
  text-transform: lowercase;
}

.price-list li span:last-child {
  flex: 0 0 135px;
  text-align: left;
}

.service-hero .btn--wide {
  width: 100%;
  max-width: 573px;
  height: 51px;
  padding: 0 24px;
  box-sizing: border-box;
  margin-top: auto;
  flex-shrink: 0;
}

.service-hero__image {
  border-radius: 35px;
  overflow: hidden;
  width: 100%;
  max-width: 570px;
  height: auto;
  aspect-ratio: 570 / 657;
  flex-shrink: 0;
  justify-self: end;
}

.service-hero__image img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}

.service-body {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 2rem 54px;
  margin-bottom: 79px;
  align-items: start;
}

.service-col {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 25px;
  align-items: start;
}

.block-title {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  margin: 0;
  font-size: 25.92px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.15;
  white-space: nowrap;
}

.block-title img {
  width: 39px;
  height: 22px;
  display: block;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.block-title:hover img {
  transform: translateX(6px);
}

.apply-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 18px;
  line-height: 1.3;
  color: var(--text-muted);
  padding-top: 4px;
}

.desc-text {
  font-size: 18px;
  line-height: 1.35;
  color: var(--text-muted);
  max-width: 570px;
  padding-top: 4px;
}

.desc-text p + p {
  margin-top: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 28px;
}

.feature-col h3 {
  font-size: 25.92px;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.feature-col p,
.feature-col li {
  font-size: 18px;
  color: var(--text-muted);
}

.feature-col ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-col .feature-block {
  margin-top: 100px;
}

.feature-block h3 {
  font-size: 25.92px;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.feature-block p {
  font-size: 18px;
  color: var(--text-muted);
}

/* Director */
.director {
  position: relative;
  height: 900px;
  color: #fff;
  overflow: hidden;
  background: #0d1117;
}

.director__bg,
.director__stripes {
  position: absolute;
  inset: 0;
}

.director__bg img,
.director__stripes img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.director__stripes {
  opacity: 0.35;
  pointer-events: none;
}

.director__inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--page));
  height: 100%;
  margin: 0 auto;
  padding: 200px var(--pad) 0;
}

.director__content {
  position: relative;
  z-index: 2;
  max-width: 464px;
}

.director__name {
  font-size: clamp(28px, 3vw, 41.47px);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.director__role {
  font-size: 25.92px;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.director__quote {
  font-size: 18px;
  max-width: 369px;
  margin-bottom: 2rem;
}

.director__sign {
  width: 288px;
  height: auto;
  display: block;
}

.director__photo {
  position: absolute;
  right: var(--pad);
  bottom: 0;
  width: 472px;
  height: 800px;
  z-index: 1;
  pointer-events: none;
}

.director__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
}

/* Contact / Footer */
.contact {
  background: #fff;
  min-height: 900px;
  padding: 151px 0 90px;
  box-sizing: border-box;
}

.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 570px);
  gap: 0 48px;
  align-items: start;
  min-height: 659px;
}

.contact__main {
  display: flex;
  flex-direction: column;
  max-width: 558px;
}

.contact__title {
  font-size: 37.33px;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 100px;
  max-width: none;
  white-space: nowrap;
}

.contact__title strong {
  font-weight: 600;
}

.contact__company {
  font-size: 18px;
  line-height: 1.25;
  color: var(--text-muted);
  max-width: 366px;
  margin: 0;
}

.contact__company p {
  margin: 0;
}

.contact__company p + p {
  margin-top: 0;
}

.contact__details {
  margin-top: 100px;
  font-size: 41.47px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.2;
  max-width: 558px;
}

.contact__details a {
  display: block;
  cursor: pointer;
}

.contact__details a:hover {
  color: var(--teal);
}

.contact__aside {
  display: flex;
  flex-direction: column;
  width: 570px;
  max-width: 100%;
}

.contact__hint {
  font-size: 18px;
  line-height: 1.35;
  color: var(--text-muted);
  max-width: 173px;
  margin: 0 0 0 auto;
  text-align: left;
}

.form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 50px;
  row-gap: 0;
  width: 100%;
  margin-top: 100px;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 2px solid var(--teal);
  padding-bottom: 1px;
  cursor: text;
}

.form__field--full {
  grid-column: 1 / -1;
  margin-top: 48px;
}

.form__field-label {
  display: block;
  font-size: 18px;
  line-height: 1;
  color: var(--text-muted);
  margin: 0;
  padding: 0;
}

.form__field input,
.form__field textarea {
  border: none;
  padding: 0;
  margin: 0;
  color: var(--text-dark);
  resize: none;
  background: transparent;
  width: 100%;
  font-size: 18px;
  line-height: 1.15;
  min-height: 1.15em;
  cursor: text;
  outline: none;
}

.form__field input:focus,
.form__field textarea:focus {
  outline: none;
}

.form__field:focus-within {
  border-bottom-color: var(--teal-end);
}

.form__submit {
  width: 189px;
  height: 51px;
  padding: 0 24px;
  box-sizing: border-box;
  margin-top: 40px;
  justify-self: start;
}

.form__submit:disabled,
.modal__submit:disabled {
  opacity: 0.6;
  pointer-events: none;
  transform: none;
}

.form__status {
  grid-column: 1 / -1;
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.35;
  color: var(--text-muted);
  min-height: 1.35em;
}

.form__status.is-error {
  color: #c0392b;
}

.form__status--modal {
  margin: 0;
  text-align: center;
}

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

.copyright {
  margin-top: 2rem;
  padding-top: 2rem;
  font-size: 18px;
  line-height: 1.2;
  color: var(--text-muted);
  text-align: right;
  align-self: flex-end;
}

/* Mobile call button */
.call-fab {
  display: none;
}

/* Side menu */
html.is-menu-open,
body.is-menu-open {
  overflow: hidden;
}

body.is-menu-open {
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
}

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: block;
}

.nav-drawer[hidden] {
  display: none;
}

.nav-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 25, 31, 0.45);
  cursor: pointer;
}

.nav-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 346px;
  max-width: 100%;
  height: 100%;
  background: #fff;
  padding: 48px 40px 40px;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.nav-drawer__close {
  position: absolute;
  top: 28px;
  right: 32px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a8b4c0;
  cursor: pointer;
}

.nav-drawer__close svg {
  display: block;
}

.nav-drawer__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 48px;
}

.nav-drawer__link {
  display: block;
  font-family: var(--font);
  font-size: 25.92px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: lowercase;
  color: var(--text-muted);
  line-height: 1.15;
}

.nav-drawer__link:hover {
  color: var(--text-dark);
}

.nav-drawer__sub {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
  padding-left: 8px;
}

.nav-drawer__sublink {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: lowercase;
  color: var(--text-muted);
  line-height: 1.2;
}

.nav-drawer__sublink::before {
  content: "";
  width: 18px;
  height: 9px;
  flex-shrink: 0;
  background: url("../assets/menu-slash.svg") center / contain no-repeat;
}

.nav-drawer__sublink:hover {
  color: var(--text-dark);
}

/* Responsive */
@media (max-width: 1360px) {
  :root {
    --pad: 48px;
  }

  .intro {
    padding: 72px 40px;
  }

  .intro__promises {
    font-size: clamp(22px, 2.2vw, 32px);
    max-width: 660px;
    margin-bottom: 64px;
  }

  .service-card__title {
    font-size: clamp(18px, 1.8vw, 25.92px);
  }

  .tab {
    padding: 12px 28px;
    font-size: 16px;
  }
}

@media (max-width: 1100px) {
  :root {
    --pad: 40px;
  }

  .intro {
    grid-template-columns: 1fr;
    padding: 48px 32px;
    gap: 2.5rem;
  }

  .intro__left {
    max-width: none;
  }

  .intro__title {
    margin-bottom: 1.25rem;
  }

  .intro__left > .intro__text {
    margin-bottom: 1.5rem;
  }

  .intro__promises {
    margin-bottom: 2rem;
  }

  .intro__cards {
    grid-template-columns: 1fr;
    max-width: 280px;
    width: 100%;
    margin-inline: auto;
  }

  .service-card {
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 243 / 375;
    justify-self: stretch;
  }

  .service-card__inner {
    transition: none;
  }

  .service-card__inner::after {
    opacity: 1;
    transition: none;
  }

  .service-card__desc {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .service-card:hover .service-card__inner {
    height: 100%;
    box-shadow: none;
  }

  .intro__quote-mark {
    margin-bottom: 1rem;
  }

  .service-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: center;
    justify-items: center;
    justify-content: center;
  }

  .service-hero > div:first-child {
    width: 100%;
    max-width: 573px;
    min-height: 0;
    align-items: center;
  }

  .service-hero__meta {
    margin-bottom: 2rem;
    width: 100%;
    max-width: 575px;
  }

  .service-hero__title {
    margin-bottom: 1.5rem;
    font-size: clamp(26px, 5vw, 36px);
    white-space: normal;
    text-align: center;
  }

  .price-list {
    margin-bottom: 2.5rem;
    margin-inline: auto;
    width: 100%;
  }

  /* Mobile: центрируем оба столбца в прайсе */
  .price-list li {
    text-align: center;
  }

  .price-list li span:first-child {
    flex: 1 1 0;
    text-align: center;
  }

  .price-list li span:last-child {
    flex: 1 1 0;
    text-align: center;
    min-width: 0;
  }

  .service-hero .btn--wide {
    margin-top: 0;
    margin-inline: auto;
  }

  .service-hero__image {
    width: 100%;
    max-width: 570px;
    height: 420px;
    order: -1;
    justify-self: center;
    aspect-ratio: auto;
  }

  .service-hero__image img {
    width: 100%;
    height: 100%;
  }

  .service-body {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .service-block {
    padding-bottom: 5rem;
  }

  .service-tabs {
    margin-bottom: 2.5rem;
  }

  .service-col {
    grid-template-columns: auto 1fr;
  }

  .director {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .director__inner {
    padding: 100px var(--pad) 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
  }

  .director__content {
    max-width: 464px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .director__quote {
    max-width: 369px;
    margin-inline: auto;
  }

  .director__sign {
    margin-inline: auto;
  }

  .director__photo {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 360px);
    height: 520px;
    margin: 1.5rem auto 0;
    align-self: center;
  }

  .contact {
    min-height: 0;
    padding: 80px 0 60px;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    min-height: 0;
  }

  .contact__main {
    max-width: none;
    min-height: 0;
  }

  .contact__title {
    white-space: normal;
    font-size: clamp(28px, 5vw, 37.33px);
    margin-bottom: 2rem;
  }

  .contact__details {
    margin-top: 3rem;
    font-size: clamp(24px, 5vw, 36px);
  }

  .contact__aside {
    width: 100%;
    min-height: 0;
  }

  .contact__hint {
    margin: 0 0 2rem;
    max-width: none;
  }

  .form {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.5rem;
    margin-top: 0;
  }

  .form__field--full {
    margin-top: 1.5rem;
  }

  .form__submit {
    margin-top: 1.5rem;
  }

  .copyright {
    text-align: left;
    align-self: flex-start;
    margin-top: 2.5rem;
    padding-top: 0;
  }
}

/* Modal */
body.is-modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 25, 31, 0.72);
  cursor: pointer;
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 523px);
  background: #fff;
  border-radius: 40px;
  padding: 52px 56px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
}

.modal__close {
  display: none;
}

.modal__title {
  text-align: center;
  font-size: 25.92px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin: 0 0 40px;
}

.modal__form {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.modal__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1.5px solid #c9d0d6;
  padding-bottom: 4px;
  cursor: text;
}

.modal__field-label {
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  color: var(--text-muted);
  margin: 0;
  padding: 0;
}

.modal__field input {
  border: none;
  padding: 0;
  margin: 0;
  color: var(--text-dark);
  background: transparent;
  width: 100%;
  font-size: 18px;
  line-height: 1.15;
  min-height: 1.15em;
  cursor: text;
  outline: none;
}

.modal__field input:focus {
  outline: none;
}

.modal__field:focus-within {
  border-bottom-color: var(--teal);
}

.modal__field:focus-within .modal__field-label {
  color: var(--text-muted);
}

.modal__submit {
  align-self: center;
  margin-top: 12px;
  width: 241px;
  height: 51px;
  padding: 0 24px;
  box-sizing: border-box;
  line-height: 1;
}

@media (max-width: 768px) {
  .modal__dialog {
    padding: 40px 28px 36px;
    border-radius: 28px;
  }

  .modal__title {
    font-size: 22px;
    margin-bottom: 32px;
  }

  .modal__form {
    gap: 28px;
  }

  .header__phone {
    display: none;
  }

  .call-fab {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: max(20px, calc(env(safe-area-inset-bottom, 0px) + 16px));
    z-index: 35;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    box-shadow: 0 8px 24px rgba(38, 162, 170, 0.42);
    transition: transform 0.2s, opacity 0.2s;
  }

  .call-fab svg {
    width: 26px;
    height: 26px;
  }

  .call-fab:hover,
  .call-fab:focus-visible {
    transform: scale(1.06);
  }

  .call-fab:active {
    transform: scale(0.96);
  }

  body.is-menu-open .call-fab,
  body.is-modal-open .call-fab {
    opacity: 0;
    pointer-events: none;
  }

  .hero {
    height: auto;
    min-height: 100svh;
  }

  .hero__content {
    min-height: 100svh;
    padding-top: 140px;
    padding-right: 64px;
    padding-bottom: 48px;
  }

  .hero__lead {
    margin-bottom: 40px;
  }

  .hero__features {
    gap: 36px 40px;
  }

  .social-float {
    right: 10px;
    top: 108px;
    width: 48px;
    height: 132px;
  }

  .social-float__bg {
    left: 2px;
    top: 6px;
    width: 44px;
    height: 120px;
  }

  .social-float__item--fb {
    top: 16px;
    left: 14px;
    width: 20px;
    height: 20px;
  }

  .social-float__item--ig {
    top: 55px;
    left: 14px;
    width: 20px;
    height: 20px;
  }

  .social-float__item--tt {
    top: 95px;
    left: 14px;
    width: 20px;
    height: 20px;
  }

  .intro-wrap {
    padding: 64px 1rem 0;
  }

  .intro__cards {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin-inline: auto;
  }

  .service-block {
    scroll-margin-top: 100px;
  }

  .service-tabs {
    display: none;
  }

  .service-body,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .service-col {
    grid-template-columns: 1fr;
    row-gap: 1rem;
  }

  .block-title {
    align-items: flex-start;
  }

  .block-title img {
    display: none;
  }

  .director__sign {
    display: none;
  }

  .btn--wide {
    max-width: none;
  }

  .form {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 28px;
    width: 100%;
    margin-top: 0;
  }

  .form__field {
    width: 100%;
    min-width: 0;
    gap: 10px;
    padding-bottom: 8px;
  }

  .form__field--full {
    margin-top: 0;
  }

  .form__submit {
    margin-top: 8px;
    justify-self: start;
  }
}

/* ——— Animations ——— */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal--left {
  transform: translateX(-36px);
}

.reveal--right {
  transform: translateX(36px);
}

.reveal--left.is-in,
.reveal--right.is-in {
  transform: none;
}

.reveal--fade {
  transform: none;
}

.reveal--scale {
  transform: scale(0.94);
}

.reveal--scale.is-in {
  transform: none;
}

.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.4s; }
.reveal[data-delay="6"] { transition-delay: 0.48s; }
.reveal[data-delay="7"] { transition-delay: 0.56s; }
.reveal[data-delay="8"] { transition-delay: 0.64s; }

.hero__feature.reveal {
  transform: translateY(20px);
}

.hero__feature.reveal.is-in {
  transform: none;
}

.price-list li.reveal,
.apply-list li.reveal,
.feature-col li.reveal,
.desc-text p.reveal {
  transform: translateY(18px);
}

.price-list li.reveal.is-in,
.apply-list li.reveal.is-in,
.feature-col li.reveal.is-in,
.desc-text p.reveal.is-in {
  transform: none;
}

.service-hero__image.reveal--right {
  transform: translateX(48px) scale(0.97);
}

.service-hero__image.reveal--right.is-in {
  transform: none;
}

.hero__bg img {
  transform: scale(1.06);
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero.is-ready .hero__bg img {
  transform: scale(1);
}

.hero__logo {
  opacity: 0;
  transform: translateX(-50%) translateY(24px);
  will-change: transform;
  transition:
    opacity 1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s;
}

.hero.is-ready .hero__logo {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.header {
  opacity: 0;
  transform: translateY(-12px);
  transition:
    opacity 0.6s ease 0.1s,
    transform 0.6s ease 0.1s;
}

body.is-ready .header {
  opacity: 1;
  transform: none;
}

.panel {
  animation: none;
}

.panel.is-active {
  animation: panelIn 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.nav-drawer:not([hidden]) .nav-drawer__backdrop {
  animation: fadeIn 0.28s ease;
}

.nav-drawer:not([hidden]) .nav-drawer__panel {
  animation: slideInRight 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: none;
  }
}

.modal {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.modal[hidden] {
  display: flex;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal__backdrop {
  opacity: 0;
  transition: opacity 0.28s ease;
}

.modal.is-open .modal__backdrop {
  opacity: 1;
}

.modal__dialog {
  transform: translateY(24px) scale(0.96);
  opacity: 0;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal.is-open .modal__dialog {
  transform: none;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-in,
  .hero__bg img,
  .hero.is-ready .hero__bg img,
  .hero__logo,
  .hero.is-ready .hero__logo,
  .header,
  body.is-ready .header,
  .panel.is-active,
  .nav-drawer:not([hidden]) .nav-drawer__backdrop,
  .nav-drawer:not([hidden]) .nav-drawer__panel,
  .modal,
  .modal__backdrop,
  .modal__dialog,
  .modal.is-open .modal__dialog {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    visibility: visible !important;
  }

  .hero__logo {
    transform: translateX(-50%) !important;
  }

  .service-card:hover .service-card__inner {
    height: 108% !important;
    transform: none !important;
  }
}
