/* ============================================================
   مكتب عاصم العيسى — للمحاماة والتحكيم والتوثيق
   Navy + gold corporate system (matches client reference)
   ============================================================ */

:root {
  /* ---- Navy scale ---- */
  --navy-950: #010F29;   /* footer, why-us, deepest bands */
  --navy-900: #06152F;   /* header, hero base */
  --navy-850: #0C1C33;   /* cards on light backgrounds */
  --navy-800: #0E192D;   /* contact band */
  --navy-700: #16294A;   /* hover / raised card */

  /* ---- Gold ---- */
  --gold: #C8A15D;
  --gold-light: #D9BC84;
  --gold-dark: #A9823F;
  --gold-soft: rgba(200, 161, 93, 0.12);

  /* ---- Neutrals ---- */
  --cream: #F1F0EC;      /* stats band, founder band */
  --paper: #FAF9F7;      /* white sections */
  --white: #FFFFFF;

  --ink: #0A1B33;        /* headings on light */
  --muted-light: #6E7686; /* body text on light */
  --muted-dark: #93A0B8;  /* body text on dark */
  --line-light: #E2E0DA;
  --line-dark: rgba(255, 255, 255, 0.10);

  /* ---- Type ---- */
  --font: "Tajawal", "IBM Plex Sans Arabic", system-ui, sans-serif;

  /* ---- Metrics ---- */
  --container: 1200px;
  --gutter: clamp(18px, 5vw, 48px);
  --header-h: 84px;
  --radius: 6px;
  --radius-lg: 10px;

  --shadow-card: 0 10px 30px -14px rgba(1, 15, 41, 0.35);
  --shadow-lift: 0 18px 44px -18px rgba(1, 15, 41, 0.5);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.4; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: #fff; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(50px, 6.5vw, 86px); }
.bg-paper { background: var(--paper); }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy-950); color: var(--white); }

/* ---------- Section titles (centered + gold rule) ---------- */
.sec-head { text-align: center; margin-bottom: clamp(30px, 4vw, 48px); }
.sec-title {
  font-size: clamp(23px, 3vw, 33px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0;
}
.bg-navy .sec-title, .sec-title.on-dark { color: var(--gold); }
.sec-rule {
  width: 52px; height: 2px;
  background: var(--gold);
  margin: 14px auto 0;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.6s var(--ease) 0.15s;
}
.in .sec-rule, .sec-head.in .sec-rule { transform: scaleX(1); }
.sec-sub { color: var(--muted-light); margin-top: 14px; font-size: 15.5px; max-width: 62ch; margin-inline: auto; }
.bg-navy .sec-sub { color: var(--muted-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 30px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s,
              transform 0.25s var(--ease), box-shadow 0.25s;
  min-height: 46px;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(200, 161, 93, 0.75); }

.btn-outline {
  background: transparent;
  color: var(--gold-dark);
  border-color: var(--gold);
  padding: 9px 24px;
  min-height: 40px;
  font-size: 14px;
}
.btn-outline:hover { background: var(--gold); color: #fff; transform: translateY(-2px); }
.bg-navy .btn-outline, .btn-outline.on-dark { color: var(--gold); }
.bg-navy .btn-outline:hover, .btn-outline.on-dark:hover { background: var(--gold); color: #fff; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  background: var(--navy-900);
  transition: background-color 0.3s, box-shadow 0.3s;
}
/* No backdrop-filter here: it would make the header the containing block for the
   fixed mobile menu, shrinking the overlay to the header's height once scrolled */
.site-header.scrolled { background: rgba(1, 15, 41, 0.98); box-shadow: 0 6px 24px -12px rgba(0, 0, 0, 0.8); }
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand: logo mark in gold frame + two text lines */
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark {
  width: 46px; height: 46px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  display: grid;
  place-items: center;
  flex: none;
  transition: border-color 0.3s, background-color 0.3s;
}
.brand-mark img { width: 30px; height: auto; }
.brand:hover .brand-mark { background: var(--gold-soft); }
.site-header .brand-mark { width: 56px; height: 56px; }
.site-header .brand-mark img { width: 38px; }
.site-header .brand-name { font-size: 20px; }
.site-header .brand-sub { font-size: 11.5px; }
@media (max-width: 420px) {
  .site-header .brand-mark { width: 48px; height: 48px; }
  .site-header .brand-mark img { width: 32px; }
  .site-header .brand-name { font-size: 17px; }
}
.brand-text { line-height: 1.45; }
.brand-name { display: block; color: #fff; font-weight: 700; font-size: 18px; white-space: nowrap; }
.brand-sub { display: block; color: var(--muted-dark); font-size: 10.5px; white-space: nowrap; }

/* Nav */
.main-nav ul { display: flex; align-items: center; gap: clamp(8px, 2vw, 26px); }
.main-nav a {
  position: relative;
  display: inline-block;
  padding: 8px 2px;
  font-size: 15px;
  font-weight: 500;
  color: #E8EAF0;
  transition: color 0.25s;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease);
}
.main-nav a:hover { color: var(--gold-light); }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a.active { color: var(--gold); }
.main-nav a.active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 120;
}
.nav-toggle span { display: block; width: 19px; height: 2px; background: var(--gold); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--navy-950);
    display: grid;
    place-items: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
    z-index: 110;
  }
  .main-nav.open { opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 6px; }
  .main-nav a { font-size: 25px; padding: 10px 20px; }
  .main-nav a::after { display: none; }
  .main-nav li { opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .main-nav.open li { opacity: 1; transform: none; }
  .main-nav.open li:nth-child(1) { transition-delay: .06s }
  .main-nav.open li:nth-child(2) { transition-delay: .12s }
  .main-nav.open li:nth-child(3) { transition-delay: .18s }
  .main-nav.open li:nth-child(4) { transition-delay: .24s }
  .main-nav.open li:nth-child(5) { transition-delay: .30s }
  .main-nav.open li:nth-child(6) { transition-delay: .36s }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: clamp(520px, 72vh, 660px);
  margin-top: var(--header-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-900);
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--navy-900);
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
/* Navy scrim: dense over the copy (left), opening up to show the skyline (right) */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(1, 10, 28, 0.55), transparent 35%),
    linear-gradient(to right, rgba(1, 10, 28, 0.92) 0%, rgba(2, 14, 36, 0.8) 38%, rgba(2, 16, 40, 0.35) 66%, rgba(2, 16, 40, 0.12) 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); width: 100%; }
