/* Dardery Real Estate — black & gold brand */
:root {
  --black: #0a0a0a;
  --panel: #17130e;
  --gold: #c9a24b;
  --gold-soft: rgba(201, 162, 75, 0.30);
  --ink: #f2ecdf;
  --ink-2: #c9b894;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--ink);
  font-family:'Aref Ruqaa','Cairo',sans-serif;
  font-size: 17px;
  line-height: 1.8;
}
.wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }

.dre-hero {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 18px; padding: 48px 0 32px; border-bottom: 1px solid var(--gold-soft);
}
.dre-hero .logo { width: 190px; border-radius: 24px; }
.portrait-hero { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); margin: 16px 0 4px; }
.dre-tagline { color: var(--gold); font-size: 19px; font-weight: 700; }
.dre-latin {
  font-family: 'Playfair Display', serif; letter-spacing: 0.35em;
  color: var(--ink-2); font-size: 13px; text-transform: uppercase;
}

.btn {
  display: inline-block; background: var(--ink); color: var(--black);
  font-weight: 700; font-size: 16px; text-decoration: none;
  padding: 12px 26px; border-radius: 999px; margin-top: 6px;
}
.btn.gold { background: var(--gold); }
.btn.ghost {
  background: transparent; color: var(--gold);
  border: 1px solid var(--gold-soft); font-size: 14px; padding: 8px 18px;
}

h1, h2 { font-family:'Aref Ruqaa','Cairo',sans-serif; font-weight: 800; }
h1 { font-size: 34px; margin: 40px 0 12px; }
h2 {
  font-size: 24px; margin: 44px 0 16px; color: var(--ink);
  padding-bottom: 10px; border-bottom: 1px solid var(--gold-soft);
}
.intro { color: var(--ink-2); }

.dre-rows { list-style: none; }
.dre-rows li {
  padding: 14px 0; border-bottom: 1px solid var(--gold-soft);
  display: flex; gap: 12px; align-items: baseline;
}
.dre-rows li:last-child { border-bottom: none; }
.dre-rows a.dre-proj { display: flex; gap: 12px; align-items: baseline; width: 100%; color: inherit; text-decoration: none; }
.dre-rows a.dre-proj:active .name, .dre-rows a.dre-proj:hover .name { color: var(--gold); }

.dre-rows .num { color: var(--ink-2); font-size: 14px; min-width: 22px; }
.dre-rows .name { font-weight: 700; }
.dre-rows .detail { color: var(--ink-2); font-size: 15px; display: block; }

.dre-facts { width: 100%; border-collapse: collapse; }
.dre-facts th, .dre-facts td {
  text-align: right; padding: 13px 0; border-bottom: 1px solid var(--gold-soft);
  vertical-align: top; font-size: 16px;
}
.dre-facts th { color: var(--ink-2); font-weight: 400; width: 34%; }
.dre-facts tr:last-child th, .dre-facts tr:last-child td { border-bottom: none; }

.dre-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0; }
.dre-photos img { border-radius: 16px; border: 1px solid var(--gold-soft); }
.dre-photos .wide { grid-column: 1 / -1; }

.dre-note {
  background: var(--panel); border: 1px solid var(--gold-soft);
  border-radius: 14px; padding: 16px 18px; margin: 20px 0;
}
.dre-note .t { color: var(--gold); font-weight: 700; margin-bottom: 6px; }
.dre-note p { color: var(--ink-2); font-size: 15px; }

.dre-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
footer {
  margin-top: 48px; padding: 24px 0 40px; border-top: 1px solid var(--gold-soft);
  color: var(--ink-2); font-size: 14px; text-align: center;
}
.dre-cta-block { margin: 18px 0 4px; }

@media (max-width: 480px) {
  h1 { font-size: 28px; }
  .dre-photos { grid-template-columns: 1fr; }
}

