/* ============================================
   原始點痛症養生館 — Design System
   ============================================ */

:root {
  --color-primary: #A61E22;
  --color-primary-dark: #8a181c;
  --color-primary-light: #c4282d;
  --color-wood: #4A2C1A;
  --color-wood-light: #6b4228;
  --color-cream: #F6F1E8;
  --color-cream-dark: #ebe4d8;
  --color-accent: #C8A27A;
  --color-accent-light: #d4b896;
  --color-text: #3d2b1f;
  --color-text-muted: #7a6555;
  --color-white: #ffffff;

  --font-serif: 'Noto Serif TC', 'Songti TC', serif;
  --font-sans: 'Noto Sans TC', 'PingFang TC', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 2px 8px rgba(74, 44, 26, 0.08);
  --shadow-md: 0 4px 20px rgba(74, 44, 26, 0.12);
  --shadow-lg: 0 8px 40px rgba(74, 44, 26, 0.16);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 64px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-cream);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

/* ---- Typography ---- */

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-wood);
}

h1 { font-size: clamp(1.75rem, 5vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 3vw, 1.5rem); }

p { margin-bottom: var(--space-sm); }

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
  font-weight: 500;
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-desc {
  color: var(--color-text-muted);
  max-width: 640px;
  font-size: 1.0625rem;
}

/* ---- Layout ---- */

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

.section--dark {
  background-color: var(--color-wood);
  color: var(--color-cream);
}

.section--dark h2,
.section--dark h3 {
  color: var(--color-cream);
}

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

/* ---- Header / Nav ---- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-wood);
  height: var(--header-height);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.logo__icon {
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--color-white);
  font-weight: 700;
  flex-shrink: 0;
}

.logo__text {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--color-cream);
  font-weight: 600;
  white-space: nowrap;
}

.nav {
  display: none;
}

.nav__list {
  display: flex;
  gap: var(--space-md);
}

.nav__link {
  color: var(--color-cream);
  font-size: 0.9375rem;
  opacity: 0.85;
  transition: opacity var(--transition), color var(--transition);
  position: relative;
}

.nav__link:hover,
.nav__link.active {
  opacity: 1;
  color: var(--color-accent);
}

.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
}

.header__cta {
  display: none;
}

.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-cream);
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-wood);
  z-index: 999;
  transform: translateX(100%);
  transition: transform var(--transition);
  overflow-y: auto;
  padding: var(--space-lg) var(--space-md);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.mobile-nav__link {
  display: block;
  color: var(--color-cream);
  font-size: 1.125rem;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-family: var(--font-serif);
}

.mobile-nav__link:hover {
  color: var(--color-accent);
}

@media (min-width: 900px) {
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--color-cream);
  border-color: var(--color-cream);
}

.btn--outline:hover {
  background: var(--color-cream);
  color: var(--color-wood);
}

.btn--outline-dark {
  background: transparent;
  color: var(--color-wood);
  border-color: var(--color-wood);
}

.btn--outline-dark:hover {
  background: var(--color-wood);
  color: var(--color-cream);
}

.btn--whatsapp {
  background: #25D366;
  color: white;
  border-color: #25D366;
}

.btn--whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* ---- Hero ---- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(74, 44, 26, 0.88) 0%,
    rgba(74, 44, 26, 0.65) 50%,
    rgba(166, 30, 34, 0.45) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: var(--space-xl) var(--space-md);
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200, 162, 122, 0.2);
  border: 1px solid var(--color-accent);
  color: var(--color-accent-light);
  padding: 0.375rem 1rem;
  border-radius: 100px;
  font-size: 0.8125rem;
  margin-bottom: var(--space-md);
  backdrop-filter: blur(4px);
}

.hero__title {
  color: var(--color-cream);
  margin-bottom: var(--space-md);
  max-width: 720px;
}

.hero__title em {
  color: var(--color-accent);
  font-style: normal;
}

.hero__subtitle {
  color: rgba(246, 241, 232, 0.9);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  max-width: 560px;
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero__stat {
  text-align: center;
}

.hero__stat-num {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--color-accent);
  font-weight: 700;
}

.hero__stat-label {
  font-size: 0.8125rem;
  color: rgba(246, 241, 232, 0.7);
}

/* ---- Page Hero (inner pages) ---- */

