* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  scroll-behavior: smooth;
}

main {
  padding-top: 100px;

  @media (max-width: 768px) {
    padding-top: 60px;
  }
}

.container {
  max-width: 1340px;
  width: calc(100% - 80px);
  margin: 0 auto;

  @media (max-width: 768px) {
    width: calc(100% - 40px);
  }
}

/* ─── Section margin-top ──────────────────────────── */
.sec-mt {
  margin-top: var(--sec-mt);

  @media (max-width: 1024px) {
    margin-top: 110px;
  }

  @media (max-width: 768px) {
    margin-top: 90px;
  }

  @media (max-width: 480px) {
    margin-top: 80px;
  }
}

/* ─── Shared button ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-family: var(--font-primary);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body);
  line-height: var(--lh-base);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.7;
}

.btn--orange {
  background: var(--color-orange);
  color: var(--color-white);
  padding: 10px 40px;
  height: 50px;
}

/* ─── Section title / subtitle ───────────────────── */
.section-title {
  font-size: var(--fs-h2);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-tight);
  color: var(--color-text);
}

.section-subtitle {
  font-size: var(--fs-body-lg);
  font-weight: var(--fw-regular);
  line-height: var(--lh-base);
  color: var(--color-text);
  opacity: 0.6;
}

/* ─── Shared CTA button ──────────────────────────── */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 10px 10px 10px 20px;
  background: var(--color-orange);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  justify-content: space-between;
  max-width: 365px;

  @media (max-width: 768px) {
    height: 50px;
  }
}

.cta-btn:hover {
  opacity: 0.7;
}

.cta-btn__label {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-base);
  color: var(--color-white);

  @media (max-width: 1024px) {
    font-size: var(--fs-body-sm);
  }
}

.cta-btn__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  align-self: stretch;
  background: var(--color-white);
  border-radius: 5px;

  @media (max-width: 1024px) {
    width: 30px;
  }
}

.cta-btn__arrow img {
  display: block;
  width: 12px;
  height: 12px;

  @media (max-width: 1024px) {
    width: 8px;
    height: 8px;
  }
}

/* ─── Float animation ────────────────────────────── */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.float {
  animation: float 4s ease-in-out infinite;
}

.float--delayed {
  animation: float 4s ease-in-out 1.5s infinite;
}

/* ─── Shared divider line ─────────────────────────── */
.divider-line {
  width: 80px;
  height: 1px;
  background: var(--color-blue);
  flex-shrink: 0;
}

body .hide-1440 {
  @media (max-width: 1440px) {
    display: none !important;
  }
}

body .hide-1024 {
  @media (max-width: 1024px) {
    display: none !important;
  }
}

body .hide-767 {
  @media (max-width: 767px) {
    display: none !important;
  }
}

body .hide-375 {
  @media (max-width: 375px) {
    display: none !important;
  }
}

body .show-1440 {
  display: none;

  @media (min-width: 1441px) {
    display: block;
  }
}

body .show-1024 {
  display: none;

  @media (max-width: 1024px) {
    display: block;
  }
}

body .show-767 {
  display: none;

  @media (max-width: 767px) {
    display: block;
  }
}

body .show-375 {
  display: none;

  @media (max-width: 375px) {
    display: block;
  }
}

/* >= 1440 */
body .hide-min-1440 {
  @media (min-width: 1440px) {
    display: none !important;
  }
}

/* >= 1024 */
body .hide-min-1024 {
  @media (min-width: 1024px) {
    display: none !important;
  }
}

/* >= 768 */
body .hide-min-769 {
  @media (min-width: 769px) {
    display: none !important;
  }
}

body .hide-min-767 {
  @media (min-width: 767px) {
    display: none !important;
  }
}

/* >= 375 */
body .hide-min-375 {
  @media (min-width: 375px) {
    display: none !important;
  }
}