* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Montserrat, sans-serif;
  background: #f6f8f7;
  color: #1f2d2a;
}

.wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

/* Main layout */
.card {
  max-width: 1180px;
  width: 100%;
  display: flex;
  gap: 56px;
  align-items: center;
}

@media (max-width: 900px) {
  .card {
    flex-direction: column;
    gap: 26px;
  }
}

/* Entrance animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mock {
  animation: fadeUp .55s ease both;
}

.text {
  animation: fadeUp .55s ease both;
  animation-delay: .08s;
}

/* Search mockup */
.mock {
  flex: 1;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .1);
  overflow: hidden;
}

.top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid #eef1f0;
  min-width: 0;
}

.logo {
  flex: 0 0 auto;
  font-weight: 700;
  font-size: 18px;
  color: #333;
}

.searchwrap {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
}

.searchbar {
  width: 100%;
  min-width: 0;
  border: 1px solid #e1e5e4;
  border-radius: 24px;
  padding: 10px 44px 10px 16px;
  color: #444;
  font-size: 14px;
  background: #fff;
  line-height: 20px;
  min-height: 40px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.searchtext {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.caret {
  display: inline-block;
  width: 1px;
  height: 18px;
  background: currentColor;
  margin-left: 2px;
  opacity: .8;
}

@media (max-width: 520px) {
  .top {
    gap: 10px;
    padding: 16px 14px;
  }

  .logo {
    font-size: 16px;
  }

  .searchbar {
    font-size: 13px;
    padding: 9px 38px 9px 14px;
  }
}

@keyframes blink {
  0%, 49% {
    opacity: 0;
  }

  50%, 100% {
    opacity: .85;
  }
}

.caret.blink {
  animation: blink 1s steps(1, end) infinite;
}

.searchwrap svg {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  opacity: .55;
}

/* Search results */
.results {
  padding: 14px 12px 18px;
}

.item {
  display: flex;
  gap: 12px;
  padding: 14px 12px;
  border-radius: 14px;
}

.item + .item {
  margin-top: 10px;
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e6eaea;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #555;
  flex-shrink: 0;
}

.meta {
  font-size: 12px;
  color: #7a8b86;
}

.title {
  font-size: 15px;
  color: #1a0dab;
  margin: 2px 0;
}

.desc {
  font-size: 13px;
  color: #4b5f5a;
}

.note {
  font-size: 11px;
  color: #7a8b86;
  margin-top: 4px;
}

.item.main {
  background: #f2fff8;
  outline: 2px solid #6fcf97;
}

.footer-note {
  padding: 10px 18px 16px;
  font-size: 11px;
  color: #8a9a95;
}

/* Result reveal animation */
.item.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .38s ease, transform .38s ease;
}

.item.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.footer-note.reveal {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .38s ease, transform .38s ease;
}

.footer-note.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
html.reduce-motion .item.reveal,
html.reduce-motion .footer-note.reveal {
  transition: none !important;
  transform: none !important;
}

html.reduce-motion .caret.blink {
  animation: none !important;
  opacity: .85;
}

/* Quiet placeholder results */
#r1 > div:last-child,
#r3 > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#r1 .title,
#r3 .title {
  margin: 0;
}

#r1 .note,
#r3 .note {
  margin: 0;
}

#r1 .meta,
#r1 .title,
#r1 .desc,
#r1 .note,
#r3 .meta,
#r3 .title,
#r3 .desc,
#r3 .note {
  color: transparent;
  user-select: none;
  background: #e9eeec;
  border-radius: 999px;
  display: block;
}

#r1 .meta,
#r3 .meta {
  width: 26%;
  height: 8px;
  line-height: 8px;
}

#r1 .title,
#r3 .title {
  width: 66%;
  height: 12px;
  line-height: 12px;
}

#r1 .desc,
#r3 .desc {
  width: 90%;
  height: 10px;
  line-height: 10px;
}

#r1 .note,
#r3 .note {
  width: 52%;
  height: 6px;
  line-height: 6px;
}

#r1 .meta::selection,
#r1 .title::selection,
#r1 .desc::selection,
#r1 .note::selection,
#r3 .meta::selection,
#r3 .title::selection,
#r3 .desc::selection,
#r3 .note::selection {
  background: transparent;
}

