/* ═══════════════════════════════════════════════════════════════
   PAGE-SPECIFIC STYLES — migrated from the old per-page <style>
   blocks into one shared file now that there's a real build step.
   ═══════════════════════════════════════════════════════════════ */

/* ── HOMEPAGE / IT-SERVICES: SERVICE CARD GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  border-radius: 8px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
  background: #f4f7ff;
  box-shadow: 0 4px 24px rgba(0, 35, 75, 0.12);
  border-top-color: var(--gold);
  border-color: rgba(0, 35, 75, 0.2);
}
.service-icon {
  width: 44px; height: 44px;
  background: var(--sky);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.service-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--navy); margin-bottom: 0.5rem; }
.service-card p  { font-size: 0.9rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.25rem; flex-grow: 1; }
.service-card .investor-note {
  font-size: 0.78rem; font-style: italic;
  color: var(--gold); font-weight: 500;
  margin-bottom: 1.25rem; line-height: 1.5;
}
.service-link {
  display: inline-block;
  background: none;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
  transition: color 0.2s ease;
}
.service-link:hover { color: var(--gold); }

/* ── HOMEPAGE: WHO WE WORK WITH ── */
.audience-section { background: var(--sky); }
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.audience-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
}
.audience-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.09);
  border-color: var(--navy);
  border-top-color: var(--gold);
}
.audience-card .tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--navy); background: var(--sky);
  padding: 0.3rem 0.7rem; border-radius: 3px;
  margin-bottom: 1rem;
}
[dir="rtl"] .audience-card .tag { letter-spacing: 0; text-transform: none; }
.audience-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; }
.audience-card p  { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* ── HOMEPAGE / CONSULTING / IT-SERVICES: PROCESS / HOW-WE-WORK STEPS ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}
.step {
  padding: 2rem 1.75rem;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.step:hover {
  background: #f4f7ff;
  box-shadow: 0 4px 24px rgba(0, 35, 75, 0.12);
  border-color: rgba(0, 35, 75, 0.2);
  border-top-color: var(--gold);
}
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 10px;
  background: rgba(0,35,75,0.07);
  color: rgba(0,35,75,0.35);
  font-size: 1.2rem; font-weight: 800; letter-spacing: -0.5px;
  margin-bottom: 1.4rem; flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease;
}
.step:hover .step-number { background: var(--navy); color: var(--white); }
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.6rem; letter-spacing: -0.2px; }
.step p  { font-size: 0.875rem; color: var(--muted); line-height: 1.75; }

/* ── HOMEPAGE: WHY CHOOSE US (dark) ── */
.why-section { background: var(--navy); }
.why-section .section-label { color: rgba(201,169,110,0.65); }
.why-section .section-title { color: var(--white); }
.why-section .section-sub   { color: rgba(255,255,255,0.62); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 3px solid transparent;
  border-radius: 8px;
  padding: 2rem;
}
.why-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.11);
  box-shadow: 0 20px 40px rgba(0,0,0,0.28);
  border-color: rgba(255,255,255,0.22);
  border-top-color: var(--gold);
}
.why-card .check {
  width: 36px; height: 36px;
  background: rgba(201,169,110,0.2);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--gold);
  font-size: 1rem; font-weight: 700;
}
.why-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.why-card p  { font-size: 0.9rem; color: rgba(255,255,255,0.58); line-height: 1.7; }

