@import url('https://fonts.googleapis.com/css2?family=Anuphan:wght@300;400;500;600;700&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --ink: #16343c;
  --ink-soft: #3f5f6a;
  --muted: #6b8792;
  --bg: #f4f8f7;
  --bg-soft: #eaf3f0;
  --white: #ffffff;
  --line: rgba(22, 52, 60, 0.09);
  --line-strong: rgba(22, 52, 60, 0.14);
  --teal: #2a7d6f;
  --teal-deep: #1c5c52;
  --teal-soft: #d7ebe5;
  --mist: #e4f2ed;
  --mist-2: #f0f7f4;
  --shadow-soft: 0 18px 48px -28px rgba(22, 52, 60, 0.28);
  --shadow-lift: 0 28px 60px -32px rgba(22, 52, 60, 0.32);
  --font: 'Anuphan', sans-serif;
  --heading: 'Anuphan', sans-serif;
  --brand: 'Fraunces', 'Anuphan', Georgia, serif;
  --mono: 'IBM Plex Mono', 'Anuphan', monospace;
  --max: 1120px;
  --demo-h: 48px;
  --header-h: 72px;
  --r: 1.5rem;
  --r-lg: 1.75rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --z-header: 50;
  --z-demo: 60;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 45% at 85% -10%, rgba(42, 125, 111, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 35% at 0% 30%, rgba(42, 125, 111, 0.05), transparent 50%),
    var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

/* —— Demo bar —— */
.demo-bar {
  position: sticky; top: 0; z-index: var(--z-demo);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 0.55rem 1.25rem; background: var(--ink); color: #fff; font-size: 0.82rem;
}
.demo-bar strong { font-size: 0.72rem; letter-spacing: 0.06em; color: #9ed4c6; font-weight: 500; }
.demo-bar__actions { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.demo-bar a {
  padding: 0.35rem 0.7rem; border: 1px solid rgba(255,255,255,0.25); border-radius: 999px; font-size: 0.78rem; font-weight: 500;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.demo-bar a:hover { background: rgba(255,255,255,0.08); }
.demo-bar a.is-primary { background: var(--teal); border-color: var(--teal); }

/* —— Header —— */
.site-header {
  position: sticky; top: var(--demo-h); z-index: var(--z-header);
  background: rgba(244, 248, 247, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand {
  font-family: var(--brand); font-size: 1.55rem; font-weight: 600;
  display: inline-flex; align-items: baseline; gap: 0.45rem;
}
.brand small {
  font-family: var(--font); font-size: 0.68rem; color: var(--teal);
  font-weight: 600; letter-spacing: 0.04em;
}
.nav { display: flex; gap: 1.5rem; align-items: center; }
.nav a { font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); transition: color 0.2s var(--ease); }
.nav a:hover { color: var(--teal); }
.nav-cta {
  background: var(--teal); color: #fff !important; padding: 0.55rem 1.15rem; border-radius: 999px; font-size: 0.85rem !important;
  box-shadow: 0 8px 20px -12px rgba(42, 125, 111, 0.55);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav-cta:hover { background: var(--teal-deep); color: #fff !important; transform: translateY(-1px); }
.menu-toggle {
  display: none; border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 0.45rem 0.85rem; font-size: 0.72rem; font-weight: 600; cursor: pointer;
  transition: border-color 0.2s var(--ease);
}
.menu-toggle:hover { border-color: var(--teal); }

/* —— Buttons —— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.95rem 1.55rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--teal {
  background: var(--teal); color: #fff;
  box-shadow: 0 12px 28px -14px rgba(42, 125, 111, 0.55);
}
.btn--teal:hover { background: var(--teal-deep); }
.btn--outline {
  background: rgba(255, 255, 255, 0.92); border-color: var(--line-strong); color: var(--ink);
}
.btn--outline:hover { border-color: var(--teal); color: var(--teal-deep); }
.btn--ghost-light {
  background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.35); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.22); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* —— Hero (full-bleed) —— */
.hero {
  position: relative;
  min-height: min(88dvh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}
.hero__media {
  position: absolute; inset: 0; z-index: 0;
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 28%;
}
.hero__media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(14, 36, 42, 0.88) 0%, rgba(14, 36, 42, 0.62) 42%, rgba(14, 36, 42, 0.28) 72%, rgba(14, 36, 42, 0.18) 100%),
    linear-gradient(to top, rgba(14, 36, 42, 0.55) 0%, transparent 45%);
}
.hero__content {
  position: relative; z-index: 1;
  padding: 5.5rem 0 4.25rem;
  max-width: 38rem;
  animation: hero-in 0.8s var(--ease) both;
}
.hero__brand {
  font-family: var(--brand);
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 1.15rem;
  text-wrap: balance;
}
.hero__brand span {
  display: block;
  margin-top: 0.45rem;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a8d9cd;
}
.hero h1 {
  font-family: var(--heading);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.35;
  margin-bottom: 1rem;
  text-wrap: balance;
  max-width: 18ch;
}
.hero h1 em { font-style: normal; color: #b8e4d8; }
.hero__lead {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
  max-width: 36ch;
  margin-bottom: 1.75rem;
  text-wrap: pretty;
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* —— Trust bar —— */
.trust-bar {
  padding: 1.85rem 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}
.trust-bar__inner { display: flex; align-items: center; gap: 2.25rem; flex-wrap: wrap; }
.trust-bar__label { font-size: 0.78rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.trust-bar__row { display: flex; gap: 2rem; flex-wrap: wrap; row-gap: 0.55rem; }
.trust-bar__row span {
  font-family: var(--brand); font-weight: 600; font-size: 1.05rem;
  color: var(--ink-soft); white-space: nowrap; opacity: 0.88;
}

/* —— Sections —— */
.section { padding: 5.5rem 0; }
.section--panel {
  background: var(--white);
  border-block: 1px solid var(--line);
}
.section__head { text-align: center; max-width: 34rem; margin: 0 auto 3rem; }
.section__head .eyebrow {
  display: inline-block;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); font-weight: 500; margin-bottom: 0.75rem;
  background: var(--mist); padding: 0.3rem 0.7rem; border-radius: 999px;
}
.section__head h2 {
  font-family: var(--heading);
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 700; letter-spacing: -0.03em; margin-bottom: 0.6rem;
  text-wrap: balance;
}
.section__head p { color: var(--ink-soft); text-wrap: pretty; }

/* —— Features —— */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.feature {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.7rem 1.45rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.feature__icon {
  width: 2.65rem; height: 2.65rem; border-radius: 0.85rem;
  background: var(--mist); color: var(--teal-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--brand); font-weight: 700; font-size: 1.05rem;
  margin-bottom: 1.1rem;
}
.feature h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 0.45rem; text-wrap: balance; }
.feature p { font-size: 0.9rem; color: var(--ink-soft); text-wrap: pretty; }

/* —— Packages —— */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; align-items: stretch; }
.package-shell {
  padding: 0.35rem;
  border-radius: calc(var(--r-lg) + 0.35rem);
  background: rgba(22, 52, 60, 0.04);
  border: 1px solid var(--line);
}
.package-shell--hot {
  background: linear-gradient(160deg, rgba(42, 125, 111, 0.18), rgba(42, 125, 111, 0.06));
  border-color: rgba(42, 125, 111, 0.22);
}
.package {
  background: var(--white);
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  padding: 1.85rem 1.55rem;
  display: flex; flex-direction: column; gap: 0.85rem;
  height: 100%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), var(--shadow-soft);
  transition: transform 0.25s var(--ease);
}
.package-shell:hover .package { transform: translateY(-3px); }
.package--hot {
  background: var(--teal); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 18px 40px -20px rgba(42, 125, 111, 0.55);
}
.package .label {
  font-size: 0.72rem; font-weight: 600; color: var(--teal);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.package--hot .label { color: #c8efe4; }
.package h3 { font-size: 1.35rem; font-weight: 700; }
.package .price {
  font-size: 2rem; font-weight: 700; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.package .price small { font-size: 0.85rem; font-weight: 400; opacity: 0.75; }
.package ul { list-style: none; display: grid; gap: 0.5rem; flex: 1; margin: 0.35rem 0 0.85rem; }
.package li {
  font-size: 0.92rem; padding-left: 1.25rem; position: relative; color: var(--ink-soft);
}
.package--hot li { color: rgba(255, 255, 255, 0.9); }
.package li::before {
  content: ''; position: absolute; left: 0; top: 0.45rem;
  width: 0.55rem; height: 0.55rem; border-radius: 50%;
  background: var(--teal-soft); box-shadow: inset 0 0 0 2px var(--teal);
}
.package--hot li::before {
  background: rgba(255, 255, 255, 0.25); box-shadow: inset 0 0 0 2px #c8efe4;
}
.package .btn { width: 100%; margin-top: auto; }
.package--hot .btn--outline {
  background: #fff; color: var(--teal-deep); border-color: #fff;
}
.pkg-note { text-align: center; color: var(--muted); font-size: 0.88rem; margin-top: 1.75rem; }

/* —— Services —— */
.svc-list { display: grid; gap: 0.85rem; }
.svc-row {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: center;
  padding: 1.2rem 1.45rem;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.svc-row:hover { border-color: rgba(42, 125, 111, 0.28); transform: translateY(-2px); }
.svc-row__code {
  font-family: var(--mono); font-size: 0.72rem; color: var(--teal); background: var(--mist);
  padding: 0.35rem 0.6rem; border-radius: 0.55rem; font-weight: 500;
}
.svc-row h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 0.2rem; }
.svc-row p { color: var(--ink-soft); font-size: 0.88rem; text-wrap: pretty; }
.svc-row__fee {
  font-family: var(--mono); font-size: 0.82rem; color: var(--muted);
  white-space: nowrap; font-variant-numeric: tabular-nums;
}

/* —— Process —— */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; position: relative; }
.process::before {
  content: '';
  position: absolute; top: 2.1rem; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  pointer-events: none;
}
.process article {
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.7rem 1.4rem;
  box-shadow: var(--shadow-soft);
}
.process .num {
  font-family: var(--brand); font-size: 1.55rem; font-weight: 700;
  color: var(--teal); margin-bottom: 0.85rem; line-height: 1;
}
.process h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 0.4rem; }
.process p { font-size: 0.9rem; color: var(--ink-soft); text-wrap: pretty; }

/* —— Team —— */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.person { text-align: center; }
.person__photo {
  width: 8rem; height: 8rem; border-radius: 50%; overflow: hidden; margin: 0 auto 1.1rem;
  border: 4px solid var(--mist);
  box-shadow: 0 16px 36px -22px rgba(22, 52, 60, 0.35);
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { font-size: 1.05rem; font-weight: 700; }
.person p { font-size: 0.88rem; color: var(--muted); margin-top: 0.2rem; }

/* —— Testimonials —— */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.testimonial {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.85rem 1.55rem;
  display: flex; flex-direction: column; gap: 1.1rem;
  box-shadow: var(--shadow-soft);
}
.testimonial__stars { color: #d4a24c; font-size: 0.8rem; letter-spacing: 0.12em; }
.testimonial p.quote {
  font-size: 0.98rem; color: var(--ink-soft); flex: 1;
  font-family: var(--brand); font-weight: 500; line-height: 1.55;
  text-wrap: pretty;
}
.testimonial__person { display: flex; align-items: center; gap: 0.75rem; }
.testimonial__person img { width: 2.5rem; height: 2.5rem; border-radius: 50%; object-fit: cover; }
.testimonial__person strong { display: block; font-size: 0.88rem; }
.testimonial__person span { font-size: 0.78rem; color: var(--muted); }

/* —— FAQ —— */
.faq { display: grid; gap: 0.7rem; max-width: 44rem; margin-inline: auto; }
.faq details {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.15rem 1.4rem;
  box-shadow: var(--shadow-soft);
}
.faq summary {
  cursor: pointer; font-weight: 700; font-size: 0.98rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; color: var(--teal); font-size: 1.25rem; font-weight: 700;
  flex-shrink: 0; width: 1.5rem; text-align: center;
  transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after { content: '−'; }
.faq p { color: var(--ink-soft); margin-top: 0.75rem; font-size: 0.92rem; text-wrap: pretty; }

/* —— CTA —— */
.cta-block {
  background:
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(42, 125, 111, 0.12), transparent 55%),
    var(--mist);
  border: 1px solid rgba(42, 125, 111, 0.18);
  border-radius: var(--r-lg);
  padding: 2.85rem 2.4rem;
  display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap;
  box-shadow: var(--shadow-soft);
}
.cta-block h2 {
  font-family: var(--heading);
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  font-weight: 700; letter-spacing: -0.02em; max-width: 22ch;
  text-wrap: balance;
}
.cta-block p { color: var(--ink-soft); margin-top: 0.4rem; }

/* —— Contact —— */
.contact-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 1.75rem; }
.contact-info {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2.1rem 1.85rem;
  box-shadow: var(--shadow-soft);
}
.contact-info h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.55rem; }
.contact-info > p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 1.5rem; text-wrap: pretty; }
.contact-info__list { display: grid; gap: 1rem; list-style: none; }
.contact-info__list li {
  display: flex; flex-direction: column; gap: 0.2rem;
  padding-top: 1rem; border-top: 1px solid var(--line);
}
.contact-info__list li:first-child { border-top: none; padding-top: 0; }
.contact-info__list span {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600;
}
.contact-info__list strong { font-size: 0.98rem; }

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-lift);
}
.form-grid { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 0.35rem; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); background: var(--bg);
  padding: 0.8rem 0.95rem; border-radius: 0.85rem; outline: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--teal); background: #fff;
  box-shadow: 0 0 0 3px rgba(42, 125, 111, 0.14);
}
.field textarea { min-height: 110px; resize: vertical; }
.contact-card .btn { width: 100%; }

/* —— Footer —— */
.site-footer {
  background: #fff; border-top: 1px solid var(--line);
  padding: 3rem 0 1.35rem; color: var(--ink-soft);
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 1.75rem; }
.footer__grid h4 {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--teal); margin-bottom: 0.75rem;
}
.footer__grid a { display: block; margin-bottom: 0.4rem; font-size: 0.92rem; }
.footer__grid a:hover { color: var(--teal); }
.footer__lede { margin-top: 0.55rem; font-size: 0.9rem; max-width: 28ch; }
.footer__bottom {
  border-top: 1px solid var(--line); padding-top: 1.1rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.78rem; color: var(--muted);
}

/* —— Reveal —— */
.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > *:nth-child(1) { transition-delay: 0.04s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.22s; }

@media (max-width: 980px) {
  .hero { min-height: min(78dvh, 680px); }
  .hero__content { max-width: 100%; padding-block: 4.5rem 3.5rem; }
  .team, .footer__grid, .contact-split { grid-template-columns: 1fr; }
  .features, .packages, .testimonials, .process { grid-template-columns: 1fr 1fr; }
  .process::before { display: none; }
}
@media (max-width: 720px) {
  .wrap { width: min(100% - 1.5rem, var(--max)); }
  .nav {
    display: none; position: absolute; top: var(--header-h); left: 1rem; right: 1rem;
    flex-direction: column; background: #fff; border: 1px solid var(--line);
    border-radius: 1rem; padding: 0.55rem; gap: 0;
    box-shadow: var(--shadow-lift);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.8rem; text-align: center; }
  .menu-toggle { display: inline-flex; }
  .form-row { grid-template-columns: 1fr; }
  .features, .packages, .testimonials, .process, .team { grid-template-columns: 1fr; }
  .trust-bar__inner { flex-direction: column; align-items: flex-start; gap: 0.9rem; }
  .svc-row { grid-template-columns: 1fr; text-align: left; }
  .cta-block { text-align: center; justify-content: center; padding: 2.1rem 1.5rem; }
  .hero h1 { max-width: none; }
  .section { padding: 4rem 0; }
}