/* Copy sits in the end column so it renders on the left, matching the reference */
.hero-copy { grid-column: 2; padding-block: clamp(40px, 6vw, 70px); }

.hero-title {
  font-size: clamp(27px, 3.85vw, 46px);
  font-weight: 800;
  color: #fff;
  line-height: 1.38;
  margin-bottom: 20px;
}
.hero-title .gold { display: block; color: var(--gold); }
.hero-sub {
  color: #B9C2D4;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 2;
  max-width: 48ch;
  margin-bottom: clamp(24px, 3vw, 34px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { grid-column: 1; }
  .hero-scrim { background: linear-gradient(to bottom, rgba(1, 10, 28, 0.7), rgba(1, 10, 28, 0.88)); }
  .hero-photo { object-position: 62% center; }
}

/* ============================================================
   STATS BAND
   ============================================================ */
.stats { background: var(--cream); padding-block: clamp(30px, 3.6vw, 44px); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 10px clamp(8px, 2vw, 22px); position: relative; }
.stat + .stat::after {
  content: "";
  position: absolute;
  inset-inline-end: 0;
  top: 14%;
  height: 72%;
  width: 1px;
  background: var(--line-light);
}
.stat-ic { color: var(--gold); display: grid; place-items: center; margin-bottom: 10px; }
.stat-ic svg { width: 30px; height: 30px; }
.stat-num {
  font-size: clamp(26px, 3.4vw, 39px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 2px;
}
.stat-label { color: var(--muted-light); font-size: 14px; margin-top: 4px; }

@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .stat:nth-child(3)::after { display: none; }
}

/* ============================================================
   PRACTICE CARDS (navy, centered content)
   ============================================================ */
/* Flex so a short last row (10 cards over 3 columns) stays centred */
.practice-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.practice-grid > .p-card { flex: 0 1 calc((100% - 4 * 16px) / 5); }
.p-card {
  background: var(--navy-850);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 26px 14px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, background-color 0.3s, border-color 0.3s;
}
.p-card:hover {
  transform: translateY(-7px);
  background: var(--navy-700);
  border-color: rgba(200, 161, 93, 0.45);
  box-shadow: var(--shadow-lift);
}
.p-card-ic { color: var(--gold); transition: transform 0.35s var(--ease); }
.p-card-ic svg { width: 34px; height: 34px; }
.p-card:hover .p-card-ic { transform: scale(1.1) translateY(-2px); }
.p-card h3 { color: #fff; font-size: 16.5px; font-weight: 700; line-height: 1.55; }
.p-card p { color: #8E9AB2; font-size: 13px; line-height: 1.75; flex: 1; }
.p-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 13.5px;
  font-weight: 500;
  margin-top: 4px;
}
.p-more svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.p-card:hover .p-more svg { transform: translateX(-4px); }
.practice-more { text-align: center; margin-top: 34px; }

@media (max-width: 1080px) { .practice-grid > .p-card { flex-basis: calc((100% - 2 * 16px) / 3); } }
@media (max-width: 680px)  { .practice-grid > .p-card { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 400px)  { .practice-grid > .p-card { flex-basis: 100%; } }

/* ============================================================
   FOUNDER BAND (photo start-side, text end-side)
   ============================================================ */
.founder-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(26px, 4.5vw, 60px);
  align-items: center;
}
/* Reference places the portrait on the left and the copy on the right */
.founder-grid > .photo { grid-column: 2; grid-row: 1; }
.founder-copy { grid-column: 1; grid-row: 1; text-align: start; }
.founder-copy .sec-title { text-align: start; }
.founder-copy .sec-rule { margin-inline: 0; }
.founder-name { color: var(--gold-dark); font-size: clamp(17px, 1.9vw, 21px); font-weight: 700; margin: 18px 0 14px; }
.founder-bio { color: var(--muted-light); font-size: 15.5px; line-height: 2.05; margin-bottom: 24px; max-width: 58ch; }

/* Photo frame — replace .photo-ph inner with <img> when real photos arrive */
.photo {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-ph {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(70% 90% at 50% 30%, rgba(46, 80, 133, 0.55), transparent 65%),
    linear-gradient(150deg, #0B1E3C, #04122A 72%);
  display: grid;
  place-items: center;
  position: relative;
}
.photo-ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
}
/* Direct child only — nested icons (e.g. the play button) keep their own colour */
.photo-ph > svg { width: 34%; max-width: 130px; height: auto; color: var(--gold); opacity: 0.85; position: relative; }
.photo-ph .ph-note {
  position: absolute;
  bottom: 12px;
  inset-inline: 0;
  text-align: center;
  color: rgba(200, 161, 93, 0.55);
  font-size: 11.5px;
  letter-spacing: 0.02em;
}

@media (max-width: 880px) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder-grid > .photo { grid-column: 1; grid-row: 1; }
  .founder-copy { grid-column: 1; grid-row: 2; }
}

/* ============================================================
   WHY US (navy band, 4 centered items)
   ============================================================ */
.why { background: var(--navy-950); position: relative; overflow: hidden; }
.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 100% at 50% 0%, rgba(30, 58, 102, 0.55), transparent 70%);
}
.why > .container { position: relative; }
/* Flex so an odd last row stays centred */
.why-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px clamp(18px, 2.4vw, 32px); }
.why-item { text-align: center; flex: 0 1 calc((100% - 4 * clamp(18px, 2.4vw, 32px)) / 5); }
.why-ic {
  width: 58px; height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(200, 161, 93, 0.4);
  transition: background-color 0.3s, transform 0.35s var(--ease), border-color 0.3s;
}
.why-ic svg { width: 26px; height: 26px; }
.why-item:hover .why-ic { background: var(--gold-soft); border-color: var(--gold); transform: translateY(-4px); }
.why-item h3 { color: #fff; font-size: 17px; margin-bottom: 7px; }
.why-item p { color: var(--muted-dark); font-size: 13.5px; line-height: 1.85; }

@media (max-width: 1000px) { .why-item { flex-basis: calc((100% - 2 * 28px) / 3); } }
@media (max-width: 680px)  { .why-item { flex-basis: calc((100% - 28px) / 2); } }
@media (max-width: 440px)  { .why-item { flex-basis: 100%; } }

/* ============================================================
   THREE COLUMNS (title + rule, photo, text, outline button)
   ============================================================ */
.trio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 34px); }
.trio-col { text-align: center; display: flex; flex-direction: column; }
.trio-col h3 { font-size: clamp(18px, 2vw, 22px); color: var(--ink); }
.trio-col .sec-rule { margin-bottom: 20px; }
.trio-col .photo { margin-bottom: 16px; }
.trio-col .photo-ph { aspect-ratio: 16 / 9; }
.trio-col .photo-ph > svg { width: 26%; max-width: 92px; }
.trio-text { color: var(--muted-light); font-size: 14.5px; line-height: 1.9; margin-bottom: 18px; flex: 1; }
.trio-col .btn { align-self: center; }
.trio-col .photo { transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.trio-col:hover .photo { transform: translateY(-6px); box-shadow: var(--shadow-lift); }

@media (max-width: 860px) { .trio-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ============================================================
   CONTACT BAND
   ============================================================ */
.contact-band { background: var(--navy-800); position: relative; overflow: hidden; }
.contact-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 90% at 20% 0%, rgba(32, 60, 105, 0.5), transparent 65%);
}
.contact-band > .container { position: relative; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-col > .sec-title { color: var(--gold); text-align: center; font-size: clamp(19px, 2.2vw, 25px); }
.contact-col > .sec-rule { margin-bottom: 26px; }

/* Form */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13.5px; color: var(--muted-dark); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 12px 15px;
  font: inherit;
  font-size: 14.5px;
  color: #fff;
  transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
}
.field textarea { min-height: 118px; resize: vertical; }
.field select { appearance: none; background-image: none; cursor: pointer; }
.field select option { background: var(--navy-850); color: #fff; }
.field input::placeholder, .field textarea::placeholder { color: #6E7A93; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(200, 161, 93, 0.16);
}
.field .err { display: none; color: #E8A0A0; font-size: 12.5px; margin-top: 5px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #C96B6B; }
.field.invalid .err { display: block; }
.form-success {
  display: none;
  background: rgba(200, 161, 93, 0.14);
  border: 1px solid rgba(200, 161, 93, 0.5);
  color: var(--gold-light);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 16px;
}
.form-success.show { display: block; }
.contact-form .btn-gold { width: 100%; margin-top: 4px; }

/* Office info: rows + map */
.info-layout { display: grid; grid-template-columns: 1fr 0.95fr; gap: 22px; align-items: start; }
.info-rows { display: grid; gap: 18px; }
.info-row { display: flex; gap: 14px; align-items: flex-start; }
.info-row .ic {
  width: 38px; height: 38px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(200, 161, 93, 0.42);
  transition: background-color .3s, transform .3s var(--ease);
}
.info-row:hover .ic { background: var(--gold-soft); transform: scale(1.06); }
.info-row .ic svg { width: 17px; height: 17px; }
.info-row p, .info-row a { color: #C3CBDA; font-size: 14px; line-height: 1.8; }
.info-row a:hover { color: var(--gold-light); }
.info-row bdi { unicode-bidi: plaintext; }
.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-dark); }
.map-box iframe { display: block; width: 100%; height: 232px; border: 0; filter: grayscale(0.4); }

.social { text-align: center; margin-top: 26px; }
.social h4 { color: var(--gold); font-size: 16px; margin-bottom: 12px; }
.social-links { display: flex; gap: 12px; justify-content: center; }
.social-links a {
  width: 38px; height: 38px;
  border: 1px solid rgba(200, 161, 93, 0.45);
  border-radius: 5px;
  display: grid;
  place-items: center;
  color: var(--gold);
  transition: background-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.social-links a:hover { background: var(--gold); color: var(--navy-950); transform: translateY(-3px); }
.social-links svg { width: 17px; height: 17px; }

@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .info-layout { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-950); border-top: 1px solid var(--line-dark); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 22px;
  flex-wrap: wrap;
}
.footer-copy { color: #77819A; font-size: 13px; }
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-nav a { color: #9AA4BA; font-size: 13.5px; transition: color .25s; }
.footer-nav a:hover { color: var(--gold); }
@media (max-width: 760px) { .footer-inner { justify-content: center; text-align: center; } }

/* ============================================================
   INNER PAGE HERO
   ============================================================ */
.page-hero {
  margin-top: var(--header-h);
  background:
    radial-gradient(75% 130% at 78% 20%, rgba(38, 68, 116, 0.6), transparent 62%),
    linear-gradient(105deg, #020D22, #071A38 55%, #0A2246);
  background-color: var(--navy-900);
  color: #fff;
  padding-block: clamp(46px, 6.5vw, 78px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset-inline-end: 3%;
  bottom: -30px;
  width: 200px; height: 200px;
  background: url("../img/logo-white.png") center / contain no-repeat;
  opacity: 0.045;
  pointer-events: none;
}
@media (max-width: 720px) { .page-hero::after { display: none; } }
.page-hero .crumb { color: var(--muted-dark); font-size: 13.5px; display: flex; gap: 8px; justify-content: center; align-items: center; margin-bottom: 14px; }
.page-hero .crumb a:hover { color: var(--gold); }
.page-hero .crumb svg { width: 12px; height: 12px; }
.page-title { font-size: clamp(27px, 4vw, 44px); font-weight: 800; }
.page-title .gold { color: var(--gold); }
.page-sub { color: #B9C2D4; margin: 14px auto 0; max-width: 62ch; font-size: 16px; }

/* ============================================================
   CONTENT BLOCKS (inner pages)
   ============================================================ */
/* Timeline */
.timeline { position: relative; padding-inline-start: 26px; max-width: 760px; }
.timeline::before {
  content: ""; position: absolute; inset-block: 8px; inset-inline-start: 6px;
  width: 2px; background: linear-gradient(to bottom, var(--gold), var(--line-light));
}
.tl-item { position: relative; padding-block: 12px 26px; }
.tl-item::before {
  content: ""; position: absolute; inset-inline-start: -26px; top: 22px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--gold);
  transition: background-color .3s, transform .3s var(--ease);
}
.tl-item:hover::before { background: var(--gold); transform: scale(1.18); }
.tl-period {
  display: inline-block; font-size: 12.5px; font-weight: 500;
  color: var(--gold-dark); background: var(--gold-soft);
  border-radius: 20px; padding: 3px 14px; margin-bottom: 8px;
}
.tl-role { font-size: 18.5px; color: var(--ink); margin-bottom: 3px; }
.tl-org { color: var(--muted-light); font-size: 14.5px; }

/* Check list */
.check-list { display: grid; gap: 12px; max-width: 860px; }
.check-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line-light);
  border-radius: var(--radius); padding: 16px 18px;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.check-item:hover { transform: translateX(-4px); border-color: var(--gold); box-shadow: var(--shadow-card); }
.check-item .ic {
  width: 30px; height: 30px; flex: none; border-radius: 50%;
  background: var(--gold-soft); color: var(--gold-dark);
  display: grid; place-items: center;
}
.check-item .ic svg { width: 15px; height: 15px; }
.check-item p { font-size: 15px; color: var(--ink); }

/* Accordion */
.acc { max-width: 940px; margin-inline: auto; }
.acc-item { border: 1px solid var(--line-light); border-radius: var(--radius); background: var(--white); margin-bottom: 12px; overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.acc-item.open { border-color: var(--gold); box-shadow: var(--shadow-card); }
.acc-head {
  width: 100%; background: none; border: 0;
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px; text-align: start; color: var(--ink);
  transition: color .25s, background-color .25s;
}
.acc-head:hover { color: var(--gold-dark); background: rgba(200, 161, 93, 0.05); }
.acc-num { font-size: 13px; color: var(--gold); font-weight: 700; min-width: 26px; flex: none; }
.acc-title { flex: 1; font-size: clamp(15.5px, 1.8vw, 18px); font-weight: 700; }
.acc-toggle {
  width: 32px; height: 32px; flex: none; border-radius: 50%;
  border: 1px solid var(--line-light); display: grid; place-items: center;
  color: var(--gold-dark);
  transition: transform .4s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.acc-toggle svg { width: 14px; height: 14px; }
.acc-item.open .acc-toggle { transform: rotate(135deg); background: var(--gold); border-color: var(--gold); color: #fff; }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.no-anim .acc-body, .no-anim .acc-item.reveal { transition: none; }
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.acc-body-inner { overflow: hidden; }
.acc-content { padding: 0 22px 22px 22px; color: var(--muted-light); font-size: 14.8px; line-height: 2; }
.acc-content ul { display: grid; gap: 7px; margin-top: 10px; }
.acc-content li { position: relative; padding-inline-start: 20px; }
.acc-content li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 12px;
  width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg);
}

/* Media / link cards */
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1000px) { .media-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .media-grid { grid-template-columns: 1fr; } }
.media-card {
  background: var(--white); border: 1px solid var(--line-light);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .3s;
}
.media-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--gold); }
.media-thumb { position: relative; aspect-ratio: 16/9; }
/* Motif sits behind the play button rather than competing with it */
.media-thumb.photo-ph > svg { width: 46%; max-width: 150px; opacity: 0.26; }
.media-thumb .play {
  position: absolute; inset: 0; margin: auto;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(200, 161, 93, 0.92); color: var(--navy-950);
  display: grid; place-items: center;
  transition: transform .35s var(--ease), background-color .3s;
}
.media-thumb .play svg { width: 18px; height: 18px; margin-inline-start: -2px; }
.media-card:hover .play { transform: scale(1.12); background: var(--gold); }
.media-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.media-tag { align-self: flex-start; font-size: 11.5px; font-weight: 500; color: var(--gold-dark); background: var(--gold-soft); border-radius: 20px; padding: 3px 12px; }
.media-title { font-size: 16.5px; color: var(--ink); line-height: 1.7; }

.link-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 720px) { .link-grid { grid-template-columns: 1fr; } }
.link-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border: 1px solid var(--line-light);
  border-radius: var(--radius); padding: 17px 20px;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.link-card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow-card); }