/* ── HOMEPAGE: TRUST SIGNALS ── */
.trust-section { background: var(--sky); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.stat-card {
  background: var(--navy);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
}
.stat-number {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.72); line-height: 1.5; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 2rem;
}
.testimonial-card p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.testimonial-author { display: block; font-family: var(--font-sans); font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.testimonial-author small { display: block; font-weight: 400; font-size: 0.78rem; margin-top: 0.2rem; opacity: 0.8; }

/* ── HOMEPAGE: LEAD CAPTURE STRIP ── */
.lead-strip {
  background: rgba(201,169,110,0.1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 2rem;
}
.lead-strip-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.lead-strip-text h2 { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; line-height: 1.3; }
.lead-strip-text p { font-size: 0.9rem; color: var(--muted); max-width: 480px; }
.lead-strip-text p em { color: var(--navy); font-style: normal; font-weight: 600; }
.lead-form { display: flex; gap: 0.6rem; flex-wrap: wrap; flex-shrink: 0; }
.lead-form input[type="email"] {
  font-family: var(--font-sans); font-size: 0.9rem;
  padding: 0.85rem 1.1rem; border: 1.5px solid var(--border); border-radius: 4px;
  min-width: 220px; background: var(--white); color: var(--text);
}
.lead-form input[type="email"]:focus { outline: none; border-color: var(--gold); }
.lead-form button {
  font-family: var(--font-sans); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.07em; text-transform: uppercase;
  background: var(--gold); color: var(--navy); border: none; border-radius: 4px;
  padding: 0.85rem 1.5rem; cursor: pointer; white-space: nowrap; transition: background 0.25s;
}
[dir="rtl"] .lead-form button { letter-spacing: 0; text-transform: none; }
.lead-form button:hover { background: var(--gold-hover); }

/* ── ABOUT: INTRO / MISSION STATEMENT ── */
.intro-body { font-size: 1.1rem; color: var(--muted); line-height: 1.9; text-align: center; max-width: 820px; margin: 0 auto 2.5rem; }
.mission-statement {
  background: var(--sky); border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0; padding: 1.75rem 2rem; max-width: 820px; margin: 0 auto;
}
.mission-statement p { font-size: 1.1rem; font-weight: 600; color: var(--navy); line-height: 1.7; font-style: italic; }
.flagship-note { font-size: 0.85rem; color: var(--muted); text-align: center; max-width: 640px; margin: 1.5rem auto 0; font-style: italic; }

/* ── ABOUT: WHY WE EXIST ── */
.origin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.origin-text h3 { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; }
.origin-text p { font-size: 1rem; color: var(--muted); line-height: 1.85; margin-bottom: 1.25rem; }
.origin-pillars { display: flex; flex-direction: column; gap: 1rem; }
.pillar {
  background: var(--white); border: 1px solid var(--border);
  border-left: 3px solid transparent; border-radius: 8px;
  padding: 1.25rem 1.5rem; display: flex; align-items: flex-start; gap: 1rem;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--navy); border-left-color: var(--gold); }
.pillar-icon {
  width: 38px; height: 38px; background: var(--sky); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.pillar h4 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.25rem; }
.pillar p  { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* ── ABOUT: APPROACH ── */
.approach-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.approach-card {
  background: var(--white); border: 1px solid var(--border);
  border-top: 3px solid transparent; border-radius: 8px;
  padding: 2rem 1.75rem; position: relative; overflow: hidden;
}
.approach-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.6) 0%, rgba(239,246,255,0.3) 100%);
  opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
}
.approach-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--navy); border-top-color: var(--gold); }
.approach-card:hover::before { opacity: 1; }
.approach-num { font-size: 2rem; font-weight: 800; color: var(--sky); line-height: 1; margin-bottom: 0.75rem; letter-spacing: -1px; }
.approach-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.approach-card p  { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* ── ABOUT: VALUES (dark) ── */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.value-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-top: 3px solid transparent; border-radius: 8px; padding: 2rem;
}
.value-card:hover { transform: translateY(-8px); background: rgba(255,255,255,0.12); box-shadow: 0 20px 40px rgba(0,0,0,0.3); border-color: rgba(255,255,255,0.25); border-top-color: var(--gold); }
.value-icon { font-size: 1.4rem; margin-bottom: 1.1rem; display: block; }
.value-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.value-card p  { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* ── ABOUT: MISSION BLOCK ── */
.mission-block {
  background: var(--white); border-radius: 8px; padding: 3.5rem; text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border); max-width: 820px; margin: 0 auto;
}
.mission-block .mission-label { font-family: var(--font-sans); font-size: 0.7rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; display: block; }
[dir="rtl"] .mission-block .mission-label { letter-spacing: 0; text-transform: none; }
.mission-block h2 { font-family: var(--font-serif); font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 700; color: var(--navy); line-height: 1.4; letter-spacing: -0.3px; }

