/* =========================================================
   Sonia Wedding OS — Luxury UI Polish v1.8.7
   ========================================================= */

:root {
  --sws-bg: #f7f3eb;
  --sws-bg-soft: #fbf8f2;
  --sws-panel: #ffffff;
  --sws-text: #2d261f;
  --sws-muted: #6f6558;
  --sws-gold: #cfa75d;
  --sws-gold-2: #e8cd98;
  --sws-gold-deep: #946f2f;
  --sws-dark: #1f1a16;
  --sws-dark-2: #302821;
  --sws-line: rgba(140, 112, 63, 0.30);
  --sws-shadow: 0 12px 34px rgba(34, 24, 15, 0.12);
  --sws-radius: 22px;
  --sws-radius-sm: 16px;
  --sws-wrap: 1240px;
}

/* =========================================================
   Optional SEO content block (rendered from Page editor)
   ========================================================= */

.sws-seo-section{
  padding-top: 12px;
  padding-bottom: 40px;
}

.sws-seo-card{
  padding: 0;
  overflow: hidden;
}

.sws-seo-details{
  padding: 0;
}

.sws-seo-details > summary{
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 750;
  letter-spacing: 0.1px;
}

.sws-seo-details > summary::-webkit-details-marker{ display:none; }

.sws-seo-hint{
  font-weight: 650;
  font-size: 0.92rem;
  color: var(--sws-muted);
}

.sws-seo-details[open] > summary{
  border-bottom: 1px solid var(--sws-line);
}

.sws-seo-content{
  padding: 0 18px 12px;
  color: var(--sws-muted);
}

.sws-seo-content h2,
.sws-seo-content h3{
  margin: 14px 0 10px;
  color: #2f2419;
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
}

.sws-seo-content p{
  margin: 0 0 12px;
}

.sws-seo-content ul{
  margin: 0 0 12px;
  padding-left: 18px;
}

.sws-seo-content a{
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sws-seo-links{
  padding: 0 18px 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.sws-home {
  margin: 0;
  color: var(--sws-text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(circle at 20% -10%, rgba(225, 194, 136, 0.17), transparent 45%),
    radial-gradient(circle at 90% 15%, rgba(176, 145, 93, 0.12), transparent 35%),
    linear-gradient(180deg, var(--sws-bg-soft), var(--sws-bg));
}

.sws-home::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(147, 119, 67, 0.08) 0.75px, transparent 0.75px);
  background-size: 10px 10px;
  opacity: 0.36;
  z-index: -1;
}

.sws-container {
  width: min(var(--sws-wrap), calc(100vw - 32px));
  margin-inline: auto;
}

a {
  color: inherit;
}

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

/* =========================================================
   Header
   ========================================================= */

.sws-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
  background: linear-gradient(120deg, rgba(34, 29, 24, 0.95), rgba(53, 44, 36, 0.92));
  box-shadow: 0 8px 22px rgba(18, 14, 10, 0.34);
  border-bottom: 1px solid rgba(227, 200, 152, 0.22);
}

.sws-site-header.is-sticky {
  box-shadow: 0 12px 30px rgba(15, 12, 8, 0.44);
}

.sws-top-pattern {
  height: 10px;
  width: 100%;
  background:
    linear-gradient(135deg, rgba(221, 192, 141, 0.4) 25%, transparent 25%) -10px 0/20px 20px,
    linear-gradient(225deg, rgba(221, 192, 141, 0.4) 25%, transparent 25%) -10px 0/20px 20px,
    linear-gradient(315deg, rgba(221, 192, 141, 0.25) 25%, transparent 25%) 0 0/20px 20px,
    linear-gradient(45deg, rgba(221, 192, 141, 0.25) 25%, transparent 25%) 0 0/20px 20px,
    #30271f;
}

.sws-header-inner {
  min-height: 84px;
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
}

.sws-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.sws-brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(244, 225, 191, 0.55);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
  flex: 0 0 auto;
}

.sws-brand-copy {
  min-width: 0;
}

.sws-brand-copy strong {
  display: block;
  color: #f7efe1;
  font-size: clamp(0.94rem, 0.84rem + 0.34vw, 1.45rem);
  line-height: 1.1;
  font-weight: 750;
  letter-spacing: 0.25px;
  white-space: nowrap;
}

.sws-brand-copy span {
  display: block;
  margin-top: 5px;
  color: #e6d8c3;
  font-size: clamp(0.72rem, 0.68rem + 0.16vw, 0.86rem);
  line-height: 1.35;
  white-space: normal;
}

.sws-main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(6px, 0.6vw, 10px);
  min-width: 0;
}

.sws-main-nav a {
  text-decoration: none;
  color: #d6bc8a !important;
  font-weight: 560;
  font-size: 0.84rem;
  letter-spacing: 0.12px;
  white-space: nowrap;
  position: relative;
  padding: 6px 2px;
  transition: color .24s ease, transform .24s ease;
}

.sws-main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--sws-gold), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .24s ease;
}

.sws-main-nav a:hover,
.sws-main-nav a:focus-visible,
.sws-main-nav a.is-active {
  color: #f4dfb8 !important;
}

.sws-main-nav a:hover::after,
.sws-main-nav a:focus-visible::after,
.sws-main-nav a.is-active::after {
  transform: scaleX(1);
}

.sws-header-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sws-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(216, 182, 122, 0.70);
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.sws-icon-btn svg {
  width: 18px;
  height: 18px;
  fill: #e8d2ac;
}

.sws-icon-btn.wa {
  border-color: rgba(90, 203, 130, .75);
}

.sws-icon-btn.wa svg {
  fill: #7ce99f;
}

.sws-icon-btn:hover,
.sws-icon-btn:focus-visible {
  transform: translateY(-2px);
  border-color: #f6dfb7;
  background: rgba(255, 255, 255, 0.08);
}

.sws-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(214, 188, 138, 0.65);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}

.sws-menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 4px;
  background: #f2d8ab;
  transition: transform .24s ease, opacity .24s ease;
}

.sws-menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.sws-menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.sws-menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile drawer */
.sws-drawer {
  position: fixed;
  inset: 94px 0 auto auto;
  width: min(85vw, 360px);
  max-height: calc(100vh - 108px);
  overflow: auto;
  background: linear-gradient(170deg, #231c15, #352a20);
  border: 1px solid rgba(223, 194, 147, 0.34);
  border-radius: 18px 0 0 18px;
  padding: 16px;
  transform: translateX(105%);
  opacity: 0;
  pointer-events: none;
  transition: transform .28s ease, opacity .28s ease;
  box-shadow: 0 20px 40px rgba(8, 6, 4, 0.45);
}

.sws-drawer.is-open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.sws-drawer-nav {
  display: grid;
  gap: 4px;
}

.sws-drawer-nav a {
  text-decoration: none;
  color: #eed9b1;
  border: 1px solid rgba(223, 196, 148, 0.20);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 12px 13px;
  font-weight: 560;
}

.sws-drawer-nav a:hover,
.sws-drawer-nav a:focus-visible {
  border-color: rgba(242, 218, 174, 0.64);
  background: rgba(242, 218, 174, 0.08);
}

.sws-drawer-cta {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

/* =========================================================
   Hero
   ========================================================= */

.sws-page {
  padding-bottom: 30px;
}

.sws-hero {
  position: relative;
  margin: 12px auto 18px;
  border-radius: 24px;
  overflow: hidden;
  max-width: min(1520px, calc(100% - 16px));
  min-height: clamp(300px, 43vh, 470px);
  background-image: var(--hero);
  background-size: cover;
  background-position: center;
  box-shadow: var(--sws-shadow);
}

.sws-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 15%, rgba(245, 220, 174, 0.25), transparent 35%),
    linear-gradient(110deg, rgba(19, 16, 12, 0.82), rgba(19, 16, 12, 0.45) 48%, rgba(19, 16, 12, 0.2));
}

.sws-hero-frame {
  position: absolute;
  inset: 15px;
  border-radius: 20px;
  border: 1px solid rgba(236, 211, 166, 0.46);
  pointer-events: none;
}

.sws-hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(32px, 6vw, 72px);
  max-width: min(740px, 90%);
  color: #f5ead8;
}

.sws-kicker {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(237, 208, 152, 0.55);
  background: rgba(255, 255, 255, 0.07);
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: .73rem;
  margin-bottom: 12px;
}

.sws-hero h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.95rem, 3vw, 3.2rem);
  line-height: 1.08;
  color: #e5c98f;
  text-shadow: 0 2px 12px rgba(0,0,0,.46);
}

.sws-hero p {
  margin: 12px 0 0;
  font-size: clamp(1rem, 1.6vw, 1.24rem);
  color: #efe2cf;
}

.sws-hero-address {
  margin: 8px 0 2px !important;
  font-size: clamp(0.78rem, 0.72rem + 0.2vw, 0.93rem) !important;
  line-height: 1.55;
  color: rgba(244, 226, 186, 0.98) !important;
  max-width: 80ch;
  text-shadow: 0 1px 8px rgba(0,0,0,.38);
}

