/* Buatong Thai Massage — mobile-first */

:root {
  --color-bg: #faf8f5;
  --color-surface: #ffffff;
  --color-text: #1c1917;
  --color-muted: #57534e;
  --color-accent: #0d5c4d;
  --color-accent-hover: #094a3e;
  --color-gold: #b8860b;
  --color-border: #e7e5e4;
  --color-alt: #f5f0e8;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(28, 25, 23, 0.08);
  --header-h: 4rem;
  --max-width: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

img,
iframe {
  max-width: 100%;
}

a {
  color: var(--color-accent);
}

a:hover {
  color: var(--color-accent-hover);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-text);
  line-height: 1.2;
}

.logo-thai {
  font-size: 0.75rem;
  color: var(--color-gold);
  letter-spacing: 0.05em;
}

.logo-text {
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.site-nav a:not(.btn) {
  display: block;
  padding: 0.6rem 0;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
}

.site-nav a:not(.btn):not(.nav-social):hover {
  color: var(--color-accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.15s;
}

.nav-social:hover {
  opacity: 0.85;
}

.nav-social-icon {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
}

.site-nav .nav-social {
  padding: 0;
}

.btn-nav {
  flex: 1;
  width: 100%;
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-secondary:hover {
  background: var(--color-accent);
  color: #fff;
}

.btn-light {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-light:hover {
  background: #fff;
  color: var(--color-accent);
}

/* Hero */
.hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55)),
    url('images/hero-massage.jpg') center / cover no-repeat;
  color: #fff;
  padding: 3rem 0 3.5rem;
  min-height: 22rem;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 36rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.85;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1.2;
  font-weight: 700;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  opacity: 0.92;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.hero .btn-secondary:hover {
  background: #fff;
  color: var(--color-accent);
  border-color: #fff;
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section-alt {
  background: var(--color-alt);
}

.section-header {
  margin-bottom: 2rem;
  text-align: center;
}

.section-header h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.section-header p {
  margin: 0;
  color: var(--color-muted);
  max-width: 32rem;
  margin-inline: auto;
}

.section-note,
.hours-note,
.map-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  text-align: center;
}

.map-note code {
  font-size: 0.85em;
  background: var(--color-surface);
  padding: 0.15em 0.4em;
  border-radius: 4px;
}

/* Cards */
.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card-featured {
  border-color: var(--color-gold);
}

.card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gold);
  background: #fff8e7;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.card-duration {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: var(--color-gold);
  font-weight: 600;
}

.card p {
  margin: 0 0 1rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.card-price {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
}

.price-from {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-muted);
}

.price-note {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-muted);
}

/* Therapists */
.therapist-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.therapist-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--color-border);
}

.therapist-avatar {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.therapist-card h3 {
  margin: 0 0 0.25rem;
}

.therapist-role {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--color-gold);
  font-weight: 600;
}

.therapist-card p:last-child {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* Hours */
.hours-block {
  max-width: 28rem;
  margin-inline: auto;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hours-table th,
.hours-table td {
  padding: 0.85rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.hours-table tr:last-child th,
.hours-table tr:last-child td {
  border-bottom: none;
}

.hours-table th {
  font-weight: 600;
  width: 45%;
}

.hours-table td {
  color: var(--color-muted);
}

/* Location */
.address-block {
  font-style: normal;
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* FAQ */
.faq-list {
  max-width: 40rem;
  margin-inline: auto;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: var(--color-accent);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* CTA band */
.cta-band {
  background: var(--color-accent);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
}

.cta-band p {
  margin: 0 0 1.5rem;
  opacity: 0.9;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Footer */
.site-footer {
  background: var(--color-text);
  color: #d6d3d1;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer-brand {
  margin: 0 0 0.75rem;
  font-weight: 600;
  color: #fff;
}

.footer-contact {
  margin-bottom: 1rem;
}

.footer-contact a {
  color: #a8e6cf;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Tablet+ */
@media (min-width: 600px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .therapist-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    position: relative;
  }

  .site-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: static;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .site-nav ul {
    display: flex;
    gap: 1.25rem;
    margin: 0;
  }

  .site-nav a:not(.btn) {
    padding: 0;
    font-size: 0.9rem;
  }

  .btn-nav {
    flex: none;
    width: auto;
  }

  .nav-actions {
    gap: 1rem;
  }

  .hero {
    padding: 4.5rem 0 5rem;
    min-height: 28rem;
  }

  .section {
    padding: 4rem 0;
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
