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

:root {
  --yellow: #ffcc00;
  --yellow-light: #ffdd4d;
  --dark: #1d2733;
  --text: #2b3541;
  --bg: #e2e8ec;
  --white: #ffffff;
}

body {
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

/* Header */
.header {
  position: relative;
  z-index: 10;
  background: var(--white);
}

.header__inner {
  display: flex;
  align-items: center;
  height: 74px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--dark);
}

.logo__mark {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.logo__mark span {
  display: block;
  width: 12px;
  height: 3px;
  background: var(--yellow);
}

.nav {
  display: flex;
  gap: 24px;
  margin-left: 40px;
}

.nav a {
  font-size: 14px;
  color: var(--dark);
  transition: color 0.2s;
}

.nav a:hover {
  color: #8a6d00;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  color: var(--dark);
}

.lang {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
}

.icon-btn {
  display: flex;
  align-items: center;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin-right: -8px;
  padding: 0 9px;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.2s;
}

.header.is-open .burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header.is-open .burger span:nth-child(2) {
  opacity: 0;
}

.header.is-open .burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Notice bar */
.notice {
  background: var(--yellow);
  text-align: center;
  padding: 13px 16px;
  font-size: 12px;
}

.notice a {
  text-decoration: underline;
  color: var(--dark);
}

/* Teaser */
.main {
  padding: 40px 24px 80px;
}

.teaser {
  position: relative;
  max-width: 1010px;
  margin: 0 auto;
}

.teaser__image {
  aspect-ratio: 1024 / 427;
  overflow: hidden;
}

.teaser__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teaser__card {
  position: relative;
  display: block;
  width: 83%;
  max-width: 840px;
  margin: -26px auto 0;
  padding: 42px 28px 32px;
  background: var(--white);
  border-radius: 8px;
}

.teaser__title {
  font-size: 36px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--dark);
  max-width: 640px;
  margin-bottom: 20px;
}

.teaser__text {
  font-size: 16px;
  line-height: 1.7;
}

.teaser__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  line-height: 1;
}

.btn--primary {
  position: relative;
  isolation: isolate;
  gap: 18px;
  padding: 6px 6px 6px 28px;
  font-size: 16px;
  color: var(--dark);
  background: linear-gradient(135deg, var(--yellow-light) 0%, var(--yellow) 55%, #f5b800 100%);
  border-radius: 999px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 -2px 0 rgba(0, 0, 0, 0.06) inset,
    0 10px 24px -8px rgba(245, 184, 0, 0.7);
  overflow: hidden;
  animation: btn-pulse 2.8s ease-out infinite;
  transition: transform 0.25s, box-shadow 0.25s;
}

.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: -1;
  width: 40%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.75) 50%, transparent 100%);
  transform: translateX(-150%) skewX(-20deg);
  animation: btn-shine 3.6s ease-in-out infinite;
}

.btn__circle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  color: var(--yellow);
  background: var(--dark);
  border-radius: 50%;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn__icon {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 -2px 0 rgba(0, 0, 0, 0.06) inset,
    0 16px 32px -10px rgba(245, 184, 0, 0.9);
}

.btn--primary:hover .btn__circle {
  transform: scale(1.08);
}

.btn--primary:hover .btn__icon {
  transform: translateX(3px);
}

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

.btn--primary:focus-visible {
  animation: none;
  outline: 2px solid var(--dark);
  outline-offset: 3px;
}

@keyframes btn-shine {
  0%,
  55% {
    transform: translateX(-150%) skewX(-20deg);
  }
  100% {
    transform: translateX(350%) skewX(-20deg);
  }
}

@keyframes btn-pulse {
  0% {
    outline: 0 solid rgba(255, 204, 0, 0.5);
  }
  70%,
  100% {
    outline: 12px solid rgba(255, 204, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn--primary,
  .btn--primary::before {
    animation: none;
  }
}

/* Tablet */
@media (max-width: 1100px) {
  .burger {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px 20px 24px;
    background: var(--white);
    border-top: 1px solid #e6eaee;
    box-shadow: 0 16px 32px -12px rgba(29, 39, 51, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }

  .header.is-open .nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav a {
    padding: 16px 0;
    font-size: 17px;
    font-weight: 600;
    border-bottom: 1px solid #eef1f4;
  }

  .nav a:last-child {
    border-bottom: 0;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .header__inner {
    height: 60px;
  }

  .logo {
    font-size: 20px;
  }

  .header__actions {
    gap: 14px;
  }

  .notice {
    padding: 10px 16px;
    font-size: 12px;
    line-height: 1.4;
  }

  .main {
    padding: 0 0 40px;
  }

  .teaser__image {
    aspect-ratio: 4 / 3;
  }

  .teaser__image img {
    object-position: 35% center;
  }

  .teaser__card {
    width: calc(100% - 24px);
    margin-top: -40px;
    padding: 24px 20px;
    border-radius: 12px;
    box-shadow: 0 12px 32px -16px rgba(29, 39, 51, 0.3);
  }

  .teaser__title {
    font-size: 24px;
    line-height: 1.25;
    margin-bottom: 14px;
  }

  .teaser__text {
    font-size: 15px;
    line-height: 1.6;
  }

  .teaser__actions {
    margin-top: 24px;
  }

  .btn--primary {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    padding-left: 20px;
    font-size: 14px;
    line-height: 1.25;
  }
}

@media (max-width: 380px) {
  .teaser__title {
    font-size: 21px;
  }

  .btn--primary {
    padding-left: 16px;
    font-size: 13px;
  }

  .btn__circle {
    width: 40px;
    height: 40px;
  }
}
