/* ==========================================================================
   Sembada Massage — Modern Boutique Spa Design System (Mobile-First)
   Palette preserved:
   - Cream / Background: #f5f2e5 (b-white-1), #e8e4d9 (b-white-2)
   - Khaki Accent:       #caba9c
   - Raw Umber / Clay:   #8a6240
   - Cafe / Espresso:    #4d2d18
   - Hunter Green:       #4c6444
   - Deep Forest / Dark: #102820
   ========================================================================== */

:root {
  --bg-cream: #f5f2e5;
  --bg-ivory: #e8e4d9;
  --bg-ivory-deep: #dcd6c8;
  --bg-surface: #fbf9f2;
  --khaki: #caba9c;
  --khaki-soft: rgba(202, 186, 156, 0.35);
  --raw: #8a6240;
  --raw-dark: #745134;
  --cafe: #4d2d18;
  --hunter: #4c6444;
  --hunter-dark: #3b4f34;
  --dark: #102820;
  --text-main: #182b23;
  --text-muted: #525d56;
  --border-soft: rgba(77, 45, 24, 0.14);
  --shadow-sm: 0 4px 16px rgba(16, 40, 32, 0.06);
  --shadow-md: 0 12px 30px rgba(77, 45, 24, 0.10);
  --shadow-lg: 0 20px 48px rgba(16, 40, 32, 0.14);
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-serif: 'Crimson Pro', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  padding-bottom: 74px; /* space for sticky mobile CTA bar */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  color: var(--dark);
  line-height: 1.18;
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

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

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 28px;
  }
}

/* Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.section {
  padding: 56px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 84px 0;
  }
}

.section-ivory {
  background: linear-gradient(180deg, var(--bg-ivory) 0%, var(--bg-cream) 100%);
}

.section-warm {
  background: linear-gradient(135deg, #eee9dc 0%, #e4dece 100%);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--raw);
  background: rgba(138, 98, 64, 0.1);
  border: 1px solid rgba(138, 98, 64, 0.22);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.9rem, 4.2vw, 2.75rem);
  font-weight: 600;
  color: var(--dark);
}

.section-subtitle {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 640px;
}

.section-header-center {
  text-align: center;
  margin-bottom: 38px;
}

.section-header-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--hunter) 0%, var(--dark) 100%);
  color: var(--bg-cream);
  box-shadow: 0 8px 20px rgba(16, 40, 32, 0.2);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(16, 40, 32, 0.28);
}

.btn-raw {
  background: linear-gradient(135deg, var(--raw) 0%, var(--cafe) 100%);
  color: var(--bg-cream);
  box-shadow: 0 8px 20px rgba(77, 45, 24, 0.2);
}

.btn-raw:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(77, 45, 24, 0.28);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.55);
  color: var(--dark);
  border-color: rgba(16, 40, 32, 0.22);
}

.btn-outline:hover {
  background: var(--khaki);
  border-color: var(--raw);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.875rem;
  border-radius: 10px;
}

/* Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(138, 98, 64, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(202, 186, 156, 0.45);
  box-shadow: 0 4px 20px rgba(77, 45, 24, 0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--bg-cream);
}

.brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--bg-cream);
  line-height: 1;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: rgba(245, 242, 229, 0.92);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.nav-cta {
  padding: 8px 18px;
  border-radius: 10px;
  border: 1px solid var(--khaki);
  background: rgba(245, 242, 229, 0.12);
  color: var(--bg-cream) !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--dark);
  border-color: var(--dark);
}

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(245, 242, 229, 0.35);
  background: rgba(245, 242, 229, 0.12);
  color: var(--bg-cream);
  cursor: pointer;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-drawer {
  position: fixed;
  inset: 68px 0 0 0;
  background: rgba(16, 40, 32, 0.45);
  backdrop-filter: blur(4px);
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-panel {
  background: var(--bg-cream);
  padding: 20px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-drawer-panel a {
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--dark);
}

.mobile-drawer-panel a:hover {
  background: var(--bg-ivory);
}

/* Hero Carousel + Intro */
.hero-section {
  padding: 20px 0 48px;
}

@media (min-width: 768px) {
  .hero-section {
    padding: 32px 0 72px;
  }
}

.carousel-shell {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--dark);
  margin-bottom: 36px;
}

.carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  touch-action: pan-y;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

@media (min-width: 640px) {
  .carousel-slide img {
    height: 360px;
  }
}

