:root {
  --ink: #241f18;
  --muted: #6d6254;
  --paper: #fbf7ef;
  --panel: #fffdf8;
  --line: rgba(36, 31, 24, 0.13);
  --gold: #b8863f;
  --gold-dark: #8c682f;
  --sage: #5d6a5a;
  --clay: #9a604a;
  --charcoal: #2e302c;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(251, 247, 239, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.brand span { color: var(--gold); }

.navlinks {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}

.navlinks a:hover, .footer a:hover { color: var(--gold-dark); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.lang-switch button {
  min-width: 38px;
  min-height: 32px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.lang-switch button.active {
  background: var(--ink);
  color: white;
}

.nav-cta {
  padding: 10px 18px;
  background: var(--ink);
  color: white;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
}

.hero {
  min-height: calc(100vh - 69px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 72px) 48px;
}

.hero-copy { max-width: 720px; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: 0; }

h1 {
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 7vw, 86px);
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 52px);
}

h3 { font-size: 21px; }

.lead {
  max-width: 640px;
  margin: 24px 0 32px;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions, .admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 800;
}

.btn-primary {
  background: var(--gold);
  color: #1f1a12;
}

.btn-primary:hover { background: var(--ink); color: white; }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-secondary:hover { border-color: var(--gold); }

.btn-danger {
  background: #a64234;
  color: white;
}

.btn-danger:hover {
  background: #842d24;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 650px;
  margin-top: 46px;
}

.stats div, .stat {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.58);
}

.stats strong, .stat strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1;
}

.stats span, .stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.hero-media {
  min-height: 540px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(36, 31, 24, 0.2);
}

.hero-media img { width: 100%; height: 100%; min-height: 540px; object-fit: cover; }

.ticker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 34px;
  padding: 22px clamp(18px, 5vw, 72px);
  background: var(--charcoal);
  color: #f4ead8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section, .process, .contact {
  padding: clamp(72px, 9vw, 120px) clamp(18px, 5vw, 72px);
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}

.service-card {
  min-height: 360px;
  padding: 34px;
  background: var(--panel);
}

.service-card span {
  color: var(--gold-dark);
  font-weight: 900;
}

.service-card h3 { margin: 36px 0 14px; }
.service-card p { color: var(--muted); }
.service-card ul { margin: 22px 0 0; padding-left: 18px; color: var(--sage); }

.process {
  background: #ece4d6;
  border-block: 1px solid var(--line);
}

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

.step {
  padding-top: 18px;
  border-top: 3px solid var(--gold);
}

.step b { color: var(--gold-dark); }
.step h3 { margin: 12px 0 8px; }
.step p { margin: 0; color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

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

.gallery figure {
  position: relative;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.gallery img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }

.gallery figcaption {
  position: absolute;
  inset: auto 14px 14px;
  padding: 10px 12px;
  background: rgba(251, 247, 239, 0.9);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  background: var(--charcoal);
  color: #fff8ea;
}

.contact-copy p:not(.eyebrow) { color: #d5c9b5; font-size: 18px; }

.lead-form, .admin-card {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--panel);
  color: var(--ink);
  border-radius: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

input, select, textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 4px;
  letter-spacing: 0;
  text-transform: none;
}

textarea { min-height: 104px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(184, 134, 63, 0.28); border-color: var(--gold); }

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
}

.form-status.success { color: var(--sage); font-weight: 800; }
.form-status.error { color: #a33b2f; font-weight: 800; }

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 30px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer .brand { color: var(--ink); font-size: 20px; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.admin-body { background: #f2eadc; }

.admin-shell {
  width: min(1480px, calc(100% - 36px));
  margin: 0 auto;
  padding: 46px 0;
}

.admin-login {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.65fr);
  gap: 44px;
  align-items: center;
}

.admin-login h1, .admin-panel h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 64px);
}

.admin-login p { color: var(--muted); max-width: 620px; }

code {
  padding: 2px 5px;
  background: rgba(36, 31, 24, 0.08);
  border-radius: 4px;
}

