:root {
  --ink: #3d3a3a;
  --muted: #6d6767;
  --line: #ece8e4;
  --paper: #fffdf8;
  --soft: #e9eeee;
  --teal: #56aaad;
  --teal-dark: #3f9699;
  --lime: #acd177;
  --lime-dark: #7ca64d;
  --pink: #e91552;
  --green: #1aaa4b;
  --yellow: #ffd313;
  --blue: #2fb6e8;
  --purple: #56339a;
  --shadow: 0 22px 55px rgba(61, 58, 58, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "Noto Sans HK", Arial, sans-serif;
  line-height: 1.65;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 10px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(236, 232, 228, 0.9);
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 96px;
  height: auto;
}

.header-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 18px;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(42px, 6vw, 76px) clamp(18px, 5vw, 74px);
  overflow: hidden;
  background: var(--teal);
}

.hero h1,
.hero-lede {
  color: #fff;
}

.hero-copy {
  max-width: 790px;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 5.8vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
}

.hero-lede {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 1.65vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 800;
}

.button.primary {
  background: var(--lime);
  color: #fff;
  box-shadow: 0 12px 28px rgba(124, 166, 77, 0.2);
}

.button.secondary {
  margin-top: 28px;
  background: var(--lime);
  color: #fff;
  box-shadow: 0 12px 28px rgba(124, 166, 77, 0.16);
}

.button.section-button {
  display: flex;
  width: fit-content;
  margin-top: 34px;
  margin-right: auto;
  margin-left: auto;
  background: var(--lime);
  color: #fff;
  box-shadow: 0 12px 28px rgba(124, 166, 77, 0.16);
}

.button.full {
  width: 100%;
}

.hero-media {
  position: relative;
  min-height: 440px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  object-position: 63% center;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 58%, rgba(255, 253, 248, 0.35));
  pointer-events: none;
}

main > section:not(.hero) {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 74px);
}

.steps-section {
  background: #fff;
}

.pain-section h2,
.section-heading h2,
.final-cta h1,
.final-cta h2 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.15;
  letter-spacing: 0;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.pain-grid p,
.feature-grid article,
.steps article,
.cta-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.pain-grid p {
  margin: 0;
  padding: 24px;
  color: var(--muted);
  font-size: 18px;
}

.value-section {
  background: var(--soft);
}

.section-heading {
  display: grid;
  gap: 0;
  margin-bottom: 34px;
}

.value-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: min(720px, 82vh);
  max-width: 1320px;
  padding: clamp(48px, 7vw, 86px) 0;
  border-top: 1px solid var(--line);
  scroll-snap-align: center;
}

.value-row:last-child {
  border-bottom: 1px solid var(--line);
}

.value-row h3,
.feature-grid h3,
.steps h3,
.cta-panel h3 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.22;
  letter-spacing: 0;
}

.value-row p,
.feature-grid p,
.steps p,
.faq-list p,
.cta-panel p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.value-row > div:first-child {
  max-width: 660px;
}

.value-visual {
  min-height: 420px;
  overflow: hidden;
  background: var(--teal);
}

.value-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: 62% center;
}

.value-row:nth-of-type(2) .value-visual img {
  object-position: 72% center;
}

.value-row:nth-of-type(3) .value-visual img {
  object-position: 55% center;
}

.value-row:nth-of-type(2) .value-visual {
  order: -1;
}

.feature-section {
  background: var(--paper);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article {
  min-height: 194px;
  padding: 24px;
  background: #fff;
}

.feature-grid h3 {
  font-size: 21px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.steps article {
  padding: 28px;
}

.steps span {
  display: block;
  margin-bottom: 34px;
  color: var(--teal);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.steps h3 {
  font-size: 24px;
}

.faq-section {
  background: var(--soft);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  font-size: 18px;
  font-weight: 800;
}

.faq-list p {
  padding: 0 22px 22px;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(26px, 5vw, 64px);
  align-items: start;
  background: #fff;
}

.final-cta ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.final-cta li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  font-size: 18px;
}

.final-cta li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
}

.cta-panel {
  padding: 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.cta-panel h3 {
  font-size: 28px;
}

.cta-panel .button {
  margin-top: 22px;
}

.booking-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.form-step {
  display: grid;
  gap: 14px;
}

.form-step[hidden],
.focus-detail-group[hidden] {
  display: none;
}

.form-step-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.form-step-heading strong {
  font-size: 18px;
}

.form-step-heading span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.focus-card {
  min-height: 82px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.focus-card.selected {
  border-color: var(--green);
  background: #f0fdf4;
}

.focus-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.focus-card span,
.focus-card em {
  display: block;
}

.focus-card span {
  font-weight: 900;
}

.focus-card em {
  margin-top: 4px;
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
}

.focus-detail-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.focus-detail-group > span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.focus-detail-group label {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.focus-detail-group label::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  grid-column: 1;
  grid-row: 1;
  border: 2px solid #c8c2b8;
  border-radius: 50%;
  background: #fff;
}

.focus-detail-group label input {
  grid-column: 1;
  grid-row: 1;
}

.focus-detail-group label:has(input:checked) {
  border-color: var(--green);
  background: #f0fdf4;
}

.focus-detail-group label:has(input:checked)::before {
  border-color: var(--green);
  background: radial-gradient(circle at center, var(--green) 0 38%, #fff 42%);
}

.booking-form .focus-detail-group input {
  position: absolute;
  width: 1px;
  min-width: 1px;
  height: 1px;
  min-height: 1px;
  opacity: 0;
  pointer-events: none;
  padding: 0;
}

.booking-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.booking-form label span {
  font-size: 14px;
}

.booking-form input,
.booking-form select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.booking-form select {
  appearance: none;
}

.booking-form .check-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.5;
}

.booking-form .check-consent input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 3px;
  padding: 0;
}

@media (max-width: 520px) {
  .focus-grid {
    grid-template-columns: 1fr;
  }

  .form-step-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 74px);
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
}

.site-footer img {
  width: 110px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media,
  .hero-media img {
    min-height: 340px;
  }

  .pain-grid,
  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .value-row {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .value-row:nth-of-type(2) .value-visual {
    order: 0;
  }

  .value-visual,
  .value-visual img {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 62px;
    padding: 10px 14px;
  }

  .brand img {
    width: 82px;
  }

  .header-cta {
    min-height: 40px;
    padding: 8px 13px;
    font-size: 14px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero h1 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-media {
    border-radius: 18px;
  }

  .hero-media,
  .hero-media img {
    min-height: 280px;
  }

  .pain-grid p,
  .feature-grid article,
  .steps article,
  .cta-panel {
    padding: 20px;
  }

  .value-row {
    padding: 26px 0;
  }

  .value-visual,
  .value-visual img {
    min-height: 250px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