.link-card .ic { width: 40px; height: 40px; flex: none; border-radius: 5px; background: var(--gold-soft); color: var(--gold-dark); display: grid; place-items: center; }
.link-card .ic svg { width: 19px; height: 19px; }
.link-card .t { flex: 1; font-weight: 500; font-size: 15px; }
.link-card .arrow { color: var(--muted-light); transition: transform .3s var(--ease), color .25s; }
.link-card .arrow svg { width: 15px; height: 15px; }
.link-card:hover .arrow { transform: translateX(-4px); color: var(--gold-dark); }

/* CTA strip */
.cta-strip {
  background:
    radial-gradient(90% 140% at 15% 0%, rgba(38, 70, 120, 0.7), transparent 60%),
    var(--navy-950);
  color: #fff; border-radius: var(--radius-lg);
  padding: clamp(30px, 4.5vw, 54px) clamp(24px, 4vw, 52px);
  display: flex; flex-wrap: wrap; gap: 22px;
  align-items: center; justify-content: space-between;
  position: relative; overflow: hidden;
}
.cta-strip::after {
  content: ""; position: absolute; inset-inline-end: -40px; top: -50px;
  width: 220px; height: 220px;
  background: url("../img/logo-white.png") center/contain no-repeat; opacity: .06;
}
.cta-strip h2 { font-size: clamp(21px, 2.8vw, 31px); max-width: 20ch; position: relative; }
.cta-strip p { color: var(--muted-dark); margin-top: 8px; max-width: 46ch; font-size: 15px; position: relative; }
.cta-strip .btn { position: relative; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.to-top {
  position: fixed; bottom: 24px; inset-inline-start: 24px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: #fff; border: 0;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s, background-color .25s;
  box-shadow: var(--shadow-lift);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold-dark); }