.sws-hero-note {
  margin-top: 14px;
  font-size: .92rem;
  color: #e7d4b1;
}

.sws-hero-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* =========================================================
   Sections + common components
   ========================================================= */

.sws-section {
  position: relative;
  margin: 20px auto;
  padding: 28px 0;
}

.sws-section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.24));
  border-block: 1px solid rgba(191, 160, 112, 0.22);
}

.sws-title {
  margin: 0 0 16px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.72rem, 2.7vw, 2.7rem);
  line-height: 1.12;
  color: #2a2016;
}

/* Title row + chip link (used in Blog Highlight) */
.sws-titlebar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.sws-titlebar .sws-title {
  margin: 0;
}

.sws-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(140, 112, 63, 0.30);
  background: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.92rem;
  letter-spacing: 0.12px;
  color: #2a2016;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.sws-chip:hover,
.sws-chip:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(207, 167, 93, 0.55);
  background: rgba(255, 255, 255, 0.72);
}

@media (max-width: 640px) {
  .sws-titlebar {
    align-items: center;
  }
  .sws-chip {
    padding: 8px 12px;
    font-size: 0.86rem;
  }
}

.sws-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 14px 0 12px;
}

.sws-subhead h3 {
  margin: 0;
  font-size: clamp(1.18rem, 1.6vw, 1.6rem);
  color: #32281d;
}

.sws-subhead p {
  margin: 4px 0 0;
  color: var(--sws-muted);
}

.sws-subhead.hs {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px dashed rgba(154, 121, 72, 0.42);
}

.hs-logo {
  width: 86px;
  height: 86px;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid rgba(176, 145, 93, 0.36);
  background: #fff;
}

.sws-cards,
.sws-grid-2,
.sws-grid-3,
.sws-tools-grid,
.sws-gallery {
  display: grid;
  gap: 14px;
}

.sws-cards,
.sws-grid-3,
.sws-tools-grid,
.sws-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sws-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sws-card,
.sws-tool-card,
.sws-photo,
.sws-venue,
.sws-post {
  background: var(--sws-panel);
  border: 1px solid var(--sws-line);
  border-radius: var(--sws-radius-sm);
  box-shadow: 0 6px 18px rgba(36, 28, 19, 0.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.sws-card,
.sws-venue,
.sws-post {
  padding: 18px;
}

.sws-card h3,
.sws-tool-card h3,
.sws-venue h3,
.sws-post h3 {
  margin: 0 0 8px;
  color: #2f2419;
}

.sws-card p,
.sws-tool-card p,
.sws-venue p,
.sws-post p {
  margin: 0;
  color: var(--sws-muted);
}

.sws-tool-card {
  display: block;
  text-decoration: none;
  padding: 18px;
}

.sws-photo {
  display: block;
  overflow: hidden;
  padding: 7px;
}

.sws-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 13px;
}

.sws-photo:hover,
.sws-photo:focus-visible,
.sws-card:hover,
.sws-tool-card:hover,
.sws-venue:hover,
.sws-post:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(23, 18, 12, 0.13);
  border-color: rgba(167, 130, 72, 0.55);
}

.sws-tier .price {
  margin: 8px 0 10px;
  color: #8c6225;
  font-weight: 700;
  font-size: 1.15rem;
}

.sws-tier ul {
  padding-left: 18px;
  margin: 0;
  color: var(--sws-muted);
}

.sws-tier.featured {
  border-color: rgba(183, 142, 79, 0.62);
  background: linear-gradient(175deg, #fff, #fcf4e7);
}

/* =========================================================
   Packages (Luxury cards + subtle LED sweep)
   ========================================================= */

.sws-section-packages {
  margin-top: 12px;
  padding-top: 18px;
}

.sws-anchor {
  position: relative;
  top: -72px;
  height: 0;
  width: 0;
}

.sws-section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.sws-lead {
  margin: 0;
  color: var(--sws-muted);
  max-width: 62ch;
}

.sws-packages-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.sws-tier-luxe {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border-color: rgba(167, 130, 72, 0.46);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(252,247,240,0.86));
}

.sws-tier-luxe::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    radial-gradient(rgba(198,161,95,.22) 1px, transparent 1px),
    radial-gradient(rgba(198,161,95,.14) 1px, transparent 1px);
  background-size: 14px 14px, 22px 22px;
  background-position: 0 0, 6px 10px;
}

.sws-tier-luxe::after {
  /* moving gold sweep ("LED berjalan") */
  content: "";
  position: absolute;
  top: -30%;
  left: -65%;
  width: 58%;
  height: 160%;
  transform: skewX(-14deg);
  pointer-events: none;
  opacity: 0.55;
  background: linear-gradient(90deg, transparent, rgba(233, 200, 130, 0.22), rgba(233, 200, 130, 0.06), transparent);
  animation: sws-led-sweep 4.2s linear infinite;
}

@keyframes sws-led-sweep {
  0% { transform: translateX(0) skewX(-14deg); }
  100% { transform: translateX(240%) skewX(-14deg); }
}

@media (prefers-reduced-motion: reduce) {
  .sws-tier-luxe::after {
    animation: none;
    opacity: 0.16;
  }
}

.sws-tier-luxe.featured {
  border-color: rgba(167, 130, 72, 0.62);
  box-shadow: 0 10px 26px rgba(36, 28, 19, 0.10);
}

.sws-tier-luxe.featured::after {
  animation-duration: 3.6s;
  opacity: 0.62;
}

.sws-tier-elite {
  border-color: rgba(167, 130, 72, 0.72);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(250,243,232,0.88));
  box-shadow: 0 12px 30px rgba(36, 28, 19, 0.12);
}

.sws-tier-head {
  padding: 18px 18px 10px;
}

.sws-tier-head h3 {
  margin: 0;
  font-size: 1.25rem;
}

.sws-tier-note {
  margin: 8px 0 0;
  color: var(--sws-muted);
  line-height: 1.35;
}

.sws-tier-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.sws-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(167, 130, 72, 0.34);
  background: rgba(255,255,255,0.74);
  color: #5b4020;
  font-weight: 700;
  font-size: 12px;
}

.sws-chip.solid {
  background: rgba(200, 160, 90, 0.18);
  border-color: rgba(167, 130, 72, 0.52);
}

.sws-tier-luxe .price {
  margin: 8px 0 0;
  color: #7d561f;
  font-weight: 800;
  font-size: 1.18rem;
}

ul.sws-tier-high {
  list-style: none;
  padding: 0 18px 12px;
  margin: 0;
  display: grid;
  gap: 10px;
  color: #4a3f32;
}

.sws-tier-high li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.sws-ic {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8c6225;
  flex: 0 0 18px;
  margin-top: 2px;
}

.sws-ic svg {
  width: 18px;
  height: 18px;
}

.sws-tier-detail {
  margin: 0 18px 14px;
  border-top: 1px solid rgba(167, 130, 72, 0.22);
  padding-top: 10px;
}

.sws-tier-detail summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  color: #3a2b19;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
}

.sws-tier-detail summary::-webkit-details-marker { display: none; }

.sws-tier-detail summary::after {
  content: '+';
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(167, 130, 72, 0.26);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8c6225;
  background: rgba(255,255,255,0.76);
}

.sws-tier-detail[open] summary::after { content: '–'; }

.sws-tier-body {
  padding: 6px 0 2px;
  color: var(--sws-ink-soft);
}

.sws-tier-body h4 {
  margin: 14px 0 8px;
  font-size: 0.98rem;
  color: #3a2b19;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sws-tier-list {
  margin: 0;
  padding-left: 18px;
  color: var(--sws-ink-soft);
}

.sws-tier-subnote {
  margin: 0 0 10px;
  color: var(--sws-muted);
}

.sws-tier-cta {
  width: calc(100% - 36px);
  margin: 0 18px 18px;
  justify-content: center;
}

@media (max-width: 980px) {
  .sws-packages-grid { grid-template-columns: 1fr; }
}

/* Blog */
.sws-post .thumb {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  margin: -2px -2px 10px;
}

.sws-post .thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.sws-post h3 a {
  text-decoration: none;
  color: inherit;
}

/* Timeline */
.sws-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.sws-timeline li {
  padding: 14px 16px;
  border: 1px solid rgba(157, 126, 78, 0.34);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  color: #4a3f32;
}

/* Forms */
.sws-form {
  display: grid;
  gap: 14px;
}

.sws-form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sws-form label {
  display: grid;
  gap: 6px;
  font-weight: 560;
  color: #3f3225;
}

.sws-form input,
.sws-form textarea,
.sws-form select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(140, 112, 63, 0.40);
  background: #fff;
  padding: 11px 12px;
  color: #2d2419;
  font: inherit;
}

.sws-form input:focus,
.sws-form textarea:focus,
.sws-form select:focus {
  outline: none;
  border-color: var(--sws-gold-deep);
  box-shadow: 0 0 0 3px rgba(207, 167, 93, .2);
}

.sws-result {
  min-height: 28px;
  color: #4a3a2a;
  font-weight: 520;
}

.sws-result .ok,
.sws-result .warn,
.sws-result .bad,
.sws-result .info {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid;
  font-size: .95rem;
}

