:root {
  color-scheme: light;
  --bg: #fff9f6;
  --bg-soft: #f8eff1;
  --surface: #ffffff;
  --surface-2: #fff4ef;
  --surface-3: #eef5ef;
  --text: #3d3030;
  --muted: #786a69;
  --line: #eadbd7;
  --primary: #9b6656;
  --primary-strong: #75493e;
  --primary-soft: #f5ded5;
  --sage: #6f8876;
  --sage-soft: #dcebdd;
  --sun: #b9842d;
  --sun-soft: #fff0bd;
  --danger: #af565c;
  --danger-soft: #f5d6d8;
  --success: #477455;
  --shadow: 0 18px 48px rgba(104, 71, 64, 0.12);
  --shadow-sm: 0 8px 24px rgba(104, 71, 64, 0.08);
  --radius: 24px;
  --radius-sm: 14px;
  --header: rgba(255, 249, 246, 0.9);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #191617;
  --bg-soft: #211c1e;
  --surface: #272123;
  --surface-2: #302629;
  --surface-3: #243029;
  --text: #fff8f4;
  --muted: #c8b9b5;
  --line: #493d3f;
  --primary: #e9b7a6;
  --primary-strong: #ffd5c7;
  --primary-soft: #513a38;
  --sage: #a9c4ae;
  --sage-soft: #33463a;
  --sun: #f0c56c;
  --sun-soft: #544728;
  --danger: #ef9ba0;
  --danger-soft: #583236;
  --success: #a5d3ae;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.22);
  --header: rgba(25, 22, 23, 0.9);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 9% 6%, color-mix(in srgb, var(--primary-soft) 62%, transparent), transparent 28rem),
    radial-gradient(circle at 92% 18%, color-mix(in srgb, var(--sage-soft) 60%, transparent), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

a {
  color: inherit;
}

img,
video {
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 58%, transparent);
  outline-offset: 3px;
}

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

.app-loading {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  color: var(--muted);
}

.app-loading img {
  width: min(420px, 78vw);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  background: var(--header);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 118px;
  height: 60px;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  background: #fff;
}

.brand-compact img {
  width: 138px;
  height: 50px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
}

.nav-link,
.nav-button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 10px 13px;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.93rem;
}

.nav-link:hover,
.nav-button:hover,
.nav-link.active {
  color: var(--text);
  background: var(--surface-2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.menu-button {
  display: none;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 760;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 25%, transparent);
}

html[data-theme="dark"] .button.primary {
  color: #2a1d1a;
}

.button.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.button.sage {
  background: var(--sage);
  color: #fff;
}

html[data-theme="dark"] .button.sage {
  color: #162219;
}

.button.danger {
  background: var(--danger-soft);
  color: var(--danger);
}

.button.small {
  min-height: 36px;
  padding: 7px 13px;
  font-size: 0.88rem;
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--primary-strong);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mobile-menu {
  display: none;
  padding: 0 20px 18px;
}

.mobile-menu.open {
  display: grid;
  gap: 6px;
}

.mobile-menu .nav-link,
.mobile-menu .nav-button {
  width: 100%;
  text-align: start;
  padding: 12px 14px;
}

.page {
  min-height: calc(100vh - 76px);
}

.hero {
  padding: clamp(52px, 8vw, 104px) 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(34px, 7vw, 84px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--primary-strong);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.hero h1,
.page-heading h1,
.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.65rem, 6.4vw, 5.55rem);
}

.hero h1 span {
  color: var(--primary);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.91rem;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-row span::before {
  content: "✓";
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--success);
  font-weight: 900;
}

.hero-card {
  position: relative;
  min-height: 520px;
  display: grid;
  align-content: end;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 42px 42px 120px 42px;
  background: linear-gradient(155deg, var(--primary-soft), var(--surface) 56%, var(--sage-soft));
  box-shadow: var(--shadow);
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.hero-card::before {
  width: 340px;
  height: 340px;
  inset: -100px -80px auto auto;
  background: color-mix(in srgb, var(--primary) 16%, transparent);
}

.hero-card::after {
  width: 240px;
  height: 240px;
  inset: auto auto -110px -70px;
  background: color-mix(in srgb, var(--sage) 18%, transparent);
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.hero-note {
  position: absolute;
  z-index: 2;
  inset: 28px auto auto 28px;
  max-width: 230px;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.hero-note strong,
.hero-note span {
  display: block;
}

.hero-note span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.86rem;
}

.section {
  padding: 76px 0;
}

.section.soft {
  border-block: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  background: color-mix(in srgb, var(--bg-soft) 70%, transparent);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-heading.split {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.section-heading p,
.page-heading p {
  margin: 12px 0 0;
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.content-card,
.stat-card,
.booking-card,
.package-card,
.testimonial-card,
.media-card,
.settings-card,
.chat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.service-card {
  min-height: 220px;
  padding: 24px;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-size: 1.4rem;
}

.service-card:nth-child(2n) .service-icon {
  background: var(--sage-soft);
  color: var(--success);
}

.service-card h3,
.content-card h3,
.package-card h3,
.settings-card h3 {
  margin: 18px 0 8px;
  font-size: 1.08rem;
}

.service-card p,
.content-card p,
.settings-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.wcc-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.72fr);
  gap: 28px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.wcc-feature img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  border-radius: 24px;
}

.wcc-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
}

.wcc-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.08;
}

.wcc-copy p {
  color: var(--muted);
}

.page-heading {
  padding: 54px 0 30px;
}

.page-heading h1 {
  font-size: clamp(2.35rem, 5vw, 4.25rem);
}

.calendar-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 24px;
  align-items: start;
  padding-bottom: 80px;
}

