/* ===== Golf One landing page ===== */
:root {
  --lime: #A4C73B;
  --lime-d: #8FB02E;
  --forest: #2C4A2A;
  --forest-d: #21381F;
  --ink: #2b2f27;
  --muted: #6a7065;
  --line: #e4e7df;
  --bg-soft: #f4f6f0;
  --maxw: 1200px;
}

/* 1. ประกาศตัวฟอนต์ให้ระบบรู้จัก */
@font-face {
  font-family: 'BetaniaPatmos';
  /* ตั้งชื่อฟอนต์ที่จะเอาไปเรียกใช้ (ตั้งเป็นอะไรก็ได้) */
  src: url('assets/fonts/Betania_Patmos/BetaniaPatmos-Regular.ttf') format('truetype');
  /* ใส่ Path ที่อยู่ของไฟล์ฟอนต์ให้ถูกต้อง */
  font-weight: normal;
  font-style: normal;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block
}

ul {
  margin: 0;
  padding: 0;
  list-style: none
}

a {
  text-decoration: none;
  color: inherit
}

/* shared */
.h-section {
  font-family: 'Belanosima', sans-serif;
  font-weight: 500;
  font-size: clamp(26px, 3.4vw, 42px);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #CAE83E;
  line-height: 1.15;
  margin: 0;
}

.center {
  text-align: center
}

.h-section.center {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(16px, 2.2vw, 26px);
}

.h-section.center::before,
.h-section.center::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #C9C9C9;
}

.h-section.center::before {
  margin-right: 30px;
}

.h-section.center::after {
  margin-left: 30px;
}

@media(max-width: 768px) {

  .h-section.center::before,
  .h-section.center::after {
    display: none;
  }
}

.lime {
  color: #325118;
}

.muted {
  color: var(--muted)
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: 'Belanosima', sans-serif;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, box-shadow .15s ease, background .2s;
}

.btn--lime {
  background: var(--lime);
  color: #fff;
  box-shadow: 0 6px 18px rgba(120, 150, 40, .35)
}

.btn--lime:hover {
  background: var(--lime-d);
  transform: translateY(-2px)
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #fff;
  overflow: hidden
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(20, 30, 15, .55), rgba(20, 30, 15, .15) 35%, rgba(20, 30, 15, .55))
}

.hero__nav {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px clamp(20px, 5vw, 60px)
}

.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px
}

.hero__script {
  font-family: 'BetaniaPatmos', cursive;
  font-weight: 400;
  font-size: clamp(64px, 11vw, 150px);
  margin: 0;
  line-height: .9;
  text-shadow: 0 6px 30px rgba(0, 0, 0, .4)
}

.hero__tagline {
  font-family: 'Belanosima', sans-serif;
  color: var(--lime);
  font-size: clamp(20px, 3vw, 34px);
  letter-spacing: .14em;
  margin: 50px 0 0;
  text-transform: uppercase;
  line-height: 1.25
}

.hero__sub {
  font-weight: 300;
  font-size: clamp(14px, 1.5vw, 17px);
  margin: 22px 0 0;
  opacity: .95
}

.hero__scroll {
  position: relative;
  z-index: 2;
  align-self: center;
  margin-bottom: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: .25em;
  color: #fff
}

.hero__scroll::before {
  content: "";
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
}

.hero__scroll-dot {
  width: 20px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, .7);
  border-radius: 12px;
  position: relative
}

.hero__scroll-dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  transform: translateX(-50%);
  width: 3px;
  height: 7px;
  border-radius: 2px;
  background: #fff;
  animation: scrolly 1.4s infinite
}

@keyframes scrolly {
  0% {
    opacity: 0;
    transform: translate(-50%, 0)
  }

  50% {
    opacity: 1
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 10px)
  }
}

/* brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px
}

.brand__mark svg {
  width: 30px;
  height: 38px
}

.brand__text {
  font-family: 'Belanosima', sans-serif;
  font-size: 18px;
  letter-spacing: .12em;
  line-height: 1;
  display: flex;
  flex-direction: column
}

.brand__text small {
  font-size: 7px;
  letter-spacing: .18em;
  font-weight: 400;
  margin-top: 3px;
  opacity: .85
}

/* ===== A COMPLETE SYSTEM ===== */
.system {
  padding: clamp(50px, 7vw, 90px) clamp(20px, 5vw, 60px) 30px
}

.slider-container {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  cursor: grab;
}

.slider-container:active {
  cursor: grabbing;
}

.slider-wrapper {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  width: 200%;
}

.slide {
  width: 50%;
  flex-shrink: 0;
  user-select: none;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.dots {
  display: flex;
  gap: 9px;
  justify-content: center;
  margin-top: 30px;
}

.dots--inside {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.35);
  padding: 8px 16px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #cfd6c4;
  cursor: pointer;
  padding: 0;
  transition: .2s
}

.dot.is-active {
  background: var(--lime);
  transform: scale(1.15)
}