/* free tools + calculator */
.dre-badge {
  background: var(--gold); color: var(--black); font-size: 12px; font-weight: 700;
  border-radius: 999px; padding: 2px 10px; margin-right: 6px; vertical-align: middle;
}
.dre-crumb { margin-top: 28px; font-size: 14px; color: var(--ink-2); }
.dre-calc .dre-field { margin: 18px 0; }
.dre-field label { display: block; font-weight: 700; margin-bottom: 8px; }
.dre-field input {
  width: 100%; background: var(--panel); color: var(--ink);
  border: 1px solid var(--gold-soft); border-radius: 12px;
  padding: 13px 16px; font-size: 17px; font-family: inherit;
}
.dre-field input:focus { outline: 2px solid var(--gold); }
.dre-err { color: #e0a34a; font-weight: 700; }
.dre-hero-row th, .dre-hero-row td { color: var(--gold); font-weight: 800; font-size: 19px; }

/* planner tool */
.dre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 640px) { .dre-grid { grid-template-columns: 1fr; } }
.dre-field select {
  width: 100%; background: var(--panel); color: var(--ink);
  border: 1px solid var(--gold-soft); border-radius: 12px;
  padding: 13px 16px; font-size: 17px; font-family: inherit;
}
h3.dre-sub { font-size: 19px; margin: 30px 0 10px; color: var(--gold); }
.dre-verdict {
  border-radius: 14px; padding: 16px 18px; margin: 18px 0 8px;
  font-weight: 800; font-size: 19px; text-align: center; border: 1px solid var(--gold-soft);
}
.dre-verdict.v0 { background: #14230f; color: #9fce7a; }
.dre-verdict.v1 { background: #2a1f0a; color: #e0a34a; }
.dre-verdict.v2 { background: #2a0f0d; color: #e0786e; }
.dre-reasons { margin: 0 0 10px; padding-right: 22px; color: var(--ink-2); font-size: 15px; }
.dre-reasons li { margin: 6px 0; }
.dre-small { color: var(--ink-2); font-size: 13px; }

/* upload */
.dre-upload-box {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  border: 2px dashed var(--gold-soft); border-radius: 16px; padding: 28px 18px; cursor: pointer;
}
.dre-upload-box:hover { border-color: var(--gold); }
.dre-upload-t { color: var(--gold); font-weight: 800; font-size: 18px; }
.dre-upload-d { color: var(--ink-2); font-size: 14px; }
.dre-upload-status { color: var(--gold); font-weight: 700; margin-top: 10px; }

.dre-mode{display:flex;gap:10px;margin:0 0 18px}
.dre-mode button{flex:1;padding:12px 10px;border-radius:12px;border:1px solid #C9A24B;background:transparent;color:#C9A24B;font:inherit;font-size:15px;cursor:pointer}
.dre-mode button.on{background:#C9A24B;color:#0A0A0A;font-weight:700}

.dre-wiz-step .t{color:#C9A24B;font-weight:700;margin:0 0 12px}
.dre-wiz-opts{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}
.dre-wiz-opts button{padding:14px 10px;border-radius:12px;border:1px solid #C9A24B;background:transparent;color:#e9e2d5;font:inherit;font-size:15px;cursor:pointer}
.dre-wiz-opts button:hover,.dre-wiz-opts button.sel{background:#C9A24B;color:#0A0A0A;font-weight:700}
.dre-wiz-nav{display:flex;gap:10px;margin-top:14px}
.dre-wiz-nav .btn{flex:1;text-align:center}

.utabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.utab { border: 1.5px solid var(--gold); color: var(--gold); border-radius: 999px; padding: 8px 16px; background: none; font: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.utab.active { background: var(--gold); color: #0A0A0A; }
.upanel[hidden] { display: none !important; }
.upanel .uintro { color: var(--ink-2); font-size: 14.5px; line-height: 1.8; margin: 0 0 10px; }

.lang-toggle { position: fixed; top: 10px; inset-inline-start: 10px; z-index: 998; background: #141414; border: 1px solid #C9A24B; color: #C9A24B; border-radius: 20px; padding: 6px 14px; font-size: 13px; text-decoration: none; font-weight: 700; }
.dre-search input { width: 100%; box-sizing: border-box; background: #141414; border: 1px solid var(--gold-soft); border-radius: 12px; color: inherit; padding: 12px 14px; font: inherit; font-size: 15px; margin-bottom: 12px; }
.dre-areas { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.dre-area { border: 1.5px solid var(--gold); color: var(--gold); border-radius: 999px; padding: 7px 15px; background: none; font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; }
.dre-area.active { background: var(--gold); color: #0A0A0A; }
.dre-empty { color: var(--ink-2); font-size: 14.5px; line-height: 1.8; }
.dre-rows li[hidden] { display: none !important; }