.calendar-card {
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.calendar-header h2 {
  margin: 0;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
}

.calendar-controls {
  display: flex;
  gap: 8px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.weekday {
  padding: 7px 2px;
  color: var(--muted);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.calendar-day {
  position: relative;
  aspect-ratio: 1 / 0.92;
  min-height: 76px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: var(--text);
  text-align: start;
}

button.calendar-day:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.calendar-day.empty {
  visibility: hidden;
}

.calendar-day .day-number {
  font-weight: 850;
}

.calendar-day .day-slot {
  font-size: 0.72rem;
  font-weight: 800;
}

.calendar-day.slot-0 {
  border-color: color-mix(in srgb, var(--success) 28%, transparent);
  background: var(--sage-soft);
}

.calendar-day.slot-1 {
  border-color: color-mix(in srgb, var(--sun) 35%, transparent);
  background: var(--sun-soft);
}

.calendar-day.slot-2 {
  border-color: color-mix(in srgb, var(--danger) 38%, transparent);
  background: var(--danger-soft);
}

.calendar-day.past {
  border-color: var(--line);
  background: var(--bg-soft);
  color: var(--muted);
  opacity: 0.62;
}

.calendar-day.today::after {
  content: "Hari ini";
  position: absolute;
  inset: 6px 7px auto auto;
  color: var(--primary-strong);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.legend-card {
  position: sticky;
  top: 100px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.legend-card h3 {
  margin: 0 0 14px;
}

.legend-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legend-list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.legend-dot {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 50%;
}

.legend-dot.green { background: var(--sage); }
.legend-dot.yellow { background: var(--sun); }
.legend-dot.red { background: var(--danger); }

.legend-note {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.package-banner {
  overflow: hidden;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #000;
  box-shadow: var(--shadow);
}

.package-banner img {
  width: 100%;
  display: block;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-bottom: 80px;
}

.package-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.package-card.featured {
  border-color: color-mix(in srgb, var(--primary) 44%, var(--line));
  background: linear-gradient(160deg, var(--surface), var(--primary-soft));
}

.package-card h3 {
  margin-top: 0;
  font-size: 1.35rem;
}

.package-price {
  margin: 4px 0 16px;
  color: var(--primary-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  font-weight: 750;
}

.package-price small {
  color: var(--muted);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
}

.package-card ul {
  flex: 1;
  margin: 0 0 22px;
  padding-inline-start: 20px;
  color: var(--muted);
}

.portfolio-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.media-card {
  overflow: hidden;
}

.media-card img,
.media-card video {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  background: var(--bg-soft);
}

.media-card-copy {
  padding: 16px 18px 18px;
}

.media-card-copy h3 {
  margin: 0;
  font-size: 1rem;
}

.media-card-copy p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.testimonial-card {
  padding: 24px;
}

.stars {
  color: #d49b36;
  letter-spacing: 0.12em;
}

.testimonial-card blockquote {
  margin: 14px 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  line-height: 1.55;
}

.testimonial-card footer {
  color: var(--muted);
  font-size: 0.9rem;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 42px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.empty-state img {
  width: 210px;
  border-radius: 14px;
  background: #fff;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 34px;
  background: linear-gradient(135deg, var(--primary-soft), var(--sage-soft));
}

.cta-band h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.cta-band p {
  margin: 8px 0 0;
  color: var(--muted);
}

.site-footer {
  margin-top: 72px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 36px;
  padding: 44px 0;
}

.footer-grid h3 {
  margin: 0 0 10px;
}

.footer-grid p,
.footer-grid a {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-bottom {
  padding: 16px 0 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 20px;
  background: rgba(25, 18, 20, 0.62);
  backdrop-filter: blur(8px);
}

.modal-card {
  width: min(620px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
}

.modal-card.wide {
  width: min(900px, 100%);
}

.modal-header {
  position: sticky;
  z-index: 1;
  inset-block-start: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.modal-header h2 {
  margin: 0;
  font-size: 1.35rem;
}

.modal-header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.modal-close {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text);
  font-size: 1.3rem;
}

.modal-body {
  padding: 24px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 22px;
  padding: 5px;
  border-radius: 999px;
  background: var(--bg-soft);
}

.auth-tab {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 9px 10px;
  font-size: 0.88rem;
  font-weight: 750;
}

.auth-tab.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

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

.field {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 720;
}

.field.full {
  grid-column: 1 / -1;
}

.field small,
.form-note {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-2);
  color: var(--text);
  padding: 11px 13px;
  outline: 0;
}

.field textarea {
  min-height: 100px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 16%, transparent);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.input-with-action {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.error-box,
.info-box,
.success-box {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 13px;
  font-size: 0.9rem;
}

.error-box {
  background: var(--danger-soft);
  color: var(--danger);
}

.info-box {
  background: var(--primary-soft);
  color: var(--primary-strong);
}

.success-box {
  background: var(--sage-soft);
  color: var(--success);
}

.dashboard {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr);
  background: var(--bg);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 22px 16px;
  border-right: 1px solid var(--line);
  background: var(--surface);
}

.sidebar-nav {
  display: grid;
  gap: 5px;
  margin-top: 26px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--muted);
  padding: 11px 13px;
  text-align: start;
  font-weight: 680;
}

.sidebar-link:hover,
.sidebar-link.active {
  background: var(--primary-soft);
  color: var(--primary-strong);
}

.sidebar-footer {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.user-chip {
  padding: 12px;
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.84rem;
}

.user-chip strong {
  display: block;
  color: var(--text);
}

.dashboard-main {
  min-width: 0;
}

.dashboard-topbar {
  position: sticky;
  top: 0;
  z-index: 25;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px clamp(18px, 4vw, 38px);
  border-bottom: 1px solid var(--line);
  background: var(--header);
  backdrop-filter: blur(16px);
}

.notification-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--primary-strong);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.notification-button > span {
  font-size: 0.74rem;
}

.notification-button > strong {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  place-items: center;
  border: 2px solid var(--surface);
  border-radius: 999px;
  background: #b84343;
  color: #fff;
  font-size: 0.68rem;
  line-height: 1;
}

.notification-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.notification-toolbar p {
  margin: 6px 0 0;
  color: var(--muted);
}

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

.notification-card {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.notification-card.unread {
  border-color: rgba(184, 67, 67, 0.34);
  background: linear-gradient(135deg, var(--surface), rgba(247, 221, 224, 0.42));
}

.notification-card.read {
  opacity: 0.76;
}

.notification-dot {
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--line);
}

.notification-card.unread .notification-dot {
  background: #b84343;
  box-shadow: 0 0 0 5px rgba(184, 67, 67, 0.12);
}

.notification-copy p {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.notification-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.notification-title h3,
.notification-title time {
  margin: 0;
}

.notification-title time {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.78rem;
}

@media (max-width: 720px) {
  .notification-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .notification-card {
    grid-template-columns: 10px minmax(0, 1fr);
  }

  .notification-card > .text-button {
    grid-column: 2;
    justify-self: start;
  }

  .notification-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

.dashboard-topbar h1 {
  margin: 0;
  font-size: 1.18rem;
}

.dashboard-content {
  padding: clamp(24px, 4vw, 42px);
}

.dashboard-intro {
  margin-bottom: 26px;
}

.dashboard-intro h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.dashboard-intro p {
  margin: 8px 0 0;
  color: var(--muted);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  padding: 20px;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.84rem;
}

.stat-card strong {
  display: block;
  margin-top: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

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

.content-card,
.settings-card {
  padding: 22px;
}

.content-card > h3,
.settings-card > h3 {
  margin-top: 0;
}

.booking-list {
  display: grid;
  gap: 14px;
}

.booking-card {
  padding: 18px;
}

.booking-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.booking-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.booking-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.booking-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.meta-item {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg-soft);
}

.meta-item span,
.meta-item strong {
  display: block;
}

.meta-item span {
  color: var(--muted);
  font-size: 0.72rem;
}

.meta-item strong {
  margin-top: 2px;
  font-size: 0.86rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.72rem;
  font-weight: 820;
  white-space: nowrap;
}

.status-pending,
.status-verification {
  background: var(--sun-soft);
  color: var(--sun);
}

.status-confirmed,
.status-paid,
.status-completed {
  background: var(--sage-soft);
  color: var(--success);
}

.status-cancelled,
.status-unpaid {
  background: var(--danger-soft);
  color: var(--danger);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 920px;
}

.table th,
.table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: start;
  font-size: 0.86rem;
}

.table th {
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

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

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.link-map {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--primary-strong);
  font-weight: 760;
  text-decoration: none;
}

.link-map:hover {
  text-decoration: underline;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.filter-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  padding: 8px 13px;
  font-weight: 700;
}

.filter-chip.active {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary-strong);
}

.qris-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: 22px;
  align-items: start;
}

.qris-frame {
  width: min(100%, 420px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.qris-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qris-placeholder {
  color: #6f6262;
  text-align: center;
}

.qris-placeholder span {
  display: block;
  font-size: 3rem;
}

.upload-preview {
  width: min(260px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: #fff;
}

.upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.chat-launcher {
  position: fixed;
  z-index: 80;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  padding: 0 19px;
  font-weight: 800;
  box-shadow: 0 18px 40px color-mix(in srgb, var(--primary) 36%, transparent);
}

html[data-theme="dark"] .chat-launcher {
  color: #281c19;
}

.chat-launcher .unread-badge {
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  padding: 0 5px;
  font-size: 0.7rem;
}

.chat-panel {
  position: fixed;
  z-index: 90;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  width: min(390px, calc(100vw - 28px));
  height: min(620px, calc(100vh - 32px));
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, var(--primary-soft), var(--surface));
}

.chat-header h2 {
  margin: 0;
  font-size: 1rem;
}

.chat-header p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.77rem;
}

.chat-messages {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: var(--bg-soft);
}

.chat-empty {
  margin: auto;
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}

.message {
  max-width: 82%;
  align-self: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 16px 16px 16px 5px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.message.client {
  align-self: flex-end;
  border-color: transparent;
  border-radius: 16px 16px 5px 16px;
  background: var(--primary);
  color: #fff;
}

html[data-theme="dark"] .message.client {
  color: #281c19;
}

.message p {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.message time {
  display: block;
  margin-top: 4px;
  opacity: 0.7;
  font-size: 0.66rem;
}

.chat-start,
.chat-composer {
  padding: 14px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.chat-start .field + .field {
  margin-top: 10px;
}

.chat-composer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.chat-composer textarea {
  max-height: 110px;
  min-height: 44px;
  resize: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--text);
  padding: 10px 12px;
}

.chat-composer button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}

.admin-chat-layout {
  min-height: 570px;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.conversation-list {
  overflow-y: auto;
  border-right: 1px solid var(--line);
}

.conversation-item {
  width: 100%;
  display: grid;
  gap: 3px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  padding: 14px 16px;
  text-align: start;
}

.conversation-item:hover,
.conversation-item.active {
  background: var(--primary-soft);
}

.conversation-item span,
.conversation-item time {
  color: var(--muted);
  font-size: 0.77rem;
}

.admin-chat-thread {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.admin-thread-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.admin-thread-header h3,
.admin-thread-header p {
  margin: 0;
}

.admin-thread-header p {
  color: var(--muted);
  font-size: 0.82rem;
}

.admin-chat-thread .chat-messages {
  min-height: 360px;
}

.toast-stack {
  position: fixed;
  z-index: 150;
  inset: 92px 18px auto auto;
  width: min(380px, calc(100vw - 36px));
  display: grid;
  gap: 10px;
}

.toast {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  box-shadow: var(--shadow);
  animation: toast-in 180ms ease-out;
}

.toast.error {
  border-color: color-mix(in srgb, var(--danger) 45%, var(--line));
}

.toast.success {
  border-color: color-mix(in srgb, var(--success) 45%, var(--line));
}

.toast button {
  border: 0;
  background: transparent;
  color: var(--muted);
}

.server-banner {
  padding: 10px 16px;
  background: var(--danger-soft);
  color: var(--danger);
  text-align: center;
  font-size: 0.86rem;
}

@keyframes toast-in {
  from { transform: translateY(-8px); opacity: 0; }
}

@media (max-width: 1050px) {
  .desktop-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .menu-button {
    display: inline-grid;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 430px;
  }

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

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

@media (max-width: 840px) {
  .dashboard {
    display: block;
  }

  .sidebar {
    position: fixed;
    z-index: 60;
    inset: 0 auto 0 0;
    width: 280px;
    transform: translateX(-105%);
    transition: transform 180ms ease;
    box-shadow: var(--shadow);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .dashboard-grid,
  .qris-layout {
    grid-template-columns: 1fr;
  }

  .calendar-wrap {
    grid-template-columns: 1fr;
  }

  .legend-card {
    position: static;
  }

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

  .wcc-feature {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-chat-layout {
    grid-template-columns: 240px minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    min-height: 68px;
    gap: 8px;
  }

  .brand img {
    width: 132px;
    height: 46px;
  }

  .header-actions .login-label {
    display: none;
  }

  .header-actions .button {
    width: 42px;
    min-height: 42px;
    padding: 0;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-card {
    min-height: 340px;
    padding: 18px;
    border-radius: 28px 28px 76px 28px;
  }

  .hero-note {
    inset: 18px auto auto 18px;
    max-width: 200px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .card-grid,
  .package-grid,
  .portfolio-grid,
  .testimonial-grid,
  .form-grid,
  .stat-grid,
  .booking-meta,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

  .section-heading.split,
  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .wcc-feature {
    padding: 16px;
  }

  .wcc-feature img {
    min-height: 220px;
  }

  .calendar-card {
    padding: 12px;
  }

  .calendar-grid {
    gap: 4px;
  }

  .calendar-day {
    min-height: 58px;
    padding: 7px;
    border-radius: 11px;
  }

  .calendar-day .day-slot {
    font-size: 0.61rem;
  }

  .calendar-day.today::after {
    display: none;
  }

  .page-heading {
    padding-top: 38px;
  }

  .dashboard-content {
    padding: 20px 14px 42px;
  }

  .dashboard-topbar {
    padding-inline: 14px;
  }

  .modal-backdrop {
    align-items: end;
    padding: 0;
  }

  .modal-card,
  .modal-card.wide {
    width: 100%;
    max-height: 94vh;
    border-radius: 24px 24px 0 0;
  }

  .modal-header,
  .modal-body {
    padding-inline: 18px;
  }

  .auth-tabs {
    border-radius: 18px;
  }

  .auth-tab {
    border-radius: 14px;
    font-size: 0.78rem;
  }

  .admin-chat-layout {
    display: block;
    min-height: auto;
  }

  .conversation-list {
    max-height: 230px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .chat-launcher {
    min-width: 54px;
    padding-inline: 16px;
  }

  .chat-launcher .launcher-label {
    display: none;
  }

  .chat-panel {
    right: 8px;
    bottom: 8px;
    width: calc(100vw - 16px);
    height: min(680px, calc(100vh - 16px));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   UI refinement v1.5.0
   ========================================================= */

:root {
  --bg: #fbf7f3;
  --bg-soft: #f5ede8;
  --surface: #fffdfb;
  --surface-2: #f8f1ec;
  --surface-3: #edf3ee;
  --text: #302525;
  --muted: #746767;
  --line: #e8dcd5;
  --primary: #a2604d;
  --primary-strong: #793f32;
  --primary-soft: #f3dfd6;
  --sage: #6f8876;
  --sage-soft: #dfeae1;
  --sun: #a97020;
  --sun-soft: #fff0c9;
  --danger: #a44950;
  --danger-soft: #f7dfe1;
  --success: #3f7250;
  --shadow: 0 24px 70px rgba(78, 49, 43, 0.11);
  --shadow-sm: 0 10px 30px rgba(78, 49, 43, 0.075);
  --radius: 24px;
  --radius-sm: 15px;
  --header: rgba(251, 247, 243, 0.88);
}

html[data-theme="dark"] {
  --bg: #171313;
  --bg-soft: #201a1a;
  --surface: #251f1f;
  --surface-2: #2d2423;
  --surface-3: #253028;
  --text: #fff9f5;
  --muted: #c9b9b2;
  --line: #493b38;
  --primary: #dfa28e;
  --primary-strong: #ffd0c0;
  --primary-soft: #4b3531;
  --sage: #9fbea6;
  --sage-soft: #304136;
  --sun: #efc56d;
  --sun-soft: #504224;
  --danger: #f09da3;
  --danger-soft: #533034;
  --success: #9cd0a8;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.23);
  --header: rgba(23, 19, 19, 0.9);
}

body {
  background:
    radial-gradient(circle at 4% 3%, color-mix(in srgb, var(--primary-soft) 62%, transparent), transparent 31rem),
    radial-gradient(circle at 96% 20%, color-mix(in srgb, var(--sage-soft) 55%, transparent), transparent 32rem),
    linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 92%, var(--surface)) 100%);
  letter-spacing: -0.008em;
}

button,
a,
.service-card,
.stat-card,
.booking-card,
.media-card,
.testimonial-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.shell {
  width: min(1200px, calc(100% - 48px));
}

.site-header {
  border-bottom-color: color-mix(in srgb, var(--line) 68%, transparent);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22);
}

.header-inner {
  min-height: 82px;
  gap: 18px;
}

.brand img,
.brand-compact img {
  width: 128px;
  height: 52px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}

.desktop-nav {
  gap: 2px;
  padding: 4px;
  border: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  box-shadow: 0 8px 22px rgba(80, 52, 46, 0.045);
}

.nav-link,
.nav-button {
  padding: 9px 14px;
  font-size: 0.88rem;
  font-weight: 720;
}

.nav-link:hover,
.nav-button:hover,
.nav-link.active,
.nav-button.active {
  background: var(--surface-2);
  color: var(--primary-strong);
}

.header-actions {
  gap: 7px;
}

.header-actions .button {
  min-height: 42px;
}

.header-whatsapp {
  padding-inline: 14px;
}

.whatsapp-mark {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #2a9562;
  color: #fff;
  font-size: 0.68rem;
  line-height: 1;
}

.icon-button {
  box-shadow: 0 8px 20px rgba(80, 52, 46, 0.06);
}

.button {
  min-height: 46px;
  padding: 11px 19px;
  font-weight: 780;
}

.button.primary {
  background: linear-gradient(135deg, #ac6955, #8c4c3c);
  box-shadow: 0 12px 28px rgba(137, 73, 58, 0.24);
}

html[data-theme="dark"] .button.primary {
  background: linear-gradient(135deg, #f1b29d, #d48e78);
}

.button.secondary {
  background: color-mix(in srgb, var(--surface) 92%, transparent);
}

.button:hover,
.icon-button:hover {
  transform: translateY(-2px);
}

.hero {
  padding: clamp(64px, 7vw, 96px) 0 88px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.88fr);
  gap: clamp(42px, 6vw, 78px);
}

.hero-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 7px 11px;
  border: 1px solid color-mix(in srgb, var(--sage) 24%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--sage-soft) 52%, var(--surface));
  color: var(--success);
  font-size: 0.78rem;
  font-weight: 780;
}

.hero-kicker > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4c9a65;
  box-shadow: 0 0 0 5px color-mix(in srgb, #4c9a65 14%, transparent);
}

.eyebrow {
  margin-bottom: 16px;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
}

.hero h1,
.page-heading h1,
.section-heading h2,
.wcc-copy h2,
.cta-band h2,
.dashboard-intro h2 {
  font-family: Georgia, "Times New Roman", serif;
  text-wrap: balance;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(3.1rem, 5.7vw, 5rem);
  line-height: 0.99;
  letter-spacing: -0.048em;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 610px;
  margin-top: 26px;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.7;
}

.hero-actions {
  margin-top: 28px;
}

.trust-row {
  gap: 12px 20px;
  margin-top: 30px;
  font-size: 0.86rem;
}

.trust-row span::before {
  width: 20px;
  height: 20px;
  font-size: 0.72rem;
}

.hero-card {
  position: relative;
  min-height: 540px;
  align-content: normal;
  isolation: isolate;
  padding: 0;
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 40px 40px 108px 40px;
  background: #10141b;
  box-shadow: 0 34px 90px rgba(46, 31, 29, 0.25);
}

.hero-card::before {
  z-index: 1;
  width: 260px;
  height: 260px;
  inset: -90px -74px auto auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.hero-card::after {
  z-index: 1;
  width: 210px;
  height: 210px;
  inset: auto auto -100px -72px;
  background: rgba(208, 160, 118, 0.15);
}

.hero-cover {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-card-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 11, 18, 0.18), rgba(7, 11, 18, 0.16) 42%, rgba(7, 11, 18, 0.84)),
    linear-gradient(90deg, rgba(7, 11, 18, 0.42), transparent 66%);
}

.hero-note {
  z-index: 3;
  inset: 28px 28px auto 28px;
  max-width: 300px;
  padding: 18px 20px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(17, 20, 27, 0.6);
  color: #fff;
  box-shadow: none;
}

.hero-note span {
  margin: 0 0 7px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-note strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.3;
}

.hero-card-tags {
  position: absolute;
  z-index: 3;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-card-tags span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(12, 15, 21, 0.5);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
  font-weight: 720;
  backdrop-filter: blur(10px);
}

.section {
  padding: 88px 0;
}

.section.soft {
  border-block-color: color-mix(in srgb, var(--line) 62%, transparent);
  background: color-mix(in srgb, var(--bg-soft) 76%, transparent);
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading h2 {
  font-size: clamp(2.15rem, 3.8vw, 3.5rem);
  line-height: 1.04;
}

.card-grid {
  gap: 16px;
}

.service-card {
  position: relative;
  min-height: 252px;
  overflow: hidden;
  padding: 24px;
  border-color: color-mix(in srgb, var(--line) 88%, transparent);
  background: linear-gradient(155deg, var(--surface), color-mix(in srgb, var(--primary-soft) 22%, var(--surface)));
}

.service-card:nth-child(2n) {
  background: linear-gradient(155deg, var(--surface), color-mix(in srgb, var(--sage-soft) 32%, var(--surface)));
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--primary) 28%, var(--line));
  box-shadow: var(--shadow);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 17px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.service-number {
  color: color-mix(in srgb, var(--muted) 70%, transparent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.84rem;
  font-style: italic;
}

.service-card h3 {
  margin-top: 24px;
  font-size: 1.12rem;
}

.service-card p {
  max-width: 30ch;
  line-height: 1.65;
}

.service-arrow {
  position: absolute;
  right: 22px;
  bottom: 18px;
  color: var(--primary-strong);
  font-size: 1rem;
}

.wcc-feature {
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.72fr);
  gap: 34px;
  padding: 20px;
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.wcc-feature img {
  min-height: 350px;
  border-radius: 26px;
  object-position: center;
}

.wcc-copy {
  padding: 24px 24px 24px 4px;
}

.wcc-copy p:not(.eyebrow) {
  line-height: 1.7;
}

.media-card,
.testimonial-card {
  overflow: hidden;
}

.media-card:hover,
.testimonial-card:hover,
.booking-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.empty-state {
  min-height: 180px;
  padding: 28px;
  border-style: solid;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 90%, transparent), color-mix(in srgb, var(--primary-soft) 28%, var(--surface)));
  text-align: start;
}

.visual-empty,
.quote-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.empty-state h3,
.empty-state p {
  margin: 0;
}

.empty-state p {
  margin-top: 5px;
}

.empty-mark {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--primary) 32%, var(--line));
  border-radius: 24px;
  background: var(--surface);
  color: var(--primary-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 760;
  box-shadow: var(--shadow-sm);
}

.quote-empty > span {
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5rem;
  line-height: 0.7;
}

.visual-empty .button {
  margin-left: auto;
  white-space: nowrap;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 36px;
  background:
    radial-gradient(circle at 90% 0%, rgba(222, 170, 135, 0.28), transparent 17rem),
    linear-gradient(135deg, #342525, #171719);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.68);
}

.cta-band .button.primary {
  background: #fff;
  color: #61392f;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.site-footer {
  margin-top: 88px;
  border-top-color: color-mix(in srgb, var(--line) 70%, transparent);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
}

.footer-grid {
  gap: 48px;
  padding: 50px 0 42px;
}

.footer-grid .brand img {
  width: 148px;
  height: 60px;
}

.footer-links .text-button {
  justify-self: start;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links .text-button:hover {
  color: var(--primary-strong);
}

.calendar-card,
.legend-card {
  border-color: color-mix(in srgb, var(--line) 88%, transparent);
}

.calendar-day {
  border-width: 1px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.calendar-day.slot-0 {
  background: color-mix(in srgb, var(--sage-soft) 82%, var(--surface));
}

.calendar-day.slot-1 {
  background: color-mix(in srgb, var(--sun-soft) 84%, var(--surface));
}

.calendar-day.slot-2 {
  background: color-mix(in srgb, var(--danger-soft) 82%, var(--surface));
}

/* Dashboard admin & client */
.dashboard {
  grid-template-columns: 276px minmax(0, 1fr);
  background:
    radial-gradient(circle at 94% 2%, color-mix(in srgb, var(--sage-soft) 50%, transparent), transparent 30rem),
    var(--bg);
}

.sidebar {
  padding: 24px 18px;
  border-right-color: color-mix(in srgb, var(--line) 82%, transparent);
  background: color-mix(in srgb, var(--surface) 95%, var(--bg));
  box-shadow: 16px 0 46px rgba(73, 47, 42, 0.035);
}

.sidebar > .brand {
  width: 100%;
  justify-content: center;
  padding: 4px 8px 18px;
  border-bottom: 1px solid var(--line);
}

.sidebar > .brand img {
  width: 164px;
  height: 68px;
}

.sidebar-nav {
  gap: 6px;
  margin-top: 22px;
}

.sidebar-link {
  min-height: 48px;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 15px;
  padding: 9px 11px;
}

.sidebar-link > span:first-child {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--bg-soft);
  font-size: 0.8rem;
}

.sidebar-link:hover,
.sidebar-link.active {
  border-color: color-mix(in srgb, var(--primary) 22%, var(--line));
  background: linear-gradient(135deg, var(--primary-soft), color-mix(in srgb, var(--surface) 76%, var(--primary-soft)));
  box-shadow: 0 8px 20px rgba(80, 52, 46, 0.05);
}

.sidebar-link.active > span:first-child {
  background: var(--primary);
  color: #fff;
}

.user-chip {
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.dashboard-main {
  width: 100%;
  min-width: 0;
}

.dashboard-topbar {
  min-height: 78px;
  justify-content: flex-start;
  border-bottom-color: color-mix(in srgb, var(--line) 72%, transparent);
  box-shadow: 0 8px 30px rgba(75, 47, 42, 0.035);
}

.dashboard-topbar h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.dashboard-content {
  width: min(100%, 1460px);
  margin-inline: auto;
  padding: clamp(28px, 4vw, 48px);
}

.dashboard-intro {
  max-width: 820px;
  margin-bottom: 30px;
}

.dashboard-intro h2 {
  font-size: clamp(2.1rem, 3.7vw, 3.25rem);
  line-height: 1.04;
}

.dashboard-intro p {
  max-width: 720px;
  line-height: 1.65;
}

.stat-grid {
  gap: 14px;
  margin-bottom: 22px;
}

.stat-card {
  position: relative;
  min-height: 132px;
  overflow: hidden;
  padding: 22px;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--primary);
}

.stat-card:nth-child(2)::before { background: var(--sage); }
.stat-card:nth-child(3)::before { background: var(--sun); }
.stat-card:nth-child(4)::before { background: #8b708d; }

.stat-card span {
  font-size: 0.8rem;
  font-weight: 700;
}

.stat-card strong {
  margin-top: 10px;
  font-size: 2.35rem;
}

.dashboard-grid {
  gap: 20px;
}

.content-card,
.settings-card {
  padding: clamp(20px, 2.5vw, 28px);
}

.content-card > h3,
.settings-card > h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.booking-card {
  border-color: color-mix(in srgb, var(--line) 90%, transparent);
}

.meta-item {
  border: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  background: var(--surface-2);
}

.table-wrap {
  border-radius: 22px;
}

.table th {
  padding-block: 15px;
  background: var(--surface-2);
}

.table tbody tr:hover {
  background: color-mix(in srgb, var(--primary-soft) 25%, transparent);
}

.filter-chip {
  min-height: 40px;
  padding-inline: 15px;
}

.notification-card {
  padding: 20px;
  border-radius: 20px;
}

.modal-card {
  border-color: color-mix(in srgb, var(--line) 86%, transparent);
  box-shadow: 0 34px 110px rgba(18, 11, 11, 0.38);
}

.field input,
.field select,
.field textarea,
.table-actions select {
  border-color: color-mix(in srgb, var(--line) 90%, transparent);
  background: var(--surface-2);
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.table-actions select:focus {
  border-color: var(--primary);
  outline: 3px solid color-mix(in srgb, var(--primary) 12%, transparent);
}

.chat-launcher {
  min-height: 52px;
  background: linear-gradient(135deg, #aa6552, #874638);
  box-shadow: 0 18px 42px rgba(119, 60, 48, 0.3);
}

.chat-panel {
  border-radius: 28px;
}

@media (max-width: 1050px) {
  .header-wa-label {
    display: none;
  }

  .header-whatsapp {
    width: 42px;
    padding: 0;
  }

  .hero-grid {
    max-width: 760px;
    margin-inline: auto;
  }

  .hero-card {
    min-height: 470px;
  }
}

@media (max-width: 840px) {
  .wcc-feature {
    gap: 8px;
  }

  .wcc-copy {
    padding: 26px 12px 16px;
  }

  .dashboard {
    display: block;
  }

  .sidebar {
    width: 288px;
    box-shadow: 24px 0 70px rgba(18, 11, 11, 0.24);
  }

  .dashboard-main {
    min-height: 100vh;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 30px, 1200px);
  }

  .header-inner {
    min-height: 66px;
    gap: 5px;
  }

  .brand img {
    width: 100px;
    height: 40px;
  }

  .header-actions {
    gap: 5px;
  }

  .header-actions .icon-button,
  .header-actions .button,
  .header-whatsapp {
    width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
  }

  .whatsapp-mark {
    width: 19px;
    height: 19px;
  }

  .mobile-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 14px;
    left: 14px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .mobile-menu .nav-button {
    min-height: 44px;
    border-radius: 13px;
  }

  .hero {
    padding: 36px 0 54px;
  }

  .hero-kicker {
    margin-bottom: 16px;
    font-size: 0.72rem;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 12.5vw, 3.45rem);
    line-height: 1;
  }

  .hero-copy > p:not(.eyebrow) {
    margin-top: 20px;
    font-size: 0.97rem;
    line-height: 1.65;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
    padding-inline: 12px;
    font-size: 0.86rem;
  }

  .trust-row {
    display: grid;
    gap: 9px;
    margin-top: 24px;
  }

  .hero-card {
    min-height: 330px;
    border-radius: 28px 28px 72px 28px;
  }

  .hero-note {
    inset: 18px 18px auto;
    max-width: 250px;
    padding: 14px 15px;
  }

  .hero-note strong {
    font-size: 1.05rem;
  }

  .hero-card-tags {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .hero-card-tags span {
    padding: 6px 9px;
    font-size: 0.66rem;
  }

  .section {
    padding: 56px 0;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-heading h2 {
    font-size: clamp(2rem, 9vw, 2.65rem);
  }

  .section-heading.split {
    gap: 16px;
  }

  .section-heading.split > .button,
  .section-heading.split > .text-button {
    width: auto;
  }

  .service-card {
    min-height: 205px;
    padding: 21px;
  }

  .service-card h3 {
    margin-top: 18px;
  }

  .wcc-feature {
    padding: 12px;
    border-radius: 26px;
  }

  .wcc-feature img {
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-radius: 19px;
  }

  .wcc-copy {
    padding: 22px 8px 12px;
  }

  .wcc-copy .hero-actions {
    display: block;
  }

  .visual-empty,
  .quote-empty {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
  }

  .visual-empty .button {
    width: 100%;
    margin-left: 0;
  }

  .empty-mark {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
    border-radius: 20px;
  }

  .quote-empty > span {
    height: 42px;
  }

  .cta-band {
    padding: 30px 24px;
    border-radius: 27px;
  }

  .cta-band .button {
    width: 100%;
  }

  .site-footer {
    margin-top: 62px;
  }

  .footer-grid {
    gap: 28px;
    padding-block: 38px 30px;
  }

  .calendar-wrap {
    gap: 16px;
  }

  .calendar-header {
    align-items: flex-start;
  }

  .calendar-controls .icon-button {
    width: 36px;
    height: 36px;
  }

  .calendar-day {
    min-height: 60px;
  }

  .dashboard-topbar {
    min-height: 66px;
    gap: 8px;
    padding-inline: 14px;
  }

  .dashboard-topbar h1 {
    overflow: hidden;
    font-size: 1.05rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dashboard-topbar .icon-button,
  .dashboard-topbar .notification-button {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }

  .dashboard-content {
    padding: 24px 14px 48px;
  }

  .dashboard-intro {
    margin-bottom: 22px;
  }

  .dashboard-intro h2 {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .stat-card {
    min-height: 112px;
    padding: 17px;
  }

  .stat-card strong {
    font-size: 1.95rem;
  }

  .content-card,
  .settings-card,
  .booking-card {
    padding: 18px;
  }

  .booking-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .notification-card {
    padding: 16px;
  }

  .chat-launcher {
    width: 50px;
    min-width: 50px;
    height: 50px;
    min-height: 50px;
    padding: 0;
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .shell {
    width: min(100% - 24px, 1200px);
  }

  .brand img {
    width: 88px;
  }

  .header-actions .icon-button,
  .header-actions .button,
  .header-whatsapp {
    width: 36px;
    height: 36px;
    min-height: 36px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Mobile Chrome stability & brand update v1.5.1
   ========================================================= */

html {
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body,
.page,
.hero,
.section,
.dashboard,
.dashboard-main {
  max-width: 100%;
  overflow-x: hidden;
}

.hero-grid,
.hero-copy,
.hero-copy > *,
.wcc-feature,
.wcc-copy,
.section-heading,
.section-heading > * {
  min-width: 0;
}

.hero h1,
.section-heading h2,
.wcc-copy h2,
.page-heading h1 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.brand {
  overflow: hidden;
}

.brand img,
.brand-compact img {
  width: 138px;
  height: 58px;
  object-fit: cover;
  object-position: center;
  background: #fbf8f5;
}

html[data-theme="dark"] .brand img,
html[data-theme="dark"] .brand-compact img {
  background: #fbf8f5;
}

.hero-card {
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 112px 36px 92px;
  background:
    radial-gradient(circle at 88% 8%, color-mix(in srgb, var(--sage-soft) 68%, transparent), transparent 18rem),
    linear-gradient(145deg, var(--surface), color-mix(in srgb, var(--primary-soft) 52%, var(--surface)));
}

.hero-cover {
  position: relative;
  z-index: 2;
  inset: auto;
  width: min(100%, 560px);
  height: auto;
  max-height: 320px;
  object-fit: contain;
  object-position: center;
  border: 1px solid color-mix(in srgb, var(--line) 86%, transparent);
  border-radius: 24px;
  background: #fbf8f5;
  box-shadow: var(--shadow-sm);
}

.hero-card-overlay {
  display: none;
}

.hero-note {
  inset: 26px 26px auto;
  max-width: 310px;
  border-color: color-mix(in srgb, var(--line) 84%, transparent);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.hero-note span {
  color: var(--muted);
}

.hero-card-tags {
  right: 26px;
  bottom: 26px;
  left: 26px;
}

.hero-card-tags span {
  border-color: color-mix(in srgb, var(--primary) 24%, var(--line));
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  color: var(--primary-strong);
}

.wcc-feature img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  background: #f8f6f2;
}

.wcc-copy h2 {
  max-width: 16ch;
  font-size: clamp(1.9rem, 3.2vw, 3.15rem);
  line-height: 1.04;
}

.package-banner {
  background: #f8f6f2;
}

.package-banner img {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  object-position: center;
  background: #f8f6f2;
}

@media (max-width: 1050px) {
  .hero-grid {
    width: 100%;
    max-width: none;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .hero-copy {
    width: 100%;
    max-width: none;
  }

  .hero h1 {
    width: 100%;
    max-width: 15ch;
    font-size: clamp(2.8rem, 6.6vw, 4.3rem);
    line-height: 1;
  }

  .hero-copy > p:not(.eyebrow) {
    max-width: 720px;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .hero-actions .button {
    width: auto;
    min-width: 150px;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .hero-card {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 10;
    padding: 100px 28px 82px;
  }

  .wcc-feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .wcc-feature img {
    max-height: 360px;
    aspect-ratio: 16 / 7;
  }

  .wcc-copy {
    width: 100%;
    padding: 28px 16px 18px;
  }

  .wcc-copy h2 {
    max-width: 18ch;
    font-size: clamp(2rem, 5.2vw, 3.25rem);
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 28px, 1200px);
  }

  .brand img,
  .brand-compact img {
    width: 108px;
    height: 46px;
  }

  .hero {
    padding: 36px 0 54px;
  }

  .hero h1 {
    max-width: 13.5ch;
    font-size: clamp(2.45rem, 10.5vw, 3.35rem);
  }

  .hero-actions {
    display: flex;
    gap: 9px;
  }

  .hero-actions .button {
    width: auto;
    min-width: 0;
    flex: 1 1 145px;
    padding-inline: 12px;
    white-space: normal;
  }

  .hero-card {
    aspect-ratio: auto;
    padding: 90px 18px 76px;
    border-radius: 28px 28px 72px 28px;
  }

  .hero-cover {
    width: 100%;
    max-height: none;
    border-radius: 18px;
  }

  .hero-note {
    inset: 16px 16px auto;
    max-width: calc(100% - 32px);
    padding: 13px 15px;
  }

  .hero-note strong {
    font-size: 1rem;
  }

  .hero-card-tags {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .trust-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .wcc-feature {
    padding: 12px;
  }

  .wcc-feature img {
    max-height: none;
    aspect-ratio: 16 / 8;
    border-radius: 19px;
  }

  .wcc-copy {
    padding: 22px 8px 12px;
  }

  .wcc-copy h2 {
    max-width: none;
    font-size: clamp(2rem, 8.6vw, 2.7rem);
  }

  .wcc-copy .hero-actions {
    display: block;
  }

  .wcc-copy .hero-actions .button {
    width: 100%;
  }

  .package-banner img {
    aspect-ratio: 16 / 8;
  }
}

@media (max-width: 400px) {
  .header-inner {
    gap: 4px;
  }

  .brand img,
  .brand-compact img {
    width: 92px;
    height: 42px;
  }

  .header-actions {
    gap: 4px;
  }

  .header-actions .icon-button,
  .header-actions .button,
  .header-whatsapp {
    width: 35px;
    height: 35px;
    min-height: 35px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11.7vw, 3rem);
  }

  .hero-actions .button {
    flex-basis: 100%;
  }

  .hero-note strong br {
    display: none;
  }
}

/* =========================================================
   Transparent hero logo beside the headline v1.5.2
   ========================================================= */

.hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
}

.hero-logo-card {
  width: 100%;
  min-height: 0;
  aspect-ratio: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-logo-card::before,
.hero-logo-card::after {
  display: none;
}

.hero-logo-card .hero-cover {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: 540px;
  height: auto;
  max-height: none;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 18px 28px rgba(111, 65, 53, 0.14));
}

html[data-theme="dark"] .hero-logo-card,
html[data-theme="dark"] .hero-logo-card .hero-cover {
  background: transparent;
}

@media (min-width: 721px) and (max-width: 1050px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.68fr);
    gap: 28px;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(2.65rem, 5vw, 3.65rem);
  }

  .hero-copy > p:not(.eyebrow) {
    max-width: 620px;
  }

  .hero-logo-card {
    width: 100%;
    aspect-ratio: auto;
    padding: 0;
  }

  .hero-logo-card .hero-cover {
    width: 100%;
    max-width: 420px;
  }
}

@media (max-width: 720px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .hero-logo-card {
    width: min(100%, 480px);
    margin-inline: auto;
    padding: 4px 18px 0;
  }

  .hero-logo-card .hero-cover {
    width: min(100%, 420px);
  }
}

/* =========================================================
   Samaya Moment packages & official price list v1.5.2
   ========================================================= */

.samaya-page {
  padding-bottom: 84px;
}

.samaya-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(30px, 6vw, 76px);
  padding: clamp(38px, 6vw, 72px) 0 clamp(46px, 7vw, 88px);
}

.samaya-brand-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  background: #262626;
  box-shadow: 0 24px 70px rgba(19, 14, 13, 0.18);
}

.samaya-brand-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  object-position: center;
}

.samaya-intro .page-heading {
  padding: 0;
}

.samaya-intro .page-heading h1 {
  max-width: 10ch;
  margin-bottom: 20px;
}

.samaya-intro .page-heading > p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.75;
}

.samaya-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.samaya-meta span,
.package-kind {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 6px 11px;
  border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary-soft) 72%, var(--surface));
  color: var(--primary-strong);
  font-size: 0.72rem;
  font-weight: 800;
}

.samaya-packages {
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 38px;
  background:
    radial-gradient(circle at 92% 8%, color-mix(in srgb, var(--sage-soft) 70%, transparent), transparent 22rem),
    var(--bg-soft);
}

.samaya-section-heading {
  align-items: end;
}

.samaya-section-heading h2 {
  max-width: 14ch;
}

.samaya-section-heading > p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.samaya-packages .package-grid {
  gap: 18px;
  padding-bottom: 0;
}

.samaya-packages .package-card {
  min-width: 0;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 25px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.samaya-packages .package-card.featured {
  border-color: color-mix(in srgb, var(--primary) 44%, var(--line));
  background: linear-gradient(155deg, var(--surface), color-mix(in srgb, var(--primary-soft) 74%, var(--surface)));
}

.package-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.package-number {
  color: color-mix(in srgb, var(--primary) 55%, var(--muted));
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 800;
}

.samaya-packages .package-card h3 {
  margin: 24px 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.6vw, 2rem);
}

.samaya-packages .package-price {
  margin-bottom: 24px;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
}

.samaya-packages .package-card ul {
  display: grid;
  gap: 11px;
  margin-bottom: 26px;
  padding: 0;
  list-style: none;
}

.samaya-packages .package-card li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  line-height: 1.5;
}

.samaya-packages .package-card li > span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--success);
  font-size: 0.68rem;
  font-weight: 900;
}

.samaya-packages .package-card .button {
  width: 100%;
  margin-top: auto;
}

.price-sheet-section {
  margin-top: clamp(44px, 7vw, 78px);
  padding: clamp(20px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.price-sheet-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 4px 4px 24px;
}

.price-sheet-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
}

.price-sheet-heading p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
}

.price-sheet-image {
  overflow: hidden;
  display: block;
  border-radius: 24px;
  background: #050505;
}

.price-sheet-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 220ms ease;
}

.price-sheet-image:hover img {
  transform: scale(1.012);
}

.samaya-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(34px, 6vw, 62px);
  padding: clamp(28px, 5vw, 50px);
  border-radius: 32px;
  background: linear-gradient(135deg, #272322, #3b302d);
  color: #fff;
}

.samaya-cta h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
}

.samaya-cta p:not(.eyebrow) {
  max-width: 650px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.samaya-cta .eyebrow {
  color: #e8cfc6;
}

.samaya-cta .button.primary {
  flex: 0 0 auto;
  border-color: #fff;
  background: #fff;
  color: #2f2826;
}

@media (max-width: 900px) {
  .samaya-intro {
    grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
    gap: 32px;
  }

  .samaya-packages {
    padding: 30px;
  }

  .samaya-packages .package-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .samaya-page {
    padding-bottom: 58px;
  }

  .samaya-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding: 28px 0 50px;
  }

  .samaya-brand-card {
    width: min(100%, 390px);
    margin-inline: auto;
    border-radius: 26px;
  }

  .samaya-intro .page-heading h1 {
    max-width: none;
    font-size: clamp(2.55rem, 13vw, 3.65rem);
  }

  .samaya-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .samaya-meta span {
    justify-content: center;
  }

  .samaya-packages {
    margin-inline: -2px;
    padding: 26px 15px 16px;
    border-radius: 28px;
  }

  .samaya-section-heading {
    align-items: flex-start;
  }

  .samaya-section-heading h2 {
    max-width: none;
  }

  .package-card-top {
    align-items: flex-start;
  }

  .package-kind {
    min-height: 28px;
    font-size: 0.65rem;
  }

  .price-sheet-section {
    padding: 14px;
    border-radius: 26px;
  }

  .price-sheet-heading,
  .samaya-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .price-sheet-heading {
    padding: 8px 4px 18px;
  }

  .price-sheet-heading .button,
  .samaya-cta .button {
    width: 100%;
  }

  .price-sheet-image {
    border-radius: 18px;
  }

  .samaya-cta {
    padding: 28px 22px;
    border-radius: 26px;
  }
}

/* =========================================================
   Transparent brand, PDF price list & APK download v1.5.3
   ========================================================= */

.brand {
  overflow: visible;
}

.brand img,
.brand-compact img,
html[data-theme="dark"] .brand img,
html[data-theme="dark"] .brand-compact img {
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.site-header .brand img {
  width: 118px;
  height: 66px;
}

.footer-grid .brand img {
  width: 164px;
  height: 108px;
}

.sidebar > .brand img {
  width: 156px;
  height: 104px;
}

.app-loading img {
  width: min(330px, 72vw);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.header-apk {
  gap: 7px;
  white-space: nowrap;
}

.mobile-download-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
}

.app-download-section {
  position: relative;
  z-index: 2;
  margin-top: -42px;
  padding-bottom: 38px;
}

.app-download-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 3vw, 34px);
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid color-mix(in srgb, var(--primary) 18%, var(--line));
  border-radius: 28px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: 0 22px 62px rgba(93, 58, 50, 0.13);
  backdrop-filter: blur(18px);
}

.app-download-card > img {
  width: 86px;
  height: 86px;
  display: block;
  object-fit: cover;
  border-radius: 23px;
  box-shadow: var(--shadow-sm);
}

.app-download-copy {
  min-width: 0;
}

.app-download-copy .eyebrow {
  margin-bottom: 7px;
}

.app-download-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.app-download-copy > p:not(.eyebrow) {
  max-width: 700px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.app-download-card > .button {
  flex: 0 0 auto;
  gap: 8px;
  white-space: nowrap;
}

.price-sheet-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.price-sheet-actions .button {
  min-width: 132px;
}

@media (max-width: 1050px) {
  .header-apk {
    width: 42px;
    padding: 0;
  }

  .header-apk-label {
    display: none;
  }

  .app-download-card {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .app-download-card > img {
    width: 76px;
    height: 76px;
    border-radius: 20px;
  }

  .app-download-card > .button {
    grid-column: 2;
    width: fit-content;
  }

  .app-download-card > .apk-unavailable {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .site-header .brand img {
    width: 100px;
    height: 54px;
  }

  .app-download-section {
    margin-top: -24px;
    padding-bottom: 20px;
  }

  .app-download-card {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
    border-radius: 24px;
  }

  .app-download-card > img {
    width: 64px;
    height: 64px;
    border-radius: 17px;
  }

  .app-download-copy h2 {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .app-download-copy > p:not(.eyebrow) {
    font-size: 0.86rem;
  }

  .app-download-card > .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .app-download-card > .apk-unavailable {
    grid-column: 1 / -1;
    max-width: none;
  }

  .price-sheet-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .price-sheet-actions .button {
    width: 100%;
    min-width: 0;
    padding-inline: 10px;
  }

  .footer-grid .brand img {
    width: 146px;
    height: 96px;
  }
}

@media (max-width: 400px) {
  .site-header .brand img {
    width: 92px;
    height: 50px;
  }

  .header-apk {
    display: none;
  }

  .price-sheet-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =========================================================
   Invoices, external APK link & partner management v1.5.4
   ========================================================= */

.sidebar {
  overflow-y: auto;
}

.apk-unavailable {
  max-width: 220px;
  padding: 10px 14px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 750;
}

.partner-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, color-mix(in srgb, var(--primary-soft) 72%, transparent), transparent 25rem),
    color-mix(in srgb, var(--surface) 78%, transparent);
}

.partner-heading {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.partner-heading h2 {
  max-width: none;
}

.partner-heading > p:not(.eyebrow) {
  color: var(--muted);
}

.partner-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.partner-logo-card {
  min-width: 0;
  min-height: 150px;
  display: grid;
  grid-template-rows: 88px auto;
  place-items: center;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  color: var(--text);
  text-align: center;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

a.partner-logo-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--primary) 38%, var(--line));
  box-shadow: var(--shadow);
}

.partner-logo-card img {
  width: min(100%, 150px);
  height: 88px;
  display: block;
  object-fit: contain;
}

.partner-logo-card span {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 780;
}

.partner-upload-preview {
  min-height: 150px;
  display: grid;
  place-items: center;
  margin-top: 20px;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 20px;
  background: var(--bg-soft);
  color: var(--muted);
  text-align: center;
}

.partner-upload-preview img {
  width: min(240px, 100%);
  height: 110px;
  object-fit: contain;
}

.admin-partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-partner-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.admin-partner-logo {
  height: 86px;
  display: grid;
  place-items: center;
  padding: 10px;
  border-radius: 16px;
  background: var(--bg-soft);
}

.admin-partner-logo img {
  width: 100%;
  height: 66px;
  object-fit: contain;
}

.admin-partner-card h3,
.admin-partner-card p {
  margin: 0;
}

.admin-partner-card p,
.admin-partner-card a {
  color: var(--muted);
  font-size: 0.82rem;
}

.invoice-builder-card {
  margin-bottom: 42px;
}

.invoice-list-heading {
  margin-top: 18px;
}

.invoice-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.invoice-summary-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.invoice-summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.invoice-summary-head h3 {
  margin: 7px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  overflow-wrap: anywhere;
}

.document-badge {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.invoice-summary-meta > div {
  min-width: 0;
  padding: 12px;
  border-radius: 14px;
  background: var(--bg-soft);
}

.invoice-summary-meta dt {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 760;
  text-transform: uppercase;
}

.invoice-summary-meta dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  font-size: 0.86rem;
  font-weight: 760;
}

.invoice-status-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.invoice-status-form .field {
  font-size: 0.75rem;
}

.invoice-modal {
  width: min(980px, 100%);
}

.invoice-modal-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 18px;
}

.invoice-document {
  width: 100%;
  overflow: hidden;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid #e6ddd9;
  border-radius: 24px;
  background: #fff;
  color: #271f1d;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  box-shadow: 0 20px 50px rgba(46, 31, 27, 0.08);
}

.invoice-document-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 26px;
  border-bottom: 2px solid #9b6656;
}

.invoice-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.invoice-brand img {
  width: 88px;
  height: 70px;
  object-fit: contain;
}

.invoice-brand div {
  display: grid;
}

.invoice-brand strong {
  font-size: 1rem;
}

.invoice-brand span,
.invoice-title p,
.invoice-document-info span,
.invoice-event-box span,
.invoice-payment-note span {
  color: #7f716d;
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.invoice-title {
  text-align: right;
}

.invoice-title p,
.invoice-title h2 {
  margin: 0;
}

.invoice-title h2 {
  color: #75493e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1;
}

.invoice-title > strong {
  display: block;
  margin-top: 8px;
  overflow-wrap: anywhere;
  font-size: 0.82rem;
}

.invoice-document-info {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
  gap: 40px;
  padding: 30px 0;
}

.invoice-document-info p {
  margin: 4px 0 0;
  color: #665a57;
}

.invoice-document-info > div > strong {
  display: block;
  margin-top: 7px;
  font-size: 1.15rem;
}

.invoice-document-info dl,
.invoice-total-wrap dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.invoice-document-info dl > div,
.invoice-total-wrap dl > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.invoice-document-info dt,
.invoice-total-wrap dt {
  color: #746663;
}

.invoice-document-info dd,
.invoice-total-wrap dd {
  margin: 0;
  text-align: right;
  font-weight: 760;
}

.invoice-event-box {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 16px;
  background: #faf4f1;
}

.invoice-event-box > div {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.invoice-event-box strong {
  overflow-wrap: anywhere;
  font-size: 0.86rem;
}

.invoice-line-table {
  width: 100%;
  border-collapse: collapse;
}

.invoice-line-table th,
.invoice-line-table td {
  padding: 14px;
  border-bottom: 1px solid #e8ded9;
  text-align: left;
}

.invoice-line-table th {
  background: #342b29;
  color: #fff;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.invoice-line-table th:last-child,
.invoice-line-table td:last-child {
  text-align: right;
}

.invoice-total-wrap {
  width: min(390px, 100%);
  margin: 22px 0 28px auto;
}

.invoice-total-wrap dl > div {
  padding: 4px 0;
}

.invoice-grand-total {
  margin-top: 8px;
  padding-top: 13px !important;
  border-top: 2px solid #9b6656;
  color: #75493e;
  font-size: 1.15rem;
  font-weight: 850;
}

.invoice-payment-note {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
  gap: 24px;
  padding: 20px;
  border: 1px solid #eadfda;
  border-radius: 16px;
  background: #fffaf7;
}

.invoice-payment-note > div {
  display: grid;
  align-content: start;
  gap: 6px;
}

.invoice-payment-note p {
  margin: 0;
  white-space: pre-line;
}

.invoice-document-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: end;
  gap: 28px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid #e8ded9;
}

.invoice-document-footer > p {
  margin: 0;
  color: #7f716d;
  font-size: 0.75rem;
}

.invoice-signature {
  display: grid;
  gap: 42px;
  text-align: center;
  font-size: 0.8rem;
}

.invoice-signature strong {
  padding-top: 7px;
  border-top: 1px solid #8a7b76;
}

@media (max-width: 900px) {
  .admin-partner-grid,
  .invoice-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .partner-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .partner-logo-card {
    min-height: 130px;
    grid-template-rows: 72px auto;
    padding: 14px;
    border-radius: 18px;
  }

  .partner-logo-card img {
    height: 72px;
  }

  .admin-partner-card {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .admin-partner-card > .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .invoice-summary-meta,
  .invoice-status-form,
  .invoice-document-info,
  .invoice-payment-note,
  .invoice-document-footer {
    grid-template-columns: minmax(0, 1fr);
  }

  .invoice-document {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .invoice-document-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .invoice-title {
    width: 100%;
    text-align: left;
  }

  .invoice-event-box {
    grid-template-columns: minmax(0, 1fr);
  }

  .invoice-modal-tools,
  .invoice-modal-tools .button,
  .invoice-modal-tools a {
    width: 100%;
  }

  .invoice-signature {
    width: 220px;
    margin-left: auto;
  }
}

@media print {
  @page {
    size: A4;
    margin: 10mm;
  }

  body.printing-invoice {
    min-width: 0;
    background: #fff !important;
  }

  body.printing-invoice * {
    visibility: hidden !important;
  }

  body.printing-invoice .invoice-document,
  body.printing-invoice .invoice-document * {
    visibility: visible !important;
  }

  body.printing-invoice .invoice-document {
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: 0;
    overflow: visible;
    padding: 8mm;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  body.printing-invoice .invoice-document-header,
  body.printing-invoice .invoice-document-info,
  body.printing-invoice .invoice-event-box,
  body.printing-invoice .invoice-line-table,
  body.printing-invoice .invoice-total-wrap,
  body.printing-invoice .invoice-payment-note,
  body.printing-invoice .invoice-document-footer {
    break-inside: avoid;
  }
}

/* =========================================================
   About, Partner MC, three-role dashboard & iOS v1.5.5
   ========================================================= */

.about-page,
.mc-partner-page {
  padding-top: clamp(44px, 7vw, 92px);
  padding-bottom: clamp(64px, 9vw, 118px);
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(34px, 7vw, 88px);
}

.about-portrait-wrap {
  position: relative;
  min-height: 520px;
  isolation: isolate;
}

.about-portrait-wrap > img {
  position: absolute;
  z-index: 2;
  inset: 0 18px 24px 0;
  width: calc(100% - 18px);
  height: calc(100% - 24px);
  object-fit: cover;
  object-position: center top;
  border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--line));
  border-radius: 46% 46% 28px 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.about-portrait-accent {
  position: absolute;
  z-index: 1;
  inset: 38px 0 0 42px;
  border-radius: 46% 46% 28px 28px;
  background: var(--primary-soft);
}

.about-portrait-label {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  min-width: 220px;
  display: grid;
  gap: 2px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.about-portrait-label span,
.mc-role-label {
  color: var(--primary-strong);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-portrait-label strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
}

.about-hero-copy h1,
.mc-partner-hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 5.5vw, 5rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.about-lead,
.mc-partner-hero > div > p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.8;
}

.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 22px;
  margin-top: clamp(70px, 10vw, 128px);
}

.about-story-card,
.about-highlight-card,
.about-values article,
.mc-standard-card,
.mc-profile-card,
.mc-registration-form,
.mc-join-intro,
.partner-application-banner,
.admin-mc-card,
.partner-review-stats > div {
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  box-shadow: var(--shadow-sm);
}

.about-story-card,
.about-highlight-card {
  padding: clamp(28px, 4vw, 50px);
  border-radius: 28px;
}

.about-story-card h2,
.about-cta h2,
.mc-join-intro h2,
.mc-directory-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
}

.about-biography {
  margin-top: 24px;
}

.about-biography p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.85;
}

.about-highlight-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  background: var(--primary-strong);
  color: #fff;
}

html[data-theme="dark"] .about-highlight-card {
  color: #281d1a;
}

.about-highlight-card blockquote {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.7vw, 2.2rem);
  line-height: 1.35;
}

.about-highlight-list > span {
  display: block;
  margin-bottom: 12px;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.74;
}

.about-highlight-list ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-highlight-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.about-values article {
  padding: 26px;
  border-radius: 22px;
}

.about-values article > span {
  color: var(--primary);
  font-weight: 900;
}

.about-values h3 {
  margin: 28px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
}

.about-values p,
.about-cta p,
.mc-standard-card p,
.mc-join-intro > p {
  color: var(--muted);
}

.about-cta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-top: 24px;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 30px;
  background: var(--sage-soft);
}

.about-cta > div {
  max-width: 760px;
}

.about-admin-layout,
.partner-profile-admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 18px;
}

.about-photo-preview,
.partner-profile-photo-preview {
  min-height: 340px;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: 20px 0;
  border: 1px dashed var(--line);
  border-radius: 24px;
  background: var(--bg-soft);
}

.about-photo-preview img,
.partner-profile-photo-preview img,
.partner-profile-photo-preview .mc-partner-avatar {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.about-photo-preview > div {
  display: grid;
  place-items: center;
  gap: 12px;
  color: var(--muted);
}

.about-photo-preview > div > span {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.mc-partner-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
  align-items: center;
  gap: clamp(34px, 7vw, 84px);
}

.mc-standard-card {
  padding: clamp(28px, 4vw, 44px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 8%, color-mix(in srgb, var(--primary-soft) 90%, transparent), transparent 14rem),
    var(--surface);
}

.mc-standard-mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  box-shadow: var(--shadow-sm);
}

.mc-standard-card h2 {
  margin: 26px 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.mc-standard-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mc-standard-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-weight: 700;
}

.mc-standard-card li span {
  color: var(--primary-strong);
  font-size: 0.75rem;
  font-weight: 900;
}

.mc-directory-section {
  margin-top: clamp(74px, 10vw, 132px);
}

.mc-directory-section .section-heading > p {
  max-width: 520px;
  color: var(--muted);
}

.mc-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.mc-profile-grid > .empty-state {
  grid-column: 1 / -1;
}

.mc-profile-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1.3fr);
  overflow: hidden;
  border-radius: 26px;
}

.mc-profile-photo {
  min-height: 320px;
  background: var(--primary-soft);
}

.mc-partner-avatar {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  object-fit: cover;
  object-position: center top;
}

.mc-partner-initials {
  min-height: 180px;
  background: linear-gradient(145deg, var(--primary-soft), var(--sage-soft));
  color: var(--primary-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
}

.mc-partner-avatar.small {
  width: 72px;
  height: 72px;
  min-height: 72px;
  flex: 0 0 72px;
  border-radius: 18px;
  font-size: 1.15rem;
}

.mc-profile-copy {
  padding: 28px;
}

.mc-profile-copy h3 {
  margin: 5px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
}

.mc-profile-copy > p:not(.mc-role-label) {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.mc-role-label {
  margin: 0;
}

.mc-profile-facts,
.mc-profile-links,
.specialty-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mc-profile-facts {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.specialty-chips {
  margin-top: 14px;
}

.specialty-chips span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 750;
}

.mc-profile-links {
  margin-top: 20px;
}

.mc-profile-links a {
  color: var(--primary-strong);
  font-size: 0.86rem;
  font-weight: 800;
  text-underline-offset: 4px;
}

.mc-join-section {
  scroll-margin-top: 110px;
  display: grid;
  grid-template-columns: minmax(300px, 0.76fr) minmax(0, 1.24fr);
  gap: 22px;
  margin-top: clamp(74px, 10vw, 132px);
}

.mc-join-intro,
.mc-registration-form {
  padding: clamp(28px, 4vw, 48px);
  border-radius: 30px;
}

.mc-join-intro {
  align-self: start;
  position: sticky;
  top: 110px;
  background: var(--primary-strong);
  color: #fff;
}

html[data-theme="dark"] .mc-join-intro {
  color: #281d1a;
}

.mc-join-intro .eyebrow,
.mc-join-intro > p {
  color: inherit;
  opacity: 0.82;
}

.mc-join-points {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.mc-join-points div {
  display: grid;
  gap: 3px;
  padding-top: 16px;
  border-top: 1px solid currentColor;
}

.mc-join-points span {
  font-size: 0.84rem;
  opacity: 0.76;
}

.mc-registration-form {
  background: var(--surface);
}

.form-section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 8px 0 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.form-section-heading:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.form-section-heading > span {
  width: 38px;
  height: 38px;
  display: grid;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-size: 0.78rem;
  font-weight: 900;
}

.form-section-heading h3,
.form-section-heading p {
  margin: 0;
}

.form-section-heading p {
  color: var(--muted);
  font-size: 0.83rem;
}

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.86rem;
}

.check-field input {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  margin-top: 2px;
  accent-color: var(--primary);
}

.app-download-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.app-download-actions .button {
  white-space: nowrap;
}

.ios-install-guide {
  display: grid;
  gap: 22px;
}

.ios-app-preview {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-soft);
}

.ios-app-preview img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
}

.ios-app-preview div {
  display: grid;
}

.ios-app-preview span {
  color: var(--muted);
  font-size: 0.84rem;
}

.ios-install-guide ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ios-install-guide li {
  display: flex;
  gap: 14px;
}

.ios-install-guide li > span {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-weight: 900;
}

.ios-install-guide li strong,
.ios-install-guide li p {
  display: block;
  margin: 0;
}

.ios-install-guide li p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.86rem;
}

.partner-application-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  padding: 22px;
  border-radius: 22px;
}

.partner-application-banner.status-approved {
  background: var(--sage-soft);
}

.partner-application-banner.status-pending {
  background: var(--sun-soft);
}

.partner-application-banner.status-rejected {
  background: var(--danger-soft);
}

.partner-application-banner span,
.assignment-client-grid span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.partner-application-banner h3,
.partner-application-banner p {
  margin: 0;
}

.partner-application-banner h3 {
  margin-top: 2px;
  font-size: 1.25rem;
}

.partner-application-banner p {
  margin-top: 4px;
  color: var(--muted);
}

.approval-note,
.assignment-note {
  margin-top: 14px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
}

.approval-note p,
.assignment-note p {
  margin: 3px 0 0;
  color: var(--muted);
  white-space: pre-line;
}

.stat-status-text {
  font-size: clamp(1.05rem, 2vw, 1.45rem) !important;
}

.partner-assignment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.partner-assignment-card {
  height: fit-content;
}

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

.assignment-client-grid > div {
  display: grid;
  gap: 3px;
  padding: 13px;
  border-radius: 13px;
  background: var(--bg-soft);
}

.assignment-client-grid small {
  color: var(--muted);
}

.assignment-note.admin {
  border-color: color-mix(in srgb, var(--primary) 30%, var(--line));
  background: var(--primary-soft);
}

.booking-meta .assigned-mc-meta {
  grid-column: 1 / -1;
}

.assigned-mc-meta small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-weight: 600;
}

.mc-assignment-form {
  min-width: 220px;
  display: grid;
  gap: 8px;
}

.field.compact {
  gap: 4px;
}

.field.compact > span {
  font-size: 0.68rem;
}

.field.compact select,
.field.compact textarea {
  min-height: 36px;
  padding: 7px 9px;
  font-size: 0.78rem;
}

.partner-review-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.partner-review-stats > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 18px;
}