/* ── CONTACT: FORM LAYOUT ── */
.contact-section { padding: 5rem 2rem; }
.contact-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 420px; gap: 4rem; align-items: start; }
.form-block h2 { font-family: var(--font-serif); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700; color: var(--navy); letter-spacing: -0.4px; margin-bottom: 0.75rem; }
.form-block .form-intro { font-size: 1rem; color: var(--muted); line-height: 1.8; margin-bottom: 2.5rem; max-width: 520px; }
.consultation-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--text); letter-spacing: 0.2px; }
.field label .required { color: var(--gold); margin-inline-start: 2px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.75rem 1rem; border: 1.5px solid var(--border); border-radius: 4px;
  font-size: 0.95rem; font-family: inherit; color: var(--text); background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s; outline: none; appearance: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,169,110,0.15); }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; cursor: pointer;
}
[dir="rtl"] .field select { background-position: left 1rem center; padding-right: 1rem; padding-left: 2.5rem; }
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.field .hint { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }
.form-consent { font-size: 0.82rem; color: var(--muted); line-height: 1.6; padding-top: 0.5rem; border-top: 1px solid var(--border); }
.btn-submit {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: transparent; color: var(--navy); border: 1.5px solid var(--navy);
  font-family: var(--font-sans); font-weight: 600; font-size: 0.78rem;
  padding: 0.95rem 2rem; border-radius: 4px; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; transition: background 0.35s var(--ease-premium), color 0.35s var(--ease-premium), transform 0.35s var(--ease-premium);
  align-self: flex-start;
}
[dir="rtl"] .btn-submit { letter-spacing: 0; text-transform: none; }
.btn-submit:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.form-success { display: none; background: rgba(201,169,110,0.08); border: 1px solid rgba(201,169,110,0.35); border-radius: 8px; padding: 2rem; text-align: center; }
.form-success h3 { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.form-success p  { font-size: 0.9rem; color: var(--muted); }

/* ── CONTACT: SIDEBAR ── */
.contact-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-card { background: var(--sky); border: 1px solid var(--border); border-radius: 8px; padding: 1.75rem; }
.sidebar-card h3 { font-size: 0.7rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
[dir="rtl"] .sidebar-card h3 { letter-spacing: 0; text-transform: none; }
.contact-detail { display: flex; flex-direction: column; gap: 1rem; }
.contact-detail-item { display: flex; align-items: flex-start; gap: 0.85rem; }
.detail-icon { width: 36px; height: 36px; background: var(--white); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--navy); flex-shrink: 0; border: 1px solid var(--border); }
.detail-icon svg { width: 18px; height: 18px; }
.detail-text span { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 0.2rem; }
.detail-text a, .detail-text p { font-size: 0.925rem; font-weight: 600; color: var(--navy); text-decoration: none; transition: color 0.2s; }
.detail-text a:hover { color: var(--blue); }
.sidebar-process { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 1.75rem; }
.sidebar-process h3 { font-size: 0.7rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.process-steps { display: flex; flex-direction: column; gap: 1rem; }
.process-step { display: flex; gap: 0.85rem; align-items: flex-start; }
.process-step-num { width: 24px; height: 24px; background: var(--navy); color: var(--white); font-size: 0.72rem; font-weight: 700; border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.process-step p  { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }
.process-step strong { display: block; font-size: 0.875rem; font-weight: 700; color: var(--text); margin-bottom: 0.15rem; }
.response-note { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem 1.75rem; display: flex; gap: 1rem; align-items: flex-start; }
.response-note .note-icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.response-note .note-icon svg { width: 20px; height: 20px; }
.response-note p   { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }
.response-note strong { display: block; font-size: 0.875rem; font-weight: 700; color: var(--text); margin-bottom: 0.25rem; }

/* ── CONTACT: CLOSING SECTION (dark) ── */
.closing-section { background: var(--navy); padding: 6rem 2rem; text-align: center; }
.closing-inner { max-width: 720px; margin: 0 auto; }
.closing-section .section-label { color: rgba(201,169,110,0.65); }
.closing-section h2 { font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--white); letter-spacing: -0.5px; margin-bottom: 1.25rem; }
.closing-section p { font-size: 1.05rem; color: rgba(255,255,255,0.65); line-height: 1.85; margin-bottom: 1.25rem; }
.closing-section p:last-of-type { margin-bottom: 0; }

/* ── PRIVACY: DOCUMENT LAYOUT ── */
.content-wrap { max-width: 1100px; margin: 0 auto; padding: 4rem 2rem 5rem; display: grid; grid-template-columns: 220px 1fr; gap: 4rem; align-items: start; }
.translation-notice { background: var(--sky); border: 1px solid var(--border); border-radius: 8px; padding: 1rem 1.25rem; font-size: 0.85rem; color: var(--navy); margin-bottom: 2rem; grid-column: 1 / -1; }
.toc { position: sticky; top: 88px; }
.toc-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 0.85rem; display: block; }
[dir="rtl"] .toc-label { letter-spacing: 0; text-transform: none; }
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 0.15rem; }
.toc-list a { display: block; font-size: 0.825rem; color: var(--muted); text-decoration: none; padding: 0.35rem 0.75rem; border-radius: 4px; transition: color 0.2s, background 0.2s, border-color 0.2s; line-height: 1.5; }
.toc-list a:hover { color: var(--navy); background: var(--sky); }
.doc-body { min-width: 0; }
.updated-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--sky); border: 1px solid var(--border); border-radius: 4px; padding: 0.5rem 1rem; font-size: 0.825rem; font-weight: 600; color: var(--navy); margin-bottom: 2.5rem; }
.updated-badge svg { width: 16px; height: 16px; flex-shrink: 0; }
.doc-section { margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--border); }
.doc-section:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.doc-section h2 { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; letter-spacing: -0.2px; display: flex; align-items: center; gap: 0.6rem; }
.doc-section h2 .sec-num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: var(--navy); color: var(--white); font-size: 0.75rem; font-weight: 700; border-radius: 4px; flex-shrink: 0; }
.doc-section h3 { font-family: var(--font-sans); font-size: 1rem; font-weight: 700; color: var(--text); margin: 1.5rem 0 0.6rem; }
.doc-section p { font-size: 0.95rem; color: var(--muted); line-height: 1.85; margin-bottom: 0.9rem; }
.doc-section p:last-child { margin-bottom: 0; }
.doc-section ul, .doc-section ol { padding-inline-start: 1.5rem; margin-bottom: 0.9rem; }
.doc-section li { font-size: 0.95rem; color: var(--muted); line-height: 1.8; margin-bottom: 0.35rem; }
.doc-section strong { color: var(--text); }
.data-table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: 0.9rem; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.data-table thead tr { background: var(--navy); }
.data-table th { padding: 0.9rem 1.1rem; text-align: start; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.5px; color: var(--white); }
.data-table td { padding: 0.875rem 1.1rem; border-bottom: 1px solid var(--border); color: var(--muted); vertical-align: top; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr:nth-child(even) { background: var(--sky); }
.rights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin: 1.25rem 0; }
.right-card { background: var(--sky); border: 1px solid var(--border); border-radius: 8px; padding: 1.1rem 1.25rem; }
.right-card h4 { font-size: 0.875rem; font-weight: 700; color: var(--navy); margin-bottom: 0.3rem; }
.right-card p  { font-size: 0.825rem; color: var(--muted); line-height: 1.6; margin-bottom: 0; }
.info-box { background: var(--sky); border-left: 3px solid var(--gold); border-radius: 0 6px 6px 0; padding: 1.25rem 1.5rem; margin: 1.25rem 0; }
.info-box p { font-size: 0.9rem; color: var(--navy); margin-bottom: 0; font-weight: 500; }
.contact-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.25rem; }
.contact-card h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.3rem; }
.contact-card p  { font-size: 0.875rem; color: var(--muted); margin-bottom: 0; }
.contact-card a {
  display: inline-block; background: transparent; color: var(--navy); border: 1.5px solid var(--navy);
  font-family: var(--font-sans); font-weight: 600; font-size: 0.78rem; padding: 0.65rem 1.5rem; border-radius: 4px;
  letter-spacing: 0.07em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: background 0.35s var(--ease-premium), color 0.35s var(--ease-premium);
}
[dir="rtl"] .contact-card a { letter-spacing: 0; text-transform: none; }
.contact-card a:hover { background: var(--navy); color: var(--white); }

