/* Shared hero */
.page-hero {
  position: relative;
  height: 600px;
  background: #f3f3f3;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-hero__bg img {
  position: absolute;
  right: -5%;
  top: 0;
  width: 70%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 32px;
}

.page-hero__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 60px;
  letter-spacing: -1.2px;
  color: #1a1c1c;
  text-transform: uppercase;
}

.page-hero__title span {
  display: block;
  color: #fcc800;
}

/* Craftsman page */
.craft-wrap {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 32px;
}

.craft-section {
  padding: 80px 32px;
}

.craft-section--light {
  background: #f9f9f9;
}

.craft-section--gray {
  background: #f3f3f3;
}

.craft-section--white {
  background: #fff;
}

.craft-head {
  text-align: center;
  margin-bottom: 64px;
}

.craft-head--left {
  text-align: left;
}

.craft-head h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  letter-spacing: -1.2px;
  color: #1a1c1c;
  text-transform: uppercase;
}

.craft-head__en {
  margin-top: 22px;
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  color: #755b00;
  opacity: 0.8;
  text-transform: uppercase;
}

/* Benefits */
.craft-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}

.craft-benefit img {
  display: block;
  margin-bottom: 16px;
  object-fit: contain;
  object-position: left top;
}

.craft-benefit h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  color: #1a1c1c;
  margin-bottom: 16px;
  padding-top: 16px;
}

.craft-benefit p {
  font-size: 16px;
  line-height: 26px;
  color: #4e4632;
}

.craft-join {
  text-align: center;
}

.craft-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 64px;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  transition: opacity 0.25s, transform 0.25s;
}

.craft-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.craft-btn--dark {
  background: #1a1c1c;
  color: #f9f9f9;
}

.craft-btn--cta {
  background: #1a1a1a;
  color: #fcc800;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  padding: 16px 48px;
}

.craft-section--how {
  padding-top: 80px;
  padding-bottom: 80px;
}

.craft-section--how .craft-wrap {
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding-top: 96px;
  padding-bottom: 96px;
}

.craft-section--how .craft-head {
  margin-bottom: 0;
}

.craft-section--how .craft-join {
  margin-top: 0;
}

/* Steps */
.craft-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 0;
}

.craft-steps__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 56px;
  height: 1px;
  background: rgba(210, 197, 171, 0.79);
}

.craft-step {
  text-align: center;
  position: relative;
}

.craft-step__icon {
  width: 112px;
  height: 112px;
  margin: 0 auto 32px;
  border-radius: 50%;
  background: #f9f9f9;
  border: 1px solid rgba(210, 197, 171, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.craft-step__icon img {
  width: auto;
  height: auto;
  max-width: 30px;
  max-height: 32px;
  object-fit: contain;
}

.craft-step h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  color: #1a1c1c;
  margin-bottom: 16px;
}

.craft-step p {
  font-size: 16px;
  line-height: 22.75px;
  color: #4e4632;
  max-width: 280px;
  margin: 0 auto;
}

/* Experience */
.craft-experience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.craft-exp-card__media {
  height: 257px;
  overflow: hidden;
  margin-bottom: 24px;
}

.craft-exp-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.craft-exp-card:hover .craft-exp-card__media img {
  transform: scale(1.05);
}

.craft-exp-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.craft-exp-card h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  color: #1a1c1c;
  margin: 0;
}

.craft-exp-card p {
  font-size: 16px;
  font-weight: 350;
  line-height: 26px;
  color: #4e4632;
  margin: 0;
}

.craft-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: #755b00;
  transition: color 0.2s;
}

.craft-link img {
  width: 9.333px;
  height: 9.333px;
  flex-shrink: 0;
}

.craft-link:hover {
  color: #1a1c1c;
}

/* Activities */
.craft-activities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.craft-activity__media {
  position: relative;
  height: 390px;
  overflow: hidden;
  margin-bottom: 12px;
}

.craft-activity__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.craft-activity:hover .craft-activity__media img {
  transform: scale(1.05);
}

.craft-activity__date {
  position: absolute;
  top: 0;
  left: 0;
  background: #755b00;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  padding: 8px 16px;
}

.craft-activity h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  color: #1a1c1c;
  margin-bottom: 12px;
  padding-top: 12px;
}

.craft-activity p {
  font-size: 16px;
  line-height: 26px;
  color: #4e4632;
  margin-bottom: 15px;
}

/* CTA */
.craft-cta {
  background: #ffc411;
  padding: 48px 32px;
}

.craft-cta__inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.craft-cta__left {
  flex: 1;
}

.craft-cta__left h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  letter-spacing: -0.96px;
  color: #1a1c1c;
  margin-bottom: 16px;
}

.craft-cta__left > p {
  font-size: 16px;
  line-height: 24px;
  color: #4e4632;
  margin-bottom: 32px;
}

.craft-cta__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.craft-cta__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  line-height: 24px;
  color: #1a1c1c;
}

.craft-cta__list img {
  width: 12.8px;
  height: 12.8px;
  flex-shrink: 0;
}

.craft-cta__right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.craft-cta__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.craft-cta__qr-box {
  background: #fff;
  border: 1px solid rgba(210, 197, 171, 0.3);
  padding: 17px;
}

.craft-cta__qr-box img {
  width: 128px;
  height: 128px;
  display: block;
  object-fit: cover;
}

.craft-cta__qr span {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #1a1a1a;
  line-height: 20px;
}

.craft-cta__phone {
  width: 256px;
}

.craft-cta__phone img {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1200px) {
  .craft-benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .craft-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 64px;
  }

  .craft-steps__line {
    display: none;
  }

  .craft-experience {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .page-hero {
    height: auto;
    min-height: 320px;
    padding: 80px 0;
  }

  .page-hero__title {
    font-size: 36px;
    line-height: 44px;
  }

  .page-hero__bg img {
    width: 100%;
    opacity: 0.25;
  }

  .craft-section {
    padding: 72px 16px;
  }

  .craft-head h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .craft-head__en {
    font-size: 18px;
  }

  .craft-benefits {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .craft-steps {
    grid-template-columns: 1fr;
  }

  .craft-section--how .craft-wrap {
    padding-top: 40px;
    padding-bottom: 40px;
    gap: 48px;
  }

  .craft-experience {
    grid-template-columns: 1fr;
  }

  .craft-activities {
    grid-template-columns: 1fr;
  }

  .craft-activity__media {
    height: 240px;
  }

  .craft-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .craft-cta__left h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .craft-cta__right {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .craft-btn {
    width: 100%;
    justify-content: center;
    padding: 16px 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
