@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: #1a2e2b;
  --ink-soft: #3d5652;
  --muted: #6a817c;
  --bg: #f4f7f6;
  --white: #ffffff;
  --line: rgba(26, 46, 43, 0.1);
  --teal: #1f6b5c;
  --teal-deep: #155248;
  --mist: #dceee9;
  --font: 'Anuphan', sans-serif;
  --heading: 'Anuphan', sans-serif;
  --brand: 'Fraunces', 'Anuphan', Georgia, serif;
  --mono: 'IBM Plex Mono', 'Anuphan', monospace;
  --max: 1100px;
  --demo-h: 48px;
  --r: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(ellipse 55% 40% at 100% 0%, rgba(31, 107, 92, 0.08), transparent 50%),
    var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul { list-style: none; }
.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

.demo-bar {
  position: sticky; top: 0; z-index: 60;
  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: #9ed4c4; 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;
}
.demo-bar a.is-primary { background: var(--teal); border-color: var(--teal); }

.site-header {
  position: sticky; top: var(--demo-h); z-index: 50;
  background: rgba(244,247,246,0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { font-family: var(--brand); font-size: 1.55rem; font-weight: 600; display: flex; align-items: baseline; gap: 0.4rem; }
.brand small { font-family: var(--font); font-size: 0.7rem; color: var(--teal); font-weight: 600; }
.nav { display: flex; gap: 1.4rem; align-items: center; }
.nav a { font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); }
.nav a:hover { color: var(--teal); }
.nav-cta {
  background: var(--teal); color: #fff !important; padding: 0.5rem 1.1rem; border-radius: 999px; font-size: 0.85rem !important;
}
.menu-toggle {
  display: none; border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 0.4rem 0.75rem; font-size: 0.72rem; cursor: pointer;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.9rem 1.5rem; 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;
}
.btn:hover { transform: translateY(-2px); }
.btn--teal { background: var(--teal); color: #fff; box-shadow: 0 10px 24px -12px rgba(31,107,92,0.55); }
.btn--teal:hover { background: var(--teal-deep); }
.btn--outline { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero { padding: 3.75rem 0 2.5rem; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.pill {
  display: inline-flex; background: var(--mist); color: var(--teal-deep); font-size: 0.8rem; font-weight: 600;
  padding: 0.35rem 0.9rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.hero h1 {
  font-family: var(--heading); font-size: clamp(2.1rem, 4.5vw, 3.05rem); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 1rem;
}
.hero h1 em { font-style: normal; color: var(--teal); }
.hero__lead { color: var(--ink-soft); font-size: 1.05rem; max-width: 40ch; margin-bottom: 1.6rem; }
.hero__photo {
  border-radius: var(--r); overflow: hidden; aspect-ratio: 1 / 1.05;
  box-shadow: 0 20px 50px -24px rgba(26,46,43,0.35);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.trust-bar {
  background: var(--white); border-block: 1px solid var(--line); padding: 1.5rem 0;
}
.trust-bar__inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.trust-bar__label { font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.trust-bar__row { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.trust-bar__row span { font-family: var(--brand); font-weight: 600; font-size: 1rem; color: var(--ink-soft); }

.section { padding: 4.5rem 0; }
.section__head { text-align: center; max-width: 34rem; margin: 0 auto 2.5rem; }
.section__head .eyebrow {
  display: block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 0.55rem;
}
.section__head h2 {
  font-family: var(--heading); font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 700;
  letter-spacing: -0.03em; margin-bottom: 0.55rem;
}
.section__head p { color: var(--ink-soft); }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem 1.35rem;
}
.feature__icon {
  width: 42px; height: 42px; border-radius: 12px; background: var(--mist); color: var(--teal-deep);
  display: flex; align-items: center; justify-content: center; font-family: var(--brand); font-weight: 700; margin-bottom: 0.9rem;
}
.feature h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.35rem; }
.feature p { font-size: 0.9rem; color: var(--ink-soft); }

.practice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.practice article {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem 1.4rem;
  transition: transform 0.25s var(--ease);
}
.practice article:hover { transform: translateY(-3px); }
.practice .label { font-size: 0.75rem; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.5rem; }
.practice h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.45rem; }
.practice p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 0.85rem; }
.practice .fee { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }

.fees {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
}
.fee-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.fee-card--hot { background: var(--teal); color: #fff; border-color: var(--teal); }
.fee-card .label { font-size: 0.78rem; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: 0.05em; }
.fee-card--hot .label { color: #c8efe4; }
.fee-card h3 { font-size: 1.25rem; font-weight: 700; }
.fee-card .price { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.03em; }
.fee-card .price small { font-size: 0.85rem; font-weight: 400; opacity: 0.75; }
.fee-card ul { display: grid; gap: 0.45rem; flex: 1; margin: 0.4rem 0 0.8rem; }
.fee-card li { font-size: 0.9rem; color: var(--ink-soft); padding-left: 1.15rem; position: relative; }
.fee-card--hot li { color: rgba(255,255,255,0.9); }
.fee-card li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.fee-card--hot li::before { color: #c8efe4; }
.fee-card .btn { width: 100%; }
.fee-card--hot .btn--outline { background: #fff; color: var(--teal); border-color: #fff; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.process article {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem 1.35rem;
}
.process .num { font-family: var(--brand); font-size: 1.5rem; font-weight: 700; color: var(--teal); margin-bottom: 0.65rem; }
.process h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.35rem; }
.process p { font-size: 0.9rem; color: var(--ink-soft); }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.person { text-align: center; }
.person__photo {
  width: 120px; height: 120px; border-radius: 50%; overflow: hidden; margin: 0 auto 1rem; border: 4px solid var(--mist);
}
.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); }

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.testimonial {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem 1.4rem;
  display: flex; flex-direction: column; gap: 0.9rem;
}
.testimonial__stars { color: #e0a035; letter-spacing: 0.12em; font-size: 0.85rem; }
.testimonial .quote { font-size: 0.95rem; color: var(--ink-soft); flex: 1; }
.testimonial strong { font-size: 0.88rem; display: block; }
.testimonial span { font-size: 0.78rem; color: var(--muted); }

.faq { display: grid; gap: 0.75rem; max-width: 720px; margin: 0 auto; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.35rem;
}
.faq summary {
  cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--teal); font-size: 1.25rem; }
.faq details[open] summary::after { content: '−'; }
.faq p { margin-top: 0.7rem; color: var(--ink-soft); font-size: 0.92rem; }

.cta-block {
  background: var(--mist); border: 1px solid rgba(31,107,92,0.2); border-radius: var(--r);
  padding: 2.5rem 2.2rem; display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap;
}
.cta-block h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); font-weight: 700; max-width: 22ch; }
.cta-block p { color: var(--ink-soft); margin-top: 0.3rem; }

.contact-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 1.5rem; }
.contact-info {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 2rem 1.75rem;
}
.contact-info h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.contact-info > p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 1.4rem; }
.contact-info__list { display: grid; gap: 1rem; }
.contact-info__list li { 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 { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.contact-info__list strong { font-size: 0.95rem; }

.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 2.2rem 2rem;
  box-shadow: 0 18px 40px -24px rgba(26,46,43,0.28);
}
.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.3rem; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); background: var(--bg); padding: 0.75rem 0.9rem; border-radius: 12px; outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px rgba(31,107,92,0.15);
}
.field textarea { min-height: 100px; resize: vertical; }