.sws-result .ok {
  background: #eef9f2;
  border-color: #8ec8a2;
  color: #175c31;
}

.sws-result .warn {
  background: #fff8eb;
  border-color: #e6cb93;
  color: #765111;
}

.sws-result .bad {
  background: #fff0ef;
  border-color: #e0a19a;
  color: #7c231c;
}

.sws-result .info {
  background: #f4f6ff;
  border-color: #b8c4f2;
  color: #2a3b82;
}


.sws-budget-breakdown {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.sws-budget-breakdown li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(123, 139, 199, 0.22);
}

/* FAQ */
details {
  border: 1px solid rgba(149, 119, 71, 0.28);
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
}

details + details {
  margin-top: 8px;
}

summary {
  cursor: pointer;
  font-weight: 630;
  color: #33271c;
}

blockquote {
  margin: 0;
  padding: 12px 14px;
  border-left: 3px solid var(--sws-gold);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 10px;
  color: #4b4032;
}

cite {
  display: block;
  margin-top: 10px;
  color: #6f6558;
}

/* Contact */
.sws-contact-wrap {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 1.2fr);
  gap: 14px;
  align-items: stretch;
}

.sws-contact-wrap iframe {
  width: 100%;
  min-height: 320px;
  border: 1px solid rgba(153, 124, 77, 0.33);
  border-radius: var(--sws-radius-sm);
  background: #fff;
}

.sws-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Footer */
.sws-footer {
  margin-top: 26px;
  background: linear-gradient(165deg, #211910, #352719);
  color: #eedec4;
  border-top: 1px solid rgba(222, 190, 140, 0.24);
  padding-top: 26px;
}

.sws-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
  padding-bottom: 16px;
}

.sws-footer h3,
.sws-footer h4 {
  margin: 0 0 8px;
  color: #f9e8ca;
}

.sws-footer p,
.sws-footer li,
.sws-footer a {
  color: #e7d7bd;
}

.sws-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.sws-footer a {
  text-decoration: none;
}

.sws-footer a:hover,
.sws-footer a:focus-visible {
  text-decoration: underline;
}

.sws-footer-bottom {
  border-top: 1px solid rgba(224, 190, 136, .22);
  text-align: center;
  padding: 12px 10px 16px;
  color: #dac9aa;
  font-size: .92rem;
}



/* Footer pattern Jawa (luxury ornament) */
.sws-footer {
  position: relative;
  overflow: hidden;
}

.sws-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 10px;
  pointer-events: none;
  opacity: .7;
  background:
    linear-gradient(-45deg, transparent 50%, rgba(226, 190, 136, .96) 50%) left / 16px 10px repeat-x,
    linear-gradient(45deg, transparent 50%, rgba(226, 190, 136, .96) 50%) left 8px top / 16px 10px repeat-x;
}

.sws-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image: radial-gradient(rgba(226, 190, 136, .9) .7px, transparent .7px);
  background-size: 16px 16px;
}

.sws-footer .sws-wrap,
.sws-footer .sws-footer-bottom {
  position: relative;
  z-index: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 11px 16px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 620;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  color: #2b1f12;
  background: linear-gradient(135deg, var(--sws-gold-2), var(--sws-gold));
  border-color: rgba(145, 103, 48, 0.6);
  box-shadow: 0 8px 16px rgba(114, 83, 39, 0.24);
}

.btn-secondary {
  color: #f2e4cc;
  border-color: rgba(234, 208, 163, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.btn-pill {
  background: #fff;
  border-color: rgba(166, 132, 80, 0.44);
  color: #5a4121;
  white-space: nowrap;
}

.btn-sm {
  padding: 9px 14px;
}

/* Floating WA */
.sws-fab-wa {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 1300;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 11px 14px;
  text-decoration: none;
  background: linear-gradient(135deg, #29c66f, #17a95f);
  color: #fff;
  box-shadow: 0 12px 26px rgba(17, 96, 57, 0.36);
}

.sws-fab-wa svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.sws-fab-wa.is-near-footer {
  bottom: 112px;
}

/* =========================================================
   Motion
   ========================================================= */

.sws-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

.sws-reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .sws-reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1380px) {
  .sws-header-inner {
    grid-template-columns: minmax(230px, 335px) 1fr auto;
    gap: 10px;
  }

  .sws-main-nav a {
    font-size: 0.94rem;
  }
}

@media (max-width: 1210px) {
  .sws-header-inner {
    grid-template-columns: 1fr auto;
  }

  .sws-main-nav {
    display: none;
  }

  .sws-menu-toggle {
    display: inline-flex;
  }

  .sws-brand-copy strong {
    white-space: normal;
  }
}

@media (max-width: 980px) {
  .sws-cards,
  .sws-grid-3,
  .sws-tools-grid,
  .sws-gallery,
  .sws-contact-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sws-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sws-subhead {
    flex-direction: column;
    align-items: flex-start;
  }

  .sws-subhead.hs .btn-pill {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .sws-container {
    width: calc(100vw - 22px);
  }

  .sws-header-inner {
    min-height: 74px;
    padding: 10px 0;
  }

  .sws-brand img {
    width: 48px;
    height: 48px;
  }

  .sws-brand-copy strong {
    font-size: 1.12rem;
  }

  .sws-brand-copy span {
    font-size: .82rem;
  }

  .sws-icon-btn {
    width: 36px;
    height: 36px;
  }

  .sws-hero {
    min-height: 370px;
    margin-top: 14px;
  }

  .sws-hero-content {
    max-width: 100%;
    padding: 22px 16px 26px;
  }

  .sws-cards,
  .sws-grid-3,
  .sws-grid-2,
  .sws-tools-grid,
  .sws-gallery,
  .sws-form-grid,
  .sws-contact-wrap,
  .sws-footer-grid {
    grid-template-columns: 1fr;
  }

  .sws-photo img {
    aspect-ratio: 4 / 3;
  }

  .sws-fab-wa {
    right: 12px;
    bottom: 12px;
    padding: 10px 12px;
  }

  .sws-fab-wa span {
    display: none;
  }

  .sws-drawer {
    inset: 86px 0 auto auto;
    width: min(92vw, 360px);
  }
}



/* ===== v1.8.8 Hotfix: activation-safe + luxury card pattern + mobile overflow fix ===== */
:root{
  --sws-card-pattern: radial-gradient(circle at 1px 1px, rgba(176,132,52,.16) 1px, transparent 0);
}

/* Prevent horizontal drift on mobile (including floating WA) */
html, body { max-width: 100%; overflow-x: hidden; }
.sws-home-wrap { overflow-x: clip; }

/* Luxury patterned white cards */
.sws-card,
.sws-price,
.sws-form-shell {
  background-color: #fffdf8;
  background-image:
    var(--sws-card-pattern),
    linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(249,245,236,.92) 100%);
  background-size: 14px 14px, 100% 100%;
  border: 1px solid rgba(179,136,52,.30);
  box-shadow: 0 10px 28px rgba(43,34,26,.08);
}

/* Keep form surface bright */
.sws-form-shell { background-color: #fff; }

/* Header brand stack (title + tagline) always neat */
.sws-brand-copy{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}
.sws-brand-copy strong,
.sws-brand-copy span{
  display:block;
  white-space:normal;
  line-height:1.2;
}

/* Mobile: ensure hamburger visible */
@media (max-width: 1120px){
  .sws-menu-toggle{ display:inline-flex !important; }
  .sws-main-nav{ display:none !important; }
}

/* Floating WA always visible and not causing scroll */
.sws-fab-wa{
  right: max(12px, env(safe-area-inset-right));
  left: auto;
  max-width: calc(100vw - 24px);
  white-space: nowrap;
}
@media (max-width: 640px){
  .sws-fab-wa{ padding: 11px 13px; }
  .sws-fab-wa span{ display:none; }
}

/* Footer link style */
.sws-footer-bottom a{
  color:#e6bd72;
  text-decoration:none;
  font-weight:700;
}
.sws-footer-bottom a:hover{ text-decoration:underline; }


.sws-footer-col p {
  word-break: break-word;
}

/* ===== v1.8.11 FAQ + Testimoni 4 SS WA ===== */
.sws-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.sws-faq-wrap,
.sws-testi-wrap {
  background: var(--sws-white);
  border: 1px solid var(--sws-line);
  border-radius: var(--sws-radius);
  padding: 14px;
  background-image:
    radial-gradient(rgba(198,161,95,.18) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.84));
  background-size: 12px 12px, auto;
}
.sws-faq-item {
  background: var(--sws-white);
  border: 1px solid var(--sws-line);
  border-radius: 12px;
  padding: 0;
  overflow: clip;
}
.sws-faq-item + .sws-faq-item { margin-top: 8px; }
.sws-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 14px;
  font-weight: 700;
  color: var(--sws-ink);
}
.sws-faq-item summary::-webkit-details-marker { display: none; }
.sws-faq-item summary::before {
  content: '▸';
  margin-right: 8px;
  color: var(--sws-gold-700);
}
.sws-faq-item[open] summary::before { content: '▾'; }
.sws-faq-item p {
  margin: 0;
  padding: 0 14px 12px;
  color: var(--sws-ink-soft);
}
.sws-testi-intro {
  margin: 0 0 10px;
  color: var(--sws-ink-soft);
  font-size: 14px;
}
.sws-testi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.sws-testi-card {
  margin: 0;
  border: 1px solid var(--sws-line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--sws-shadow);
}
.sws-testi-link {
  display: block;
  aspect-ratio: 3 / 5;
  overflow: hidden;
  background: #f7f7f7;
}
.sws-testi-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .28s ease;
}
.sws-testi-card:hover img { transform: scale(1.02); }
.sws-testi-card figcaption {
  padding: 10px;
  display: grid;
  gap: 4px;
}
.sws-testi-card figcaption strong {
  font-size: 13px;
  color: var(--sws-ink);
  line-height: 1.35;
}
.sws-testi-card figcaption span {
  font-size: 12px;
  color: var(--sws-ink-soft);
  line-height: 1.5;
}
.sws-testi-quote {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--sws-line);
  border-radius: 12px;
  background: #fff;
  color: var(--sws-ink-soft);
}
.sws-testi-quote + .sws-testi-quote { margin-top: 8px; }
.sws-testi-quote cite {
  display: block;
  margin-top: 8px;
  color: var(--sws-gold-700);
  font-style: normal;
}

