/* Demo switcher — like HTML template demos */
.demo-switcher {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 80;
  font-family: Outfit, Manrope, system-ui, sans-serif;
}
.demo-switcher__toggle {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.15rem;
  border-radius: 999px;
  background: #0c0c0c;
  color: #f3f0eb;
  border: 1px solid rgba(196,165,116,.45);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}
.demo-switcher__dot {
  width: .55rem; height: .55rem; border-radius: 999px;
  background: #c4a574;
  box-shadow: 0 0 0 4px rgba(196,165,116,.2);
  animation: demoPulse 1.8s infinite;
}
@keyframes demoPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(196,165,116,.35); }
  70% { box-shadow: 0 0 0 8px rgba(196,165,116,0); }
}
.demo-switcher__panel {
  position: absolute;
  left: 0; bottom: calc(100% + .75rem);
  width: min(340px, calc(100vw - 2rem));
  background: #111;
  color: #f3f0eb;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 1.25rem;
  padding: 1rem;
  box-shadow: 0 25px 60px rgba(0,0,0,.45);
}
.demo-switcher__head strong { display: block; font-size: .95rem; }
.demo-switcher__head p { font-size: .75rem; color: rgba(243,240,235,.45); margin-top: .2rem; margin-bottom: .85rem; }
.demo-switcher__list { display: grid; gap: .55rem; }
.demo-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: .7rem;
  align-items: center;
  padding: .55rem;
  border-radius: .9rem;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  transition: .25s ease;
}
.demo-card:hover, .demo-card.is-active {
  border-color: rgba(196,165,116,.45);
  background: rgba(196,165,116,.08);
}
.demo-card__preview {
  width: 56px; height: 40px; border-radius: .55rem;
  border: 1px solid rgba(255,255,255,.1);
}
.demo-card__preview--home1 {
  background: linear-gradient(135deg, #0c0c0c 40%, #2a241c 70%, #c4a574);
}
.demo-card__preview--home2 {
  background: linear-gradient(135deg, #ffffff 30%, #f7f1e8 65%, #d4b896);
}
.demo-card__preview--home3 {
  background: linear-gradient(135deg, #f4fbf7 25%, #e6f4ec 55%, #2f6b4f);
}
.demo-card__name { display: block; font-size: .78rem; font-weight: 600; }
.demo-card__desc { display: block; font-size: .68rem; color: rgba(243,240,235,.45); margin-top: .1rem; }
.demo-card__badge {
  font-size: .6rem; letter-spacing: .08em; text-transform: uppercase;
  color: #c4a574; border: 1px solid rgba(196,165,116,.4);
  padding: .2rem .4rem; border-radius: 999px;
}
.demo-switcher__all {
  display: block; text-align: center; margin-top: .85rem;
  font-size: .75rem; color: #c4a574;
}
body.is-light .demo-switcher__toggle {
  background: #fff; color: #0f172a;
  border-color: rgba(15,23,42,.08);
  box-shadow: 0 12px 30px rgba(15,23,42,.12);
}
body.is-light .demo-switcher__panel {
  background: #fff; color: #0f172a;
  border-color: rgba(15,23,42,.08);
  box-shadow: 0 25px 50px rgba(15,23,42,.15);
}
body.is-light .demo-switcher__head p,
body.is-light .demo-card__desc { color: #64748b; }
body.is-light .demo-card {
  background: #f8fafc; border-color: #e2e8f0;
}
body.is-light .demo-card.is-active,
body.is-light .demo-card:hover {
  background: #f7f1e8; border-color: #d4b896;
}

/* Light theme header / loader overrides */
#page-loader.loader-light { background: #fff; }
.loader-light .loader-bar { background: rgba(15,23,42,.08); }
.loader-light .loader-bar span {
  background: linear-gradient(90deg, transparent, #d4b896, transparent);
}
body.is-light .menu-line { background: #0f172a; }
body.is-light #site-header.scrolled,
body.is-light .header-light.scrolled {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15,23,42,.06);
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
}
body.is-light .nav-link { color: rgba(15,23,42,.55); }
body.is-light .nav-link:hover,
body.is-light .nav-link.active { color: #8b7355; }
body.theme-home3 .nav-link:hover,
body.theme-home3 .nav-link.active { color: #2f6b4f; }
body.theme-home3 .nav-link::after { background: #2f6b4f; }
body.is-light .nav-link::after { background: #b8956a; }

.btn-soft {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.55rem; border-radius: 999px;
  background: linear-gradient(135deg, #e8d5b7, #d4b896 45%, #b8956a);
  color: #1c1917; font-weight: 700; font-size: .875rem;
  box-shadow: 0 12px 30px rgba(184,149,106,.28);
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s;
}
.btn-soft:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(184,149,106,.38); }
.btn-soft-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 1.55rem; border-radius: 999px;
  border: 1.5px solid rgba(184,149,106,.45); color: #7c6245; font-weight: 600; font-size: .875rem;
  background: rgba(255,255,255,.7); transition: .3s;
}
.btn-soft-outline:hover { background: #fff; border-color: #b8956a; transform: translateY(-2px); }

.btn-acacia {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.55rem; border-radius: 999px;
  background: linear-gradient(135deg, #5aa87a, #2f6b4f);
  color: #fff; font-weight: 700; font-size: .875rem;
  box-shadow: 0 14px 32px rgba(47,107,79,.28);
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s;
}
.btn-acacia:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 44px rgba(47,107,79,.35); }
.btn-acacia-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 1.55rem; border-radius: 999px;
  border: 1.5px solid rgba(47,107,79,.3); color: #2f6b4f; font-weight: 600;
  background: #fff; box-shadow: 0 8px 24px rgba(15,23,42,.06); transition: .3s;
}
.btn-acacia-outline:hover { transform: translateY(-2px); border-color: #2f6b4f; }

/* Light theme forms & shared pages */
body.is-light .form-panel {
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 1.75rem;
  box-shadow: 0 20px 50px rgba(15,23,42,.08);
}
body.is-light .field label { color: #8b7355; }
body.theme-home3 .field label { color: #2f6b4f; }
body.is-light .field input,
body.is-light .field select,
body.is-light .field textarea {
  background: #f8fafc;
  border: 1px solid rgba(15,23,42,.1);
  color: #0f172a;
  border-radius: 1rem;
}
body.is-light .field input:focus,
body.is-light .field select:focus,
body.is-light .field textarea:focus {
  border-color: rgba(184,149,106,.55);
  box-shadow: 0 0 0 3px rgba(184,149,106,.12);
}
body.theme-home3 .field input:focus,
body.theme-home3 .field select:focus,
body.theme-home3 .field textarea:focus {
  border-color: rgba(47,107,79,.45);
  box-shadow: 0 0 0 3px rgba(47,107,79,.12);
}
body.is-light .section-title { color: #0f172a; }
body.is-light .section-kicker { color: #b8956a; }
body.theme-home3 .section-kicker { color: #2f6b4f; }
body.is-light .service-tile {
  background: #fff;
  border-radius: 1.5rem;
  border-color: rgba(15,23,42,.08);
  box-shadow: 0 14px 36px rgba(15,23,42,.06);
}
body.is-light .service-tile h2,
body.is-light .service-tile h3 { color: #0f172a; }
body.is-light .service-tile p { color: #64748b; }
body.is-light .gallery-item { border-radius: 1.5rem; box-shadow: 0 16px 40px rgba(15,23,42,.08); }
body.is-light .testimonial-card {
  background: #fff;
  border-left-color: #d4b896;
  border-radius: 0 1.25rem 1.25rem 0;
  box-shadow: 0 12px 30px rgba(15,23,42,.06);
  color: #334155;
}