.page-hero {
  padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-xl);
  background: var(--color-wood);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(166,30,34,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero__title {
  color: var(--color-cream);
  margin-bottom: var(--space-sm);
}

.page-hero__desc {
  color: rgba(246, 241, 232, 0.8);
  max-width: 600px;
  font-size: 1.0625rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.breadcrumb a {
  color: rgba(246, 241, 232, 0.7);
  transition: color var(--transition);
}

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

.breadcrumb__sep {
  color: rgba(246, 241, 232, 0.4);
}

/* ---- Cards & Grids ---- */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card__icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: white;
}

.card__title {
  margin-bottom: var(--space-xs);
  font-size: 1.125rem;
}

.card__text {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

.feature-card {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-cream-dark);
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.feature-card__num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.feature-card__title {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.feature-card__text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* ---- Service Tags ---- */

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--color-white);
  border: 1px solid var(--color-cream-dark);
  border-radius: 100px;
  font-size: 0.875rem;
  color: var(--color-wood);
  transition: all var(--transition);
}

.tag:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* ---- About Section ---- */

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image__badge {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  background: var(--color-primary);
  color: white;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-family: var(--font-serif);
  font-size: 0.9375rem;
}

/* ---- Gallery ---- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.gallery-item {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-cream-dark);
  cursor: zoom-in;
  display: block;
  width: 100%;
  font: inherit;
  text-align: left;
  transition: box-shadow var(--transition);
}

.gallery-item:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.gallery-item:hover {
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
  pointer-events: none;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
}

/* ---- Lightbox ---- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  background: rgba(26, 16, 10, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: transparent;
  cursor: zoom-out;
}

.lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 56rem);
  max-height: calc(100vh - 2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  transform: scale(0.96);
  transition: transform var(--transition);
}

.lightbox.is-open .lightbox__panel {
  transform: scale(1);
}

.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  width: auto;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}

.lightbox__caption {
  margin: 0;
  color: rgba(246, 241, 232, 0.9);
  font-size: 0.9375rem;
  text-align: center;
}

.lightbox__counter {
  color: rgba(246, 241, 232, 0.65);
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(246, 241, 232, 0.12);
  color: var(--color-cream);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(246, 241, 232, 0.22);
}

.lightbox__close {
  top: var(--space-sm);
  right: var(--space-sm);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  font-size: 1.75rem;
  line-height: 1;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
}

.lightbox__nav--prev { left: var(--space-sm); }
.lightbox__nav--next { right: var(--space-sm); }

.lightbox__close:focus-visible,
.lightbox__nav:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .lightbox__nav {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.5rem;
  }
}

.about-list {
  margin-top: var(--space-md);
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-xs) 0;
  font-size: 0.9375rem;
}

.about-list li::before {
  content: '◆';
  color: var(--color-primary);
  font-size: 0.625rem;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* ---- Promo Banner ---- */

.promo {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.promo::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.promo__title {
  color: white;
  margin-bottom: var(--space-sm);
  position: relative;
}

.promo__details {
  font-size: 1.0625rem;
  opacity: 0.95;
  margin-bottom: var(--space-md);
  position: relative;
}

.promo__highlight {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin: 0 0.25rem;
}

/* ---- FAQ ---- */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-cream-dark);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-cream-dark);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-md) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  color: var(--color-wood);
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
  transition: transform var(--transition);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--color-primary);
  border-radius: 1px;
}

.faq-icon::before {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform var(--transition);
}

.faq-item.active .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer__inner {
  padding-bottom: var(--space-md);
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ---- Pricing Table ---- */

.pricing-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  min-width: 500px;
}

.pricing-table th,
.pricing-table td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--color-cream-dark);
}

