/* ===== Mise en Place Consulting — Site Stylesheet ===== */
/* Colors, type, and logo usage follow Mise_en_Place_Brand_Guidelines v1.0 */

:root {
  --green: #14312B;      /* Heritage Green — primary text, dark surfaces */
  --gold: #C79A3E;       /* Table Gold — accents, subtitles, rules */
  --gold-soft: #D9BE84;  /* lighter tint of Table Gold, decorative use only */
  --cream: #F7F4EE;      /* Cream — default light background */
  --parchment: #F4EFE6;  /* Parchment — light panels */
  --grey: #5A5A54;       /* Warm Grey — taglines, captions, secondary text */
  --white: #ffffff;
  --border: rgba(199, 154, 62, 0.28);
  --shadow: 0 12px 30px rgba(20, 49, 43, 0.08);
  --radius: 6px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
  --arabic: 'Tajawal', 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--green);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

html[dir="rtl"] body {
  font-family: var(--arabic);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--green);
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4 {
  font-family: var(--arabic);
  font-weight: 800;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }

p { color: var(--grey); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}

html[dir="rtl"] .eyebrow { letter-spacing: 0; font-family: var(--arabic); }

/* ===== Header / Nav ===== */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 238, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  max-width: 1120px;
  margin: 0 auto;
}

/* Official logo lockup — always the master SVG, never redrawn or recolored */
.logo-lockup {
  display: flex;
  align-items: center;
}

.site-logo {
  height: 46px;
  width: auto;
  display: block;
}

@media (max-width: 560px) {
  .site-logo { height: 36px; }
}

nav ul {
  display: flex;
  gap: 34px;
  list-style: none;
}

nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--grey);
  position: relative;
  padding-bottom: 4px;
}

nav a:hover, nav a.active { color: var(--green); }

nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.location-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--grey);
  white-space: nowrap;
}
.location-badge svg { flex-shrink: 0; }
html[dir="rtl"] .location-badge { font-family: var(--arabic); }
@media (max-width: 720px) {
  .location-badge span:not([data-lang]) { display: none; }
}

.lang-toggle {
  border: 1px solid var(--green);
  background: transparent;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-toggle:hover { background: var(--green); color: var(--cream); }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--green);
  color: var(--cream);
}
.btn-primary:hover { background: var(--gold); color: var(--green); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--green);
  color: var(--green);
}
.btn-outline:hover { background: var(--green); color: var(--cream); }

.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--green); }

/* ===== Hero ===== */

.hero {
  padding: 90px 0 70px;
  text-align: center;
}

.hero h1 { max-width: 780px; margin: 0 auto 20px; }
.hero .lead {
  max-width: 620px;
  margin: 0 auto 34px;
  font-size: 1.15rem;
  color: var(--grey);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 64px;
  flex-wrap: wrap;
}
.hero-stats .stat-num {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold);
  font-weight: 700;
}
html[dir="rtl"] .hero-stats .stat-num { font-family: var(--arabic); }
.hero-stats .stat-label {
  font-size: 0.85rem;
  color: var(--grey);
  margin-top: 4px;
}

/* ===== Sections ===== */

section { padding: 78px 0; }
.section-alt { background: var(--parchment); }
.section-dark { background: var(--green); color: var(--cream); }
.section-dark h2, .section-dark h3 { color: var(--cream); }
.section-dark p { color: #CFCDBE; }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}
.section-head p { font-size: 1.05rem; }

/* ===== Cards / Grids ===== */

.grid {
  display: grid;
  gap: 26px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-5 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.module-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.module-card .num {
  font-family: var(--serif);
  color: var(--gold-soft);
  font-size: 2.2rem;
  font-weight: 700;
}
html[dir="rtl"] .module-card .num { font-family: var(--arabic); }
.module-card ul { padding-inline-start: 18px; color: var(--grey); font-size: 0.92rem; }
.module-card ul li { margin-bottom: 6px; }
.module-card .price-note {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 700;
}

/* ===== Process steps ===== */

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  text-align: center;
  padding: 24px 14px;
  position: relative;
}
.step .step-num {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  margin: 0 auto 16px;
}
.step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.step p { font-size: 0.88rem; }

/* ===== Why us list ===== */

.why-list { display: flex; flex-direction: column; gap: 22px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-item .icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--parchment);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
html[dir="rtl"] .why-item { flex-direction: row-reverse; text-align: right; }

/* ===== CTA band ===== */

.cta-band {
  background: var(--green);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 56px 40px;
  text-align: center;
}
.cta-band h2 { color: var(--cream); margin-bottom: 14px; }
.cta-band p { color: #CFCDBE; margin-bottom: 28px; }

/* ===== Contact ===== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}
.contact-info .item { margin-bottom: 26px; }
.contact-info .label {
  font-family: var(--sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 6px;
}
html[dir="rtl"] .contact-info .label { letter-spacing: 0; font-family: var(--arabic); }

form { display: flex; flex-direction: column; gap: 18px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--green);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ===== Footer ===== */

footer {
  background: var(--green);
  color: #C9CFC2;
  padding: 46px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
  align-items: start;
}
.footer-grid h4 { color: var(--cream); font-size: 0.95rem; margin-bottom: 14px; font-family: var(--sans); }
html[dir="rtl"] .footer-grid h4 { font-family: var(--arabic); }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { font-size: 0.9rem; color: #C9CFC2; }
.footer-grid a:hover { color: var(--gold-soft); }
.footer-logo-mark { height: 40px; width: auto; margin-bottom: 14px; }
.footer-bottom {
  border-top: 1px solid #2A4A42;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===== Utility ===== */

.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
[data-lang="ar"] { display: none; }
html[dir="rtl"] [data-lang="en"] { display: none; }
html[dir="rtl"] [data-lang="ar"] { display: block; }
html[dir="rtl"] span[data-lang="ar"],
html[dir="rtl"] a[data-lang="ar"],
html[dir="rtl"] .lang-toggle[data-lang="ar"] { display: inline-block; }

/* ===== Responsive ===== */

@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  nav ul { display: none; }
  .nav-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
}