.hidden { display: none !important; }

.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.leads { display: grid; gap: 12px; }

.lead-card, .empty {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.lead-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.lead-top h2 { font-size: 24px; margin-bottom: 4px; }
.lead-top a { color: var(--gold-dark); font-weight: 900; }
.lead-top select { width: auto; min-width: 150px; }

dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0 0;
}

dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

dd { margin: 3px 0 0; }
.lead-card p { color: var(--muted); margin-bottom: 0; }

.crm-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(180px, 0.8fr) minmax(170px, 0.7fr) minmax(160px, 0.7fr);
  gap: 12px;
  margin-bottom: 16px;
  padding: 16px;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(11, minmax(230px, 1fr));
  gap: 12px;
  align-items: start;
  overflow-x: auto;
  padding-bottom: 12px;
}

.pipeline-column {
  min-height: 430px;
  padding: 12px;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.column-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  min-height: 58px;
}

.column-head h2 {
  font-family: inherit;
  font-size: 16px;
}

.column-head span, .column-value {
  color: var(--muted);
  font-size: 12px;
}

.column-head b {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-size: 13px;
}

.column-value {
  margin: 8px 0 12px;
  font-weight: 900;
  color: var(--gold-dark);
}

.column-list {
  display: grid;
  gap: 10px;
}

.deal-card {
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(36, 31, 24, 0.06);
  cursor: pointer;
}

.deal-card:hover {
  border-color: rgba(184, 134, 63, 0.45);
  transform: translateY(-1px);
}

.deal-card-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.deal-card h3 {
  font-size: 16px;
  line-height: 1.2;
}

.deal-card-top span {
  flex-shrink: 0;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
}

.deal-card a {
  display: inline-block;
  margin-top: 8px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 900;
}

.deal-card p {
  margin: 10px 0;
  color: var(--muted);
  font-size: 13px;
}

.deal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.deal-meta span, .next-action {
  padding: 5px 8px;
  background: #f2eadc;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.next-action {
  margin-top: 10px;
  border-radius: 4px;
}

.next-action.due {
  color: #8f2f25;
  background: #f7ded8;
}

.card-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 12px;
}

.card-actions button, .icon-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 4px;
  cursor: pointer;
  font-weight: 900;
}

.card-actions button {
  min-height: 32px;
  padding: 6px 10px;
  font-size: 12px;
}

.card-actions button:hover, .icon-btn:hover {
  border-color: var(--gold);
}

.whatsapp-mini {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  background: #e2f3e8;
  border: 1px solid rgba(68, 139, 88, 0.3);
  border-radius: 4px;
  color: #2f6f44;
  font-size: 12px;
  font-weight: 900;
}

.whatsapp-mini:hover {
  border-color: #2f6f44;
}