/* ── CONSULTING: SERVICE LIST (from former services.html) ── */
.services-list { display: flex; flex-direction: column; gap: 2rem; }
.service-card[id] {
  border-left: 4px solid transparent;
  padding: 2.5rem;
  display: grid; grid-template-columns: 72px 1fr;
  scroll-margin-top: 100px; gap: 2rem; align-items: start;
}
.service-card[id]:hover { background: #f8faff; box-shadow: 0 4px 24px rgba(0, 35, 75, 0.10); border-left-color: var(--gold); border-top-color: transparent; }
.service-card[id]:hover .service-number { background: var(--navy); color: var(--white); }
.service-number {
  width: 56px; height: 56px; background: rgba(0,35,75,0.07); color: rgba(0,35,75,0.4);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; font-weight: 800; flex-shrink: 0; letter-spacing: -0.5px;
  transition: background 0.3s ease, color 0.3s ease;
}
.service-body h2 { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 800; color: var(--navy); margin-bottom: 0.75rem; letter-spacing: -0.3px; }
.service-body .service-tagline { font-size: 0.7rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; display: block; }
[dir="rtl"] .service-body .service-tagline { letter-spacing: 0; text-transform: none; }
.service-body p { font-size: 0.975rem; color: var(--muted); line-height: 1.85; margin-bottom: 1.1rem; }
.service-body p:last-of-type { margin-bottom: 0; }
.service-includes { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.service-includes h4 { font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 0.85rem; }
[dir="rtl"] .service-includes h4 { letter-spacing: 0; text-transform: none; }
.includes-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.includes-list span { font-size: 0.825rem; font-weight: 500; color: var(--navy); background: var(--sky); border: 1px solid var(--border); border-radius: 20px; padding: 0.3rem 0.85rem; }

/* ── CONSULTING: APPROACH STRIP / ENGAGEMENT MODEL ── */
.approach-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
}
.approach-item { background: var(--white); padding: 2rem 1.75rem; transition: background 0.3s ease, box-shadow 0.3s ease; }
.approach-item:hover { background: #f8faff; box-shadow: inset 0 0 0 1px rgba(0,35,75,0.08); }
.approach-item .icon { font-size: 1.5rem; margin-bottom: 0.85rem; display: block; }
.approach-item h4 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
.approach-item p  { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }

.engagement-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.engagement-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-top: 3px solid transparent; border-radius: 8px; padding: 2rem;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.engagement-card:hover { background: rgba(255,255,255,0.12); box-shadow: 0 8px 32px rgba(0,0,0,0.25); border-top-color: var(--gold); }
.engagement-num { font-size: 2.5rem; font-weight: 800; color: rgba(255,255,255,0.1); line-height: 1; margin-bottom: 0.75rem; letter-spacing: -1px; }
.engagement-card h3 { font-size: 1rem; font-weight: 800; color: var(--white); margin-bottom: 0.5rem; }
.engagement-card p  { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.7; }

/* ── CONSULTING: PACKAGES ── */
.packages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.package-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 2rem; text-align: center; }
.package-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.75rem; }
.package-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.25rem; }
.package-card span { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gold); }
[dir="rtl"] .package-card span { letter-spacing: 0; text-transform: none; }