/* ===== DASHBOARD ===== */
.dash {
  padding: clamp(40px, 6vw, 70px) clamp(20px, 5vw, 60px);
  max-width: var(--maxw);
  margin: 0 auto
}

.dash .h-section {
  margin-bottom: 30px;
  position: relative
}


.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  background: #f1f3ec;
  border-radius: 999px;
  padding: 6px;
  max-width: 920px;
  margin: 0 auto 30px
}

.tab {
  flex: 1;
  min-width: 130px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: 'Belanosima', sans-serif;
  font-size: 11px;
  letter-spacing: .05em;
  color: #6f7565;
  padding: 11px 8px;
  border-radius: 999px;
  transition: .2s;
  text-transform: uppercase
}

.tab.is-active {
  background: var(--lime);
  color: #fff;
  box-shadow: 0 4px 12px rgba(120, 150, 40, .3)
}

.dash__panel {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 30px;
  align-items: start;
  background: #fff;
  padding: 22px
}

.dash__panel.no-image {
  grid-template-columns: 1fr;
}

.dash__visual {
  overflow: hidden;
}

.dash__visual img {
  width: 100%;
  height: auto;
  display: block;
}

.report {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden
}

.report__head {
  background: #fafbf7;
  border-bottom: 1px solid var(--line);
  padding: 9px 14px;
  font-size: 11px;
  font-weight: 600;
  color: #5a6151;
  letter-spacing: .03em
}

.report__filters {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  flex-wrap: wrap
}

.field {
  font-size: 11px;
  color: #7a8070;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 12px;
  background: #fff
}

.report__search {
  margin-left: auto;
  background: var(--forest);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 11px;
  padding: 7px 18px;
  cursor: pointer
}

.stats {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  padding: 0 14px 12px
}

.stat {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 4px;
  text-align: center;
  background: #fff
}

.stat b {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--forest);
  line-height: 1
}

.stat span {
  display: block;
  font-size: 6.5px;
  color: #8a907f;
  letter-spacing: .02em;
  margin: 4px 0 2px;
  text-transform: uppercase
}

.stat em {
  font-size: 6.5px;
  color: #aab09c;
  font-style: normal;
  text-transform: uppercase
}

.stat--total {
  background: var(--lime);
  border-color: var(--lime)
}

.stat--total b,
.stat--total span,
.stat--total em {
  color: #fff
}

.report__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10.5px
}

.report__table td {
  border-top: 1px solid var(--line);
  padding: 6px 14px;
  color: #5d6353
}

.report__table .num {
  text-align: right;
  font-weight: 700;
  color: var(--forest);
  width: 1px;
  white-space: nowrap
}

.flags {
  display: flex;
  justify-content: space-around;
  gap: 6px;
  padding: 12px 8px;
  border-top: 1px solid var(--line);
  background: #fafbf7;
  flex-wrap: wrap
}

.flag {
  text-align: center;
  min-width: 50px
}

.flag__ico {
  font-size: 18px
}

.flag b {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--forest);
  line-height: 1.2
}

.flag small {
  font-size: 6.5px;
  color: #9aa08d;
  letter-spacing: .04em
}

.dash__side-title {
  font-family: 'Belanosima', sans-serif;
  font-size: 16px;
  font-weight: normal;
  letter-spacing: .05em;
  color: #325118;
  margin: 4px 0 16px;
}

.dash__side-desc {
  font-size: 13.5px;
  color: #5d6353;
  margin: -6px 0 16px;
  line-height: 1.5;
  text-align: left;
}

.dash__side-tagline {
  font-family: 'Belanosima', sans-serif;
  font-size: 12.5px;
  font-weight: normal;
  letter-spacing: .04em;
  color: #325118;
  margin: 20px 0 0;
  text-transform: uppercase;
  text-align: left;
}

.checks li {
  position: relative;
  padding: 9px 0 9px 30px;
  font-size: 14px;
  color: #4f5547;
  text-align: left;
}

.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px;
  height: 20px;
  color: var(--lime);
  font-size: 13px;
  display: grid;
  place-items: center;
}

.bullets li {
  position: relative;
  padding: 9px 0 9px 24px;
  font-size: 14px;
  color: #4f5547;
  text-align: left;
}

.bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 20px;
  color: #4f5547;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
}

/* ===== WHY GOLF ONE ===== */
.why {
  padding: clamp(50px, 7vw, 90px) clamp(20px, 5vw, 60px);
  background: var(--bg-soft)
}

.why__lead {
  font-family: 'Belanosima', sans-serif;
  text-align: center;
  font-size: clamp(16px, 2.2vw, 26px);
  letter-spacing: .04em;
  margin: 8px 0 44px;
  text-transform: uppercase;
  color: #A2BC26;
  line-height: 1.3
}

.steps {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px
}

.step {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 22px 16px 18px;
  box-shadow: 0 10px 26px rgba(40, 60, 30, .07);
  border: 1px solid #eef1e8;
  text-align: left
}

.step p {
  color: #325118;
  font-size: 12px;
  text-align: center;
}

