/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
  /* Фото на весь экран: сверху и внизу (trust) — одно и то же, по бокам без отступов */
  background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url(hero.jpg) center center / cover no-repeat;
  background-attachment: scroll;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  position: relative;
  background: linear-gradient(135deg, #9f7b1f 0%, #c8a43a 44%, #f2da86 100%);
  color: #fffdf5;
  padding: 21px 52px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(201, 166, 58, 0.42), 0 4px 12px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 18px 44px rgba(214, 184, 92, 0.5), 0 6px 16px rgba(0, 0, 0, 0.24);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:disabled,
.btn-primary[aria-disabled="true"] {
  cursor: default;
  opacity: 0.72;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transform: skewX(-20deg);
  animation: shine 3.5s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  60% { left: 120%; }
  100% { left: 120%; }
}

/* Мягкое переливание без резкой «линии» при сдвиге фона */
@keyframes titleShine {
  0% { background-position: 68% 50%; }
  100% { background-position: 32% 50%; }
}

@keyframes titleGlow {
  0% {
    filter: drop-shadow(0 10px 28px rgba(42, 24, 12, 0.5));
  }
  50% {
    filter: drop-shadow(0 12px 32px rgba(246, 219, 138, 0.32));
  }
  100% {
    filter: drop-shadow(0 10px 28px rgba(42, 24, 12, 0.5));
  }
}

@keyframes accentPulse {
  0% {
    filter:
      drop-shadow(0 0 14px rgba(240, 214, 132, 0.35))
      drop-shadow(0 0 22px rgba(203, 171, 75, 0.22));
  }
  50% {
    filter:
      drop-shadow(0 0 22px rgba(255, 242, 197, 0.45))
      drop-shadow(0 0 28px rgba(223, 191, 95, 0.28));
  }
  100% {
    filter:
      drop-shadow(0 0 14px rgba(240, 214, 132, 0.35))
      drop-shadow(0 0 22px rgba(203, 171, 75, 0.22));
  }
}

@keyframes pointPulse {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(226, 191, 85, 0.55);
  }
  70% {
    transform: scale(1.08);
    box-shadow: 0 0 0 12px rgba(226, 191, 85, 0);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(226, 191, 85, 0);
  }
}

/* ===== Main & Hero (Desktop) ===== */
.main {
  min-height: 100vh;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding-bottom: 0;
  padding-top: 250px;
  position: relative;
}

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

.hero-container {
  margin-left: 0;
  padding-left: 0;
  padding-right: clamp(40px, 6vw, 100px);
  padding-top: 0;
}

.hero-content {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-left: 0;
  margin-right: auto;
  width: 100%;
}

.topzag {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255, 236, 216, 0.82);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(3rem, 5.4vw, 5.1rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 22px;
  background: linear-gradient(
    108deg,
    #fffdf7 0%,
    #fff8e5 20%,
    #f3e2b1 40%,
    #fff9ea 58%,
    #f8e8bd 78%,
    #fffdf7 100%
  );
  background-size: 400% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleShine 12s ease-in-out infinite alternate, titleGlow 5s ease-in-out infinite;
}

.hero-title-korea {
  display: inline-block;
  margin-left: 3.1ch;
}

.hero-accent {
  background: linear-gradient(
    108deg,
    #f5deb0 0%,
    #e9cc84 12%,
    #f7ebc8 26%,
    #fff6dc 40%,
    #e5ca82 52%,
    #f0d79a 66%,
    #d5b25b 80%,
    #fff2cf 92%,
    #fff9e8 100%
  );
  background-size: 420% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleShine 10s ease-in-out infinite alternate, accentPulse 4.5s ease-in-out infinite;
}

.hero-line {
  display: block;
}

/* Десктоп: «Под ключ», с новой строки «Из Европы» */
.hero-accent-line,
.hero-accent-europe {
  display: block;
}

.hero-points {
  list-style: none;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 0;
  padding: 0;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-points li {
  position: relative;
  padding-left: 38px;
  font-size: 1.22rem;
  line-height: 1.4;
  font-weight: 800;
  color: rgba(255, 244, 232, 0.94);
  text-shadow:
    0 2px 18px rgba(28, 16, 8, 0.55),
    0 0 22px rgba(242, 219, 136, 0.16);
}

.hero-points li::before {
  content: "";
  position: absolute;
  top: 0.38em;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff7dc 0%, #e5c67a 55%, #b89232 100%);
  animation: pointPulse 2.2s ease-out infinite;
}

.hero-points li:nth-child(2)::before {
  animation-delay: 0.35s;
}

.hero-points li:nth-child(3)::before {
  animation-delay: 0.7s;
}

.hero-offer {
  position: absolute;
  top: 72%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: min(90vw, 700px);
}

.hero-wrapper {
  margin-top: 42px;
  padding-left: 0;
  width: auto;
  display: flex;
  justify-content: center;
}

.hero-wrapper .btn-primary {
  margin-left: 0;
}

.hero-hint {
  font-size: 0.875rem;
  color: rgba(255, 228, 208, 0.65);
  line-height: 1.4;
}

/* ===== Trust block (прозрачно, пространство сохранено) ===== */
.trust {
  padding: 48px 24px 56px;
  background: transparent;
}

.trust-inner {
  max-width: 900px;
  margin: 0 auto;
}

/* ===== Footer (реквизиты) ===== */
.site-footer {
  padding: 20px 24px 28px;
  background: rgba(0, 0, 0, 0.35);
  border-top: 1px solid rgba(255, 236, 216, 0.12);
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  max-width: 1280px;
  margin: 0 auto;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 236, 216, 0.78);
}