.pricing-table th {
  background: var(--color-wood);
  color: var(--color-cream);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.9375rem;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table tr:hover td {
  background: var(--color-cream);
}

.pricing-table td:last-child {
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
}

/* ---- Contact ---- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info-item {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--color-white);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
}

.contact-info-item__icon {
  width: 44px;
  height: 44px;
  background: var(--color-cream);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.contact-info-item__label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 0.125rem;
}

.contact-info-item__value {
  font-weight: 500;
  color: var(--color-wood);
}

.contact-info-item__value a {
  color: var(--color-primary);
}

.contact-info-item__value a:hover {
  text-decoration: underline;
}

.wechat-copy {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wechat-copy:hover {
  color: var(--color-primary-dark);
}

.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16/10;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---- Form ---- */

.form {
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.form__title {
  margin-bottom: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
  color: var(--color-wood);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-cream-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  background: var(--color-cream);
  color: var(--color-text);
  transition: border-color var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: white;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ---- CTA Section ---- */

.cta-section {
  background: linear-gradient(135deg, var(--color-wood) 0%, #3a2214 100%);
  padding: var(--space-xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::after {
  content: '養';
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: clamp(8rem, 20vw, 16rem);
  color: rgba(255,255,255,0.03);
  pointer-events: none;
}

.cta-section__title {
  color: var(--color-cream);
  margin-bottom: var(--space-sm);
}

.cta-section__desc {
  color: rgba(246, 241, 232, 0.8);
  max-width: 520px;
  margin: 0 auto var(--space-lg);
}

/* ---- Service Detail ---- */

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 900px) {
  .service-detail-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.info-block {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  border-left: 4px solid var(--color-primary);
}

.info-block__title {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
  color: var(--color-primary);
}

.info-block ul {
  padding-left: 0;
}

.info-block li {
  padding: 0.25rem 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  display: flex;
  gap: 0.5rem;
}

.info-block li::before {
  content: '·';
  color: var(--color-accent);
  font-weight: bold;
}

.sidebar-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--header-height) + var(--space-md));
}

.sidebar-card__price {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

/* ---- Service Cards Link ---- */

.service-card {
  display: block;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card__img {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card__img img {
  transform: scale(1.05);
}

.service-card__body {
  padding: var(--space-md);
}

.service-card__title {
  margin-bottom: var(--space-xs);
}

.service-card__text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.service-card__link {
  font-size: 0.875rem;
  color: var(--color-primary);
  font-weight: 500;
}

/* ---- Footer ---- */

.footer {
  background: var(--color-wood);
  color: rgba(246, 241, 232, 0.8);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer__brand {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-cream);
  margin-bottom: var(--space-sm);
}

.footer__desc {
  font-size: 0.875rem;
  line-height: 1.8;
}

.footer__heading {
  font-family: var(--font-serif);
  color: var(--color-accent);
  font-size: 0.9375rem;
  margin-bottom: var(--space-sm);
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  font-size: 0.875rem;
  transition: color var(--transition);
}

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

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm);
  font-size: 0.8125rem;
}

/* ---- Floating Buttons ---- */

.float-whatsapp {
  position: fixed;
  bottom: 80px;
  right: 16px;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition);
  animation: pulse-wa 2s infinite;
}

.float-whatsapp:hover {
  transform: scale(1.1);
}

.float-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: white;
}

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.6); }
}

.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 890;
  background: var(--color-white);
  padding: 0.75rem var(--space-md);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  display: flex;
  gap: 0.625rem;
}

.sticky-bar .btn {
  flex: 1;
  padding: 0.75rem;
  font-size: 0.875rem;
}

@media (min-width: 900px) {
  .sticky-bar { display: none; }
  .float-whatsapp { bottom: 24px; }
}

/* ---- Animations ---- */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* Page load */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--color-wood);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__text {
  font-family: var(--font-serif);
  color: var(--color-cream);
  font-size: 1.5rem;
  animation: loader-fade 1.5s ease infinite;
}

@keyframes loader-fade {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ---- Decorative ---- */

.divider {
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  margin-bottom: var(--space-md);
}

.section--dark .divider {
  background: var(--color-accent);
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-lg { margin-bottom: var(--space-lg); }
.mt-lg { margin-top: var(--space-lg); }

/* ---- Area SEO pages ---- */

.area-highlight {
  background: linear-gradient(to right, var(--color-cream-dark), var(--color-cream));
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin: var(--space-md) 0;
  border-left: 4px solid var(--color-accent);
}