/* Contact address long text safety */
.sws-contact-card p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 980px) {
  .sws-faq-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .sws-testi-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .sws-testi-wrap,
  .sws-faq-wrap {
    padding: 10px;
  }
  .sws-faq-item summary {
    font-size: 14px;
    padding: 10px 12px;
  }
  .sws-faq-item p {
    font-size: 13px;
    padding: 0 12px 10px;
  }
}


/* accessibility: keep hidden drawer out of layout */
.sws-drawer[hidden]{display:none !important;}

/* =========================================================
   v1.9.0 Homepage Luxury Motion Upgrade
   - Hero rotator
   - Header + footer subtle multi-pattern
   - Code-based testimonial cards (no screenshot)
   - Author spotlight card on homepage
   ========================================================= */

:root {
  --sws-white: #ffffff;
  --sws-ink: #2d261f;
  --sws-ink-soft: #6f6558;
  --sws-gold-700: #9a7433;
}

/* --- Header: tambah 2-3 pattern halus agar tidak polos --- */
.sws-site-header {
  position: sticky;
  overflow: hidden;
}

.sws-site-header::before,
.sws-site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.sws-site-header::before {
  background:
    radial-gradient(circle at 12% 22%, rgba(223, 190, 136, .16), transparent 18%),
    radial-gradient(circle at 86% 18%, rgba(223, 190, 136, .10), transparent 20%),
    linear-gradient(90deg, rgba(255,255,255,.05), transparent 22%, rgba(255,255,255,.04) 60%, transparent 80%);
  mix-blend-mode: screen;
}

.sws-site-header::after {
  background-image: radial-gradient(rgba(232, 203, 151, .22) .7px, transparent .7px);
  background-size: 16px 16px;
  opacity: .35;
}

.sws-site-header .sws-top-pattern,
.sws-site-header .sws-header-inner {
  position: relative;
  z-index: 1;
}

/* --- Hero rotator dynamic --- */
.sws-hero {
  background: #1d1712;
  isolation: isolate;
}

.sws-hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sws-hero-slide {
  position: absolute;
  inset: 0;
  background-image: var(--hero);
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s ease, transform 6.2s ease;
  will-change: opacity, transform;
}

.sws-hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.sws-hero-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at calc(18% + var(--mx, 0px) * .02) calc(22% + var(--my, 0px) * .02), rgba(255, 221, 164, .34), transparent 32%),
    radial-gradient(circle at 78% 78%, rgba(218, 174, 102, .15), transparent 40%);
}

.sws-hero-overlay {
  z-index: 1;
}

.sws-hero-content {
  z-index: 2;
}

.sws-hero-frame {
  z-index: 3;
}

.sws-hero .btn {
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

/* --- Author spotlight (homepage) --- */
.sws-author-home {
  position: relative;
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 18px;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,.95), rgba(248,242,233,.94)),
    radial-gradient(rgba(193, 155, 92, .16) 1px, transparent 1px);
  background-size: auto, 14px 14px;
  border: 1px solid rgba(169, 133, 78, .38);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 14px 34px rgba(31, 22, 14, .08);
  overflow: hidden;
}

.sws-author-ornament {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at -10% 120%, rgba(199, 164, 103, .20), transparent 42%),
    radial-gradient(circle at 110% -20%, rgba(199, 164, 103, .20), transparent 44%);
}

.sws-author-photo-wrap {
  position: relative;
  width: 184px;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  padding: 6px;
  background: linear-gradient(135deg, rgba(240,210,161,.95), rgba(166,123,58,.96));
  box-shadow: 0 8px 20px rgba(76, 56, 29, .22);
}

.sws-author-photo {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,.82);
}

.sws-author-body {
  position: relative;
  z-index: 1;
}

.sws-author-kicker {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(176, 136, 70, .45);
  color: #7f5a1f;
  background: rgba(255,255,255,.74);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
}

.sws-author-home h2 {
  margin: 10px 0 2px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.55rem, 2vw, 2.05rem);
  line-height: 1.1;
  color: #2d2318;
}

.sws-author-role {
  margin: 0;
  color: #6f5330;
  font-weight: 620;
}

.sws-author-desc {
  margin: 12px 0 0;
  color: #4a3a2b;
}

.sws-author-tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sws-author-tags span {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(171, 131, 67, .46);
  color: #5f4526;
  background: rgba(255,255,255,.75);
  font-size: .84rem;
  line-height: 1;
}

.sws-author-cta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* --- Testimoni: code cards + motion marquee --- */
.sws-testi-wrap {
  overflow: hidden;
}

.sws-testi-intro {
  margin: 0 0 12px;
  color: #5a4a39;
}

.sws-testi-marquee {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(170,132,75,.25);
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(250,244,236,.93));
  margin-bottom: 10px;
}

.sws-testi-track {
  display: flex;
  gap: 12px;
  width: max-content;
  padding: 12px;
  animation: swsMarquee 42s linear infinite;
  will-change: transform;
}

.sws-testi-marquee.is-reverse .sws-testi-track {
  animation-direction: reverse;
  animation-duration: 48s;
}

.sws-testi-marquee:hover .sws-testi-track,
.sws-testi-marquee:focus-within .sws-testi-track {
  animation-play-state: paused;
}

@keyframes swsMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.sws-testi-code-card {
  width: clamp(250px, 33vw, 320px);
  border-radius: 16px;
  border: 1px solid rgba(162, 122, 66, .30);
  background:
    radial-gradient(circle at 96% -8%, rgba(226, 199, 153, .25), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,241,231,.96));
  box-shadow: 0 8px 20px rgba(45, 31, 18, .08);
  padding: 12px;
}

.sws-testi-head {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
}

.sws-testi-avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e9c98f, #b18140);
  color: #fff7e8;
  font-weight: 700;
  font-size: .92rem;
}

.sws-testi-head-copy strong {
  display: block;
  color: #2f2419;
  line-height: 1.2;
  font-size: .96rem;
}

.sws-testi-head-copy span {
  display: block;
  color: #7a6853;
  font-size: .78rem;
  line-height: 1.2;
}

.sws-testi-stars {
  color: #b7833e;
  font-size: .75rem;
  letter-spacing: .08em;
  white-space: nowrap;
}

.sws-testi-text {
  margin: 10px 0 0;
  color: #4d3f30;
  font-size: .95rem;
  line-height: 1.65;
}

