html, body {
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
}

.hero {
  padding: 80px 20px;
  color: #333;
}

.hero-inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.hero-layout {
  display: flex;
  flex-wrap: nowrap;
  gap: 80px; /* увеличенное расстояние между колонками */
  align-items: flex-start;
  width: 100%;
}

.hero-content {
  flex: 0 0 600px;
  max-width: 600px;
  text-align: left;
}

.hero h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
  white-space: normal;
}

.typed-text {
  color: #02dece;
  font-weight: inherit;
}

.typed-cursor {
  display: inline-block;
  color: #02dece;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero-subtext {
  font-size: 16px;
  margin-bottom: 30px;
  color: #555;
}

.cta-button {
  background-color: #02dece;
  color: white;
  border: none;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #4be7dc;
}

.guide-map {
  position: relative;
  flex: 1 1 400px;
  height: 600px;
  min-width: 300px;
  overflow: visible;
}

.guide-card {
  position: absolute;
  width: 200px;
  background-color: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  padding: 18px;
  font-family: 'Montserrat', sans-serif;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.guide-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
}

.guide-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
}

.card-link {
  font-size: 13px;
  color: #02dece;
  text-decoration: none;
  font-weight: 600;
}

.card-link:hover {
  text-decoration: underline;
}

.guide-arrows {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 24px 60px;
    background-color: #f9f9f9;
  }
  
  .guide-map {
    display: none;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
    padding: 0 10px;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 700;
  }

  .hero-subtext {
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 32px;
    color: #666;
  }

  .cta-button {
    font-size: 16px;
    padding: 14px 28px;
    border-radius: 8px;
    width: auto;
    background-color: #02dece;
  }

  .cta-hint {
    margin-top: 40px;
  }

  .cta-hint p {
    font-size: 14px;
    color: #555;
    font-style: italic;
  }
  
  .about-frame h2 {
      font-size:28px;
  }

  .arrow-down {
    width: 24px;
    height: 24px;
    margin: 0 auto 12px;
    border-left: 2px solid #02dece;
    border-bottom: 2px solid #02dece;
    transform: rotate(45deg);
  }
}



@media (max-width: 480px) {
  .hero {
    padding: 80px 20px 50px;
  }
  
  .about-frame h2 {
      font-size:28px;
  }
  
  .guide-map {
    display: none;
  }

  .hero h1 {
    font-size: 28px;
    margin-bottom: 18px;
  }

  .hero-subtext {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .cta-button {
    font-size: 15px;
    padding: 12px 24px;
    width: 100%;
  }

  .cta-hint p {
    font-size: 13px;
  }
}