@media (min-width: 960px) {
  .carousel-slide img {
    height: 440px;
  }
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 40, 32, 0.08) 25%, rgba(16, 40, 32, 0.78) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: var(--bg-cream);
}

@media (min-width: 768px) {
  .carousel-overlay {
    padding: 36px 42px;
  }
}

.carousel-overlay h2 {
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  margin-bottom: 6px;
}

.carousel-overlay p {
  color: rgba(245, 242, 229, 0.9);
  font-size: 0.9rem;
  max-width: 580px;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(245, 242, 229, 0.45);
  background: rgba(202, 186, 156, 0.88);
  color: var(--cafe);
  font-size: 1.4rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 3;
}

.carousel-nav-btn:hover {
  background: var(--hunter);
  color: #fff;
  border-color: var(--hunter);
}

.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

.carousel-dots {
  position: absolute;
  bottom: 14px;
  right: 18px;
  display: flex;
  gap: 6px;
  z-index: 3;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(245, 242, 229, 0.45);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.carousel-dot.active {
  width: 24px;
  background: var(--bg-cream);
}

/* Hero Intro Grid */
.hero-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-intro-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
  }
}

.hero-title {
  font-size: clamp(2.15rem, 5vw, 3.35rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--dark);
}

.hero-desc {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 1.04rem;
  max-width: 560px;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-meta-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-meta-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.hero-meta-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-meta-val {
  font-weight: 700;
  color: var(--dark);
  font-size: 0.94rem;
  margin-top: 2px;
}

.hero-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(202, 186, 156, 0.55);
  aspect-ratio: 4 / 3;
}

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

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

@media (min-width: 960px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid rgba(138, 98, 64, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.service-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-ivory);
}

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

.service-card:hover .service-media img {
  transform: scale(1.04);
}

.service-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--hunter);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.service-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--dark);
}

.service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(77, 45, 24, 0.16);
}

.service-duration {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.service-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cafe);
  background: var(--khaki-soft);
  padding: 3px 10px;
  border-radius: 8px;
}

.service-desc {
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--text-muted);
  flex: 1;
}

.service-footer {
  margin-top: 18px;
  display: flex;
  gap: 10px;
}

.addons-bar {
  margin-top: 28px;
  background: linear-gradient(135deg, rgba(202, 186, 156, 0.45), rgba(232, 228, 217, 0.9));
  border: 1px solid rgba(138, 98, 64, 0.24);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.addon-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface);
  border: 1px solid rgba(77, 45, 24, 0.18);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--dark);
}

/* Reservation Steps Tabs */
.step-tabs {
  display: inline-flex;
  background: var(--bg-ivory);
  border: 1px solid var(--border-soft);
  padding: 5px;
  border-radius: 14px;
  gap: 6px;
  margin-bottom: 32px;
}

.step-tab-btn {
  padding: 10px 20px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.step-tab-btn.active {
  background: var(--hunter);
  color: #fff;
  box-shadow: 0 4px 12px rgba(76, 100, 68, 0.25);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

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

@media (min-width: 960px) {
  .steps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--hunter);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 14px;
}

.step-card.studio .step-num {
  background: var(--raw);
}

.step-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Reservation Form */
.booking-card {
  background: var(--bg-surface);
  border: 1px solid rgba(138, 98, 64, 0.22);
  border-radius: var(--radius-xl);
  padding: 26px 20px;
  box-shadow: var(--shadow-md);
  max-width: 820px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .booking-card {
    padding: 38px 42px;
  }
}

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

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border-radius: 11px;
  border: 1px solid rgba(77, 45, 24, 0.22);
  background: #fff;
  color: var(--dark);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--hunter);
  box-shadow: 0 0 0 3px rgba(76, 100, 68, 0.16);
}

/* Features & Testimonials */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

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

@media (min-width: 960px) {
  .features-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.feature-card {
  background: linear-gradient(160deg, rgba(202, 186, 156, 0.42), rgba(245, 242, 229, 0.9));
  border: 1px solid rgba(138, 98, 64, 0.22);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--dark);
  color: var(--bg-cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.stars {
  color: #c58a24;
  font-size: 0.95rem;
  letter-spacing: 2px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: 0;
  padding: 0;
  background: var(--bg-ivory);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 10px 12px;
  background: linear-gradient(180deg, transparent, rgba(16, 40, 32, 0.82));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: left;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(16, 40, 32, 0.9);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  max-width: 900px;
  width: 100%;
  position: relative;
  text-align: center;
}

.lightbox-content img {
  max-height: 80vh;
  margin: 0 auto;
  border-radius: 16px;
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: 0;
  background: var(--bg-cream);
  color: var(--dark);
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
}

/* Blog Cards & Page */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

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

@media (min-width: 960px) {
  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.blog-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.blog-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-ivory);
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.04);
}