/* --- Footer pattern: tambah layers halus --- */
.sws-footer {
  background:
    radial-gradient(circle at 8% 14%, rgba(227, 190, 130, .13), transparent 28%),
    radial-gradient(circle at 92% 78%, rgba(227, 190, 130, .10), transparent 30%),
    linear-gradient(165deg, #211910, #352719);
}

.sws-footer::after {
  background-image:
    radial-gradient(rgba(226, 190, 136, .8) .6px, transparent .6px),
    linear-gradient(90deg, transparent, rgba(255,255,255,.03), transparent);
  background-size: 16px 16px, 220px 100%;
  opacity: .16;
}

/* --- General interactive polish on homepage --- */
.sws-home .sws-card,
.sws-home .sws-tool-card,
.sws-home .sws-venue,
.sws-home .sws-post,
.sws-home .sws-photo {
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.sws-home .sws-card:hover,
.sws-home .sws-tool-card:hover,
.sws-home .sws-venue:hover,
.sws-home .sws-post:hover,
.sws-home .sws-photo:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(29, 21, 14, .14);
}

/* FAQ / testimonial container balance */
.sws-faq-grid {
  align-items: start;
}

/* Mobile tune */
@media (max-width: 980px) {
  .sws-author-home {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 18px;
  }

  .sws-author-photo-wrap {
    width: 142px;
  }

  .sws-author-cta .btn {
    flex: 1 1 auto;
  }

  .sws-testi-code-card {
    width: min(84vw, 300px);
  }
}

@media (max-width: 640px) {
  .sws-testi-track {
    gap: 9px;
    padding: 10px;
    animation-duration: 36s;
  }

  .sws-testi-marquee.is-reverse .sws-testi-track {
    animation-duration: 40s;
  }

  .sws-author-tags span {
    font-size: .79rem;
  }

  .sws-hero-glow {
    background:
      radial-gradient(circle at 20% 18%, rgba(255, 221, 164, .24), transparent 30%),
      radial-gradient(circle at 84% 80%, rgba(218, 174, 102, .12), transparent 36%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sws-testi-track {
    animation: none;
  }

  .sws-hero-slide {
    transition: none;
    transform: none;
  }
}

/* WA FAB interaction near footer */
.sws-fab-wa {
  transition: transform .25s ease, box-shadow .25s ease, bottom .25s ease;
}
.sws-fab-wa.is-near-footer {
  transform: translateY(-8px);
  box-shadow: 0 10px 22px rgba(0,0,0,.26), 0 0 0 5px rgba(70, 255, 157, .16);
}

/* active nav highlight */
.sws-main-nav a.is-active {
  color: #f3d49b;
  border-bottom-color: #d2a964;
}

/* override old screenshot testimonial container */
.sws-testi-wrap {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}


/* ===== v1.9.1 Exclusive header/footer pattern + bottom author layout ===== */
:root {
  --sws-exclusive-pattern: url("data:image/svg+xml,<svg id='patternId' width='100%' height='100%' xmlns='http://www.w3.org/2000/svg'><defs><pattern id='a' patternUnits='userSpaceOnUse' width='58' height='100.23' patternTransform='scale(2) rotate(0)'><rect x='0' y='0' width='100%' height='100%' fill='hsla(240,6.7%,17.6%,1)'/><path d='M.111-33.307l-28.997 16.744zm.012.006l28.993 16.738-.004 33.485L.115 33.492l-28.997-16.57.004-33.485m40.992 43.198v-5.672l4.937 2.85M29.113 9.995L12.117.18l17-9.815M6.114 30.062L6.114 10.57l16.967 9.798m-51.963-3.446l57.998-33.485m-29 50.055l-.005-66.8m29.001 50.23l-57.99-33.485m57.992 19.63l-5-2.887 5.002-2.887m28.872-30.805L28.99-16.768zm.012.006l28.993 16.738-.004 33.485-28.997 16.57-28.997-16.57.004-33.485m-.004 33.485l57.998-33.485M57.992 33.287l-.004-66.799m29 50.229C67.615 5.529 48.285-5.633 28.999-16.768M28.998 2.86l4.998-2.886-4.998-2.886m6.029 23.076l16.964-9.794.002 19.49m-6-3.43v-5.67l-4.936 2.85M28.995 9.789L45.994-.026 28.998-9.84M-.003 66.943L-29 83.687zm.012.006l28.993 16.738-.004 33.485m0 0L.001 133.742m0 0l-28.997-16.57m0 0l.004-33.485m57.991 26.557l-16.996-9.814 17-9.815m-58 26.557l57.999-33.485M.001 133.742l-.004-66.8m29.001 50.23l-57.99-33.485m45.994-6.928l-5.005 2.89V73.87m11.005 6.353L5.999 90.04l-.002-19.633M29 103.317l-5-2.887 5.002-2.887m28.99-30.6L28.993 83.687zm.011.006l28.993 16.738-.004 33.485m0 0l-28.997 16.57m0 0l-28.997-16.57m0 0l.004-33.485m22.99-13.28v19.627l-16.995-9.813m-5.999 36.95l57.998-33.484m-29 50.055l-.005-66.8m29.001 50.23l-57.99-33.485M29 103.314L34 100.428 29 97.542m11.996-20.786l4.996 2.885v-5.77m-16.994 36.373l17-9.815L29 90.615M57.998 66.94l-.003-33.484zm-.012.008l-28.992 16.74L-.002 66.94l.148-33.397 28.849-16.827L57.99 33.463M.084 47.363L4.997 50.2.06 53.05m5.936 17.356l16.998-9.812v19.63m35.003-20.212L41 50.2l16.996-9.812m-57.878.067l16.88 9.745L.03 59.996m28.966-43.28v66.971M.144 33.544L57.999 66.94m-58 .001L57.99 33.463M40.994 76.759v-5.78l5.004 2.89m-5.004-50.221v5.772l5-2.886m-11 53.689V60.589l17.004 9.815m-40.003 3.467l5-2.887v5.775m41.002-29.444L53 50.2l4.998 2.885M22.995 20.217v19.589l-16.88-9.744m5.97-3.481l4.91 2.835v-5.7m18-3.535v19.63l16.997-9.813' stroke-linecap='square' stroke-width='1' stroke='hsla(47,80.9%,61%,1)' fill='none'/></pattern></defs><rect width='800%' height='800%' transform='translate(0,0)' fill='url(%23a)'/></svg>");
}

@keyframes swsPatternDrift {
  0% { background-position: 0 0, center; }
  100% { background-position: 300px 220px, center; }
}

.sws-site-header,
.sws-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.sws-site-header::before,
.sws-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--sws-exclusive-pattern), linear-gradient(120deg, rgba(255,214,120,.08), rgba(255,214,120,0));
  background-repeat: repeat, no-repeat;
  background-size: 460px auto, 100% 100%;
  background-position: center, center;
  opacity: .26;
  pointer-events: none;
  animation: swsPatternDrift 46s linear infinite;
}

.sws-site-header > *,
.sws-footer > * {
  position: relative;
  z-index: 1;
}

.sws-site-header {
  border-bottom: 1px solid rgba(255, 212, 133, .28);
}

.sws-footer {
  border-top: 1px solid rgba(255, 212, 133, .22);
}

.sws-author-spotlight {
  margin-top: clamp(24px, 4vw, 40px);
}

@media (max-width: 980px) {
  .sws-site-header::before,
  .sws-footer::before {
    opacity: .18;
    animation: none;
    background-size: 360px auto, 100% 100%;
  }
}


/* ===== v1.9.2 Refinement: static premium patterns + emotional strips ===== */
:root {
  --sws-footer-puzzle-pattern: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27160%27%20height%3D%27160%27%20viewBox%3D%270%200%20160%20160%27%3E%3Crect%20width%3D%27160%27%20height%3D%27160%27%20fill%3D%27hsl%28240%2C7%25%2C18%25%29%27%2F%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27hsl%2847%2C81%25%2C61%25%29%27%20stroke-width%3D%271.4%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%20opacity%3D%27.92%27%3E%3Cpath%20d%3D%27M0%2040h52a10%2010%200%200%200%2010-10v-4a10%2010%200%201%201%2020%200v4a10%2010%200%200%200%2010%2010h68%27%2F%3E%3Cpath%20d%3D%27M0%20120h52a10%2010%200%200%201%2010%2010v4a10%2010%200%201%200%2020%200v-4a10%2010%200%200%201%2010-10h68%27%2F%3E%3Cpath%20d%3D%27M40%200v52a10%2010%200%200%200%2010%2010h4a10%2010%200%201%201%200%2020h-4a10%2010%200%200%200-10%2010v68%27%2F%3E%3Cpath%20d%3D%27M120%200v52a10%2010%200%200%201-10%2010h-4a10%2010%200%201%200%200%2020h4a10%2010%200%200%201%2010%2010v68%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}

/* Header pattern: diperkecil + static */
.sws-site-header::before {
  background-image:
    var(--sws-exclusive-pattern),
    linear-gradient(120deg, rgba(255, 214, 120, .07), rgba(255, 214, 120, 0));
  background-repeat: repeat, no-repeat;
  background-size: 150px auto, 100% 100%;
  background-position: center center, center center;
  opacity: .16;
  animation: none !important;
}

.sws-site-header::after {
  background-image:
    radial-gradient(rgba(232, 203, 151, .16) .6px, transparent .6px),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0));
  background-size: 13px 13px, 100% 100%;
  background-repeat: repeat, no-repeat;
  opacity: .14;
  animation: none !important;
}

.sws-top-pattern {
  height: 8px;
  background:
    linear-gradient(135deg, rgba(221, 192, 141, 0.36) 25%, transparent 25%) -7px 0/12px 12px,
    linear-gradient(225deg, rgba(221, 192, 141, 0.36) 25%, transparent 25%) -7px 0/12px 12px,
    linear-gradient(315deg, rgba(221, 192, 141, 0.22) 25%, transparent 25%) 0 0/12px 12px,
    linear-gradient(45deg, rgba(221, 192, 141, 0.22) 25%, transparent 25%) 0 0/12px 12px,
    #2f261e;
}

/* Footer pattern: puzzle exclusive (tanpa full dot) */
.sws-footer::before {
  inset: 0;
  height: auto;
  background-image:
    var(--sws-footer-puzzle-pattern),
    linear-gradient(125deg, rgba(255, 214, 120, .05), rgba(255, 214, 120, 0));
  background-repeat: repeat, no-repeat;
  background-size: 176px auto, 100% 100%;
  background-position: center top, center;
  opacity: .19;
  animation: none !important;
}

