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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
}

body.modal-open,
body.chat-open {
  overflow: hidden;
}

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

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: 0.25s ease;
}

.btn--primary {
  background: #00b8c8;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 184, 200, 0.25);
}

.btn--primary:hover {
  background: #00a4b3;
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  border: 1px solid #d9e6f3;
  color: #0a4d8c;
}

.btn--ghost:hover {
  border-color: #00b8c8;
  color: #00b8c8;
}

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #edf2f7;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-family: "Nunito", sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #0a4d8c;
}

.brand__tagline {
  font-size: 12px;
  color: #6b7280;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header__nav a {
  font-size: 14px;
  font-weight: 500;
  color: #0a4d8c;
  transition: 0.2s ease;
}

.header__nav a:hover {
  color: #00b8c8;
}

/* BURGER */

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  width: 24px;
  height: 2px;
  background: #0a4d8c;
  border-radius: 999px;
}

/* MOBILE NAV */

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 20px 16px;
  background: #ffffff;
  border-bottom: 1px solid #edf2f7;
}

.mobile-nav a {
  font-size: 15px;
  color: #0a4d8c;
}

.mobile-nav--open {
  display: flex;
}

/* HERO */

.hero {
  padding: 70px 0 60px;
  background: linear-gradient(135deg, #f5f9ff, #ffffff);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 48px;
}

.hero__title {
  font-family: "Nunito", sans-serif;
  font-size: 48px;
  line-height: 1.1;
  font-weight: 800;
  color: #0a4d8c;
  margin: 0 0 20px;
}

.hero__subtitle {
  max-width: 640px;
  font-size: 18px;
  line-height: 1.7;
  color: #4b5563;
  margin: 0 0 28px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.hero__note {
  font-size: 15px;
  color: #6b7280;
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.hero__image-wrap {
  width: 100%;
  max-width: 560px;
  border-radius: 32px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.hero__image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* SECTIONS */

.section {
  padding: 90px 0;
}

.section--soft {
  background: #f8fbff;
}

.section--cta {
  background: #0a4d8c;
  color: #ffffff;
}

.section__title {
  font-family: "Nunito", sans-serif;
  font-size: 42px;
  line-height: 1.15;
  font-weight: 800;
  text-align: center;
  margin: 0 0 14px;
}

.section__subtitle {
  max-width: 720px;
  margin: 0 auto 50px;
  text-align: center;
  font-size: 17px;
  color: #6b7280;
}

.section--cta .section__subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* FOR WHOM */

.for-whom__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.for-whom__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  height: 100%;
}

.for-whom__card {
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.for-whom__media {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.for-whom__image {
  width: 100%;
  height: 68%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.12);
}

.for-whom__content {
  flex: 1;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.for-whom__content h3 {
  font-family: "Nunito", sans-serif;
  font-size: 40px;
  line-height: 1.1;
  color: #0a4d8c;
  margin: 0 0 18px;
}

.for-whom__content p {
  font-size: 17px;
  line-height: 1.7;
  color: #4b5563;
  margin: 0;
}

.for-whom__card:hover {
  border-color: #00b8c8;
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 184, 200, 0.08);
}

/* CARDS */

.cards {
  display: grid;
  gap: 24px;
}

.cards--4 {
  grid-template-columns: repeat(4, 1fr);
}

.cards--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: #ffffff;
  border-radius: 26px;
  border: 1px solid rgba(0, 184, 200, 0.35);  padding: 28px;
  transition: 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.card h3 {
  font-size: 20px;
  color: #0a4d8c;
  margin: 0 0 12px;
}

.card p {
  margin: 0;
  color: #4b5563;
}

/* FLIP CARDS */

.card--flip {
  padding: 0;
  border: none;
  background: transparent;
  perspective: 1000px;
  cursor: pointer;
}

.card--flip:hover {
  box-shadow: none;
}

.card__inner {
  position: relative;
  width: 100%;
  min-height: 320px;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.card--flip.flipped .card__inner {
  transform: rotateY(180deg);
}

.card__front,
.card__back {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: #ffffff;
border: 1px solid rgba(0, 184, 200, 0.35);  padding: 34px;
  backface-visibility: hidden;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.card__back {
  transform: rotateY(180deg);
}

.card__icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 22px;
}

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

.card__title {
  font-size: 24px;
  color: #0a4d8c;
  margin: 0;
  text-align: center;
}

.card__back p {
  text-align: center;
  font-size: 17px;
}

/* STEPS */

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

.step {
  background: #ffffff;
  border: 1px solid #e6eef7;
  border-radius: 24px;
  padding: 30px 24px;
  text-align: center;
  transition: 0.25s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.step__number {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  background: #00b8c8;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.step__title {
  font-size: 20px;
  color: #0a4d8c;
  margin: 0 0 10px;
}

.step__text {
  font-size: 15px;
  color: #4b5563;
}

/* PRICING */

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

.pricing__card {
  position: relative;
  background: #ffffff;
  border-radius: 30px;
  border: 1px solid #e6eef7;
  padding: 34px;
  transition: 0.25s ease;
}

.pricing__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.pricing__card--popular {
  border: 2px solid #00b8c8;
}

.pricing__label {
  position: absolute;
  top: -12px;
  left: 28px;
  background: #00b8c8;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.pricing__card h3 {
  font-size: 28px;
  line-height: 1.2;
  color: #0a4d8c;
  margin: 0 0 14px;
}

.pricing__tagline {
  font-size: 15px;
  line-height: 1.6;
  color: #6b7280;
  margin-bottom: 24px;
}

.pricing__list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
}

.pricing__list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 14px;
  color: #374151;
  font-size: 15px;
}

.pricing__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00b8c8;
}

.pricing__prices {
  margin-bottom: 18px;
}

.pricing__prices p {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: #0a4d8c;
}

.pricing__note {
  font-size: 14px;
  color: #00b8c8;
  font-weight: 600;
  margin-bottom: 24px;
}

/* MODAL */

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 999;
}

.modal.active {
  display: block;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.modal__window {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 92%;
  max-width: 420px;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border-radius: 28px;
  padding: 34px;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

.modal__title {
  font-size: 28px;
  color: #0a4d8c;
  margin: 0 0 24px;
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal__form input,
.modal__form select {
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  outline: none;
}

.modal__form input:focus,
.modal__form select:focus {
  border-color: #00b8c8;
}

/* REVIEWS */

.card--review {
  text-align: left;
}

.card__author {
  display: block;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: #0a4d8c;
}

/* FAQ */

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

.faq__item {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e6eef7;
  padding: 22px 24px;
}

.faq__question {
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #0a4d8c;
  list-style: none;
  position: relative;
  padding-right: 30px;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 24px;
  color: #00b8c8;
}

.faq__item[open] .faq__question::after {
  content: "–";
}

.faq__answer {
  margin-top: 14px;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.7;
}

/* CTA */

.cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.form {
  background: #ffffff;
  border-radius: 30px;
  padding: 34px;
  color: #1f2933;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form__field label {
  font-size: 14px;
  font-weight: 500;
}

.form__field input,
.form__field select {
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  outline: none;
}

.form__field input:focus,
.form__field select:focus {
  border-color: #00b8c8;
}

.form__btn {
  width: 100%;
}

.form__note {
  margin-top: 14px;
  font-size: 12px;
  color: #6b7280;
}

.form__status {
  margin-top: 14px;
  text-align: center;
  font-weight: 600;
  color: #0a4d8c;
}

/* FOOTER */

.footer {
  padding: 30px 0;
  border-top: 1px solid #edf2f7;
  background: #ffffff;
}

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

.footer__logo span {
  font-size: 20px;
  font-weight: 800;
  color: #0a4d8c;
}

.footer__copy {
  font-size: 13px;
  color: #6b7280;
}

/* AI CHAT */

.ai-chat {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.ai-chat.ai-chat--open {
  display: block;
}

.ai-chat__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
}

.ai-chat__panel {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(420px, calc(100% - 24px));
  height: min(720px, calc(100vh - 48px));
  background: #ffffff;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 90px rgba(15, 23, 42, 0.24);
}

.ai-chat__header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: linear-gradient(135deg, #0a4d8c, #00b8c8);
  color: #ffffff;
}

.ai-chat__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: #0a4d8c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.ai-chat__title {
  margin: 0;
  font-size: 20px;
}

.ai-chat__subtitle {
  margin: 2px 0 0;
  font-size: 12px;
  opacity: 0.85;
}

.ai-chat__close {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.16);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
}

.ai-chat__messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  background: #f8fbff;
}

.ai-message {
  max-width: 86%;
  padding: 14px 16px;
  border-radius: 18px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-line;
}

.ai-message--bot {
  background: #ffffff;
  border: 1px solid #e6eef7;
  margin-right: auto;
}

.ai-message--user {
  background: #00b8c8;
  color: #ffffff;
  margin-left: auto;
}

.ai-chat__quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid #edf2f7;
}

.ai-chat__quick-actions button {
  border: none;
  border-radius: 999px;
  padding: 8px 12px;
  background: #eef8fa;
  color: #0a4d8c;
  font-size: 13px;
  cursor: pointer;
}

.ai-chat__form {
  display: flex;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid #edf2f7;
}

.ai-chat__input {
  flex: 1;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
}

.ai-chat__input:focus {
  border-color: #00b8c8;
}

.ai-chat__send {
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: #00b8c8;
  color: #ffffff;
  cursor: pointer;
}

.ai-chat__note {
  padding: 0 14px 14px;
  margin: 0;
  font-size: 11px;
  color: #6b7280;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .pricing {
    grid-template-columns: 1fr;
  }

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

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

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

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

@media (max-width: 900px) {
  .header__nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero__inner,
  .for-whom__layout {
    grid-template-columns: 1fr;
  }

  .hero__title {
    font-size: 42px;
  }

  .hero__image {
    height: 420px;
  }

  .for-whom__cards {
    grid-template-columns: 1fr;
  }

  .cards--3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 70px 0;
  }

  .hero {
    padding-top: 50px;
  }

  .hero__title {
    font-size: 34px;
  }

  .section__title {
    font-size: 32px;
  }

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

  .cards--4 {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .ai-chat__panel {
    right: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
    height: calc(100vh - 20px);
  }
}