:root {
  --bg: #f5eee6;
  --surface: #fffaf7;
  --panel: #f0ded1;
  --text: #211b17;
  --muted: #7a6b62;
  --accent: #c08468;
  --accent-dark: #6c3f32;
  --shadow: 0 22px 80px rgba(55, 39, 30, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 24%, transparent), transparent 34rem),
    linear-gradient(180deg, var(--panel), var(--bg) 36%, color-mix(in srgb, var(--accent-dark) 8%, var(--bg)));
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.admin-body {
  background: #f4f0ea;
}

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

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

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

.hidden {
  display: none !important;
}

.bio-page {
  display: grid;
  min-height: 100vh;
  padding: 28px 16px;
  place-items: start center;
}

.bio-card {
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 28px;
  box-shadow: var(--shadow);
  max-width: 620px;
  overflow: hidden;
  width: 100%;
}

.cover {
  height: 178px;
  position: relative;
}

.cover::after {
  background: linear-gradient(180deg, transparent, rgba(33, 27, 23, 0.34));
  content: "";
  inset: 0;
  position: absolute;
}

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

.profile {
  display: grid;
  justify-items: center;
  padding: 0 24px 20px;
  text-align: center;
}

.avatar {
  aspect-ratio: 1;
  background: var(--panel);
  border: 5px solid var(--surface);
  border-radius: 50%;
  box-shadow: 0 12px 32px rgba(55, 39, 30, 0.18);
  height: 116px;
  margin-top: -58px;
  object-fit: cover;
  position: relative;
  width: 116px;
  z-index: 2;
}

.lang-switch {
  align-items: center;
  background: var(--panel);
  border-radius: 999px;
  display: flex;
  gap: 3px;
  margin-top: 16px;
  padding: 4px;
}

.lang-btn {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  min-width: 42px;
  padding: 8px 10px;
}

.lang-btn.active {
  background: var(--surface);
  color: var(--accent-dark);
  box-shadow: 0 6px 18px rgba(55, 39, 30, 0.12);
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.05;
  margin: 18px 0 4px;
}

.handle {
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 800;
  margin: 0;
}

.bio {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
  margin: 12px auto 0;
  max-width: 360px;
}

.social-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 0 24px 20px;
}

.social-row a,
.quick span,
.link-icon {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 900;
  justify-content: center;
}

.social-row a {
  background: var(--text);
  color: var(--surface);
  font-size: 18px;
  height: 42px;
  width: 42px;
}

.quick-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  padding: 0 18px 18px;
}

.quick-actions[data-visible-count="1"] {
  grid-template-columns: minmax(160px, 260px);
}