.site-footer-inn {
  color: rgba(255, 236, 216, 0.88);
  white-space: nowrap;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  body {
    background: linear-gradient(rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.36)), url(m.jpg) right top / cover no-repeat;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
  }

  .main {
    min-height: 100svh;
  }

  .hero {
    min-height: 100svh;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hero .container {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    padding: 0 10px;
    align-items: stretch;
    text-align: left;
  }

  .hero-container {
    padding-left: 16px;
    padding-right: clamp(16px, 5vw, 32px);
  }

  .hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    max-width: 100%;
    min-height: 0;
    gap: 0;
    padding-top: max(64px, calc(env(safe-area-inset-top, 0px) + 20px));
    padding-bottom: max(20px, env(safe-area-inset-bottom) + 8px);
    margin-left: 0;
    margin-right: auto;
  }

  .topzag {
    margin-bottom: 12px;
  }

  .hero h1,
  .hero-title {
    font-size: 36px;
    line-height: 1.06;
    font-weight: 900;
    margin-top: 0;
    margin-bottom: clamp(14px, 3.6vh, 28px);
    transform: none;
    text-align: left;
    width: fit-content;
    max-width: 100%;
    align-self: flex-start;
    background: linear-gradient(
      108deg,
      #fffdf7 0%,
      #fff8e5 20%,
      #f3e2b1 40%,
      #fff9ea 58%,
      #f8e8bd 78%,
      #fffdf7 100%
    );
    background-size: 400% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    animation: titleShine 12s ease-in-out infinite alternate, titleGlow 5s ease-in-out infinite;
  }

  .hero-title-korea {
    margin-left: 2.6ch;
  }

  .hero h1.hero-title.hero-accent {
    background: linear-gradient(
      108deg,
      #f5deb0 0%,
      #e9cc84 12%,
      #f7ebc8 26%,
      #fff6dc 40%,
      #e5ca82 52%,
      #f0d79a 66%,
      #d5b25b 80%,
      #fff2cf 92%,
      #fff9e8 100%
    );
    background-size: 420% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter:
      drop-shadow(0 0 14px rgba(240, 214, 132, 0.32))
      drop-shadow(0 0 22px rgba(191, 156, 66, 0.22));
  }

  .hero-line {
    display: block;
    margin: 0 0 2px 0;
  }

  .hero-accent-line,
  .hero-accent-europe {
    display: block;
  }

  .hero-accent {
    background: linear-gradient(
      108deg,
      #f5deb0 0%,
      #e9cc84 12%,
      #f7ebc8 26%,
      #fff6dc 40%,
      #e5ca82 52%,
      #f0d79a 66%,
      #d5b25b 80%,
      #fff2cf 92%,
      #fff9e8 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleShine 10s ease-in-out infinite alternate, accentPulse 4.5s ease-in-out infinite;
    filter:
      drop-shadow(0 0 14px rgba(240, 214, 132, 0.32))
      drop-shadow(0 0 22px rgba(191, 156, 66, 0.22));
  }

  .hero-points {
    margin-top: 0;
    margin-left: 0;
    width: fit-content;
    max-width: 100%;
    gap: 12px;
  }

  .hero-points li {
    font-size: 0.9375rem;
    line-height: 1.48;
    padding-left: 26px;
    color: rgba(255, 240, 226, 0.95);
    text-shadow:
      0 2px 14px rgba(32, 18, 10, 0.48),
      0 0 18px rgba(242, 219, 136, 0.18);
  }

  .hero-points li::before {
    top: 0.44em;
    width: 10px;
    height: 10px;
    animation: none;
    box-shadow: none;
  }

  .hero-wrapper {
    width: auto;
    margin-top: 24px;
    margin-bottom: 0;
    padding-left: 0;
    justify-content: center;
    position: static;
  }

  .hero-offer {
    top: auto;
    bottom: max(28px, calc(env(safe-area-inset-bottom, 0px) + 12px));
    left: 50%;
    transform: translateX(-50%);
    max-width: min(92vw, 520px);
  }

  .hero-wrapper .btn-primary {
    margin-left: 0;
  }

  .btn-primary {
    width: 100%;
    max-width: 320px;
    font-size: 17px;
    padding: 19px 30px;
  }

  /* Упрощаем анимации на мобильных, чтобы убрать рывки при скролле */
  .hero-title,
  .hero h1 {
    animation: none;
  }

  .hero-accent:not(.hero-title) {
    animation: none;
    filter: none;
  }

  .btn-primary::before {
    animation: none;
    opacity: 0.35;
  }

  .btn-primary:disabled,
  .btn-primary[aria-disabled="true"] {
    opacity: 0.78;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.24);
  }

  .trust-inner {
    padding: 0 16px;
  }

  .site-footer {
    padding: 16px 16px max(20px, env(safe-area-inset-bottom) + 12px);
  }

  .site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

}
