/* estates.mkw.group — Real Estate hub under MKW Group */

:root {
  --bg-base:    #FBF6E9;
  --bg-cream:   #F5F1EA;
  --navy:       #0E1538;
  --navy-deep:  #060A1E;
  --terracotta: #A0522D;
  --ochre:      #B8853A;
  --ink:        #1A2740;
  --ink-soft:   #475569;
  --line:       rgba(15, 21, 56, 0.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-base);
  color: var(--ink);
  font-family: 'Cairo', 'Inter', system-ui, -apple-system, sans-serif;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body[lang="en"] { font-family: 'Inter', system-ui, sans-serif; }

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

img { max-width: 100%; height: auto; display: block; }

/* ── Floating language toggle ── */
.lang-toggle-floating {
  position: fixed;
  top: 18px;
  inset-inline-end: 18px;
  z-index: 100;
  background: rgba(14, 21, 56, 0.92);
  color: #F5F1EA;
  border: 1px solid rgba(245, 241, 234, 0.15);
  border-radius: 9999px;
  padding: 8px 18px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(14, 21, 56, 0.3);
  transition: transform 0.18s, background 0.18s;
}
.lang-toggle-floating:hover { transform: scale(1.06); background: rgba(14, 21, 56, 1); }

/* ── Back link to mkw.group ── */
.back-link {
  position: fixed;
  top: 22px;
  inset-inline-start: 22px;
  z-index: 100;
  font-size: 12px;
  font-weight: 700;
  color: rgba(245, 241, 234, 0.85);
  letter-spacing: 0.02em;
  background: rgba(14, 21, 56, 0.6);
  padding: 7px 14px;
  border-radius: 9999px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 241, 234, 0.12);
  transition: color 0.18s, background 0.18s;
}
.back-link:hover { color: #fff; background: rgba(14, 21, 56, 0.9); }

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #060A1E 0%, #0E1538 50%, #1A2750 100%);
  color: #F5F1EA;
  padding: clamp(7rem, 14vw, 11rem) 1.5rem clamp(5rem, 10vw, 7rem);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(160, 82, 45, 0.18), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(31, 79, 255, 0.15), transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(184, 133, 58, 0.12), transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1rem;
  background: rgba(245, 241, 234, 0.08);
  border: 1px solid rgba(245, 241, 234, 0.18);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(245, 241, 234, 0.92);
  backdrop-filter: blur(8px);
  margin-bottom: 1.75rem;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: #B8853A;
  box-shadow: 0 0 12px #B8853A;
}

.hero-title {
  font-family: 'Amiri', 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.18;
  margin: 0 0 1.5rem;
  color: #FBF6E9;
  letter-spacing: -0.01em;
}
body[lang="en"] .hero-title {
  font-family: 'Playfair Display', Georgia, serif;
}

.hero-lead {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.85;
  color: rgba(245, 241, 234, 0.82);
  max-width: 44rem;
  margin: 0 auto 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  padding: 0.85rem 1.7rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.18s, background 0.18s, box-shadow 0.18s;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-primary {
  background: #FBF6E9;
  color: #0E1538;
  box-shadow: 0 14px 30px -10px rgba(251, 246, 233, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(251, 246, 233, 0.55); }
.btn-secondary {
  background: transparent;
  color: #FBF6E9;
  border-color: rgba(245, 241, 234, 0.35);
}
.btn-secondary:hover { background: rgba(245, 241, 234, 0.08); border-color: rgba(245, 241, 234, 0.6); }

/* ── STATS ── */
.stats {
  max-width: 64rem;
  margin: -3.2rem auto 0;
  padding: 0 1.5rem;
  position: relative;
  z-index: 5;
}
.stats-card {
  background: #FBF6E9;
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  padding: 1.75rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  box-shadow: 0 32px 60px -25px rgba(14, 21, 56, 0.25);
}
.stat { text-align: center; }
.stat-value {
  font-family: 'Amiri', 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  color: var(--terracotta);
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.6rem;
}
@media (max-width: 640px) {
  .stats-card { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
}

/* ── INTRO SECTION ── */
.intro {
  max-width: 56rem;
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 7rem) 1.5rem clamp(3rem, 6vw, 4rem);
  text-align: center;
}
.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--terracotta);
  margin-bottom: 1.5rem;
}
.section-title {
  font-family: 'Amiri', 'Playfair Display', Georgia, serif;
  font-size: clamp(1.85rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  margin: 0 0 1.25rem;
}
body[lang="en"] .section-title { font-family: 'Playfair Display', Georgia, serif; }

.intro-body {
  font-size: 1.05rem;
  line-height: 1.95;
  color: var(--ink-soft);
  max-width: 48rem;
  margin: 0 auto;
}

/* ── BRAND CARDS ── */
.brands {
  max-width: 78rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem) 1.5rem clamp(5rem, 10vw, 7rem);
}
.brands-header {
  text-align: center;
  margin-bottom: 3rem;
}
.brands-subtitle {
  color: var(--ink-soft);
  font-size: 1rem;
  margin-top: 0.5rem;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 1.75rem;
}