.quick-actions[data-visible-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quick {
  align-items: center;
  background: var(--panel);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  border-radius: 18px;
  display: grid;
  gap: 9px;
  justify-items: center;
  min-width: 0;
  min-height: 92px;
  padding: 12px 8px;
}

.quick span {
  background: var(--surface);
  color: var(--accent-dark);
  height: 38px;
  width: 38px;
}

.quick-icon::before {
  background: currentColor;
  content: "";
  display: block;
  height: 20px;
  width: 20px;
}

.quick-icon[data-icon="whatsapp"]::before {
  clip-path: polygon(50% 0, 74% 7%, 93% 26%, 100% 50%, 93% 74%, 74% 93%, 50% 100%, 28% 94%, 5% 100%, 11% 78%, 0 50%, 7% 26%, 26% 7%);
}

.quick-icon[data-icon="phone"]::before {
  clip-path: polygon(20% 0, 48% 6%, 55% 28%, 42% 40%, 60% 62%, 72% 49%, 94% 56%, 100% 84%, 87% 100%, 70% 96%, 45% 82%, 18% 55%, 4% 30%, 0 13%);
}

.quick-icon[data-icon="map"]::before {
  clip-path: polygon(50% 0, 70% 8%, 84% 24%, 89% 44%, 82% 66%, 50% 100%, 18% 66%, 11% 44%, 16% 24%, 30% 8%);
}

.quick strong {
  font-size: 13px;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-align: center;
}

.link-list {
  display: grid;
  gap: 12px;
  padding: 0 18px 22px;
}

.bio-link {
  align-items: center;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(55, 39, 30, 0.08);
  display: grid;
  gap: 13px;
  grid-template-columns: auto 1fr auto;
  min-height: 78px;
  padding: 14px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.bio-link:hover {
  box-shadow: 0 16px 36px rgba(55, 39, 30, 0.13);
  transform: translateY(-2px);
}

.link-icon {
  background: var(--accent);
  color: white;
  height: 46px;
  width: 46px;
}

.link-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.link-copy strong {
  font-size: 16px;
  line-height: 1.25;
}

.link-copy small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.link-arrow {
  color: var(--accent-dark);
  font-size: 30px;
}

.mini-section,
.contact-panel {
  padding: 22px 18px;
}

.section-title {
  margin-bottom: 14px;
  text-align: center;
}

.section-title span {
  color: var(--accent-dark);
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 6px;
  text-transform: uppercase;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.12;
  margin: 0;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.service-chip {
  background: color-mix(in srgb, var(--panel) 78%, white);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 750;
  padding: 9px 12px;
}

.story-grid {
  display: grid;
  gap: 10px;
  grid-auto-columns: calc((100% - 10px) / 2);
  grid-auto-flow: column;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding-bottom: 4px;
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
}

.story-grid[data-count="1"] {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  overflow-x: hidden;
}

.story-grid[data-count="2"] {
  grid-auto-columns: calc((100% - 10px) / 2);
  grid-template-rows: 1fr;
  overflow-x: hidden;
}

.story-grid::-webkit-scrollbar {
  height: 7px;
}

.story-grid::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--accent-dark) 32%, transparent);
  border-radius: 999px;
}

.story-grid img {
  aspect-ratio: 1;
  border-radius: 18px;
  object-fit: cover;
  scroll-snap-align: start;
}

.story-grid img:first-child {
  grid-row: auto;
  height: auto;
}

.story-grid[data-count="1"] img:first-child,
.story-grid[data-count="2"] img:first-child {
  grid-row: auto;
  height: auto;
}

.contact-panel {
  background: var(--accent-dark);
  color: white;
  display: grid;
  gap: 14px;
  text-align: center;
}

.contact-panel p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.16;
  margin: 0;
}

.main-cta {
  background: white;
  border-radius: 999px;
  color: var(--accent-dark);
  font-weight: 900;
  justify-self: center;
  padding: 14px 18px;
}

.contact-lines {
  color: rgba(255, 255, 255, 0.78);
  display: grid;
  font-size: 13px;
  gap: 4px;
}

.bio-footer {
  background: color-mix(in srgb, var(--accent-dark) 10%, var(--surface));
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 18px;
}

.bio-footer a {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.cookie-banner {
  align-items: center;
  background: rgba(33, 27, 23, 0.96);
  border-radius: 16px;
  bottom: 16px;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
  color: white;
  display: grid;
  gap: 12px;
  left: 50%;
  max-width: 620px;
  padding: 16px;
  position: fixed;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  z-index: 30;
}

.cookie-banner p {
  line-height: 1.55;
  margin: 0;
}

.cookie-actions {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.cookie-actions a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.cookie-actions button {
  background: var(--accent);
  border: 0;
  border-radius: 999px;
  color: white;
  cursor: pointer;
  font-weight: 900;
  padding: 11px 16px;
}

.chat-widget {
  bottom: 18px;
  position: fixed;
  right: 18px;
  z-index: 20;
}

.chat-toggle {
  background: var(--accent-dark);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(33, 27, 23, 0.24);
  color: white;
  cursor: pointer;
  font-weight: 900;
  min-height: 52px;
  padding: 0 18px;
}

.chat-panel {
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  border-radius: 18px;
  bottom: 64px;
  box-shadow: 0 18px 60px rgba(33, 27, 23, 0.22);
  display: grid;
  gap: 12px;
  max-width: calc(100vw - 32px);
  padding: 14px;
  position: absolute;
  right: 0;
  width: 340px;
}

.chat-header {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto;
}

.chat-header strong {
  color: var(--text);
  display: block;
  font-size: 16px;
}

.chat-header p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  margin: 4px 0 0;
}

.chat-header button {
  background: var(--panel);
  border: 0;
  border-radius: 50%;
  color: var(--accent-dark);
  cursor: pointer;
  font-weight: 900;
  height: 30px;
  width: 30px;
}

.chat-messages {
  display: grid;
  gap: 8px;
  max-height: 230px;
  overflow-y: auto;
}

.chat-message {
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
  padding: 10px 12px;
}

.chat-message.assistant {
  background: var(--panel);
  color: var(--text);
  justify-self: start;
}

.chat-message.user {
  background: var(--accent-dark);
  color: white;
  justify-self: end;
}

.chat-lead-form,
.chat-form {
  display: grid;
  gap: 8px;
}

.chat-phone-row {
  display: grid;
  gap: 8px;
  grid-template-columns: 86px 1fr;
}

.chat-lang-switch {
  background: var(--panel);
  border-radius: 999px;
  display: inline-flex;
  gap: 3px;
  justify-self: start;
  padding: 4px;
}

.chat-lang-switch button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
}