.sws-footer::after {
  display: none !important;
}

@media (max-width: 980px) {
  .sws-site-header::before {
    background-size: 118px auto, 100% 100%;
    opacity: .14;
  }
  .sws-site-header::after {
    background-size: 11px 11px, 100% 100%;
  }
  .sws-footer::before {
    background-size: 132px auto, 100% 100%;
    opacity: .15;
  }
}

/* Emotional strip antar section */
.sws-emotion {
  padding: 18px 0 8px;
}

.sws-emotion .sws-emotion-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(191, 153, 96, .35);
  border-radius: 20px;
  padding: clamp(18px, 2.6vw, 30px);
  background:
    linear-gradient(130deg, rgba(53, 42, 33, .95), rgba(31, 24, 19, .96)),
    radial-gradient(circle at 12% 12%, rgba(228, 194, 139, .15), transparent 42%),
    radial-gradient(circle at 92% 10%, rgba(228, 194, 139, .10), transparent 38%);
  color: #f3e7d2;
  box-shadow:
    0 20px 36px rgba(21, 16, 11, .30),
    inset 0 0 0 1px rgba(255, 223, 170, .12);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}
.sws-emotion .sws-emotion-card.is-inview {
  opacity: 1;
  transform: translateY(0);
}

.sws-emotion .sws-emotion-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(transparent 0, rgba(255,255,255,.03) 100%);
}

.sws-emotion .sws-emotion-card::after {
  content: "“";
  position: absolute;
  right: clamp(14px, 2vw, 24px);
  top: clamp(4px, 1vw, 12px);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(60px, 8vw, 94px);
  line-height: 1;
  color: rgba(235, 205, 154, .16);
}

.sws-emotion-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(232, 200, 142, .45);
  color: #efd5aa;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-weight: 700;
}

.sws-emotion h2 {
  margin: 4px 0 10px;
  color: #f6e8cf;
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
  line-height: 1.25;
}

.sws-emotion p {
  margin: 0;
  color: #ead7b6;
  font-size: clamp(.98rem, 1.6vw, 1.08rem);
  line-height: 1.75;
  max-width: 980px;
}

@media (prefers-reduced-motion: reduce) {
  .sws-emotion .sws-emotion-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ==========================================================
   v1.9.3 polish — subtle header/footer pattern, refined quote,
   and stable mobile drawer
   ========================================================== */
:root {
  --sws-header-pattern-size: 44px;
  --sws-footer-pattern-size: 36px;
}

/* Header pattern: lebih kecil, lebih samar, tanpa gerak */
.sws-site-header::before {
  background-image: var(--sws-exclusive-pattern) !important;
  background-size: var(--sws-header-pattern-size) var(--sws-header-pattern-size) !important;
  background-position: center top !important;
  opacity: .12 !important;
  animation: none !important;
}

/* Drawer mobile mengikuti bahasa visual header */
.sws-drawer {
  background-image:
    var(--sws-exclusive-pattern),
    linear-gradient(120deg, rgba(59,42,27,.98), rgba(38,26,17,.98)) !important;
  background-size:
    calc(var(--sws-header-pattern-size) - 4px) calc(var(--sws-header-pattern-size) - 4px),
    100% 100% !important;
  background-position: center top, center !important;
  animation: none !important;
}

/* Footer: samakan pattern dengan header, diperkecil */
.sws-footer::before {
  background-image:
    var(--sws-exclusive-pattern),
    linear-gradient(120deg, rgba(57,40,26,.96), rgba(34,23,15,.96)) !important;
  background-size:
    var(--sws-footer-pattern-size) var(--sws-footer-pattern-size),
    100% 100% !important;
  background-position: center top, center !important;
  opacity: .11 !important;
  animation: none !important;
}

/* Matikan dot pattern lama agar tidak tabrakan */
.sws-footer::after {
  display: none !important;
}

/* Blockquote emotion card: tambah pattern ringan */
.sws-emotion .sws-emotion-card {
  border-color: rgba(191, 153, 96, .42) !important;
}

.sws-emotion .sws-emotion-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to bottom, rgba(255,255,255,.05), rgba(255,255,255,.015)),
    var(--sws-exclusive-pattern);
  background-size: 100% 100%, 40px 40px;
  background-position: 0 0, center;
  opacity: .16;
}

/* Overlay backdrop + drawer stabil (tidak dorong header/content) */
.sws-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1165;
  background: rgba(10, 7, 5, .46);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease;
}

.sws-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 960px) {
  .sws-site-header {
    position: sticky;
    top: 0;
    z-index: 1200;
  }

  .sws-site-header::before {
    background-size: 38px 38px !important;
    opacity: .12 !important;
  }

  .sws-footer::before {
    background-size: 34px 34px, 100% 100% !important;
    opacity: .1 !important;
  }

  .sws-emotion .sws-emotion-card::before {
    background-size: 100% 100%, 38px 38px;
    opacity: .14;
  }

  .sws-drawer {
    position: fixed !important;
    top: var(--sws-header-h, 94px) !important;
    left: 10px !important;
    right: 10px !important;
    max-height: calc(100dvh - var(--sws-header-h, 94px) - 10px) !important;
    overflow: auto !important;
    z-index: 1170 !important;
  }

  .sws-drawer[hidden] {
    display: none !important;
  }
}



/* ===== v1.9.4 hotfix: subtle luxury pattern + stable mobile drawer ===== */
:root {
  --sws-exclusive-pattern: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2772%27%20height%3D%2772%27%20viewBox%3D%270%200%2072%2072%27%3E%3Crect%20width%3D%2772%27%20height%3D%2772%27%20fill%3D%27none%27%2F%3E%3Cpath%20d%3D%27M36%200L72%2036L36%2072L0%2036Z%20M18%2018L54%2018L54%2054L18%2054Z%20M0%2036H72%20M36%200V72%27%20stroke%3D%27%2523d8b56a%27%20stroke-opacity%3D%27.62%27%20stroke-width%3D%271%27%20fill%3D%27none%27%2F%3E%3C%2Fsvg%3E");
}

/* Header/footer pattern: same motif, kecil, statis, samar */
.sws-header::before,
.sws-footer::before {
  animation: none !important;
  transform: none !important;
  background-image: var(--sws-exclusive-pattern) !important;
  background-repeat: repeat !important;
  opacity: .14 !important;
}
.sws-header::before {
  background-size: 30px 30px !important;
}
.sws-footer::before {
  background-size: 24px 24px !important;
  opacity: .12 !important;
}

/* Mobile tetap lebih halus */
@media (max-width: 980px) {
  .sws-header::before {
    background-size: 24px 24px !important;
    opacity: .13 !important;
  }
  .sws-footer::before {
    background-size: 20px 20px !important;
    opacity: .11 !important;
  }
}

/* Blockquote emosional: tambah sentuhan pattern tipis */
.sws-emotion-card {
  position: relative;
  overflow: hidden;
}
.sws-emotion-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: var(--sws-exclusive-pattern);
  background-size: 18px 18px;
  opacity: .08;
  z-index: 0;
}
.sws-emotion-card > * {
  position: relative;
  z-index: 1;
}

/* Mobile menu drawer fix: tidak mendorong header/layout */
@media (max-width: 980px) {
  body.sws-mobile-menu-open {
    overflow: hidden;
  }
  .sws-mobile-top {
    position: sticky;
    top: 0;
    z-index: 1002;
  }
  .sws-drawer {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    height: 100dvh !important;
    padding: calc(var(--sws-header-h, 74px) + 12px) 14px 18px !important;
    overflow: auto !important;
    z-index: 1001 !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
    background:
      linear-gradient(135deg, rgba(44,31,20,.96), rgba(58,40,26,.94)),
      var(--sws-exclusive-pattern) !important;
    background-size: auto, 24px 24px !important;
    background-repeat: no-repeat, repeat !important;
  }
  .sws-drawer.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .sws-drawer .sws-menu {
    margin-top: 4px;
  }
}

/* ===== v1.9.5 FINAL OVERRIDES (requested) ===== */

/* 1) HEADER: Pattern “Gambar 2” (diamond kecil) + SAMAR + TIDAK GERAK */
.sws-header::before{ display:none !important; }
.sws-site-header{ overflow: visible; }
.sws-site-header::before{
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.22) 100%),
    url("data:image/svg+xml,<svg id='patternId' width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'><defs><pattern id='a' patternUnits='userSpaceOnUse' width='32' height='32' patternTransform='scale(2) rotate(0)'><rect x='0' y='0' width='100%25' height='100%25' fill='hsla(240,6.7%25,17.6%25,1)'/><path d='M32-10L42 0 32 10 22 0zM0-10L10 0 0 10-10 0zm0 32l10 10L0 42l-10-10zm32 0l10 10-10 10-10-10zM16-10L26 0 16 10 6 0zm0 32l10 10-10 10L6 32zM32 6l10 10-10 10-10-10zM0 6l10 10L0 26l-10-10zm16 0l10 10-10 10L6 16z' stroke-linecap='square' stroke-width='1' stroke='hsla(47,80.9%25,61%25,1)' fill='none'/></pattern></defs><rect width='800%25' height='800%25' transform='translate(0,0)' fill='url(%23a)'/></svg>") !important;
  background-repeat: no-repeat, repeat !important;
  background-size: 100% 100%, 160px 160px !important;
  background-position: center, center !important;
  opacity: .12 !important;
  pointer-events: none;
  animation: none !important;
}