.partner-review-stats span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.partner-review-stats strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
}

.card-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.card-heading-row h3,
.card-heading-row p {
  margin-bottom: 0;
}

.admin-mc-photo-preview {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: var(--bg-soft);
  color: var(--muted);
}

.admin-mc-photo-preview img {
  object-fit: cover;
}

.admin-mc-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-mc-card {
  min-width: 0;
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: 22px;
}

.admin-mc-card.status-pending {
  border-top: 4px solid var(--sun);
}

.admin-mc-card.status-approved {
  border-top: 4px solid var(--success);
}

.admin-mc-card.status-rejected {
  border-top: 4px solid var(--danger);
}

.admin-mc-card-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-mc-card-profile h3,
.admin-mc-card-profile p {
  margin: 4px 0 0;
}

.admin-mc-card-profile p,
.admin-mc-summary > p {
  color: var(--muted);
}

.admin-mc-summary > p {
  margin: 0;
}

.admin-mc-summary dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
}

.admin-mc-summary dl > div {
  min-width: 0;
  display: grid;
  gap: 2px;
  padding: 10px;
  border-radius: 12px;
  background: var(--bg-soft);
}

.admin-mc-summary dt {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-mc-summary dd {
  overflow-wrap: anywhere;
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-mc-summary details {
  margin-top: 10px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.admin-mc-summary summary {
  cursor: pointer;
  font-weight: 780;
}

.admin-mc-summary details p {
  margin: 8px 0 0;
  color: var(--muted);
  white-space: pre-line;
}

.mc-review-form {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 16px;
  background: var(--bg-soft);
}

.status-pill.status-approved {
  background: var(--sage-soft);
  color: var(--success);
}

.status-pill.status-rejected {
  background: var(--danger-soft);
  color: var(--danger);
}

@media (max-width: 1180px) {
  .desktop-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .menu-button {
    display: inline-grid;
  }

  .app-download-card {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .app-download-actions {
    grid-column: 2;
    justify-content: flex-start;
  }
}

@media (max-width: 980px) {
  .about-hero,
  .mc-partner-hero,
  .mc-join-section,
  .about-story-grid,
  .about-admin-layout,
  .partner-profile-admin-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-portrait-wrap {
    width: min(520px, 100%);
  }

  .mc-join-intro {
    position: static;
  }

  .mc-profile-grid,
  .admin-mc-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .about-page,
  .mc-partner-page {
    padding-top: 32px;
  }

  .about-portrait-wrap {
    min-height: 420px;
  }

  .about-portrait-label {
    right: 8px;
    min-width: 190px;
  }

  .about-values,
  .partner-review-stats,
  .partner-assignment-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-cta,
  .partner-application-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .partner-application-banner {
    display: flex;
  }

  .mc-profile-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .mc-profile-photo {
    min-height: 340px;
  }

  .app-download-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .app-download-actions .button,
  .app-download-actions .apk-unavailable {
    width: 100%;
    max-width: none;
  }

  .assignment-client-grid,
  .admin-mc-summary dl {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 480px) {
  .about-hero-copy h1,
  .mc-partner-hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.35rem);
  }

  .about-portrait-wrap {
    min-height: 350px;
  }

  .mc-registration-form,
  .mc-join-intro,
  .about-story-card,
  .about-highlight-card {
    padding: 22px;
  }

  .mc-profile-copy {
    padding: 22px;
  }

  .card-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* v1.6.0 — public content, accessibility, CMS, and slot booking */
.static-shell,
.offline-shell {
  width: min(760px, calc(100% - 40px));
  min-height: 100vh;
  margin-inline: auto;
  padding: clamp(48px, 10vw, 120px) 0;
  display: grid;
  place-content: center;
  justify-items: start;
  gap: 18px;
}

.static-shell img,
.offline-shell img { width: min(360px, 72vw); height: auto; }
.static-shell h1,
.offline-shell h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.1rem, 6vw, 4.2rem); line-height: 1.03; }
.static-shell p,
.offline-shell p { max-width: 64ch; color: var(--muted); font-size: 1.05rem; }
.static-shell nav { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.static-shell nav a { color: var(--primary-strong); font-weight: 750; }

.hero-media-card,
.hero-fallback {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
}

.hero-cover,
.hero-media-card video { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.hero-support-logo { position: absolute; right: 22px; bottom: 22px; width: min(220px, 46%); height: auto; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.88); box-shadow: var(--shadow-sm); }
.hero-fallback { display: grid; place-items: center; background: radial-gradient(circle at 70% 20%, var(--primary-soft), transparent 35%), linear-gradient(145deg, var(--surface), var(--surface-2)); border: 1px solid var(--line); }
.hero-fallback::before { content: ""; position: absolute; inset: 10%; border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent); border-radius: 45% 55% 52% 48%; transform: rotate(-8deg); }
.hero-fallback-mark { z-index: 1; display: grid; justify-items: center; gap: 10px; }
.hero-fallback-mark span { font-family: Georgia, serif; font-size: clamp(6rem, 18vw, 12rem); line-height: .8; color: var(--primary-strong); }
.hero-fallback-mark small { letter-spacing: .28em; font-weight: 800; }

.experience-strip { border-block: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 78%, transparent); }
.experience-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.experience-grid > div { min-width: 0; padding: 24px; border-right: 1px solid var(--line); }
.experience-grid > div:last-child { border-right: 0; }
.experience-grid strong { display: block; overflow-wrap: anywhere; font-family: Georgia, serif; font-size: clamp(1.4rem, 3vw, 2.3rem); color: var(--primary-strong); }
.experience-grid span { color: var(--muted); }

.service-premium-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.service-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: var(--primary-strong); background: var(--primary-soft); }
.service-icon svg { width: 26px; height: 26px; }
.service-number { color: var(--muted); font-weight: 800; letter-spacing: .08em; }
.home-package-grid { margin-top: 28px; }