.blog-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-cat-pill {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--hunter);
  background: rgba(76, 100, 68, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.blog-card h3 {
  font-size: 1.32rem;
  line-height: 1.25;
  margin-bottom: 10px;
}

.blog-card h3 a:hover {
  color: var(--raw);
}

.blog-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-meta {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

/* Blog Index Featured + Filter Pills */
.blog-hero {
  background: linear-gradient(135deg, var(--bg-ivory) 0%, var(--bg-cream) 100%);
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--border-soft);
}

.blog-search-form {
  display: flex;
  gap: 10px;
  max-width: 540px;
  margin-top: 20px;
}

.category-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 8px;
  margin-top: 18px;
  scrollbar-width: none;
}

.category-pills::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.cat-pill:hover,
.cat-pill.active {
  background: var(--hunter);
  color: #fff;
  border-color: var(--hunter);
}

.blog-featured-card {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 32px;
}

@media (min-width: 820px) {
  .blog-featured-card {
    grid-template-columns: 1.1fr 1fr;
  }
}

.blog-featured-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-featured-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 820px) {
  .blog-featured-body {
    padding: 36px;
  }
}

/* Blog Detail Article */
.article-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 28px 18px 64px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.breadcrumb a:hover {
  color: var(--raw);
  text-decoration: underline;
}

.article-cover {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin: 22px 0 28px;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
}

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

.prose {
  font-size: 1.05rem;
  line-height: 1.82;
  color: #213028;
}

.prose h2 {
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  margin: 28px 0 12px;
  color: var(--dark);
}

.prose h3 {
  font-size: 1.3rem;
  margin: 22px 0 10px;
  color: var(--cafe);
}

.prose p {
  margin-bottom: 16px;
}

.prose ul, .prose ol {
  margin: 12px 0 18px;
  padding-left: 22px;
}

.prose li {
  margin-bottom: 8px;
}

.prose img {
  border-radius: 14px;
  margin: 20px auto;
  box-shadow: var(--shadow-sm);
}

.prose blockquote {
  margin: 20px 0;
  padding: 14px 20px;
  border-left: 4px solid var(--raw);
  background: var(--bg-ivory);
  border-radius: 0 12px 12px 0;
  font-style: italic;
}

.prose a {
  color: var(--raw);
  text-decoration: underline;
}

.article-cta-box {
  margin-top: 38px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--dark) 0%, var(--hunter) 100%);
  color: var(--bg-cream);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 640px) {
  .article-cta-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.article-cta-box h3 {
  color: #fff;
  font-size: 1.5rem;
}

/* Contact & FAQ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

.contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.map-frame {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 16px;
}

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

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid rgba(138, 98, 64, 0.22);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  color: var(--dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--raw);
}

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

.faq-item p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Pagination */
.pagination-wrap {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

.pagination {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
}

.pagination li a,
.pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: var(--bg-surface);
  font-weight: 600;
  font-size: 0.9rem;
}

.pagination li.active a,
.pagination li.active span {
  background: var(--hunter);
  color: #fff;
  border-color: var(--hunter);
}

/* Footer & Floating CTA */
.site-footer {
  background: var(--cafe);
  color: var(--bg-cream);
  padding: 48px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(202, 186, 156, 0.22);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--khaki);
}

.floating-wa {
  display: none;
}

@media (min-width: 768px) {
  .floating-wa {
    display: inline-flex;
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 50;
    align-items: center;
    gap: 10px;
    background: #16a34a;
    color: #fff;
    padding: 10px 18px 10px 12px;
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(22, 163, 74, 0.35);
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.2s ease;
  }
  .floating-wa:hover {
    transform: translateY(-2px);
  }
}

/* Mobile Sticky Bottom Bar */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(245, 242, 229, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-soft);
  padding: 10px 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  box-shadow: 0 -6px 20px rgba(16, 40, 32, 0.1);
}

@media (min-width: 768px) {
  .mobile-sticky-bar {
    display: none;
  }
}