@media (max-width: 640px){
  .sws-site-header::before{ background-size: 100% 100%, 140px 140px !important; opacity: .10 !important; }
}

/* 2) FOOTER: Pattern “Gambar 3” (wave oval) + HALUS */
.sws-footer::before{
  background-image:
    radial-gradient(circle at 18% 20%, rgba(255,215,128,.12) 0, rgba(255,215,128,0) 48%),
    url("data:image/svg+xml,<svg id='patternId' width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'><defs><pattern id='a' patternUnits='userSpaceOnUse' width='40' height='40' patternTransform='scale(2) rotate(0)'><rect x='0' y='0' width='100%25' height='100%25' fill='hsla(240,6.7%25,17.6%25,1)'/><path d='M46.231 19.999a5.937 7.48 0 01-5.937 7.48A5.937 7.48 0 0134.357 20a5.937 7.48 0 015.937-7.48 5.937 7.48 0 015.937 7.48zm-40.421 0a5.937 7.48 0 01-5.937 7.48A5.937 7.48 0 01-6.064 20a5.937 7.48 0 015.937-7.48 5.937 7.48 0 015.937 7.48zm20.21 20.285a5.937 7.48 0 01-5.937 7.48 5.937 7.48 0 01-5.936-7.48 5.937 7.48 0 015.936-7.48 5.937 7.48 0 015.937 7.48zm0-40.57a5.937 7.48 0 01-5.937 7.48 5.937 7.48 0 01-5.936-7.48 5.937 7.48 0 015.936-7.48 5.937 7.48 0 015.937 7.48zM-5.732 46.942c1.676-.944 3.556-1.6 5.478-1.587 1.924.011 3.796.69 5.463 1.653 1.668.962 3.156 2.202 4.637 3.434 1.48 1.233 2.97 2.471 4.641 3.428 1.67.957 3.547 1.627 5.47 1.627 1.924 0 3.8-.67 5.47-1.627s3.161-2.195 4.642-3.428c1.48-1.232 2.968-2.472 4.636-3.434 1.667-.963 3.54-1.642 5.463-1.653 1.922-.012 3.802.643 5.479 1.587V33.628c-1.677.944-3.557 1.6-5.479 1.587-1.923-.011-3.796-.69-5.463-1.653-1.668-.962-3.156-2.202-4.636-3.434-1.48-1.233-2.971-2.471-4.642-3.428-1.67-.957-3.546-1.627-5.47-1.627-1.923 0-3.8.67-5.47 1.627s-3.161 2.195-4.641 3.428c-1.48 1.232-2.97 2.472-4.637 3.434-1.667.963-3.54 1.641-5.463 1.653-1.922.012-3.802-.643-5.478-1.587zM45.647-6.943c-1.677.944-3.557 1.6-5.479 1.587-1.923-.011-3.796-.69-5.463-1.653-1.668-.962-3.156-2.202-4.636-3.434-1.48-1.233-2.971-2.471-4.642-3.428-1.67-.957-3.546-1.627-5.47-1.627-1.923 0-3.8.67-5.47 1.627s-3.161 2.195-4.641 3.428c-1.48 1.232-2.97 2.472-4.637 3.434-1.667.963-3.54 1.642-5.463 1.653-1.922.012-3.802-.643-5.478-1.587V6.372c1.676-.944 3.556-1.6 5.478-1.587 1.924.012 3.796.69 5.463 1.653C6.877 7.4 8.365 8.64 9.846 9.872c1.48 1.233 2.97 2.471 4.641 3.428 1.67.957 3.547 1.627 5.47 1.627 1.924 0 3.8-.67 5.47-1.627s3.161-2.195 4.642-3.428c1.48-1.232 2.968-2.472 4.636-3.434 1.667-.963 3.54-1.642 5.463-1.653 1.922-.012 3.802.643 5.479 1.587z' stroke-width='1' stroke='hsla(47,80.9%25,61%25,1)' fill='none'/></pattern></defs><rect width='800%25' height='800%25' transform='translate(0,0)' fill='url(%23a)'/></svg>") !important;
  background-repeat: no-repeat, repeat !important;
  background-size: 520px 520px, 220px 220px !important;
  background-position: center, center !important;
  opacity: .10 !important;
  pointer-events: none;
  animation: none !important;
}
.sws-footer::after{ display:none !important; }

/* 3) FOOTER MOBILE: Quick Link rapikan + pisah Legal */
.sws-footer-nav, .sws-footer-legal{ margin:0; padding:0; list-style:none; }
.sws-footer-legal-title{ margin-top: 14px; }
@media(max-width:820px){
  .sws-footer-nav{ columns:2; column-gap:22px; }
}

/* 4) Mobile drawer: JS uses .is-open; keep compatible with legacy .open */
@media (max-width: 980px){
  /* Mobile Drawer (v1.9.8) — crisp panel, blur only on backdrop */
  .sws-site-header{ z-index: 30000; }

  #swsMobileDrawer{
    position: fixed;
    inset: 0;
    z-index: 25000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
    background: transparent !important;
    filter: none !important;
  }
  #swsMobileDrawer::before{
    content:"";
    position:absolute;
    inset:0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  #swsMobileDrawer.is-open{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  #swsMobileDrawer .sws-drawer-panel{
    position: relative;
    z-index: 2;
    width: min(420px, 92vw);
    margin: clamp(72px, calc(var(--sws-header-h, 84px) + 10px), 120px) 16px 16px;
    max-height: calc(100vh - 140px);
    overflow: auto;
    background: rgba(25,21,18,.92);
    border: 1px solid rgba(212,170,92,.25);
    border-radius: 18px;
    box-shadow: 0 18px 70px rgba(0,0,0,.55);
    transform: translateX(-110%);
    transition: transform .24s ease;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
  }
  #swsMobileDrawer.is-open .sws-drawer-panel{
    transform: translateX(0);
  }

  /* Hide WhatsApp FAB while drawer open so it doesn't block clicks */
  html.sws-drawer-open .sws-wa-fab,
  html.sws-drawer-open .sws-wa-fab-wrap{
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

.sws-site-header::after{ display:none !important; }

/* =========================
   v1.9.6 HOTFIX OVERRIDES
   - Header pattern: diamond kecil (samar, no motion)
   - Footer pattern: wave oval (lebih seamless)
   - Mobile drawer: full-screen overlay + panel + class fix (is-open/open)
========================= */

:root{
  /* Header pattern (Gambar 2 - diamond kecil) */
  --sws-exclusive-pattern: url("data:image/svg+xml,<svg id='patternId' width='100%' height='100%' xmlns='http://www.w3.org/2000/svg'><defs><pattern id='a' patternUnits='userSpaceOnUse' width='32' height='32' patternTransform='scale(2) rotate(0)'><rect x='0' y='0' width='100%' height='100%' fill='hsla(240,6.7%,17.6%,1)'/><path d='M32-10L42 0 32 10 22 0zM0-10L10 0 0 10-10 0zm0 32l10 10L0 42l-10-10zm32 0l10 10-10 10-10-10zM16-10L26 0 16 10 6 0zm0 32l10 10-10 10L6 32zM32 6l10 10-10 10-10-10zM0 6l10 10L0 26l-10-10zm16 0l10 10-10 10L6 16z'  stroke-linecap='square' stroke-width='1' stroke='hsla(47,80.9%,61%,1)' fill='none'/></pattern></defs><rect width='800%' height='800%' transform='translate(0,0)' fill='url(%23a)'/></svg>");

  /* Footer pattern (Gambar 3 - wave oval) */
  --sws-footer-pattern: url("data:image/svg+xml,<svg id='patternId' width='100%' height='100%' xmlns='http://www.w3.org/2000/svg'><defs><pattern id='a' patternUnits='userSpaceOnUse' width='40' height='40' patternTransform='scale(2) rotate(0)'><rect x='0' y='0' width='100%' height='100%' fill='hsla(240,6.7%,17.6%,1)'/><path d='M46.231 19.999a5.937 7.48 0 01-5.937 7.48A5.937 7.48 0 0134.357 20a5.937 7.48 0 015.937-7.48 5.937 7.48 0 015.937 7.48zm-40.421 0a5.937 7.48 0 01-5.937 7.48A5.937 7.48 0 01-6.064 20a5.937 7.48 0 015.937-7.48 5.937 7.48 0 015.937 7.48zm20.21 20.285a5.937 7.48 0 01-5.937 7.48 5.937 7.48 0 01-5.936-7.48 5.937 7.48 0 015.936-7.48 5.937 7.48 0 015.937 7.48zm0-40.57a5.937 7.48 0 01-5.937 7.48 5.937 7.48 0 01-5.936-7.48 5.937 7.48 0 015.936-7.48 5.937 7.48 0 015.937 7.48zM-5.732 46.942c1.676-.944 3.556-1.6 5.478-1.587 1.924.011 3.796.69 5.463 1.653 1.668.962 3.156 2.202 4.637 3.434 1.48 1.233 2.97 2.471 4.641 3.428 1.67.957 3.547 1.627 5.47 1.627 1.924 0 3.8-.67 5.47-1.627s3.161-2.195 4.642-3.428c1.48-1.232 2.968-2.472 4.636-3.434 1.667-.963 3.54-1.642 5.463-1.653 1.922-.012 3.802.643 5.479 1.587V33.628c-1.677.944-3.557 1.6-5.479 1.587-1.923-.011-3.796-.69-5.463-1.653-1.668-.962-3.156-2.202-4.636-3.434-1.48-1.233-2.971-2.471-4.642-3.428-1.67-.957-3.546-1.627-5.47-1.627-1.923 0-3.8.67-5.47 1.627s-3.161 2.195-4.641 3.428c-1.48 1.232-2.97 2.472-4.637 3.434-1.667.963-3.54 1.641-5.463 1.653-1.922.012-3.802-.643-5.478-1.587zM45.647-6.943c-1.677.944-3.557 1.6-5.479 1.587-1.923-.011-3.796-.69-5.463-1.653-1.668-.962-3.156-2.202-4.636-3.434-1.48-1.233-2.971-2.471-4.642-3.428-1.67-.957-3.546-1.627-5.47-1.627-1.923 0-3.8.67-5.47 1.627s-3.161 2.195-4.641 3.428c-1.48 1.232-2.97 2.472-4.637 3.434-1.667.963-3.54 1.642-5.463 1.653-1.922.012-3.802-.643-5.478-1.587V6.372c1.676-.944 3.556-1.6 5.478-1.587 1.924.012 3.796.69 5.463 1.653C6.877 7.4 8.365 8.64 9.846 9.872c1.48 1.233 2.97 2.471 4.641 3.428 1.67.957 3.547 1.627 5.47 1.627 1.924 0 3.8-.67 5.47-1.627s3.161-2.195 4.642-3.428c1.48-1.232 2.968-2.472 4.636-3.434 1.667-.963 3.54-1.642 5.463-1.653 1.922-.012 3.802.643 5.479 1.587z'  stroke-width='1' stroke='hsla(47,80.9%,61%,1)' fill='none'/></pattern></defs><rect width='800%' height='800%' transform='translate(0,0)' fill='url(%23a)'/></svg>");
}

/* Header: pattern kecil + samar + stop motion */
.sws-site-header::before, .sws-header::before{
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.22) 100%),
    var(--sws-exclusive-pattern) !important;
  background-repeat: no-repeat, repeat !important;
  background-size: cover, 192px 192px !important; /* 192 = kelipatan tile (3x64) */
  background-position: 0 0, 0 0 !important;
  opacity: .12 !important;
  animation: none !important;
  pointer-events: none !important;
}
/* Matikan overlay dot kalau bikin "rame" */
.sws-site-header::after, .sws-header::after{ display:none !important; }