.step__no {
  position: relative;
  margin: 0 auto 12px;
  width: 30px;
  height: 30px;
  background: var(--lime);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Belanosima', sans-serif;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(120, 150, 40, .4);
}

.step img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  margin: 10px auto 12px
}

.step h4 {
  font-family: 'Belanosima', sans-serif;
  font-size: 13px;
  letter-spacing: .03em;
  color: var(--forest);
  text-align: center;
  margin: 0 0 10px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center
}

.step ul li {
  position: relative;
  padding-left: 14px;
  font-size: 11.5px;
  color: #62685a;
  margin-bottom: 4px
}

.step ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime)
}

/* ===== BENEFITS ===== */
.benefits {
  background: linear-gradient(180deg, var(--forest), var(--forest-d));
  color: #fff;
  padding: clamp(50px, 7vw, 80px) clamp(20px, 5vw, 60px);
  text-align: center
}

.benefits__title {
  font-family: 'Belanosima', sans-serif;
  font-size: clamp(16px, 2.2vw, 26px);
  font-weight: 300;
  letter-spacing: .1em;
  margin: 0 auto 50px;
  max-width: var(--maxw);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.benefits__title::before,
.benefits__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, .3);
}

.benefits__grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px
}

.benefit__ico {
  width: 54px;
  height: 54px;
  fill: #fff;
  margin: 0 auto 18px
}

.benefit h5 {
  font-family: 'Belanosima', sans-serif;
  font-size: 16px;
  letter-spacing: .06em;
  margin: 0 0 8px
}

.benefit p {
  font-weight: 300;
  font-size: 13.5px;
  opacity: .9;
  margin: 0
}

.benefit img {
  width: 100px;
  height: 100px;
  margin: 0 auto 18px;
}

.benefit__title {
  font-family: 'Belanosima', sans-serif;
  font-size: 24px;
  letter-spacing: .06em;
}

/* ===== CONTACT ===== */
.contact {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: #091008;
}

.contact__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.contact__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
}

.contact__inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 70px) clamp(20px, 5vw, 60px) 30px;
}

.contact__header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  width: 100%;
}

.contact__title {
  font-family: 'Belanosima', sans-serif;
  font-size: clamp(16px, 2.2vw, 26px);
  font-weight: 300;
  letter-spacing: .1em;
  color: #fff;
  margin: 0;
  flex-shrink: 0;
}

.contact__line {
  flex-grow: 1;
  height: 1px;
  background: rgba(255, 255, 255, .2);
}

.contact__grid {
  display: grid;
  grid-template-columns: 3fr 6fr 3fr;
  gap: 40px;
  align-items: start;
}

.contact__logos {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}

.contact__logo-item img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .9;
}

.contact__info .company__name {
  font-family: 'Belanosima', sans-serif;
  font-size: 20px;
  letter-spacing: .05em;
  margin: 0 0 10px;
}

.contact__info p {
  font-weight: 300;
  font-size: 13px;
  opacity: .85;
  margin: 0 0 14px;
}

.contact__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  margin-bottom: 8px;
  opacity: .9;
}

.contact__icon-img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

.contact__cta {
  text-align: right;
}

.contact__cta p {
  font-size: 13px;
  opacity: .85;
  margin: 0 0 14px;
}

.contact__copy {
  position: relative;
  z-index: 2;
  text-align: right;
  font-size: 11px;
  opacity: .6;
  padding: 14px clamp(20px, 5vw, 60px);
  border-top: 1px solid rgba(255, 255, 255, .12);
}

/* ===== reveal anim ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease
}

.reveal.is-visible {
  opacity: 1;
  transform: none
}

/* ===== RESPONSIVE ===== */
@media(max-width:980px) {
  .system__inner {
    grid-template-columns: 1fr
  }

  .system__visual {
    margin: 18px auto 0;
    max-width: 540px
  }

  .dash__panel {
    grid-template-columns: 1fr
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 34px
  }

  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px
  }

  .contact__grid {
    grid-template-columns: 4fr 4fr 4fr;
    gap: 20px;
  }

  .contact__copy {
    text-align: center;
  }

  .benefits__title::before,
  .benefits__title::after {
    display: none
  }
}

@media(max-width:620px) {
  .hero__nav {
    flex-direction: column;
    gap: 16px
  }

  .stats {
    grid-template-columns: repeat(4, 1fr)
  }

  .report__table {
    font-size: 9.5px
  }

  .steps {
    grid-template-columns: repeat(2, 1fr)
  }

  .pills li {
    flex: 1;
    min-width: 88px
  }

  .flags {
    gap: 10px
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 34px;
    text-align: center;
  }

  .contact__logos {
    justify-content: center;
  }

  .contact__list li {
    justify-content: center;
  }

  .contact__cta {
    text-align: center;
  }
}

@media(max-width:420px) {
  .steps {
    grid-template-columns: 1fr
  }

  .stats {
    grid-template-columns: repeat(2, 1fr)
  }
}