.empty.compact {
  padding: 14px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.crm-table-wrap {
  margin-top: 18px;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.conversion-panel {
  margin-bottom: 18px;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.conversion-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 1px;
  background: var(--line);
}

.conversion-card {
  min-height: 112px;
  display: grid;
  gap: 8px;
  align-content: center;
  padding: 16px;
  background: var(--panel);
}

.conversion-card b {
  font-size: 13px;
  line-height: 1.25;
}

.conversion-card strong {
  color: var(--gold-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1;
}

.conversion-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.table-head h2 {
  font-family: inherit;
  font-size: 20px;
}

.table-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.crm-table {
  overflow-x: auto;
}

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

.crm-table th, .crm-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.crm-table th {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.crm-table tr {
  cursor: pointer;
}

.crm-table tbody tr:hover {
  background: #f5eedf;
}

.crm-table td span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.crm-table em {
  font-style: normal;
  color: var(--gold-dark);
  font-weight: 900;
}

.deal-dialog {
  width: min(820px, calc(100% - 28px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.deal-dialog::backdrop {
  background: rgba(36, 31, 24, 0.42);
}

.script-dialog {
  width: min(1160px, calc(100% - 24px));
  max-height: calc(100vh - 24px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
}

.script-dialog::backdrop {
  background: rgba(36, 31, 24, 0.52);
}

.script-dialog-shell > .dialog-head {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.sales-script {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: min(720px, calc(100vh - 130px));
  max-height: calc(100vh - 130px);
  overflow: hidden;
}

.script-sidebar {
  overflow-y: auto;
  background: #f2eadc;
  border-right: 1px solid var(--line);
}

.script-sidebar-title {
  padding: 15px 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}

.script-stage-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
}

.script-stage-btn:hover,
.script-stage-btn.active {
  background: var(--panel);
  color: var(--ink);
}

.script-stage-btn.active {
  box-shadow: inset 3px 0 0 var(--gold);
}

.script-stage-btn span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(184, 134, 63, 0.16);
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
}

.script-stage-btn.active span {
  background: var(--gold);
  color: #1f1a12;
}

.script-stage-btn b {
  font-size: 13px;
  line-height: 1.25;
}

.script-stage-panel {
  overflow-y: auto;
  padding: 22px;
  background: #fffdf8;
}

.script-stage-head {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.script-stage-head span {
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.script-stage-head h3 {
  margin-top: 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 44px);
}

.script-stage-head p {
  margin: 9px 0 0;
  color: var(--muted);
}

.script-section {
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.script-section h4 {
  margin: 0 0 12px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.script-lines,
.script-checklist {
  display: grid;
  gap: 8px;
}

.script-lines p,
.script-checklist p,
.script-card p,
.script-objection p {
  margin: 0;
  color: var(--muted);
}

.script-lines p {
  color: var(--ink);
  line-height: 1.55;
}

.script-message {
  padding: 14px;
  border-left: 3px solid var(--gold);
  background: #f5eedf;
  color: var(--ink);
  white-space: pre-wrap;
  line-height: 1.55;
}

.script-checklist p {
  display: flex;
  gap: 8px;
}

.script-checklist span {
  color: var(--sage);
  font-weight: 900;
}

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

.script-card,
.script-objection {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffaf2;
}

.script-card b,
.script-objection b {
  color: var(--ink);
}

.script-card p {
  margin-top: 5px;
}

.script-objections {
  display: grid;
  gap: 10px;
}

.script-objection {
  display: grid;
  gap: 8px;
}

.deal-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.dialog-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.dialog-head h2 {
  font-size: 30px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  font-size: 24px;
  line-height: 1;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.dialog-actions .btn-danger {
  margin-right: auto;
}

.proposal-dialog {
  width: min(1180px, calc(100vw - 28px));
  border: 0;
  padding: 0;
  border-radius: 8px;
  background: var(--paper);
}

.proposal-shell {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 44px);
}

.proposal-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) minmax(210px, 1fr) minmax(150px, 0.7fr) minmax(150px, 0.7fr) minmax(110px, 0.45fr);
  gap: 16px;
}

.proposal-hint {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 12px 14px;
  background: #f1eee6;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-weight: 800;
}

.proposal-hint b {
  color: var(--ink);
}

.proposal-hint span {
  padding: 6px 9px;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid rgba(109, 100, 86, 0.16);
  border-radius: 4px;
}

.proposal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.proposal-lines {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.74);
}

.proposal-lines table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.proposal-lines th,
.proposal-lines td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.proposal-lines th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.proposal-lines td span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.proposal-lines .empty {
  border: 0;
}

#proposal-output {
  min-height: 220px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.55;
}

.whatsapp-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  padding: 16px;
  background: #eef7f1;
  border: 1px solid rgba(68, 139, 88, 0.24);
  border-radius: 6px;
}

.whatsapp-box h3 {
  font-size: 18px;
}

.whatsapp-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.whatsapp-actions select {
  min-width: 190px;
}

.btn.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.user-chip {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.users-panel {
  margin-bottom: 16px;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.user-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.users-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.user-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  background: var(--panel);
}

.user-row span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.user-row em {
  font-style: normal;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 900;
}

.users-panel .form-status {
  padding: 0 16px 16px;
}

@media (max-width: 960px) {
  .topbar { grid-template-columns: 1fr auto auto; }
  .navlinks { display: none; }
  .hero, .split, .contact, .admin-login, .crm-toolbar { grid-template-columns: 1fr; }
  .hero-media, .hero-media img { min-height: 420px; }
  .service-grid, .steps { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure, .gallery img { min-height: 320px; }
  .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .conversion-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proposal-grid { grid-template-columns: 1fr 1fr; }
  .user-form { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .topbar { padding: 13px 16px; }
  .nav-cta { display: none; }
  .lang-switch button { min-width: 34px; min-height: 30px; }
  .hero { padding-top: 42px; }
  .stats, .service-grid, .steps, .form-row, .admin-stats, dl { grid-template-columns: 1fr; }
  .hero-media, .hero-media img { min-height: 330px; }
  .lead-top, .admin-head { flex-direction: column; align-items: stretch; }
  .lead-top select { width: 100%; }
  .admin-shell { width: min(100% - 24px, 1480px); padding-top: 24px; }
  .pipeline { grid-template-columns: repeat(11, minmax(250px, 82vw)); }
  .conversion-grid { grid-template-columns: 1fr; }
  .dialog-actions { flex-direction: column-reverse; }
  .dialog-actions .btn { width: 100%; }
  .dialog-actions .btn-danger { margin-right: 0; }
  .proposal-dialog { width: calc(100vw - 18px); }
  .proposal-grid { grid-template-columns: 1fr; }
  .proposal-actions .btn { width: 100%; }
  .whatsapp-box { grid-template-columns: 1fr; }
  .whatsapp-actions { flex-direction: column; align-items: stretch; }
  .sales-script { grid-template-columns: 1fr; max-height: calc(100vh - 116px); }
  .script-sidebar { max-height: 240px; border-right: none; border-bottom: 1px solid var(--line); }
  .script-stage-panel { padding: 16px; }
  .script-card-grid { grid-template-columns: 1fr; }
  .user-form { grid-template-columns: 1fr; }
  .user-row { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Landing refresh */
body {
  background: #f4efe6;
}

.topbar {
  background: rgba(244, 239, 230, 0.82);
}

.hero-luxe {
  position: relative;
  min-height: calc(100vh - 140px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.38fr);
  align-items: center;
  gap: clamp(22px, 4vw, 54px);
  padding: clamp(72px, 8vw, 112px) clamp(18px, 5vw, 72px) clamp(30px, 4vw, 56px);
  overflow: hidden;
  color: #fff8ea;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(18, 15, 11, 0.82) 0%, rgba(18, 15, 11, 0.58) 42%, rgba(18, 15, 11, 0.14) 100%),
    linear-gradient(0deg, rgba(18, 15, 11, 0.64) 0%, rgba(18, 15, 11, 0.08) 45%);
}

.hero-luxe .hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-luxe .hero-copy {
  max-width: 860px;
}

.hero-luxe .eyebrow {
  color: #d6b06f;
}

.hero-luxe h1 {
  max-width: 920px;
  color: #fffaf0;
  font-size: clamp(38px, 5.2vw, 76px);
  line-height: 1.02;
}

.hero-luxe .lead {
  max-width: 680px;
  margin: 20px 0 26px;
  color: rgba(255, 248, 234, 0.82);
  font-size: 18px;
}

.hero-luxe .btn-secondary {
  color: #fff8ea;
  border-color: rgba(255, 248, 234, 0.32);
  background: rgba(255, 248, 234, 0.06);
}

.hero-luxe .btn-secondary:hover {
  border-color: #d6b06f;
}

.hero-panel {
  display: grid;
  gap: 1px;
  align-self: end;
  border: 1px solid rgba(255, 248, 234, 0.22);
  background: rgba(255, 248, 234, 0.18);
  backdrop-filter: blur(18px);
}

.hero-panel div {
  padding: 16px;
  background: rgba(18, 15, 11, 0.34);
}

.hero-panel strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1;
}

.hero-panel span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 248, 234, 0.76);
  font-size: 13px;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.intro-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: #fffaf2;
}

.intro-card span,
.collection-card span {
  color: var(--gold-dark);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intro-card h3 {
  margin: 28px 0 12px;
  font-size: 24px;
}

.intro-card p {
  margin: 0;
  color: var(--muted);
}

.collection-showcase {
  padding: clamp(76px, 9vw, 126px) clamp(18px, 5vw, 72px);
  background: #171511;
  color: #fff8ea;
}

.collection-showcase .section-head {
  max-width: 900px;
}

.collection-showcase .section-head p:not(.eyebrow) {
  color: rgba(255, 248, 234, 0.72);
}

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

.collection-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #2b251d;
}

.collection-card.wide {
  grid-column: span 2;
}

.collection-card img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  transition: transform 0.7s ease, opacity 0.7s ease;
}

.collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(18, 15, 11, 0.82) 0%, rgba(18, 15, 11, 0.06) 62%);
}

.collection-card div {
  position: absolute;
  z-index: 1;
  inset: auto 18px 18px;
  display: grid;
  gap: 8px;
}

.collection-card b {
  max-width: 460px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.04;
}

.collection-card:hover img {
  transform: scale(1.035);
  opacity: 0.92;
}

.weststyle-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  padding: clamp(72px, 8vw, 112px) clamp(18px, 5vw, 72px);
  background: #f8f4ed;
}

.proof-copy {
  max-width: 760px;
}

.proof-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.proof-grid div {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  background: #fffaf2;
}

.proof-grid strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 5vw, 76px);
  line-height: 0.9;
}

.proof-grid span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.floor-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(76px, 9vw, 126px) clamp(18px, 5vw, 72px);
  background: #efe6d9;
}