.brand-card {
  background: #FBF6E9;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  padding: 2rem 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
  position: relative;
  overflow: hidden;
}
.brand-card::before {
  content: '';
  position: absolute;
  top: 0; inset-inline-start: 0;
  width: 6px; height: 100%;
  background: var(--accent, var(--terracotta));
  opacity: 0.85;
}
.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -20px rgba(14, 21, 56, 0.18);
  border-color: rgba(15, 21, 56, 0.16);
}

.brand-head {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.brand-logo {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 0.85rem;
  background: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--line);
  overflow: hidden;
}
.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}
.brand-letter {
  font-family: 'Amiri', Georgia, serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--accent, var(--terracotta));
  line-height: 1;
}
.brand-meta { flex: 1; min-width: 0; }
.brand-name {
  font-family: 'Amiri', 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  line-height: 1.15;
}
body[lang="en"] .brand-name { font-family: 'Playfair Display', Georgia, serif; }
.brand-name-en {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}
body[lang="en"] .brand-name-en { display: none; }
.brand-role {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent, var(--terracotta));
  background: rgba(160, 82, 45, 0.08);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  margin-top: 0.5rem;
}
.brand-since {
  font-size: 0.7rem;
  color: var(--ink-soft);
  margin-top: 0.4rem;
  letter-spacing: 0.04em;
}

.brand-desc {
  font-size: 0.96rem;
  line-height: 1.85;
  color: var(--ink-soft);
}

.brand-services {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.88rem;
}
.brand-services-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 0.45rem;
}
.brand-services li {
  position: relative;
  padding-inline-start: 1.2rem;
  color: var(--ink);
  line-height: 1.55;
}
.brand-services li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.55rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent, var(--terracotta));
}

.brand-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--accent, var(--terracotta));
  padding: 0.7rem 1.25rem;
  border: 1.5px solid var(--accent, var(--terracotta));
  border-radius: 9999px;
  align-self: flex-start;
  margin-top: 0.5rem;
  transition: background 0.18s, color 0.18s;
}
.brand-cta:hover {
  background: var(--accent, var(--terracotta));
  color: #FBF6E9;
}

/* ── CHAIN SECTION ── */
.chain {
  background: linear-gradient(135deg, #060A1E 0%, #0E1538 100%);
  color: #F5F1EA;
  padding: clamp(5rem, 10vw, 7rem) 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.chain::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(160, 82, 45, 0.12), transparent 60%);
}
.chain-inner {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
}
.chain .kicker {
  color: #B8853A;
  border-bottom-color: #B8853A;
}
.chain .section-title { color: #FBF6E9; }
.chain-body {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.95;
  color: rgba(245, 241, 234, 0.85);
  max-width: 48rem;
  margin: 1.5rem auto 0;
}
.chain-body strong { color: #FBF6E9; font-weight: 700; }

/* ── CONTACT ── */
.contact {
  max-width: 50rem;
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 7rem) 1.5rem clamp(3rem, 6vw, 4rem);
  text-align: center;
}
.contact-lead {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.85;
  margin-bottom: 2rem;
}
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.92rem;
  background: transparent;
  transition: background 0.18s, color 0.18s;
}
.contact-btn:hover { background: var(--navy); color: #FBF6E9; }

/* ── FOOTER ── */
.site-footer {
  background: #060A1E;
  color: rgba(245, 241, 234, 0.65);
  padding: 3rem 1.5rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(245, 241, 234, 0.06);
}
.endorsement {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 1.25rem 2rem;
  border: 1px solid rgba(245, 241, 234, 0.1);
  border-radius: 1rem;
  background: rgba(245, 241, 234, 0.03);
  transition: background 0.2s, border-color 0.2s;
  margin-bottom: 1.5rem;
}
.endorsement:hover {
  background: rgba(245, 241, 234, 0.06);
  border-color: rgba(245, 241, 234, 0.18);
}
.endorsement img {
  height: 3.2rem;
  width: auto;
  filter: brightness(1.1);
}
.endorsement-line {
  font-size: 0.82rem;
  color: rgba(245, 241, 234, 0.7);
  letter-spacing: 0.02em;
}
.footer-copy {
  font-size: 0.72rem;
  color: rgba(245, 241, 234, 0.4);
  margin-top: 1rem;
}

/* ── reveal animation ── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ── responsive tweaks ── */
@media (max-width: 480px) {
  .back-link { padding: 6px 10px; font-size: 11px; }
  .lang-toggle-floating { padding: 6px 14px; font-size: 12px; }
  .brand-card { padding: 1.5rem 1.25rem; }
  .brand-logo { width: 3.8rem; height: 3.8rem; }
  .brand-name { font-size: 1.4rem; }
}