.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 2.5rem 0 1.25rem; color: var(--ink-soft); }
/* Voice strip — soft quotes */
.voice-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.voice-strip__item {
  margin: 0;
  padding: 1.55rem 1.4rem 1.45rem 1.5rem;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid var(--accent, var(--gold, var(--blush, var(--coral, var(--teal, var(--cyan, var(--line)))))));
  background: transparent;
}
.voice-strip__item:nth-child(even) {
  border-left-color: color-mix(in srgb, var(--accent, var(--gold, var(--blush, var(--line)))) 55%, transparent);
}
.voice-strip__item p {
  font-family: var(--heading, var(--brand, var(--display, inherit)));
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.45;
  margin: 0 0 0.85rem;
  color: var(--ink);
  font-weight: 500;
}
.voice-strip__item cite {
  display: block;
  font-style: normal;
  font-size: 0.88rem;
  color: var(--muted);
}
@media (max-width: 720px) {
  .voice-strip { grid-template-columns: 1fr; }
  .voice-strip__item { padding-inline: 0 0.25rem; border-left-width: 2px; padding-left: 1.1rem; }
}

.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 1.5rem; }
.footer__grid h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--teal); margin-bottom: 0.7rem; }
.footer__grid a { display: block; margin-bottom: 0.35rem; font-size: 0.92rem; }
.footer__bottom {
  border-top: 1px solid var(--line); padding-top: 1rem; display: flex; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; font-size: 0.78rem; color: var(--muted);
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }


@media (max-width: 980px) {
  .hero__grid, .contact-split, .footer__grid { grid-template-columns: 1fr; }
  .features, .practice, .fees, .testimonials, .process, .team { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .nav {
    display: none; position: absolute; top: 70px; left: 1rem; right: 1rem; flex-direction: column;
    background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0.6rem; gap: 0;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.75rem; text-align: center; }
  .menu-toggle { display: inline-flex; }
  .features, .practice, .fees, .testimonials, .process, .team { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-block { text-align: center; justify-content: center; }
}
