:root {
  --ink: #111b19;
  --muted: #5c6865;
  --teal: #005b5f;
  --teal-2: #00474b;
  --line: #d8e0dd;
  --soft: #f3f8f6;
  --paper: #ffffff;
  --sand: #f6f2e9;
  --shadow: 0 18px 55px rgba(11, 44, 43, 0.12);
  --serif: Georgia, "Times New Roman", "Noto Serif TC", "Songti TC", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(260px, 1fr);
  align-items: center;
  min-height: 82px;
  padding: 14px 44px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  width: max-content;
}

.brand span {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 42px;
  align-items: center;
  font-size: 15px;
}

.nav a {
  padding: 10px 0;
}

.nav a:hover,
.footer a:hover {
  color: var(--teal);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}

.lang-toggle {
  border: 0;
  background: transparent;
  color: var(--teal-2);
  font: 700 16px/1 var(--sans);
  cursor: pointer;
  white-space: nowrap;
}

.lang-toggle [data-lang-option] {
  opacity: 0.48;
}

html[data-lang="en"] .lang-toggle [data-lang-option="en"],
html[data-lang="zh"] .lang-toggle [data-lang-option="zh"] {
  opacity: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--teal);
  border-radius: 2px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  box-shadow: 0 12px 28px rgba(0, 91, 95, 0.16);
}

.button-light {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.72);
}

.button-large {
  min-height: 58px;
  padding: 0 34px;
  font-size: 18px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(540px, 1.1fr);
  min-height: 620px;
  height: calc(100vh - 160px);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 72px clamp(36px, 6vw, 82px);
}

.hero h1 {
  margin: 0;
  max-width: 680px;
  font-family: var(--serif);
  font-size: 68px;
  line-height: 1.05;
  font-weight: 600;
  white-space: pre-line;
}

.hero p {
  max-width: 520px;
  margin: 28px 0 34px;
  color: var(--muted);
  font-size: 24px;
  line-height: 1.48;
}

.hero-media {
  min-height: 520px;
  overflow: hidden;
  background: var(--soft);
}

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

.service-strip {
  padding: 34px 48px 40px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.section-label {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-strip h2,
.section-head h2,
.plans-intro h2,
.faq-heading h2,
.cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
}

.service-strip h2 {
  font-size: 34px;
}

.service-icons {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 0;
  max-width: 940px;
  margin: 30px auto 0;
}

.service-icons div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 42px;
  border-right: 1px solid var(--line);
  font-size: 18px;
}

.service-icons div:last-child {
  border-right: 0;
}

svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.section-pad {
  padding: 84px clamp(28px, 5vw, 80px);
}

.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-head.wide {
  max-width: 860px;
}

.section-head h2,
.plans-intro h2,
.faq-heading h2 {
  font-size: 54px;
}

.pain-grid,
.custom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pain-grid article,
.custom-grid article {
  min-height: 260px;
  padding: 34px 34px 38px;
  background: #fff;
}

.pain-grid span,
.custom-grid span,
.process-line span {
  display: block;
  margin-bottom: 18px;
  color: var(--teal);
  font-weight: 800;
}

h3 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.2;
}

p {
  line-height: 1.65;
}

.pain-grid p,
.custom-grid p,
.process-line p,
.plan li,
.proof-band p,
.faq p,
.plans-intro p,
.fineprint {
  color: var(--muted);
}

.process {
  background: var(--paper);
}

.process-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}

.process-line::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 48px;
  height: 2px;
  background: var(--teal);
}

.process-line article {
  position: relative;
  padding-top: 88px;
  text-align: center;
}

.process-line article::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 50%;
  width: 16px;
  height: 16px;
  transform: translateX(-50%);
  border: 2px solid var(--teal);
  border-radius: 50%;
  background: #fff;
}

.process-line h3 {
  min-height: 54px;
  font-size: 19px;
}

.plans {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(640px, 1.4fr);
  gap: 64px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.plans-intro p {
  max-width: 340px;
  margin-top: 24px;
  font-size: 18px;
}

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

.plan {
  position: relative;
  min-height: 392px;
  padding: 38px 30px 34px;
  border: 1px solid var(--line);
  background: #fff;
}

.plan.featured {
  border: 2px solid var(--teal);
  box-shadow: var(--shadow);
}

.popular {
  position: absolute;
  top: 0;
  left: -2px;
  right: -2px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.plan.featured h3 {
  margin-top: 18px;
}

.price {
  margin: 20px 0 2px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--teal);
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
}

.price span {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
}

.units {
  margin: 18px 0 20px;
  font-weight: 700;
}

.plan ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--teal);
  font-weight: 900;
}

