/* AramSol Demo — Design System */
:root {
  --navy: #901818;
  --navy-mid: #a81f26;
  --navy-light: #c02830;
  --gold: #f5f5f5;
  --gold-light: #ffffff;
  --gold-rich: #e4e4e4;
  --gold-dim: rgba(245, 245, 245, 0.14);
  --gold-glow: rgba(245, 245, 245, 0.16);
  --gold-glow-strong: rgba(245, 245, 245, 0.28);
  --accent-wine: rgba(144, 24, 24, 0.1);
  --white: #ffffff;
  --off-white: #f4f6fa;
  --gray-100: #eef1f6;
  --gray-300: #c5cdd8;
  --gray-500: #6b7a8d;
  --gray-700: #3d4a5c;
  --text: #1a2332;
  --text-muted: #5a6778;
  --heading: var(--navy);
  --header-bg: rgba(144, 24, 24, 0.92);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 64px rgba(144, 24, 24, 0.12);
  --shadow-sm: 0 8px 24px rgba(144, 24, 24, 0.08);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font: "Cairo", sans-serif;
  --font-display: "Cairo", sans-serif;
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.ltr-num {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-label::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--navy);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.8;
}

/* ─── Header ─── */
.header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition);
  overflow: visible;
}

.header.scrolled {
  background: var(--header-bg, rgba(7, 21, 37, 0.92));
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 0.75rem;
  min-width: 0;
  overflow: visible;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  margin-inline-start: auto;
  min-width: 0;
}

.header .logo {
  display: flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
  text-decoration: none;
}

.header .logo img {
  height: 46px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity var(--transition), transform var(--transition);
}

.header .logo:hover img {
  opacity: 0.92;
  transform: scale(1.02);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-inline-start: 1.75rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  inset-inline: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav a:hover,
.nav a.active { color: var(--white); }

.nav a:hover::after,
.nav a.active::after { transform: scaleX(1); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  background: linear-gradient(135deg, var(--gold-rich), var(--gold-light));
  color: var(--navy) !important;
  font-weight: 700;
  border-radius: 999px;
  font-size: 0.9rem;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.28);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.header-cta:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(212, 175, 55, 0.4);
}

.header-cta::after { display: none !important; }

/* ─── Language switcher ─── */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-inline-start: 0.5rem;
}

.lang-switch__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lang-switch__select {
  padding: 0.4rem 1.75rem 0.4rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23f0d060' d='M2 4l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 0.5rem center;
  color: var(--white);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  appearance: none;
  max-width: 9rem;
}

.lang-switch__select:hover,
.lang-switch__select:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 2px var(--gold-dim);
}

.lang-switch__select option {
  background: var(--navy);
  color: var(--white);
}

/* ─── LTR layout ─── */
body.is-ltr .section-label::before { order: 1; }
body.is-ltr .service-detail:nth-child(even) { direction: ltr; }
body.is-ltr .service-detail:nth-child(even) > * { direction: ltr; }
body.is-ltr .service-link svg { transform: scaleX(-1); }
body.is-ltr .hero-actions .btn-primary svg { transform: scaleX(-1); }

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
  z-index: 1002;
  margin-inline-start: 0.35rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 50% at 80% 10%, var(--gold-glow-strong) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 15% 85%, rgba(232, 196, 90, 0.32) 0%, transparent 55%),
    linear-gradient(165deg, var(--navy) 0%, var(--navy-mid) 48%, var(--navy-light) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  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: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--header-h);
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.hero .container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem 0.45rem 0.45rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
  margin-inline: auto;
  animation: fadeUp 0.8s ease both;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold-rich) 0%, var(--gold-light) 35%, var(--gold) 65%, var(--gold-rich) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.25));
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.85;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  animation: fadeUp 0.8s 0.3s ease both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-rich) 0%, var(--gold) 45%, var(--gold-light) 100%);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(144, 24, 24, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 60%, var(--gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(144, 24, 24, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(201, 168, 76, 0.08);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeUp 0.8s 0.45s ease both;
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.hero-stat span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.35rem;
  display: block;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Services ─── */
.services { background: var(--off-white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--card-accent, var(--gold));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  background: var(--gold-dim);
}

.service-icon--logo {
  width: 100%;
  padding: 0;
  margin-bottom: 2rem;
  background: transparent;
  display: block;
}

.service-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.service-card:has(.service-logo) p {
  margin-top: 0.5rem;
}

.service-detail-visual {
  background: transparent;
  padding: 0;
  min-height: 0;
}

.service-detail-logo {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
}

.service-link:hover { color: var(--navy); }

.service-link svg { transition: transform var(--transition); }
.service-link:hover svg { transform: translateX(-4px); }

/* ─── About strip ─── */
.about-strip {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.about-strip::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  top: -100px;
  inset-inline-end: -100px;
}

.about-strip::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
  bottom: -120px;
  inset-inline-start: -80px;
}

.about-strip .container {
  position: relative;
  z-index: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.about-strip .section-label {
  justify-content: center;
  color: var(--gold-light);
}

.about-strip .section-label::before,
.about-strip .section-label::after {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--gold);
}

.about-strip .section-title {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.about-quote {
  font-size: 1.15rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.82);
  border-inline-start: 3px solid var(--gold);
  padding-inline-start: 1.5rem;
  margin-bottom: 2rem;
}

.about-strip .about-quote {
  font-size: 1.2rem;
  border-inline-start: none;
  padding-inline-start: 0;
  border-top: 2px solid rgba(221, 176, 18, 0.35);
  padding-top: 2rem;
  margin-top: 0.5rem;
}

.about-strip .btn-primary {
  margin-top: 2rem;
}

.about-author strong {
  display: block;
  font-size: 1.1rem;
  color: var(--gold-light);
}

.about-author span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.stat-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  transition: background var(--transition);
}

.stat-box:hover { background: rgba(255, 255, 255, 0.08); }

.stat-box .num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.stat-box .num::after { content: "+"; font-size: 1.5rem; }

.stat-box .label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.5rem;
}

