/* ============================================================
   مؤسسة محمود الروبي للمحاماة والاستشارات القانونية
   Design system — deep ink navy + restrained gold, editorial law-firm aesthetic
   ============================================================ */

:root {
  --ink: #0a1a2b;
  --ink-2: #12273d;
  --ink-3: #1b3452;
  --gold: #a9812f;
  --gold-light: #cda856;
  --gold-pale: #e9d9ad;
  --parchment: #f7f2e7;
  --paper: #ffffff;
  --line: #e6ddc8;
  --line-soft: #efe9db;
  --text: #1b2027;
  --muted: #5c6675;
  --muted-2: #838d99;
  --shadow-soft: 0 20px 50px rgba(10, 26, 43, 0.10);
  --shadow-strong: 0 30px 70px rgba(10, 26, 43, 0.28);
  --radius: 4px;
  --container: 1220px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--parchment);
  color: var(--text);
  font-family: 'Cairo', sans-serif;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: var(--gold-pale); color: var(--ink); }

.serif { font-family: 'Amiri', serif; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.skip-link {
  position: absolute;
  right: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  z-index: 200;
  border-radius: 0 0 6px 6px;
}
.skip-link:focus { right: 20px; }

/* ---------- progress bar ---------- */
.progress-bar {
  position: fixed;
  top: 0; right: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 300;
  width: 0%;
  transition: width 0.1s linear;
}

/* ---------- kicker label ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold-light);
  display: inline-block;
}
.kicker.on-light { color: var(--gold); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 242, 231, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: padding 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(10,26,43,0.06); }
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: padding 0.25s var(--ease);
}
.site-header.scrolled .header-inner { padding-top: 10px; padding-bottom: 10px; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: height 0.25s var(--ease);
}
.site-header.scrolled .brand img { height: 42px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  position: relative;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  border-radius: 4px;
  transition: color 0.2s;
}
.nav-link::after {
  content: "";
  position: absolute;
  right: 16px;
  left: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--ink); }
.nav-link.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 11px 22px;
  border-radius: 4px;
  font-size: 14.5px;
  font-weight: 700;
  margin-inline-start: 8px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--ink-3); }

.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--paper);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.hamburger span, .hamburger span::before, .hamburger span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s;
}
.hamburger span::before { position: absolute; top: -6px; }
.hamburger span::after { position: absolute; top: 6px; }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  padding: 24px 32px;
  transform: translateY(-100%);
  transition: transform 0.35s var(--ease);
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.mobile-nav-top img { height: 44px; }
.mobile-nav-close {
  width: 42px; height: 42px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}
.mobile-nav a {
  font-family: 'Amiri', serif;
  font-size: 30px;
  color: #fff;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.mobile-nav-footer {
  margin-top: auto;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}
.mobile-nav-footer a { color: var(--gold-light); display: block; margin-top: 8px; direction: ltr; text-align: right;}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .hamburger { display: inline-flex; }
}

/* ============================================================
   PAGE TRANSITION
   ============================================================ */
#app { min-height: 60vh; }
.page-enter {
  animation: pageIn 0.55s var(--ease) both;
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 18% 15%, rgba(169,129,47,0.16), transparent 42%),
    radial-gradient(circle at 85% 85%, rgba(169,129,47,0.12), transparent 45%),
    linear-gradient(165deg, var(--ink) 0%, #0d2138 55%, var(--ink-3) 100%);
  padding: 76px 32px 0;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 10%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding-bottom: 88px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 22px;
  border: 1px solid rgba(205,168,86,0.45);
  border-radius: 999px;
  color: var(--gold-pale);
  font-size: 13.5px;
  letter-spacing: 0.5px;
  margin-bottom: 30px;
  animation: fadeUp 0.7s var(--ease) both;
}
.hero h1 {
  font-family: 'Amiri', serif;
  font-weight: 700;
  font-size: clamp(34px, 5.2vw, 58px);
  line-height: 1.32;
  color: #fff;
  margin: 0 0 24px;
  animation: fadeUp 0.7s var(--ease) 0.08s both;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-light);
}
.hero p.lead {
  font-size: 18px;
  line-height: 1.95;
  color: #c3cddb;
  max-width: 680px;
  margin: 0 auto 40px;
  animation: fadeUp 0.7s var(--ease) 0.16s both;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.7s var(--ease) 0.24s both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 34px;
  font-size: 15.5px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
  font-family: 'Cairo', sans-serif;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
  background: var(--gold);
  color: #fff;
}
.btn-gold:hover { background: #93701f; box-shadow: 0 12px 28px rgba(169,129,47,0.35); }
.btn-ghost-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost-dark:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.btn-outline-ink {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline-ink:hover { background: var(--ink); color: #fff; }
.btn-ink {
  background: var(--ink);
  color: #fff;
}
.btn-ink:hover { background: var(--ink-3); }
.btn-block { width: 100%; }

.hero-marks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 48px;
  animation: fadeUp 0.7s var(--ease) 0.32s both;
}
.hero-marks span {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  letter-spacing: 0.4px;
  padding: 4px 22px;
  border-inline-end: 1px solid rgba(255,255,255,0.16);
}
.hero-marks span:last-child { border-inline-end: none; }

/* ---------- practice ticker ---------- */
.ticker-wrap {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 64px;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}
.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: tickerScroll 42s linear infinite;
}
.ticker-track span {
  color: rgba(255,255,255,0.55);
  font-size: 14.5px;
  padding: 0 26px;
  white-space: nowrap;
  border-inline-end: 1px solid rgba(255,255,255,0.14);
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- stats card ---------- */
.stats-wrap {
  background: var(--ink);
  padding: 0 32px 64px;
}
.stats-card {
  max-width: 980px;
  margin: -1px auto 0;
  background: var(--paper);
  border-radius: 8px;
  box-shadow: var(--shadow-strong);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}
.stat {
  padding: 38px 20px;
  text-align: center;
  border-inline-start: 1px solid var(--line-soft);
}
.stat:first-child { border-inline-start: none; }
.stat .num {
  font-family: 'Amiri', serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}
.stat .lbl { font-size: 14.5px; color: var(--muted); }

/* ============================================================
   SPORTS LAW SPOTLIGHT
   ============================================================ */
.sports-spotlight {
  position: relative;
  background:
    radial-gradient(circle at 12% 12%, rgba(169,129,47,0.20), transparent 46%),
    radial-gradient(circle at 88% 88%, rgba(169,129,47,0.14), transparent 48%),
    linear-gradient(160deg, #081726 0%, var(--ink) 55%, var(--ink-3) 100%);
  padding: 104px 32px 110px;
  overflow: hidden;
}
.sports-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 5%, transparent 72%);
  pointer-events: none;
}
.sports-inner {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
}
.sports-head { text-align: center; max-width: 820px; margin: 0 auto 62px; }
.sports-head .kicker { justify-content: center; }
.sports-head h2 {
  font-family: 'Amiri', serif;
  font-size: clamp(34px, 4.6vw, 52px);
  color: #fff;
  margin: 0 0 22px;
}
.sports-head p {
  color: #b8c4d3;
  font-size: 16.5px;
  line-height: 2.05;
  margin: 0;
}

.sports-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 8px;
  overflow: hidden;
}
.pillar {
  background: rgba(255,255,255,0.022);
  padding: 38px 30px;
  transition: background 0.3s var(--ease);
}
.pillar:hover { background: rgba(205,168,86,0.08); }
.pillar-num {
  color: var(--gold-light);
  font-size: 15px;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.pillar h3 {
  color: #fff;
  font-size: 18.5px;
  font-weight: 700;
  margin: 0 0 10px;
}
.pillar p {
  color: #9fadbd;
  font-size: 14.5px;
  line-height: 1.9;
  margin: 0;
}

.sports-quote {
  max-width: 860px;
  margin: 58px auto 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 38px 20px;
}
.sports-quote p {
  color: var(--gold-pale);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.85;
  margin: 0;
}

.sports-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 46px;
}