.to-top svg { width: 17px; height: 17px; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s var(--ease), transform .65s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(.96) translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.reveal-scale.in { opacity: 1; transform: none; }
.hero-enter { opacity: 0; transform: translateY(24px); animation: heroIn .85s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal, .reveal-scale, .hero-enter { opacity: 1; transform: none; }
  .sec-rule { transform: scaleX(1); }
}

/* ============================================================
   INQUIRY MODAL
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(1, 8, 22, 0.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal-panel {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background:
    radial-gradient(90% 60% at 80% 0%, rgba(38, 68, 116, 0.55), transparent 70%),
    var(--navy-850);
  border: 1px solid rgba(200, 161, 93, 0.35);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.35s var(--ease);
}
.modal.open .modal-panel { transform: none; }
.modal-close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--muted-dark);
  display: grid;
  place-items: center;
  transition: color 0.2s, border-color 0.2s, transform 0.3s var(--ease);
}
.modal-close:hover { color: var(--gold); border-color: var(--gold); transform: rotate(90deg); }
.modal-close svg { width: 16px; height: 16px; }
.modal-title { color: var(--gold); font-size: clamp(20px, 2.4vw, 25px); text-align: center; }
.modal-panel > .sec-rule { transform: scaleX(1); margin-bottom: 12px; }
.modal-sub { color: var(--muted-dark); text-align: center; font-size: 14.5px; margin-bottom: 22px; }
.modal .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal .form-row .field { margin-bottom: 14px; }
.modal .btn-gold { width: 100%; margin-top: 4px; }
@media (max-width: 520px) { .modal .form-row { grid-template-columns: 1fr; gap: 0; } }

/* ============================================================
   TEAM SLIDER
   ============================================================ */
.team-slider { --team-gap: 22px; position: relative; }
.team-track {
  display: flex;
  gap: var(--team-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 8px 2px 10px;
  outline: none;
}
.team-track::-webkit-scrollbar { display: none; }
.team-card {
  flex: 0 0 calc((100% - 2 * var(--team-gap)) / 3);
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s;
}
.team-card:hover { transform: translateY(-6px); border-color: rgba(200, 161, 93, 0.55); box-shadow: 0 20px 44px -20px rgba(0, 0, 0, 0.7); }
.team-photo { aspect-ratio: 4 / 5; position: relative; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-photo.photo-ph { aspect-ratio: 4 / 5; }
.team-photo.photo-ph > svg { width: 38%; }
.team-body { padding: 20px 18px 22px; }
.team-name { color: #fff; font-size: 18px; margin-bottom: 4px; }
.team-role { color: var(--gold); font-size: 14px; margin-bottom: 14px; }
.team-social { display: flex; justify-content: center; gap: 10px; }
.team-social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(200, 161, 93, 0.4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  transition: background-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.team-social a:hover { background: var(--gold); color: var(--navy-950); transform: translateY(-2px); }
.team-social svg { width: 15px; height: 15px; }

.slider-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.team-slider.no-scroll .slider-controls { display: none; }
.slider-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(200, 161, 93, 0.5);
  background: transparent;
  color: var(--gold);
  display: grid;
  place-items: center;
  transition: background-color 0.25s, color 0.25s, opacity 0.25s;
}
.slider-btn:hover:not(:disabled) { background: var(--gold); color: var(--navy-950); }
.slider-btn:disabled { opacity: 0.3; cursor: default; }
.slider-btn svg { width: 17px; height: 17px; }
.slider-dots { display: flex; gap: 8px; }
.slider-dots button {
  width: 9px; height: 9px;
  padding: 0;
  border-radius: 20px;
  border: 0;
  background: rgba(200, 161, 93, 0.35);
  transition: width 0.3s var(--ease), background-color 0.3s;
}
.slider-dots button.active { width: 26px; background: var(--gold); }

@media (max-width: 900px) { .team-card { flex-basis: calc((100% - var(--team-gap)) / 2); } }
@media (max-width: 580px) { .team-card { flex-basis: 82%; } }

/* Decorative overlays must never intercept clicks on the content beneath */
.cta-strip::after, .why::before, .contact-band::before, .photo-ph::before, .page-hero::after { pointer-events: none; }
.cta-strip > * { position: relative; z-index: 1; }

/* ============================================================
   WHATSAPP
   ============================================================ */
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(200, 161, 93, 0.55);
  color: var(--gold);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.wa-btn svg { width: 20px; height: 20px; flex: none; }
.wa-btn:hover { background: #25D366; border-color: #25D366; color: #fff; transform: translateY(-2px); }
.wa-footer {
  width: auto;
  height: 42px;
  padding-inline: 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
}
.wa-footer svg { width: 18px; height: 18px; }