/* Footer: wave oval + lebih seamless */
.sws-footer::before, .sws-site-footer::before{
  background-image:
    radial-gradient(circle at 18% 20%, rgba(255,215,128,.12) 0, rgba(255,215,128,0) 48%),
    var(--sws-footer-pattern) !important;
  background-repeat: no-repeat, repeat !important;
  background-size: 520px 520px, 240px 240px !important; /* 240 = 3x80 tile */
  background-position: 0 0, 0 0 !important;
  opacity: .10 !important;
  animation: none !important;
  pointer-events: none !important;
}
.sws-footer::after, .sws-site-footer::after{ display:none !important; }

/* Mobile drawer hotfix (v1.9.7)
   Drawer JANGAN jadi overlay full-screen (karena JS sudah bikin .sws-drawer-backdrop).
   Kalau drawer jadi overlay, hamburger/close di header sering ketutup sehingga terasa "nggak keluar".
*/
#swsMobileDrawer[hidden]{ display:none !important; }

@media (max-width: 980px){
  /* Drawer container transparan di bawah header */
  #swsMobileDrawer.sws-drawer{
    inset: auto !important;
    top: var(--sws-header-h, 94px) !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    border-radius: 0 !important;
    padding: 14px !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    /* hidden state */
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: none !important;
    transition: opacity .16s ease, visibility 0s linear .16s !important;
    z-index: 1170 !important; /* di atas backdrop (1165), di bawah header (1200) */
  }

  #swsMobileDrawer.sws-drawer.is-open,
  #swsMobileDrawer.sws-drawer.open{
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: opacity .16s ease !important;
  }

  /* Panel menu lebih solid biar teks nggak tampak blur */
  #swsMobileDrawer .sws-drawer-panel{
    width: min(560px, calc(100% - 28px));
    margin: 0 auto 18px;
    max-height: min(78vh, calc(100vh - var(--sws-header-h, 94px) - 26px));
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;

    background: linear-gradient(180deg, rgba(39,33,28,.96), rgba(18,14,12,.96));
    border: 1px solid rgba(255,215,128,.18);
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 22px 60px rgba(0,0,0,.55);
  }

  #swsMobileDrawer .sws-drawer-nav{ margin: 0 0 10px; }
  #swsMobileDrawer .sws-drawer-nav a{
    display: block;
    padding: 14px 14px;
    margin: 0 0 10px;
    border-radius: 14px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,215,128,.12);
    color: #f2e9d8;
    text-decoration: none;
    font-weight: 650;
  }
  #swsMobileDrawer .sws-drawer-nav a:active{ transform: translateY(1px); }

  #swsMobileDrawer .sws-drawer-cta{ display: grid; gap: 10px; }
  #swsMobileDrawer .sws-drawer-cta .btn{ width: 100%; justify-content: center; }
}

@media (min-width: 981px){
  #swsMobileDrawer{ display:none !important; }
}

/* =====================================================================
   v1.9.9+ HOTFIX — Mobile drawer viewport-safe + no clipping
   Fixes: blank overlay, z-index conflicts, and panel being clipped on mobile.
   ===================================================================== */
@media (max-width: 980px){
  /* Keep header controls clickable above the blur layer */
  .sws-site-header{ z-index: 30020 !important; }

  /* Backdrop must sit BELOW the drawer panel */
  .sws-drawer-backdrop{ z-index: 30000 !important; }

  /* Drawer viewport layer (transparent, no clipping). Scrolling happens in the panel. */
  #swsMobileDrawer.sws-drawer{
    position: fixed !important;
    inset: 0 !important;
    z-index: 30010 !important;

    width: 100% !important;
    max-height: none !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    transition: opacity .18s ease, visibility .18s ease !important;

    /* prevent shadow clipping; move scroll to panel */
    overflow: visible !important;

    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    /* Space from sticky header + safe bottom bar */
    padding:
      clamp(64px, var(--sws-header-h, 94px), 140px)
      14px
      calc(34px + env(safe-area-inset-bottom, 0px))
      14px !important;
  }
  #swsMobileDrawer.sws-drawer.is-open,
  #swsMobileDrawer.sws-drawer.open{
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Disable any internal overlay pseudo-element to avoid double layers */
  #swsMobileDrawer::before{ display:none !important; }

  /* Panel: width fixed, height follows available viewport (inside padded layer) */
  #swsMobileDrawer .sws-drawer-panel{
    position: relative !important;
    z-index: 2 !important;
    margin: 0 auto !important;
    width: min(92vw, 420px) !important;

    max-height: 100% !important;
    overflow: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;

    /* Prevent bottom CTA from hugging/colliding with mobile bars */
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)) !important;

    /* Slide-in animation handled on the panel, not the viewport layer */
    transform: translateX(-110%) !important;
    transition: transform .28s ease !important;
  }
  #swsMobileDrawer.sws-drawer.is-open .sws-drawer-panel,
  #swsMobileDrawer.sws-drawer.open .sws-drawer-panel{
    transform: translateX(0) !important;
  }

  /* Prefer modern viewport units when available (more accurate on mobile browser UI) */
  @supports (height: 100dvh){
    #swsMobileDrawer.sws-drawer{ height: 100dvh !important; }
  }
  @supports (height: 100svh){
    #swsMobileDrawer.sws-drawer{ height: 100svh !important; }
  }
}



/* FAQ (visible + schema) */
.sws-faq .sws-titlebar{
  margin-bottom: 14px;
}

.sws-faq-list{
  display: grid;
  gap: 12px;
}

.sws-faq-item{
  padding: 0; /* let inner spacing handle */
  overflow: hidden;
}

.sws-faq-item > summary{
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  font-weight: 700;
}

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

.sws-faq-item > summary::after{
  content: "+";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--sws-line);
  color: var(--sws-ink);
  opacity: .8;
}

.sws-faq-item[open] > summary::after{
  content: "–";
}

.sws-faq-a{
  padding: 0 18px 16px;
  color: var(--sws-muted);
}

.sws-faq-a p{
  margin: 0;
}