/* Text side */
.text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

h1 {
  font-size: 34px;
  line-height: 1.12;
  margin: 0 0 14px;
}

.lead {
  margin: 0 0 18px;
  color: #4b5f5a;
  font-size: 16px;
  line-height: 1.5;
  max-width: 560px;
}

.actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

a.btn {
  background: #6fcf97;
  color: #0f3d2e;
  text-decoration: none;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

a.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
}

.trust {
  font-size: 13px;
  color: #4b5f5a;
  max-width: 520px;
}

/* Mobile */
@media (max-width: 520px) {
  .wrap {
    padding: 18px;
  }

  h1 {
    font-size: 28px;
  }

  .lead {
    font-size: 15px;
  }

  .top {
    padding: 16px 16px;
  }

  .results {
    padding: 12px 10px 16px;
  }
}

/* Contact modal */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}

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

.contact-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 28, 25, .48);
  backdrop-filter: blur(3px);
}

.contact-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 22px;
  padding: 28px 24px 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .20);
  transform: translateY(10px) scale(.98);
  transition: transform .25s ease;
}

.contact-modal.is-open .contact-modal__dialog {
  transform: translateY(0) scale(1);
}

.contact-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #f2f5f4;
  color: #1f2d2a;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.contact-modal__close:hover {
  background: #e8edeb;
}

.contact-modal__title {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.15;
  color: #1f2d2a;
}

.contact-modal__text {
  margin: 0 0 20px;
  color: #5b6c67;
  font-size: 15px;
  line-height: 1.45;
}

.contact-modal__actions {
  display: grid;
  gap: 12px;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.contact-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, .10);
}

.contact-link--whatsapp {
  background: #25D366;
  color: #fff;
}

.contact-link--telegram {
  background: #229ED9;
  color: #fff;
}

.contact-link--viber {
  background: #7360F2;
  color: #fff;
}

.contact-modal__phone {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  color: #5b6c67;
}

.contact-modal__phone a {
  color: #1f2d2a;
  font-weight: 600;
  text-decoration: none;
}

/* Contact form smooth hiding */
.contact-form {
  transition: opacity .25s ease, transform .25s ease;
}

.contact-form.is-hidden {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

/* Success message */
.contact-success {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;
  padding: 40px 20px 30px;
  background: transparent;
  text-align: center;
}

.contact-success.is-visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.contact-success__icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
}

.contact-success__title {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}

.contact-success__text {
  font-size: 16px;
  line-height: 1.6;
  color: #4b5563;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 520px) {
  .contact-modal__dialog {
    padding: 24px 18px 18px;
    border-radius: 18px;
  }

  .contact-modal__title {
    font-size: 24px;
  }

  .contact-success {
    padding: 32px 16px 24px;
  }

  .contact-success__title {
    font-size: 22px;
  }

  .contact-success__text {
    font-size: 15px;
  }
}

/* Header */
.site-header {
  padding: 22px 0;
}

.container {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

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

.site-logo {
  color: #1f2d2a;
  text-decoration: none;
  font-weight: 800;
  font-size: 22px;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
}

.language-switch__link {
  color: #4b5f5a;
  text-decoration: none;
}

.language-switch__link.is-active {
  color: #1f2d2a;
}

.language-switch__separator {
  color: #9aa8a4;
}
/* Hero */
.hero {
  padding: 64px 0 86px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.04;
  margin: 0 0 22px;
  letter-spacing: -0.04em;
}

.hero-text {
  margin: 0 0 28px;
  color: #4b5f5a;
  font-size: 18px;
  line-height: 1.55;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-note {
  color: #4b5f5a;
  font-size: 14px;
  font-weight: 600;
}

/* Simple section */
.simple-section {
  padding: 82px 0;
  background: #fff;
}

.section-head {
  max-width: 760px;
  margin-bottom: 64px;
}

.section-head h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  color: #4b5f5a;
  font-size: 17px;
  line-height: 1.6;
}

/* Benefits */

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

.benefit-card {
  text-align: center;
  padding: 0;
  background: transparent;
  border: none;
}

.benefit-card__icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
  margin: 0 auto 22px;
}