.chat-lang-switch button.active {
  background: var(--surface);
  color: var(--accent-dark);
}

.chat-form {
  grid-template-columns: 1fr auto;
}

.chat-lead-form input,
.chat-form input {
  min-height: 42px;
}

.chat-lead-form button,
.chat-form button {
  background: var(--accent-dark);
  border: 0;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  font-weight: 900;
  min-height: 42px;
  padding: 0 14px;
}

.chat-end {
  background: transparent;
  border: 0;
  color: var(--accent-dark);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  justify-self: center;
  padding: 4px 8px;
}

.policy-page {
  display: grid;
  min-height: 100vh;
  padding: 32px 16px;
  place-items: start center;
}

.policy-card {
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  border-radius: 16px;
  box-shadow: var(--shadow);
  max-width: 780px;
  padding: clamp(24px, 5vw, 46px);
}

.policy-card h1 {
  font-size: clamp(34px, 6vw, 58px);
  margin-bottom: 18px;
}

.policy-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
  white-space: pre-line;
}

.policy-back {
  color: var(--accent-dark);
  display: inline-block;
  font-weight: 900;
  margin-bottom: 24px;
}

.admin-shell {
  display: grid;
  gap: 22px;
  padding: 24px;
}

.admin-alert {
  background: #e9f7ef;
  border: 1px solid #bde5ca;
  border-radius: 8px;
  color: #226139;
  font-weight: 800;
  padding: 14px 16px;
}

.admin-alert[data-type="error"] {
  background: #fff1ee;
  border-color: #f2c8be;
  color: #9b321e;
}

.admin-confirm {
  align-items: center;
  background: #fffaf7;
  border: 1px solid #d9c7b8;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr auto;
  margin-top: 8px;
  padding: 14px 16px;
}

.admin-confirm p {
  color: #211b17;
  margin: 0;
}

.admin-confirm-actions {
  display: flex;
  gap: 8px;
}

.stats-confirm {
  margin-top: 14px;
}

@media (max-width: 680px) {
  .admin-confirm {
    grid-template-columns: 1fr;
  }
}

.admin-header,
.admin-panel {
  background: white;
  border: 1px solid #e6ddd4;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(54, 42, 33, 0.08);
  padding: 22px;
}

.admin-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.eyebrow {
  color: #9a644f;
  font-size: 12px;
  font-weight: 900;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.admin-header h1 {
  color: #1e1b18;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 500;
  margin: 0;
}

.admin-panel h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 500;
  margin: 0 0 10px;
}

.admin-copy {
  color: #7a6b62;
  line-height: 1.6;
  margin: 0 0 18px;
}

.login-form {
  display: grid;
  gap: 14px;
  max-width: 420px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
}

.button.primary {
  background: #6f4635;
  color: white;
}

.button.secondary {
  background: #efe2d5;
  border-color: #d9c7b8;
  color: #6f4635;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-btn {
  background: #efe2d5;
  border: 0;
  border-radius: 999px;
  color: #6f4635;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 10px 14px;
}

.tab-btn.active {
  background: #6f4635;
  color: white;
}

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