.process-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: process; }
.process-grid li { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.process-grid li > span { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-strong); font-weight: 850; }

.public-slots { margin-block: 40px 80px; }
.public-slot-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.public-slot-list > div { display: grid; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.public-slot-list span,
.public-slot-list small { color: var(--muted); }

.media-lightbox-button { display: block; width: 100%; padding: 0; border: 0; background: transparent; }
.media-lightbox-button img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media-detail { display: block; width: 100%; max-height: 70vh; object-fit: contain; border-radius: var(--radius-sm); background: #111; }
.testimonial-card footer { display: flex; align-items: center; gap: 12px; }
.testimonial-card footer img { flex: 0 0 48px; border-radius: 50%; object-fit: cover; aspect-ratio: 1; }
.testimonial-card footer span { display: grid; gap: 3px; }
.verified-badge { display: inline-flex; width: fit-content; margin-left: 8px; padding: 3px 8px; border-radius: 999px; background: var(--sage-soft); color: var(--success); font-size: .72rem; font-weight: 800; }

.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); overflow: clip; }
.faq-item summary { padding: 20px 22px; cursor: pointer; font-weight: 800; }
.faq-item > div { padding: 0 22px 20px; color: var(--muted); }
.policy-page { padding-block: clamp(48px, 8vw, 100px); }
.policy-content { display: grid; gap: 18px; max-width: 860px; }
.policy-content section { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.policy-content h2 { margin-top: 0; }
.policy-content p { margin-bottom: 0; color: var(--muted); }

.password-control { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.password-control input { min-width: 0; border: 0 !important; border-radius: 0 !important; }
.password-control button { padding: 0 14px; border: 0; border-left: 1px solid var(--line); background: var(--surface-2); color: var(--primary-strong); font-size: .82rem; font-weight: 800; }
.consent-field { display: grid !important; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 10px; }
.consent-field input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--primary); }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.modal-card { max-height: min(90vh, 900px); overflow: hidden; }
.modal-body { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.modal-body .full { grid-column: 1 / -1; }
.mc-approval-form { margin-top: 16px; padding: 18px; border: 1px solid var(--sun); border-radius: var(--radius-sm); background: var(--sun-soft); }

.admin-schedule-grid { margin-top: 28px; align-items: start; }
.cms-item-list { display: grid; gap: 12px; margin-top: 22px; }
.cms-inline-form { display: grid; grid-template-columns: minmax(140px, 1.2fr) minmax(110px, 1fr) 90px 120px auto auto; gap: 8px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.cms-inline-form input,
.cms-inline-form select { min-width: 0; width: 100%; }
.cms-editor { margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); }
.cms-editor summary { cursor: pointer; font-weight: 800; }
.cms-editor form,
form.cms-editor { margin-top: 16px; }
.admin-partner-card form { min-width: 0; display: grid; gap: 10px; }
.admin-partner-card { align-items: start; }
.media-card form.media-card-copy { display: grid; gap: 10px; }

.checksum code { display: block; max-width: 100%; overflow-wrap: anywhere; font-size: .78rem; }
.app-changelog { margin-top: 12px; }
.history-list { opacity: .92; }

@media (max-width: 1180px) {
  .service-premium-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cms-inline-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cms-inline-form .button { width: 100%; }
}

@media (max-width: 700px) {
  .shell { width: min(100% - 28px, 1180px); }
  .service-premium-grid,
  .process-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-media-card,
  .hero-fallback,
  .hero-cover,
  .hero-media-card video { min-height: 420px; }
  .experience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .experience-grid > div { border-bottom: 1px solid var(--line); }
  .cms-inline-form { grid-template-columns: minmax(0, 1fr); }
  .modal-backdrop { padding: 10px; align-items: flex-end; }
  .modal-card { width: 100%; max-height: calc(100dvh - 20px); border-radius: 22px 22px 14px 14px; }
  .modal-header { padding: 18px; }
  .modal-body { padding: 18px; }
  .calendar-day { min-width: 42px; }
}

@media (max-width: 430px) {
  .header-inner { gap: 8px; }
  .brand img { width: 92px; }
  .header-actions { gap: 6px; }
  .header-whatsapp,
  .header-apk { width: 40px; min-width: 40px; padding-inline: 0; justify-content: center; }
  .header-wa-label,
  .header-apk-label,
  .login-label { display: none; }
  .header-actions .button.primary { width: 40px; min-width: 40px; padding-inline: 0; }
  .theme-button,
  .menu-button { width: 40px; height: 40px; }
  .experience-grid { grid-template-columns: minmax(0, 1fr); }
  .calendar-grid { min-width: 0; gap: 3px; }
  .calendar-day { min-width: 0; padding: 7px 2px; }
  .day-slot { font-size: .58rem; }
  .form-actions > * { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