/* ─── Branches ─── */
#cms-branches .section-label {
  justify-content: center;
}

#cms-branches .section-label::after {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--navy);
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  width: min(960px, 100%);
  margin: 3rem auto 0;
  justify-content: center;
}

.branch-flag {
  display: inline-flex;
  justify-content: center;
  padding: 3px;
  margin-bottom: 1.25rem;
  background: linear-gradient(145deg, var(--gold-light), var(--gold));
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(7, 21, 37, 0.12);
  transition: transform var(--transition), box-shadow var(--transition);
}

.branch-flag-img {
  display: block;
  width: 5.75rem;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  border-radius: 9px;
  border: 2px solid var(--white);
  background: var(--gray-100);
}

.branch-flag-img--lg {
  width: 7.25rem;
}

.branch-card:hover .branch-flag,
.branch-detail:hover .branch-flag {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(7, 21, 37, 0.16);
}

.branch-card:hover .branch-flag-img,
.branch-detail:hover .branch-flag-img {
  transform: none;
}

.branch-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  transition: all var(--transition);
  cursor: default;
}

.branch-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.branch-flag {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.branch-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.branch-location-alt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.branch-companies {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
  text-align: center;
}

.branch-company {
  padding-top: 0.85rem;
  border-top: 1px solid var(--gray-100);
}

.branch-company-ar {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 0.35rem;
}

.branch-company-en {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.branch-companies--detail {
  margin: 0.75rem 0 1rem;
}

/* ─── Sponsors ─── */
.sponsors-section {
  background: var(--off-white);
}

#cms-sponsors .section-label {
  justify-content: center;
}

#cms-sponsors .section-label::after {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--navy);
}

.sponsors-marquee {
  margin-top: 2.5rem;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  touch-action: pan-y;
}

.sponsors-marquee * {
  user-select: none;
  -webkit-user-select: none;
}