.wide-grid {
  display: grid;
  gap: 16px;
}

.toggle-row {
  align-items: center;
  background: #fffaf7;
  border: 1px solid #e6ddd4;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
}

.toggle-row span {
  color: #211b17;
  font-weight: 800;
}

.toggle-row input {
  min-height: auto;
  width: auto;
}

.editor-block {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.editor-block.hidden {
  display: none;
}

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

.field {
  display: grid;
  gap: 8px;
}

[data-language-editor] {
  display: grid;
  gap: 14px;
}

.editor-subtitle {
  color: #6f4635;
  font-size: 18px;
  margin: 14px 0 0;
}

.editor-group {
  border: 1px solid #e6ddd4;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.editor-group h4 {
  color: #211b17;
  font-size: 15px;
  margin: 0;
}

.stats-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
}

.stat-card {
  background: #fffaf7;
  border: 1px solid #e6ddd4;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 16px;
}

.stat-card span {
  color: #7a6b62;
  font-size: 13px;
  font-weight: 800;
}

.stat-card strong {
  color: #211b17;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
}

.stat-card small {
  color: #6f4635;
  font-weight: 800;
}

.stats-list {
  display: grid;
  gap: 8px;
}

.stats-row {
  align-items: center;
  background: #fffaf7;
  border: 1px solid #e6ddd4;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  padding: 11px 12px;
}

.stats-row span {
  color: #211b17;
  font-weight: 750;
}

.stats-row strong {
  color: #6f4635;
}

.lead-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lead-toolbar input,
.lead-toolbar select {
  min-height: 40px;
  width: 220px;
}

