/*
Theme Name: Shafaf Dubai Luxury Real Estate
Author: Shafaf Group
Description: AI-SEO, Bilingual (EN/AR), HNI Investor Real Estate Theme for Shafaf Group (Meydan Free Zone, Dubai)
Version: 1.0
*/

:root {
    --bg: #0b0d10;
    --card: #13171d;
    --gold: #d4af37;
    --gold-hover: #e5c354;
    --text: #f4f5f7;
    --muted: #9aa3b2;
    --border: rgba(212, 175, 55, 0.22);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

body[dir="rtl"] {
    font-family: "Tajawal", "Segoe UI", Tahoma, sans-serif;
}

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

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 99;
    background: rgba(11, 13, 16, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.brand {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--gold);
    text-transform: uppercase;
}

.brand span {
    display: block;
    font-size: 0.68rem;
    color: var(--muted);
    letter-spacing: 2px;
}

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

.btn-lang {
    border: 1px solid var(--border);
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text);
    background: var(--card);
}

.btn-wa {
    background: #1f8b4c;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Hero & Grid */
.hero {
    padding: 72px 0 56px;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.12), transparent 55%);
    border-bottom: 1px solid var(--border);
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    border: 1px solid var(--border);
    border-radius: 99px;
    font-size: 0.78rem;
    color: var(--gold);
    margin-bottom: 16px;
    background: rgba(212, 175, 55, 0.08);
}

h1 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.18;
    margin-bottom: 16px;
    font-weight: 700;
}

.lead-text {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 680px;
    margin-bottom: 28px;
}

.two-col {
    display: grid;
    grid-template-columns: 1.2fr 0.85fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 900px) {
    .two-col {
        grid-template-columns: 1fr;
    }
}

/* Cards & Metrics */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 28px;
}

@media (max-width: 860px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
}

.card h3 {
    color: var(--gold);
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.92rem;
}

.spec-row span:first-child {
    color: var(--muted);
}

.spec-row span:last-child {
    font-weight: 600;
}

/* Lead Form Card */
.form-box {
    background: var(--card);
    border: 1px solid var(--gold);
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.form-box h2 {
    font-size: 1.35rem;
    margin-bottom: 6px;
    color: #fff;
}

.form-box p.sub {
    font-size: 0.88rem;
    color: var(--muted);
    margin-bottom: 18px;
}

.field {
    margin-bottom: 14px;
}

.field label {
    display: block;
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 5px;
}

.field input,
.field select {
    width: 100%;
    padding: 11px 13px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #0b0d10;
    color: #fff;
    font-size: 0.95rem;
}

.field input:focus,
.field select:focus {
    outline: none;
    border-color: var(--gold);
}

.checkbox-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.8rem;
    color: var(--muted);
    margin: 14px 0 18px;
}

.checkbox-row input {
    width: 17px;
    height: 17px;
    margin-top: 2px;
    accent-color: var(--gold);
}

.btn-submit {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 8px;
    background: var(--gold);
    color: #0b0d10;
    font-weight: 700;
    font-size: 0.98rem;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit:hover {
    background: var(--gold-hover);
}

.form-msg {
    margin-top: 14px;
    font-size: 0.9rem;
    display: none;
    padding: 12px;
    border-radius: 8px;
}

.form-msg.ok {
    display: block;
    background: rgba(31, 139, 76, 0.18);
    border: 1px solid #1f8b4c;
    color: #8ff0b5;
}

.form-msg.err {
    display: block;
    background: rgba(220, 53, 69, 0.18);
    border: 1px solid #dc3545;
    color: #ff9aa4;
}

/* Sections & Footer */
.section {
    padding: 64px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-title {
    font-size: 1.75rem;
    margin-bottom: 10px;
}

.section-sub {
    color: var(--muted);
    margin-bottom: 28px;
    max-width: 680px;
}

.project-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 14px;
    background: #1d232c;
}

.btn-outline {
    display: inline-block;
    margin-top: 14px;
    padding: 9px 16px;
    border-radius: 6px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.88rem;
    font-weight: 600;
}

.btn-outline:hover {
    background: var(--gold);
    color: #0b0d10;
}

.footer {
    padding: 42px 0;
    color: var(--muted);
    font-size: 0.84rem;
}

.compliance-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    line-height: 1.65;
}