.sponsors-marquee.is-dragging .sponsor-logo,
.sponsors-marquee.is-dragging .sponsor-logo:hover {
  transform: none;
  border-color: var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.sponsors-marquee:active {
  cursor: grabbing;
}

.sponsors-track {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  width: max-content;
  will-change: transform;
}

.sponsors-track.is-dragging {
  transition: none;
}

.sponsor-logo {
  flex: 0 0 auto;
  width: 13rem;
  height: 13rem;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.sponsor-logo:hover {
  border-color: rgba(221, 176, 18, 0.45);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.sponsor-logo img {
  display: block;
  width: 98%;
  height: 98%;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.branch-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ─── Team ─── */
.team { background: var(--off-white); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.team-photo {
  height: 200px;
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.team-photo .initials {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.25);
}

.team-info { padding: 1.5rem; }

.team-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.team-info .role {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-contacts {
  display: flex;
  gap: 0.6rem;
}

.team-contacts a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: all var(--transition);
}

.team-contacts a:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ─── CTA ─── */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  text-align: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, var(--gold-glow-strong) 0%, transparent 50%);
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2rem;
  position: relative;
}

.cta-band .btn { position: relative; }

/* ─── Contact ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-grid--centered {
  grid-template-columns: 1fr;
  max-width: 560px;
  margin-inline: auto;
}

.container--contact {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.container--contact .contact-form {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}

.container--contact .contact-form h3 {
  text-align: center;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

.contact-info-item h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.contact-info-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-form {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--gray-100);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  background: var(--white);
  transition: border-color var(--transition);
  color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea { min-height: 130px; resize: vertical; }

/* ─── Page hero (inner pages) ─── */
.page-hero {
  background: var(--navy);
  padding: calc(var(--header-h) + 4rem) 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, var(--gold-glow) 0%, transparent 60%);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  position: relative;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.75rem;
  position: relative;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  position: relative;
}

.breadcrumb a:hover { color: var(--navy); }

/* ─── Service detail ─── */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  padding: 3rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.service-detail:last-child { border-bottom: none; }

.service-detail:nth-child(even) { direction: ltr; }
.service-detail:nth-child(even) > * { direction: rtl; }

.service-detail-visual {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 3rem;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-detail-visual .big-icon { font-size: 4rem; }

.service-detail-content h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.service-detail-content p {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.feature-list {
  margin-top: 1.25rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.feature-list li::before {
  content: "✓";
  color: var(--navy);
  font-weight: 700;
  flex-shrink: 0;
}

/* ─── Footer ─── */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.6);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.75;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.6rem;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* ─── Reveal animation ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Demo banner ─── */
.demo-banner {
  position: fixed;
  bottom: 1.5rem;
  inset-inline-start: 1.5rem;
  z-index: 9999;
  background: linear-gradient(135deg, var(--gold-rich), var(--gold-light));
  color: var(--navy);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(144, 24, 24, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* ─── Custom pages ─── */
.custom-page-body {
  padding: 2rem 0 4rem;
  line-height: 1.9;
  color: var(--text-muted);
  font-size: 1.05rem;
}
.custom-page-body h2, .custom-page-body h3 { color: var(--navy); margin: 1.5rem 0 0.75rem; }
.custom-page-body p { margin-bottom: 1rem; }
.custom-page-body ul { padding-inline-start: 1.5rem; margin-bottom: 1rem; }
.custom-page-body li { margin-bottom: 0.4rem; list-style: disc; }

/* ─── Responsive ─── */
@media (max-width: 992px) {
  .about-grid,
  .contact-grid,
  .service-detail,
  .footer-grid,
  .branches-grid { grid-template-columns: 1fr; }

  .service-detail:nth-child(even) { direction: rtl; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .header {
    background: var(--header-bg);
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.2);
  }

  .header-inner > .nav:not(.open) {
    display: none;
  }

  .header-inner > .nav.open {
    display: flex;
    position: fixed;
    top: var(--header-h);
    inset-inline: 0;
    z-index: 999;
    background: var(--navy);
    flex-direction: column;
    margin-inline-start: 0;
    padding: 2rem;
    gap: 1.25rem;
    transform: translateY(0);
    opacity: 1;
    transition: all var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  }

  .lang-switch { margin-inline-start: 0; margin-bottom: 0; }

  .lang-switch__select {
    max-width: 5.75rem;
    font-size: 0.72rem;
    padding: 0.35rem 1.35rem 0.35rem 0.4rem;
  }

  .menu-toggle { display: flex; }
}

@media (max-width: 768px) {
  :root { --header-h: 72px; }

  .header .logo img { height: 36px; max-width: 7.5rem; object-fit: contain; object-position: right center; }

  .hero {
    min-height: 100svh;
    padding-bottom: 5rem;
  }

  .hero .container {
    display: flex;
    justify-content: center;
  }

  .hero-content {
    max-width: 100%;
    width: 100%;
    text-align: center;
    padding-top: calc(var(--header-h) + 1.25rem);
  }

  .hero-badge {
    margin-inline: auto;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
  }

  .demo-banner {
    left: 50%;
    right: auto;
    inset-inline-start: auto;
    transform: translateX(-50%);
    bottom: 1rem;
    white-space: nowrap;
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }

  .form-row { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
}

/* ─── Page transition loader ─── */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 42%, var(--navy-light, #1c4066) 0%, var(--navy-mid, #143354) 45%, var(--navy, #0d2137) 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
.page-loader::before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow-strong, rgba(212,175,55,0.32)) 0%, transparent 68%);
  filter: blur(22px);
  animation: loaderGlow 2.6s ease-in-out infinite;
  pointer-events: none;
}
.page-loader__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}
.page-loader__logo {
  width: 200px;
  max-width: 56vw;
  filter: brightness(0) invert(1) drop-shadow(0 0 16px var(--gold-glow, rgba(212,175,55,0.18)));
  animation: loaderLogo 2.2s ease-in-out infinite;
}
.page-loader__ring {
  width: 56px;
  height: 56px;
  border: 3px solid var(--gold-dim, rgba(212,175,55,0.16));
  border-top-color: var(--gold, #d4af37);
  border-radius: 50%;
  animation: loaderSpin 0.9s linear infinite;
}
.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}
@keyframes loaderSpin { to { transform: rotate(360deg); } }
@keyframes loaderLogo {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.05); opacity: 1; }
}
@keyframes loaderGlow {
  0%, 100% { opacity: 0.45; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .page-loader__logo,
  .page-loader__ring,
  .page-loader::before { animation: none; }
}