.benefit-card h3 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.2;
}

.benefit-card p {
  margin: 0;
  color: #4b5f5a;
  font-size: 15px;
  line-height: 1.65;
  max-width: 340px;
  margin-inline: auto;
}

/* Contact CTA */
.contact-cta {
  padding: 74px 0;
}

.contact-cta__inner {
  background: #1f2d2a;
  color: #fff;
  border-radius: 28px;
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.contact-cta h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.contact-cta p {
  margin: 0;
  color: rgba(255, 255, 255, .74);
  font-size: 16px;
  line-height: 1.55;
  max-width: 700px;
}

.contact-cta .btn {
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  padding: 30px 0;
  border-top: 1px solid #e2e9e6;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-inner a {
  color: #4b5f5a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.footer-inner a:hover {
  color: #1f2d2a;
}

/* Mobile */
@media (max-width: 900px) {
  .hero {
    padding: 38px 0 64px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-content {
    order: 1;
  }

  .mock {
    order: 2;
  }

    .benefits-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .benefit-card__icon {
    width: 64px;
    height: 64px;
  }


  .contact-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .section-head {
  margin-bottom: 32px;
}

  .site-header {
    padding: 18px 0;
  }

  .site-logo {
    font-size: 20px;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .simple-section {
    padding: 58px 0;
  }

  .benefit-card {
    padding: 22px;
  }

  .contact-cta {
    padding: 56px 0;
  }

  .contact-cta__inner {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .contact-cta .btn {
    width: 100%;
    text-align: center;
  }
}

/* Floating contact */

.floating-contact {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 1000;
  width: 60px;
  min-height: 60px;
}

.floating-contact-button {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: #1f2d2a;
  box-shadow: 0 16px 36px rgba(31, 45, 42, .22);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.floating-contact-button .message-icon {
  filter: brightness(0) invert(1);
}

.floating-contact-menu {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.floating-contact.is-open .floating-contact-button {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(.9);
}

.floating-contact.is-open .floating-contact-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-contact-link {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.floating-contact-link.neutral {
  border: 2px solid rgba(0, 0, 0, 1);
}

.floating-contact-link .icon {
  width: 22px;
  height: 22px;
}

.floating-contact-link.image-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (min-width: 768px) {
  .floating-contact {
    width: 52px;
    min-height: 300px;
  }

  .floating-contact-button {
    display: none;
  }

  .floating-contact-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
}

@media (max-width: 768px) {
  .floating-contact {
    right: 18px;
    bottom: 18px;
  }
}

/* Hero mobile mockup order and cleanup */

.footer-note {
  display: none;
}

@media (max-width: 900px) {
  .hero-content {
    order: 2;
  }

  .mock {
    order: 1;
  }
}

@media (max-width: 520px) {
  #r3 {
    display: none;
  }

  .results {
    padding-bottom: 12px;
  }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

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

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

.contact-form__field span {
    font-weight: 400;
    color: #7a8b86;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #dde4e2;
    border-radius: 12px;
    background: #fff;
    font: inherit;
    resize: vertical;
    transition: border-color .15s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #6fcf97;
}

.contact-form__checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.5;
}

.contact-form__checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.contact-form__checkbox a {
    color: #1f2d2a;
}

.contact-form__submit {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 999px;
    background: #6fcf97;
    color: #0f3d2e;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: .15s;
}

.contact-form__submit:hover {
    transform: translateY(-1px);
}

.contact-direct {
    margin-top: 26px;
    text-align: center;
}

.contact-direct__title {
    margin: 0 0 14px;
    color: #7a8b86;
    font-size: 14px;
}

.contact-direct__icons {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.contact-direct__icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.contact-direct__icon--outline {
    border: 2px solid rgb(0, 0, 0);
    border-radius: 50%;
}

.contact-direct__icon--outline img {
    width: 22px;
    height: 22px;
}

/* Modal scroll fix */

.contact-modal {
  align-items: flex-start;
  overflow-y: auto;
  padding: 18px;
}

.contact-modal__dialog {
  margin: auto 0;
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 520px) {
  .contact-modal {
    padding: 12px;
  }

  .contact-modal__dialog {
    max-height: calc(100vh - 24px);
  }
}