.fineprint {
  grid-column: 2;
  margin: 24px 0 0;
  font-size: 13px;
}

.custom {
  background: var(--soft);
}

.custom-grid article {
  min-height: 310px;
}

.custom-grid h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
}

.proof-band {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) repeat(4, minmax(150px, 1fr));
  gap: 1px;
  padding: 44px clamp(28px, 5vw, 80px);
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-band h2 {
  margin: 0;
  padding-right: 34px;
  font-family: var(--serif);
  font-size: 31px;
  line-height: 1.14;
  font-weight: 500;
}

.proof-band div {
  padding: 4px 28px;
  border-left: 1px solid var(--line);
}

.proof-band strong {
  display: block;
  margin-bottom: 10px;
  font-size: 17px;
}

.proof-band p {
  margin: 0;
  font-size: 14px;
}

.faq {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 80px;
}

.faq-heading h2 {
  font-size: 42px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "⌄";
  color: var(--teal);
  font-size: 20px;
}

details[open] summary::after {
  transform: rotate(180deg);
}

details p {
  max-width: 760px;
  margin: 0;
  padding: 0 0 24px;
}

.cta {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 520px);
  gap: 70px;
  align-items: start;
  padding: 64px clamp(28px, 6vw, 88px);
  color: #fff;
  background: linear-gradient(135deg, #006166, #003f43);
}

.cta h2 {
  max-width: 620px;
  font-size: 46px;
}

.cta p {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.contact-form label:nth-of-type(n + 3),
.contact-form button,
.form-status {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 2px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font: 16px var(--sans);
}

textarea {
  min-height: 110px;
  padding-top: 12px;
  resize: vertical;
}

select option {
  color: var(--ink);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #fff;
  background: #25d366;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  box-shadow: 0 16px 40px rgba(3, 78, 48, 0.28);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 44px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.footer p {
  margin: 0;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 18px;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: center;
    order: 3;
    gap: 26px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 510px;
  }

  .hero-media {
    min-height: 420px;
  }

  .plans,
  .faq,
  .cta {
    grid-template-columns: 1fr;
  }

  .fineprint {
    grid-column: 1;
  }

  .proof-band {
    grid-template-columns: 1fr 1fr;
  }

  .proof-band h2 {
    grid-column: 1 / -1;
    padding-right: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    min-height: auto;
    padding: 16px 20px;
  }

  .brand span {
    font-size: 28px;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 22px;
    padding-bottom: 2px;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-actions .button {
    display: none;
  }

  .hero {
    height: auto;
    min-height: auto;
  }

  .hero-copy {
    min-height: auto;
    padding: 58px 24px 44px;
  }

  .hero h1 {
    font-size: 44px;
    line-height: 1.08;
  }

  .hero p {
    margin: 22px 0 28px;
    font-size: 20px;
  }

  .hero-media {
    min-height: 220px;
  }

  .service-strip {
    padding: 32px 24px;
  }

  .service-strip h2,
  .section-head h2,
  .plans-intro h2 {
    font-size: 38px;
  }

  .service-icons,
  .pain-grid,
  .custom-grid,
  .plan-grid,
  .process-line {
    grid-template-columns: 1fr;
  }

  .service-icons div {
    justify-content: flex-start;
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-icons div:last-child {
    border-bottom: 0;
  }

  .section-pad {
    padding: 60px 24px;
  }

  .process-line {
    gap: 0;
  }

  .process-line::before {
    left: 8px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
  }

  .process-line article {
    padding: 0 0 34px 44px;
    text-align: left;
  }

  .process-line article::before {
    top: 2px;
    left: 8px;
  }

  .process-line h3 {
    min-height: 0;
  }

  .plan {
    min-height: auto;
  }

  .proof-band {
    grid-template-columns: 1fr;
    padding: 38px 24px;
  }

  .proof-band div {
    padding: 22px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .faq {
    gap: 32px;
  }

  .cta {
    padding: 48px 24px;
    gap: 34px;
  }

  .cta h2 {
    font-size: 38px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    padding: 24px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 38px;
  }

  .button-large {
    width: 100%;
    padding: 0 18px;
  }

  .price {
    font-size: 29px;
  }
}
