@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap");

:root {
  --nav-bg: #010e14;
  --nav-fg: #ffffff;
  --nav-height: 4.25rem;
  --nav-pad-x: clamp(1rem, 4vw, 3rem);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: #07121a;
  background: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.services-hero {
  width: 100%;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 620ms ease, transform 620ms ease;
}

.services-hero[data-animate="pending"] {
  opacity: 0;
  transform: translateY(2.25rem);
}

.services-hero.is-inview {
  opacity: 1;
  transform: translateY(0);
}

.services-hero__media {
  width: 100%;
  min-height: clamp(14rem, 38vw, 15rem);
}

.services-hero__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.services-hero__title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.services-content {
  background: #ffffff;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 620ms ease, transform 620ms ease;
}

.services-content[data-animate="pending"] {
  opacity: 0;
  transform: translateY(2.25rem);
}

.services-content.is-inview {
  opacity: 1;
  transform: translateY(0);
}

.services-content__inner {
  width: min(100%, 100rem);
  margin: 0 auto;
  padding: clamp(2.6rem, 6vw, 5rem) clamp(1.25rem, 4.5vw, 2rem) clamp(3.2rem, 8vw, 5.5rem);
}

.services-content__intro {
  text-align: start;
  margin: 0 0 clamp(2.2rem, 4.8vw, 3.6rem);
}

.services-content__intro h2 {
  margin: 0 0 1.05rem;
  color: #111111;
  font-size: clamp(1.85rem, 1.6vw + 1.2rem, 2.55rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.services-content__intro p {
  margin: 0;
  color: #4b4b4b;
  font-size: clamp(0.95rem, 1.1vw, 1.2rem);
  font-weight: 400;
  line-height: 1.55;
}

.services-content__block {
  text-align: start;
}

.services-content__block + .services-content__block {
  margin-top: clamp(2rem, 4.2vw, 3.15rem);
}

.services-content__block h3 {
  margin: 0 0 0.95rem;
  color: #111111;
  font-size: clamp(1.45rem, 1.2vw + 1rem, 2.05rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.services-content__block p {
  margin: 0 0 0.75rem;
  color: #3d3d3d;
  font-size: clamp(0.95rem, 1.1vw, 1.2rem);
  font-weight: 400;
  line-height: 1.55;
}

.services-content__block p:last-child {
  margin-bottom: 0;
}

.services-content strong {
  color: #111111;
  font-weight: 700;
}

.services-content__list {
  list-style: disc;
  margin: 0.2rem 0 0.9rem;
  padding-inline-start: 1.35rem;
}

.services-content__list li {
  color: #111111;
  font-size: clamp(0.95rem, 1.1vw, 1.2rem);
  font-weight: 700;
  line-height: 1.55;
  margin: 0 0 0.12rem;
}

@media (max-width: 1023px) {
  .services-hero__media {
    min-height: clamp(12rem, 15vw, 19rem);
  }

  .services-content__inner {
    width: min(100%, 44rem);
    padding: 2.2rem clamp(1.15rem, 4.2vw, 2rem) 3rem;
  }

  .services-content__intro {
    margin-bottom: 2rem;
  }

  .services-content__intro h2 {
    margin-bottom: 0.85rem;
  }

  .services-content__intro p,
  .services-content__block p,
  .services-content__list li {
    font-size: clamp(0.95rem, 1.9vw, 1.05rem);
  }

  .services-content__block + .services-content__block {
    margin-top: 1.85rem;
  }
}

@media (max-width: 640px) {
  .services-hero__media {
    min-height: 7rem;
  }

  .services-hero__media img {
    object-position: 58% center;
  }

  .services-content__inner {
    padding: 1.7rem 1rem 2.4rem;
  }

  .services-content__intro {
    margin-bottom: 1.65rem;
    text-align: start;
  }

  .services-content__intro h2 {
    font-size: 1.55rem;
    margin-bottom: 0.75rem;
  }

  .services-content__intro p,
  .services-content__block p,
  .services-content__list li {
    font-size: 16px;
    line-height: 1.5;
  }

  .services-content__block h3 {
    font-size: 1.28rem;
    margin-bottom: 0.7rem;
    line-height: 1.3;
  }

  .services-content__block + .services-content__block {
    margin-top: 1.55rem;
  }
}

.services-book {
  background: #010e14;
  color: #ffffff;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 620ms ease, transform 620ms ease;
}

.services-book[data-animate="pending"] {
  opacity: 0;
  transform: translateY(2.25rem);
}

.services-book.is-inview {
  opacity: 1;
  transform: translateY(0);
}

.services-book__inner {
  width: min(100%, 100rem);
  margin: 0 auto;
  padding: clamp(2.8rem, 6vw, 4.8rem) clamp(1.25rem, 4.5vw, 2rem) clamp(3.4rem, 8vw, 5.5rem);
}

.services-book__header {
  text-align: center;
  margin: 0 auto clamp(1.8rem, 4vw, 2.8rem);
}

.services-book__header h2 {
  margin: 0 0 0.75rem;
  color: #ffffff;
  font-size: clamp(1.65rem, 2.15vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.services-book__header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.95rem, 0.25vw + 0.9rem, 1.08rem);
  font-weight: 400;
  line-height: 1.55;
}

.services-book__grid {
  display: grid;
  grid-template-columns: minmax(16rem, 0.78fr) minmax(20rem, 1.22fr);
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: start;
}

.services-book__card {
  background: #f4f4f4;
  border-radius: 1.5rem;
  padding: clamp(1.6rem, 3vw, 2.2rem) clamp(1.4rem, 2.6vw, 2rem) clamp(1.5rem, 2.8vw, 2.1rem);
  text-align: start;
}

.services-book__card h3 {
  margin: 0 0 0.8rem;
  color: #111111;
  font-size: clamp(1.45rem, 1vw + 1.1rem, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.services-book__card p {
  margin: 0 0 1.35rem;
  color: #444444;
  font-size: clamp(0.92rem, 0.2vw + 0.88rem, 1.02rem);
  font-weight: 400;
  line-height: 1.55;
}

.services-book__call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.7rem 1.7rem;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.services-book__call:hover {
  transform: translateY(-1px);
  background: #000000;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
}

.services-book__call:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.services-book__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 0.95rem;
  background: #f0f0f0;
  border-radius: 1.5rem;
  padding: clamp(1.2rem, 2.4vw, 1.75rem);
}

.services-book__form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: #111111;
  font-size: 0.9rem;
  font-weight: 500;
}

.services-book__full {
  grid-column: 1 / -1;
}

.services-book__form input,
.services-book__form textarea {
  width: 100%;
  border: 0;
  background: #ffffff;
  color: #1b1b1b;
  font: inherit;
  font-size: 0.95rem;
  outline: none;
}

.services-book__form input {
  min-height: 2.7rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
}

.services-book__form textarea {
  min-height: 7.4rem;
  padding: 0.9rem 1rem;
  border-radius: 1.15rem;
  resize: vertical;
}

.services-book__form input:focus-visible,
.services-book__form textarea:focus-visible {
  box-shadow: 0 0 0 2px #39b45b;
}

.services-book__footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.2rem;
}

.services-book__footer p {
  margin: 0;
  max-width: 46ch;
  color: #6a6a6a;
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.45;
}

.services-book__footer button {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0.75rem 1.45rem;
  border-radius: 999px;
  background: #39b45b;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.services-book__footer button:hover {
  transform: translateY(-1px);
  background: #34a853;
  box-shadow: 0 10px 22px rgba(57, 180, 91, 0.28);
}

.services-book__footer button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.services-book__footer button:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

html[dir="rtl"] .services-content__intro,
html[dir="rtl"] .services-content__intro h2,
html[dir="rtl"] .services-content__block,
html[dir="rtl"] .services-content__block h3 {
  text-align: right;
}

html[dir="rtl"] .services-content__intro h2,
html[dir="rtl"] .services-content__block h3,
html[dir="rtl"] .services-book__header h2,
html[dir="rtl"] .services-book__card h3 {
  letter-spacing: 0;
}

html[dir="rtl"] .services-book__card,
html[dir="rtl"] .services-book__card h3 {
  text-align: right;
}

@media (max-width: 1023px) {
  .services-book__inner {
    width: min(100%, 44rem);
    padding: 2.4rem clamp(1.15rem, 4.2vw, 2rem) 3rem;
  }

  .services-book__header {
    margin-bottom: 1.6rem;
  }

  .services-book__grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .services-book__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .services-book__footer p {
    max-width: none;
  }

  .services-book__footer button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .services-book__inner {
    padding: 1.8rem 1rem 2.4rem;
  }

  .services-book__header h2 {
    font-size: 1.45rem;
    margin-bottom: 0.6rem;
  }

  .services-book__header p {
    font-size: 16px;
  }

  .services-book__card {
    padding: 1.35rem 1.2rem 1.4rem;
    border-radius: 1.35rem;
  }

  .services-book__card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.7rem;
  }

  .services-book__card p {
    font-size: 16px;
    margin-bottom: 1.1rem;
  }

  .services-book__form {
    grid-template-columns: 1fr;
    padding: 1.1rem;
    border-radius: 1.2rem;
    gap: 0.8rem;
  }

  .services-book__form input,
  .services-book__form textarea {
    font-size: 0.9rem;
  }

  .services-book__form textarea {
    min-height: 6.4rem;
  }

  .services-book__footer p {
    font-size: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-hero,
  .services-hero[data-animate="pending"],
  .services-content,
  .services-content[data-animate="pending"],
  .services-book,
  .services-book[data-animate="pending"] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