.lead-list {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.lead-row {
  background: #fffaf7;
  border: 1px solid #e6ddd4;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.lead-main {
  display: grid;
  gap: 4px;
}

.lead-check {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.lead-check input {
  min-height: auto;
  width: auto;
}

.lead-main strong {
  color: #211b17;
}

.lead-main span,
.lead-main small {
  color: #7a6b62;
}

.lead-main em {
  color: #6f4635;
  display: block;
  font-size: 12px;
  font-style: normal;
}

.lead-controls {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: 140px 1fr auto auto;
}

.chat-viewer {
  border: 1px solid #e6ddd4;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  margin-top: 8px;
  padding: 12px;
}

.bulk-message-box {
  border-top: 1px solid #e6ddd4;
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
}

.bulk-message-box h4 {
  margin: 0;
}

.bulk-output {
  background: #fffaf7;
  border: 1px solid #e6ddd4;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.bulk-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chat-viewer-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.chat-viewer-messages {
  display: grid;
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
}

.chat-log {
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
  padding: 8px 10px;
}

.chat-log.user {
  background: #efe2d5;
}

.chat-log.assistant {
  background: #fffaf7;
  border: 1px solid #e6ddd4;
}

.field span {
  color: #7a6b62;
  font-size: 13px;
  font-weight: 750;
}

input,
select,
textarea {
  background: #fffaf7;
  border: 1px solid #d9c7b8;
  border-radius: 8px;
  color: #211b17;
  min-height: 44px;
  padding: 11px 12px;
  width: 100%;
}

textarea {
  resize: vertical;
}

.color-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}

.image-preview-box {
  align-items: center;
  aspect-ratio: 16 / 9;
  background: #f4f0ea;
  border: 1px solid #e6ddd4;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  max-height: 170px;
  overflow: hidden;
  width: 100%;
}

.image-preview {
  height: 100%;
  max-height: 170px;
  object-fit: cover;
  width: 100%;
}

.image-preview[data-broken="true"] {
  opacity: 0.35;
}

.gallery-admin-group {
  grid-column: 1 / -1;
}

.gallery-admin-row {
  align-items: start;
  border-top: 1px solid #e6ddd4;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr auto;
  padding-top: 12px;
}

.gallery-admin-actions {
  display: grid;
  gap: 8px;
  min-width: 120px;
}

.gallery-admin-actions .button:disabled,
.gallery-admin-group > .button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.json-editor {
  min-height: 520px;
  white-space: pre;
}

.status {
  color: #6f4635;
  font-weight: 750;
  min-height: 22px;
}

@media (max-width: 680px) {
  .bio-page {
    padding: 0;
  }

  .quick-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-inline: 12px;
  }

  .quick {
    border-radius: 16px;
    min-height: 86px;
    padding-inline: 6px;
  }

  .bio-card {
    border: 0;
    border-radius: 0;
    max-width: none;
    min-height: 100vh;
  }

  .cover {
    height: 168px;
  }

  .cookie-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .chat-widget {
    bottom: 12px;
    right: 12px;
  }

  .chat-panel {
    width: calc(100vw - 24px);
  }

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

  .admin-shell {
    gap: 14px;
    max-width: 100vw;
    overflow-x: hidden;
    padding: 12px;
    width: 100%;
  }

  .admin-header,
  .admin-panel {
    max-width: calc(100vw - 24px);
    min-width: 0;
    overflow: hidden;
    padding: 18px;
    width: 100%;
  }

  .admin-actions,
  .login-form {
    max-width: none;
    width: 100%;
  }

  .admin-actions .button {
    flex: 1 1 140px;
  }

  .admin-header .admin-actions {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-header .admin-lang-switch {
    justify-self: start;
  }

  .admin-header .button {
    width: 100%;
  }

  .admin-grid,
  .color-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .gallery-admin-row {
    grid-template-columns: 1fr;
  }

  .lead-controls {
    grid-template-columns: 1fr;
  }
}

body.theme-luxury {
  --bg: #0f0d0b;
  --surface: #18130f;
  --panel: #211913;
  --text: #fff7ea;
  --muted: #c8aa78;
  --accent: #d5a84d;
  --accent-dark: #9c6f22;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.52);
  background:
    radial-gradient(circle at top, rgba(213, 168, 77, 0.18), transparent 32rem),
    linear-gradient(180deg, #19110c, #0f0d0b 48%, #17100c);
}

body.theme-luxury .bio-card,
body.theme-luxury .service-chip,
body.theme-luxury .bio-link,
body.theme-luxury .story-grid img,
body.theme-luxury .chat-panel {
  border-color: rgba(213, 168, 77, 0.28);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
}

body.theme-luxury .bio-card {
  background: linear-gradient(180deg, rgba(33, 25, 19, 0.96), rgba(18, 14, 11, 0.98));
}

body.theme-luxury .cover::after {
  background: linear-gradient(180deg, rgba(15, 13, 11, 0.08), rgba(15, 13, 11, 0.82));
}

body.theme-luxury .avatar {
  border-color: rgba(213, 168, 77, 0.74);
  box-shadow: 0 12px 34px rgba(213, 168, 77, 0.18);
}

body.theme-luxury .quick,
body.theme-luxury .lang-btn.active,
body.theme-luxury .chat-send,
body.theme-luxury .chat-start,
body.theme-luxury .chat-toggle {
  background: linear-gradient(135deg, #d8b25c, #9c6f22);
  color: #120d09;
}

body.theme-luxury .quick span {
  background: rgba(18, 13, 9, 0.72);
  color: #f4d58a;
}

body.theme-luxury .bio-link,
body.theme-luxury .service-chip,
body.theme-luxury .story-grid img {
  background: rgba(255, 247, 234, 0.06);
}

body.theme-luxury .bio-link:hover {
  border-color: rgba(213, 168, 77, 0.58);
  transform: translateY(-2px);
}

body.theme-luxury .section-title,
body.theme-luxury .bio-link strong,
body.theme-luxury .contact-panel p {
  color: #fff2d2;
}

body.theme-luxury .section-eyebrow,
body.theme-luxury .profile-handle,
body.theme-luxury .handle,
body.theme-luxury .section-title span,
body.theme-luxury .link-arrow {
  color: #d5a84d;
}

body.theme-luxury .contact-panel {
  background: linear-gradient(135deg, #15100c, #6f4b16);
}

body.theme-luxury .main-cta {
  background: #f8df9b;
  color: #120d09;
}

body.theme-luxury input,
body.theme-luxury textarea,
body.theme-luxury select {
  background: rgba(255, 247, 234, 0.08);
  border-color: rgba(213, 168, 77, 0.28);
  color: #fff7ea;
}