.floor-media {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  align-items: end;
}

.floor-media img {
  width: 100%;
  height: clamp(320px, 40vw, 560px);
  object-fit: cover;
  border: 1px solid rgba(36, 31, 24, 0.12);
}

.floor-media img:last-child {
  height: clamp(250px, 31vw, 430px);
}

.floor-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.material-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.material-list span {
  padding: 10px 14px;
  border: 1px solid rgba(36, 31, 24, 0.16);
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.brand-section {
  padding: clamp(72px, 8vw, 112px) clamp(18px, 5vw, 72px);
  background: #f4efe6;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.floor-brand-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: #fffaf2;
}

.floor-brand-card span {
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.floor-brand-card h3 {
  margin-top: auto;
  font-size: 22px;
}

.floor-brand-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.contact {
  background:
    linear-gradient(90deg, rgba(23, 21, 17, 0.95), rgba(23, 21, 17, 0.82)),
    url("images/bruges.webp") center / cover;
}

@media (max-width: 1100px) {
  .hero-luxe,
  .intro-section,
  .weststyle-proof,
  .floor-section {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  .hero-luxe {
    min-height: auto;
    align-items: end;
    padding: 92px 18px 30px;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(18, 15, 11, 0.86) 0%, rgba(18, 15, 11, 0.4) 64%, rgba(18, 15, 11, 0.16) 100%);
  }

  .hero-panel,
  .intro-grid,
  .collection-grid,
  .proof-grid,
  .brand-grid,
  .floor-media {
    grid-template-columns: 1fr;
  }

  .hero-luxe h1 {
    font-size: clamp(36px, 11vw, 46px);
  }

  .hero-luxe .lead {
    font-size: 16px;
  }

  .hero-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-panel div {
    padding: 12px;
  }

  .hero-panel strong {
    font-size: 28px;
  }

  .hero-panel span {
    font-size: 11px;
  }

  .intro-card {
    min-height: 220px;
  }

  .proof-grid div,
  .floor-brand-card {
    min-height: 210px;
  }

  .collection-card,
  .collection-card img {
    min-height: 360px;
  }

  .collection-card.wide {
    grid-column: auto;
  }

  .floor-media img,
  .floor-media img:last-child {
    height: 330px;
  }
}