/* ── CONSULTING: CLIENT GROUPS (from former who-we-help.html) ── */
.groups-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.group-card { display: grid; grid-template-columns: 280px 1fr; border-bottom: 1px solid var(--border); border-left: 4px solid transparent; position: relative; }
.group-card:last-child { border-bottom: none; }
.group-card:hover { background: var(--sky); border-left-color: var(--navy); box-shadow: inset 0 0 0 1px rgba(0,35,75,0.08), 0 8px 32px rgba(0,35,75,0.07); transform: translateX(4px); }
[dir="rtl"] .group-card:hover { transform: translateX(-4px); }
.group-card:hover .group-num { color: rgba(201,169,110,0.3); }
.group-sidebar { background: var(--sky); padding: 2.5rem 2rem; display: flex; flex-direction: column; gap: 1rem; border-right: 1px solid var(--border); }
.group-num { font-family: var(--font-serif); font-size: 3rem; font-weight: 800; color: var(--border); line-height: 1; letter-spacing: -2px; }
.group-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--navy); background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 0.3rem 0.85rem; align-self: flex-start; }
[dir="rtl"] .group-tag { letter-spacing: 0; text-transform: none; }
.group-sidebar h2 { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 700; color: var(--navy); line-height: 1.35; }
.group-content { padding: 2.5rem; }
.group-content p { font-size: 0.975rem; color: var(--muted); line-height: 1.85; margin-bottom: 1.1rem; }
.group-content p:last-of-type { margin-bottom: 0; }
.group-challenges { margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--border); }
.group-challenges h4 { font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
[dir="rtl"] .group-challenges h4 { letter-spacing: 0; text-transform: none; }
.challenge-list { display: flex; flex-direction: column; gap: 0.6rem; }
.challenge-item { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; color: var(--text); }
.challenge-item::before { content: ''; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; flex-shrink: 0; margin-top: 0.55rem; }

.traits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.trait-item { background: var(--white); padding: 2rem 1.75rem; }
.trait-item:hover { background: var(--sky); transform: translateY(-4px); }
.trait-icon { font-size: 1.4rem; margin-bottom: 0.85rem; display: block; }
.trait-item h4 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
.trait-item p  { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }

.not-fit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.not-fit-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-top: 3px solid transparent; border-radius: 8px; padding: 1.75rem 2rem; }
.not-fit-card:hover { transform: translateY(-8px); background: rgba(255,255,255,0.12); box-shadow: 0 20px 40px rgba(0,0,0,0.3); border-color: rgba(255,255,255,0.25); border-top-color: var(--gold); }
.not-fit-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.not-fit-card p  { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.7; }

