@font-face {
  font-family: 'Church';
  src: url('/fonts/church.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@keyframes fadeUphero_h1 {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUphero_p {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(20px);
  }
}

@media (max-width: 768px) {
  .header {
    padding: 12px 0;
  }

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

  .logo {
    font-size: 20px;
    font-weight: bold;
    white-space: nowrap;
  }

  .nav {
    display: flex;
    gap: 10px;
    font-size: 15px;
  }

  .nav a {
    color: #fff;
    text-decoration: none;
    padding: 4px 6px;
    border-radius: 6px;
    transition: 0.2s;
    white-space: nowrap;
  }


  .hero {
    padding: 70px 0;
  }

  .hero-wrap {
    flex-direction: column;
    gap: 30px;
  }

  .hero-corner {
    width: 75px;
  }

  .hero-corner-left {
    left: -10px;
  }

  .hero-corner-right {
    right: -10px;
  }

  .hero-text {
    text-align: center;
  }

  .hero-text h1 {
    font-size: 34px;
    margin: 0 auto 18px;
    line-height: 1.1;
  }

  .hero-text p {
    font-size: 17px;
    max-width: 330px;
    line-height: 1.45;
  }

  .hero-img {
    max-width: 330px;
    width: 85%;
    margin-top: 35px;
  }


  .links {
    padding: 70px 0;
  }

  .links h1 {
    font-size: 32px;
    margin-bottom: 25px;
  }

  .links-slider {
    gap: 16px;
    padding: 10px 0 30px;
  }

  .link-card {
    flex: 0 0 82vw;
    width: 82vw;
    height: 380px;
    border-radius: 20px;
  }

  .link-card h2 {
    font-size: 24px;
    bottom: 85px;
  }

  .link-card p {
    font-size: 15px;
    bottom: 28px;
  }


  .place {
    padding: 70px 0;
  }

  .place-wrap {
    flex-direction: column;
    gap: 30px;
  }

  .place-image {
    justify-content: center;
  }

  .place-text {
    text-align: center;
  }

  .place-text h1 {
    font-size: 32px;
  }

  .place-text p {
    font-size: 17px;
    max-width: 100%;
  }



  .footer {
    padding: 24px 16px;
  }

  .social-links {
    gap: 16px;
  }

  .social-item {
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    gap: 8px;
    font-size: 15px;
    line-height: 1.4;
  }

  .social-item a {
    word-break: break-word;
  }

  .telegram-icon {
    width: 22px;
    height: 22px;
  }

  .instagram-icon {
    width: 22px;
    height: 22px;
  }

  .max-icon {
    width: 22px;
    height: 22px;
  }
  
}



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

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

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

body {
  font-family: Arial, sans-serif;
  line-height: 1.5;
  color: #222;
  background: #fff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}



.header {
  background: #CA9030;
  color: #ffffff;
  padding: 20px 0;
  font-family: 'Church', Arial, sans-serif;
}

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

.logo {
  font-size: 30px;
  font-weight: bold;
}

.nav {
  font-size: 18px;
  display: flex;
  gap: 20px;
}

.nav a {
  color: #fff;
  text-decoration: none;
}



.hero {
  padding: 10px 0 100px;
  position: relative;
  overflow: hidden;
  background: #2C666E;
  font-family: 'Church', Arial, sans-serif;
  color: #ffffff;
  text-align: center;
}

.hero-wrap {
  display: flex;
  position: relative;
  z-index: 2;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.hero-corner {
  position: absolute;
  top: 0;
  width: 180px;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

.hero-corner-left {
  left: 0;
}

.hero-corner-right {
  right: 0;
}

.hero-text h1 {
  font-size: 42px;
  margin: 0 auto 30px;
}

.hero-text p {
  font-size: 20px;
  max-width: 500px;
  line-height: 1.6;
  margin: 0 auto;
}

.hero-img {
  width: 520px;
  max-width: 100%;
  aspect-ratio: 1 / 1;

  background-color: #CA9030;

  mask-image: url("/images/img1.svg");
  mask-repeat: no-repeat;
  mask-size: contain;
  mask-position: center;

  -webkit-mask-image: url("/images/img1.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
}



.about {
  position: relative;
  padding: 300px 0;
  text-align: center;
  font-family: 'Church', Arial, sans-serif;
  color: #ffffff;
  overflow: hidden;
}

.about-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.about-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.about-content {
  position: relative;
  z-index: 3;
}

.about h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.about p {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}


.links {
  padding: 60px 0;
  background: #2C666E;
  font-family: 'Church', Arial, sans-serif;
  color: #000;
  overflow: hidden;
}

.links-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 0 40px;
}

.link-card {
  flex: 0 0 320px;
  width: 320px;
  height: 420px;
  scroll-snap-align: center;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  position: relative;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

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

.links-slider::-webkit-scrollbar {
  height: 8px;
}

.links-slider::-webkit-scrollbar-thumb {
  background: #9da1e7;
  border-radius: 20px;
}



.place {
  padding: 30px 0;
  background: #2C666E;
  font-family: 'Church', Arial, sans-serif;
  color: #ffffff;
}

.place-wrap {
  display: flex;
  align-items: center;
  gap: 60px;
}

.place-image {
  display: flex;
  justify-content: flex-end;
}

.place-image img {
  max-width: 420px;
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.place-text {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.place-text h1 {
  font-size: 32px;
  margin-bottom: 30px;
}

.place-text p {
  font-size: 18px;
  line-height: 1.6;
  margin: 0 auto 30px;
  max-width: 520px;
}



.questions {
  position: relative;
  padding: 50px 0;
  text-align: center;
  font-family: 'Church', Arial, sans-serif;
  color: #ffffff;
  background-color: #2C666E;
  border-top: 10px solid rgb(255, 255, 255);
  overflow: hidden;
  
}

.questions h1 {
  font-size: 40px;
  margin-bottom: 20px;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.contact-form input:not(.hidden-field),
.contact-form textarea {
  width: 80%;
  padding: 12px 20px;
  border: 2px solid #7784c0;
  border-radius: 14px;
  font-size: 18px;
  font-family: Arial, sans-serif;
  outline: none;
  box-shadow: 0 0 10px rgba(119, 132, 192, 0.25);
  background-color: rgba(255, 255, 255, 0.95);
  resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #5a67a3;
  box-shadow: 0 0 14px rgba(90, 103, 163, 0.35);
}

.contact-form button {
  padding: 16px 24px;
  border: none;
  border-radius: 14px;
  background: #94959a;
  color: #000000;
  font-size: 18px;
  font-family: 'Church', Arial, sans-serif;
  cursor: pointer;
  transition: 0.3s ease;
}
.contact-form button:hover {
  background: #CA9030;
  transform: translateY(-2px);
}

.hidden-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}



.footer {
  background: #CA9030;
  color: #fff;
  text-align: center;
  padding: 10px 0;
}

.social-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.social-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-item a {
  color: #fff;
  text-decoration: none;
}

.social-item a:hover {
  color: #9da1e7;
}

.telegram-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.instagram-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.max-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
