@font-face {
  font-family: 'Playfair Display';
  src: url('/fonts/playfair-display.woff2') format('woff2');
  font-weight: 500 600;
  font-display: swap;
}
@font-face {
  font-family: Sora;
  src: url('/fonts/sora.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

.theme-picker { background: #f2f0e9; border-bottom: 1px solid #ded8ce; }
.theme-picker .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .45rem 1rem;
  padding-block: .55rem;
}
.theme-picker p { font-weight: 780; font-size: .875rem; color: #302a21; }
.theme-options { display: flex; flex-wrap: wrap; gap: .375rem; }
.theme-options button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 44px;
  padding: .35rem .7rem;
  border: 1px solid #cfc3ae;
  border-radius: .4rem;
  background: #fffefa;
  color: #403524;
  font-size: .875rem;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
}
.theme-options button[aria-pressed='true'] { background: #292218; color: #fff5e4; border-color: #292218; }
.theme-options button:not([aria-pressed='true']):hover { background: #e9e0d0; }
.theme-swatch { width: .75rem; height: .75rem; border-radius: 50%; flex: none; border: 1px solid #8f7549; }
[data-theme='klasik'] > .theme-swatch { background: linear-gradient(135deg, #201c15, #d5b071); }
[data-theme='sampanye'] > .theme-swatch { background: linear-gradient(135deg, #fffaf0, #ba9251); }
[data-theme='arang'] > .theme-swatch { background: linear-gradient(135deg, #16181b, #697179); }

:root[data-theme='sampanye'] {
  --serif: 'Playfair Display', Georgia, serif;
  --ink: #2a2118;
  --paper: #faf6ee;
  --white: #fffdfa;
  --muted: #5d4b39;
  --line: #e2d2b9;
  --gold: #c99d52;
}
[data-theme='sampanye'] h1, [data-theme='sampanye'] h2 {
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.04;
}
[data-theme='sampanye'] .hero { color: #2a2118; background: linear-gradient(116deg, #fcf9f2 8%, #f3e8d4 58%, #dcc39a 100%); }
[data-theme='sampanye'] .hero h1 { font-size: clamp(2.8rem, 5.35vw, 5.35rem); }
[data-theme='sampanye'] #beranda h1 span { color: #77501b; font-style: normal; }
[data-theme='sampanye'] .hero-copy p { color: #514130; }
[data-theme='sampanye'] .hero-grid > img { border-color: #89643660; border-radius: .8rem; }
[data-theme='sampanye'] .gold { color: #fff8eb; background: #66471e; }
[data-theme='sampanye'] .gold:hover { background: #805a25; }
[data-theme='sampanye'] .hero :focus-visible { outline-color: #69491b; }
[data-theme='sampanye'] .estimate { background: linear-gradient(120deg, #23180f, #4a3520); }

:root[data-theme='arang'] {
  --serif: Sora, Arial, sans-serif;
  --ink: #1b2023;
  --paper: #f1f3f3;
  --white: #fff;
  --muted: #485054;
  --line: #d4d9db;
  --gold: #d4b272;
  font-family: Sora, Arial, sans-serif;
}
[data-theme='arang'] h1, [data-theme='arang'] h2 { font-weight: 650; letter-spacing: -.055em; line-height: 1.07; }
[data-theme='arang'] h2 { font-size: clamp(1.95rem, 3.5vw, 3.25rem); }
[data-theme='arang'] .hero { background: linear-gradient(121deg, #101214 4%, #20262b 66%, #353d43); }
[data-theme='arang'] .hero h1 { font-size: clamp(2.75rem, 4.7vw, 5rem); }
[data-theme='arang'] #beranda h1 span { color: #dfbc7a; font-style: normal; }
[data-theme='arang'] .hero-copy p { color: #e0e3e4; }
[data-theme='arang'] .hero-grid > img { border-color: #ffffff38; filter: saturate(.69); }
[data-theme='arang'] .estimate { background: linear-gradient(120deg, #151719, #31383d); border-color: #555c5e; }
[data-theme='arang'] .head-chat { border-color: #ac8850; }
[data-theme='arang'] .benefits .symbol { background: #e6e9ea; color: #635033; }

:is([data-theme='sampanye'], [data-theme='arang']) .hero { position: relative; isolation: isolate; overflow: hidden; }
:is([data-theme='sampanye'], [data-theme='arang']) .hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
[data-theme='sampanye'] .hero::before {
  width: min(55vw, 49rem);
  aspect-ratio: 1;
  left: -19%;
  bottom: -85%;
  border-radius: 50%;
  background: radial-gradient(ellipse, transparent 50%, #b1884938 50% 63%, transparent 63% 68%, #b1884938 68% 70%, transparent 70%);
}
[data-theme='arang'] .hero::before {
  width: min(90vw, 68rem);
  height: 145%;
  right: 14%;
  bottom: -76%;
  border: 1px solid #bd986055;
  box-shadow: 0 0 0 2rem #b491571a, 0 0 0 4rem #b4915717, 0 0 0 6rem #b4915713;
  transform: rotate(-25deg) skewX(-16deg);
}

@media (max-width: 42rem) {
  .theme-picker .wrap { align-items: flex-start; flex-direction: column; }
  .theme-options { width: 100%; }
  .theme-options button { flex: 1 0 auto; padding-inline: .35rem; }
  [data-theme='arang'] .hero h1, [data-theme='sampanye'] .hero h1 { font-size: clamp(2.4rem, 9vw, 3.7rem); }
  [data-theme='sampanye'] .hero::before { width: 26rem; bottom: -43%; left: -60%; }
  [data-theme='arang'] .hero::before { bottom: -84%; }
}