/* ── PORTAL SPLASH PAGE ── */
.main { flex: 1; background: var(--sky); display: flex; align-items: center; justify-content: center; padding: 4rem 2rem; }
.card { width: 100%; max-width: 460px; background: var(--white); border-radius: 8px; border: 1px solid var(--border); padding: 2.5rem; box-shadow: var(--shadow-md); }
.card-header { display: flex; align-items: center; gap: 1rem; padding-bottom: 1.75rem; margin-bottom: 1.75rem; border-bottom: 1px solid var(--border); }
.brand-mark { width: 46px; height: 46px; background: var(--navy); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand-mark svg { width: 22px; height: 22px; fill: none; stroke: white; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card-header-text h2 { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700; color: var(--navy); letter-spacing: -0.2px; margin-bottom: 0.15rem; }
.card-header-text p { font-size: 0.825rem; color: var(--muted); }
.portal-features { margin-bottom: 1.75rem; }
.portal-features h3 { font-size: 0.68rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 0.85rem; }
.feature-list { display: flex; flex-direction: column; gap: 0.5rem; }
.feature-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: var(--text); }
.feature-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }
.btn-group { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.75rem; }
.portal-btn {
  display: block; width: 100%; padding: 0.875rem 1.5rem; border-radius: 4px;
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background 0.35s var(--ease-premium), color 0.35s var(--ease-premium), transform 0.25s var(--ease-premium);
  border: 1.5px solid var(--navy);
}
.portal-btn-primary { background: var(--navy); color: var(--white); }
.portal-btn-primary:hover { background: var(--blue); color: var(--white); transform: translateY(-1px); }
.portal-btn-secondary { background: transparent; color: var(--navy); }
.portal-btn-secondary:hover { background: var(--navy); color: var(--white); }
.card-note { padding-top: 1.5rem; border-top: 1px solid var(--border); }
.card-note p { font-size: 0.825rem; color: var(--muted); line-height: 1.65; margin-bottom: 0.4rem; }
.card-note p:last-child { margin-bottom: 0; }
.card-note a { color: var(--gold); text-decoration: none; font-weight: 500; transition: color 0.2s; }
.card-note a:hover { color: var(--navy); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .origin-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact-sidebar { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .content-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .toc { position: static; background: var(--sky); border: 1px solid var(--border); border-radius: 8px; padding: 1.25rem 1.5rem; }
  .toc-list { flex-direction: row; flex-wrap: wrap; gap: 0.35rem; }
  .toc-list a { border: 1px solid var(--border); background: var(--white); border-radius: 20px; padding: 0.3rem 0.75rem; }
  .group-card { grid-template-columns: 1fr; }
  .group-sidebar { border-right: none; border-bottom: 1px solid var(--border); padding: 2rem; }
  [dir="rtl"] .group-sidebar { border-left: none; border-bottom: 1px solid var(--border); }
  .group-num { font-size: 2rem; }
}
@media (max-width: 768px) {
  .mission-block { padding: 2.5rem 1.5rem; }
  .contact-section { padding: 3.5rem 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-sidebar { grid-template-columns: 1fr; }
  .closing-section { padding: 4rem 1.25rem; }
  .content-wrap { padding: 2.5rem 1.25rem 4rem; }
  .data-table { font-size: 0.82rem; }
  .data-table th, .data-table td { padding: 0.7rem 0.85rem; }
  .service-card[id] { grid-template-columns: 1fr; gap: 1.25rem; }
  .service-number { width: 48px; height: 48px; font-size: 1rem; }
  .group-content { padding: 1.75rem; }
  .main { padding: 3rem 1.25rem; }
  .card { padding: 2rem 1.5rem; }
}
@media (max-width: 700px) {
  .lead-strip-inner { flex-direction: column; align-items: flex-start; }
  .lead-form { width: 100%; }
  .lead-form input[type="email"] { flex: 1; min-width: 0; }
}