/* ---------- featured service card ---------- */
.svc-card-featured {
  position: relative;
  border-color: var(--gold);
  background: linear-gradient(165deg, #fffdf8, var(--parchment));
  box-shadow: 0 8px 26px rgba(169,129,47,0.14);
}
.svc-card { position: relative; }
.svc-flag {
  position: absolute;
  top: 0;
  inset-inline-start: 24px;
  background: var(--gold);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 0 0 4px 4px;
  letter-spacing: 0.3px;
}

/* ============================================================
   APPROACH
   ============================================================ */
.approach-section { background: var(--parchment); }
.approach-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.approach-step {
  position: relative;
  padding-top: 26px;
  border-top: 2px solid var(--line);
  transition: border-color 0.3s var(--ease);
}
.approach-step:hover { border-top-color: var(--gold); }
.step-num {
  color: var(--gold);
  font-size: 30px;
  margin-bottom: 12px;
}
.approach-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
}
.approach-step p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.9;
  margin: 0;
}

/* ============================================================
   OFFICES (home)
   ============================================================ */
.offices-section { background: #fff; border-top: 1px solid var(--line); }
.offices-grid {
  max-width: var(--container);
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.office-tile {
  background: var(--parchment);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 30px 26px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.office-tile:hover { border-color: var(--gold); box-shadow: var(--shadow-soft); }
.office-tile .pin { color: var(--gold); display: block; margin-bottom: 14px; }
.office-tile .city {
  font-family: 'Amiri', serif;
  font-size: 21px;
  color: var(--ink);
  margin-bottom: 8px;
}
.office-tile .branch-label { font-size: 13px; color: var(--gold); font-weight: 700; margin-bottom: 6px; }
.office-tile .addr { font-size: 15px; color: var(--muted); line-height: 1.85; }

.home-phones {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.cta-sub {
  color: #a9b6c6;
  font-size: 16px;
  line-height: 1.9;
  max-width: 520px;
  margin: 0 auto 30px;
}
.cta-banner .kicker { justify-content: center; }

/* ============================================================
   SECTION SPACING / HEADINGS
   ============================================================ */
.section { padding: 100px 32px; }
.section-tight { padding: 72px 32px; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 {
  font-family: 'Amiri', serif;
  font-size: clamp(28px, 3.4vw, 38px);
  margin: 0;
  color: var(--ink);
}
.section-head p {
  color: var(--muted);
  font-size: 16px;
  max-width: 620px;
  margin: 14px auto 0;
  line-height: 1.9;
}
.on-dark { background: var(--ink); }
.on-dark .section-head h2 { color: #fff; }

/* ============================================================
   ABOUT / FOUNDER (home teaser + about page shared)
   ============================================================ */
.founder-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 68px;
  align-items: center;
}
.founder-portrait {
  position: relative;
}
.founder-portrait .frame {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}
.founder-portrait img {
  width: 100%;
  aspect-ratio: 4 / 4.55;
  object-fit: cover;
  object-position: 50% 42%;
}
.founder-portrait .duotone {
  position: absolute;
  inset: 0;
  background: linear-gradient(185deg, rgba(10,26,43,0) 40%, rgba(10,26,43,0.42) 74%, rgba(10,26,43,0.86) 100%);
}
.founder-portrait .gold-edge {
  position: absolute;
  top: 18px; bottom: -18px;
  right: -18px;
  width: 100%;
  height: 100%;
  border: 1.5px solid var(--gold);
  border-radius: 6px;
  z-index: -1;
}
.founder-portrait .cap {
  position: absolute;
  bottom: 26px;
  right: 26px;
  left: 26px;
  color: #fff;
}
.founder-portrait .cap .name { font-family: 'Amiri', serif; font-size: 22px; font-weight: 700; }
.founder-portrait .cap .role { font-size: 13.5px; color: var(--gold-pale); margin-top: 4px; }

.founder-copy h2 {
  font-family: 'Amiri', serif;
  font-size: clamp(26px, 3vw, 34px);
  margin: 0 0 18px;
  color: var(--ink);
  line-height: 1.4;
}
.founder-copy .role-line {
  color: var(--gold);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 22px;
}
.founder-copy p {
  font-size: 16.5px;
  line-height: 2.05;
  color: var(--muted);
  margin: 0 0 20px;
}
.pull-quote {
  position: relative;
  font-family: 'Amiri', serif;
  font-size: 20px;
  line-height: 1.75;
  color: var(--ink);
  padding: 4px 0 4px 0;
  border-inline-start: 3px solid var(--gold);
  padding-inline-start: 22px;
  margin: 28px 0;
}

.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.tag {
  background: var(--parchment);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
}

/* ---------- affiliations strip ---------- */
.affiliations {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  padding: 34px 32px;
}
.affiliations-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.affiliations-inner .aff-item {
  padding: 6px 32px;
  border-inline-end: 1px solid var(--line);
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.affiliations-inner .aff-item:last-child { border-inline-end: none; }
.affiliations-inner .aff-item strong { color: var(--ink); }

/* ============================================================
   PRACTICE INDEX (list style)
   ============================================================ */
.index-list { max-width: 980px; margin: 0 auto; }
.index-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 26px 8px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: padding-inline-start 0.25s var(--ease), background 0.25s var(--ease);
}
.index-row:first-child { border-top: 1px solid var(--line); }
.index-row:hover {
  background: var(--paper);
  padding-inline-start: 18px;
}
.index-row .ord {
  font-family: 'Amiri', serif;
  color: var(--gold);
  font-size: 15px;
  text-align: center;
}
.index-row .body h3 {
  font-size: 18.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}
.index-row .body p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.8;
}
.index-row .arrow {
  color: var(--gold);
  font-size: 20px;
  transition: transform 0.25s var(--ease);
}
.index-row:hover .arrow { transform: translateX(-6px); }

/* ---------- cards grid (home featured) ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.svc-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px 28px;
  cursor: pointer;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.svc-card:hover {
  box-shadow: var(--shadow-soft);
  border-color: var(--gold);
  transform: translateY(-4px);
}
.svc-card .ord { font-family: 'Amiri', serif; font-size: 27px; color: var(--gold); margin-bottom: 14px; }
.svc-card h3 { font-size: 18.5px; font-weight: 700; color: var(--ink); margin: 0 0 10px; }
.svc-card p { font-size: 14.5px; color: var(--muted); line-height: 1.85; margin: 0; }

/* ============================================================
   BAND HERO (interior pages)
   ============================================================ */
.band {
  background:
    radial-gradient(circle at 85% 20%, rgba(169,129,47,0.14), transparent 45%),
    linear-gradient(165deg, var(--ink) 0%, #0d2138 100%);
  padding: 70px 32px;
  text-align: center;
}
.band h1 {
  font-family: 'Amiri', serif;
  color: #fff;
  font-size: clamp(30px, 4vw, 42px);
  margin: 0;
}
.band .crumb {
  color: var(--gold-pale);
  cursor: pointer;
  font-size: 14.5px;
  margin-bottom: 20px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.band .crumb:hover { color: #fff; }
.band .ord { color: var(--gold-light); margin-bottom: 10px; letter-spacing: 0.5px; }

/* ============================================================
   SERVICE DETAIL
   ============================================================ */
.detail-wrap { max-width: 880px; margin: 0 auto; padding: 76px 32px 100px; }
.detail-wrap .ord { font-family: 'Amiri', serif; font-size: 15px; color: var(--gold); margin-bottom: 20px; }
.detail-intro { font-size: 17.5px; line-height: 2.15; color: var(--text); margin: 0 0 46px; }
.detail-sub {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.3px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.detail-sub::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.bullet-list { display: flex; flex-direction: column; margin-bottom: 40px; }
.bullet-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line-soft);
}
.bullet-row .diamond { color: var(--gold); font-size: 15px; line-height: 1.6; flex-shrink: 0; margin-top: 2px; }
.bullet-row span.txt { font-size: 15.5px; line-height: 1.95; color: var(--text); }
.closing-note {
  font-size: 15.5px;
  line-height: 2.05;
  color: var(--muted);
  background: var(--paper);
  border-inline-start: 3px solid var(--gold);
  padding: 22px 26px;
  border-radius: 4px;
  margin: 0 0 44px;
}
.detail-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  gap: 16px;
  flex-wrap: wrap;
}
.detail-nav .side-link {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}
.detail-nav .side-link:hover { color: var(--ink); }
.detail-nav .side-link .t { color: var(--ink); font-family:'Amiri', serif; font-size: 17px; display:block; margin-top:4px; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(165deg, var(--ink) 0%, #0d2138 100%);
  padding: 76px 32px;
  text-align: center;
}
.cta-banner h3 {
  font-family: 'Amiri', serif;
  color: #fff;
  font-size: clamp(24px, 3vw, 30px);
  margin: 0 0 26px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  max-width: 1160px;
  margin: 0 auto;
  padding: 90px 32px 110px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.contact-block { margin-bottom: 40px; }
.contact-block h3 {
  font-family: 'Amiri', serif;
  font-size: 21px;
  color: var(--ink);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.office-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px 22px;
  margin-bottom: 14px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.office-card .pin { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.office-card .branch-label { font-size: 13px; color: var(--gold); font-weight: 700; margin-bottom: 6px; }
.office-card .addr { font-size: 15px; color: var(--text); line-height: 1.8; }

.phone-list { display: flex; flex-direction: column; gap: 10px; }
.phone-link {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 15px 20px;
  font-size: 16.5px;
  color: var(--ink);
  font-weight: 700;
  direction: ltr;
  justify-content: flex-end;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.phone-link:hover { border-color: var(--gold); box-shadow: var(--shadow-soft); }
.phone-link .ico { color: var(--gold); }

.contact-form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 44px;
  box-shadow: var(--shadow-soft);
}
.contact-form-card h3 { font-family: 'Amiri', serif; font-size: 24px; color: var(--ink); margin: 0 0 8px; }
.contact-form-card .sub { color: var(--muted); font-size: 14.5px; margin: 0 0 28px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 14px;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 15px;
  font-family: 'Cairo', sans-serif;
  background: var(--parchment);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(169,129,47,0.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.field.tel input { direction: ltr; text-align: right; }
.form-note { font-size: 12.5px; color: var(--muted-2); margin-top: 14px; text-align: center; line-height: 1.7; }

.success-box { text-align: center; padding: 30px 6px; }
.success-box .check {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--parchment);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  margin: 0 auto 22px;
}
.success-box h3 { font-family: 'Amiri', serif; font-size: 24px; color: var(--ink); margin: 0 0 12px; }
.success-box p { color: var(--muted); font-size: 15.5px; line-height: 1.9; margin: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #071322;
  color: #9aa7b7;
  padding: 76px 32px 0;
}
.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 52px; opacity: 0.9; margin-bottom: 20px; }
.footer-brand p { font-size: 14.5px; line-height: 1.95; color: #8a97a8; max-width: 300px; }
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  margin: 0 0 20px;
  font-weight: 700;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14.5px; color: #9aa7b7; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-col .addr-sm { font-size: 14px; line-height: 1.85; color: #8a97a8; }
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  color: #6f7c8c;
}

/* ============================================================
   WHATSAPP FAB
   ============================================================ */
.whatsapp-fab {
  position: fixed;
  bottom: 26px;
  left: 26px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37,211,102,0.42);
  transition: transform 0.2s var(--ease);
}
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab svg { width: 28px; height: 28px; fill: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .founder-grid { grid-template-columns: 1fr !important; gap: 44px; }
  .founder-portrait { position: static !important; }
  .founder-portrait .gold-edge { display: none; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sports-pillars { grid-template-columns: repeat(2, 1fr); }
  .approach-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 26px; }
  .offices-grid { grid-template-columns: 1fr; }
  .home-phones { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container, .section, .section-tight { padding-left: 20px; padding-right: 20px; }
  .hero { padding: 56px 20px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .stats-card { grid-template-columns: 1fr; }
  .stat { border-inline-start: none; border-top: 1px solid var(--line-soft); }
  .stat:first-child { border-top: none; }
  .index-row { grid-template-columns: 40px 1fr; }
  .index-row .arrow { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .whatsapp-fab { bottom: 18px; left: 18px; width: 52px; height: 52px; }
  .detail-nav { flex-direction: column; align-items: stretch; }
  .sports-spotlight { padding: 70px 20px 76px; }
  .sports-pillars { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .hero-marks { flex-direction: column; gap: 10px; }
  .hero-marks span { border-inline-end: none; }
}
