/* ============================================
   الإخوة المتحدون — 2027 Design System
   ============================================ */

:root {
  --navy: #0a1520;
  --navy-2: #101e2e;
  --navy-3: #182a3d;
  --navy-4: #21364e;
  --gold: #c9a227;
  --gold-light: #d9b84e;
  --gold-dark: #a6851c;
  --paper: #f5f3ee;
  --paper-2: #ebe8e1;
  --white: #ffffff;
  --ink: #121c27;
  --muted: #5c6a78;
  --line: rgba(10, 21, 32, 0.09);
  --line-strong: rgba(10, 21, 32, 0.16);
  --shadow: 0 8px 32px rgba(10, 21, 32, 0.09);
  --shadow-lg: 0 20px 60px rgba(10, 21, 32, 0.14);
  --radius: 16px;
  --radius-sm: 11px;
  --wrap: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Segoe UI", system-ui, "Tahoma", "Arial", sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  direction: rtl;
  text-align: right;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.num, [dir="ltr"] {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.wrap {
  width: min(calc(100% - 2rem), var(--wrap));
  margin-inline: auto;
}

h1, h2, h3, h4 { font-weight: 700; line-height: 1.28; color: var(--navy); }
.gold-text { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.82rem 1.55rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  box-shadow: 0 4px 18px rgba(201, 162, 39, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 162, 39, 0.4);
}

.btn-secondary {
  background: var(--navy);
  color: var(--white);
}
.btn-secondary:hover {
  background: var(--navy-3);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1.5px solid var(--line-strong);
  color: var(--navy);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: rgba(201, 162, 39, 0.05);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 21, 32, 0.88);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.3s;
}

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-logo {
  width: 46px;
  height: 42px;
  background-image: url("logo-white.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease);
}
.brand:hover .brand-logo { transform: scale(1.06); }

.brand-text strong {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
}

.brand-text span {
  display: block;
  color: rgba(255,255,255,0.45);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  direction: ltr;
  text-align: right;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 0.1rem;
}

.main-nav a {
  color: rgba(255,255,255,0.68);
  font-size: 0.86rem;
  font-weight: 500;
  padding: 0.42rem 0.8rem;
  border-radius: 8px;
  transition: color 0.25s, background 0.25s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
  background: rgba(201, 162, 39, 0.1);
}

.head-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.head-call {
  display: none;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.86rem;
  direction: ltr;
}

.menu-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(255,255,255,0.06);
  color: var(--white);
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
}
.menu-toggle span::before { top: -5.5px; }
.menu-toggle span::after { top: 5.5px; }

.menu-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--navy-2);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding: 0.8rem;
  flex-direction: column;
  gap: 0.12rem;
}
.menu-panel.open { display: flex; }
.menu-panel a {
  color: rgba(255,255,255,0.8);
  padding: 0.78rem 1rem;
  border-radius: 9px;
  font-weight: 500;
  font-size: 0.9rem;
}
.menu-panel a:hover { background: rgba(255,255,255,0.05); color: var(--gold); }

/* ========== HERO with Logo Animation ========== */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 3rem 0 4rem;
  position: relative;
  overflow: hidden;
  min-height: min(620px, 88svh);
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 75% 20%, rgba(201,162,39,0.11), transparent 60%),
    radial-gradient(ellipse 40% 40% at 15% 80%, rgba(201,162,39,0.05), transparent 50%);
  pointer-events: none;
}

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.15;
  pointer-events: none;
  animation: orbFloat 12s ease-in-out infinite;
}
.hero-orb-1 {
  width: 280px; height: 280px;
  background: var(--gold);
  top: -60px; left: -40px;
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 200px; height: 200px;
  background: #4a7ab0;
  bottom: -40px; right: 10%;
  animation-delay: -4s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -15px) scale(1.08); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(201,162,39,0.12);
  border: 1px solid rgba(201,162,39,0.28);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-size: clamp(1.8rem, 4.8vw, 2.7rem);
  color: var(--white);
  margin-bottom: 0.9rem;
  line-height: 1.22;
}

.hero p {
  color: rgba(255,255,255,0.62);
  font-size: 1.02rem;
  max-width: 30rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero Logo Panel */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-logo-wrap {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.hero-logo-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(201,162,39,0.15);
  animation: ringPulse 4s ease-in-out infinite;
}

.hero-logo-ring-2 {
  inset: 12%;
  border-color: rgba(201,162,39,0.1);
  animation-delay: -1.5s;
  animation-duration: 5s;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.04); opacity: 1; }
}

.hero-logo-core {
  width: 58%;
  height: 58%;
  background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.08);
  animation: logoFloat 6s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-logo-core .brand-logo {
  width: 72%;
  height: 65%;
  background-image: url("logo-white.png");
}

.hero-logo-glow {
  position: absolute;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.25), transparent 70%);
  border-radius: 50%;
  z-index: 1;
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.15); }
}

/* Sections */
.section { padding: 4.25rem 0; }

.section-head {
  text-align: center;
  margin-bottom: 2.4rem;
}

.section-label {
  display: inline-block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.45rem;
}

.section-head h2 {
  font-size: clamp(1.45rem, 3.2vw, 1.95rem);
  margin-bottom: 0.45rem;
}

.section-head p {
  color: var(--muted);
  max-width: 34rem;
  margin-inline: auto;
  font-size: 0.95rem;
}

.title-rule {
  width: 42px;
  height: 2.5px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 0.9rem auto 0;
}

/* Client Access */
.client-access {
  background: var(--navy);
  border-radius: calc(var(--radius) + 2px);
  padding: 2.3rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.client-access::before {
  content: "";
  position: absolute;
  top: -30%; left: -15%;
  width: 50%; height: 130%;
  background: radial-gradient(circle, rgba(201,162,39,0.1), transparent 70%);
  pointer-events: none;
}

.client-access-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.75rem;
}

.client-access h2 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.client-access-inner > p {
  color: rgba(255,255,255,0.58);
  font-size: 0.92rem;
}

.access-form {
  display: grid;
  gap: 0.85rem;
  max-width: 400px;
}

.form-group { display: grid; gap: 0.32rem; }

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.72);
}

.form-group input {
  width: 100%;
  padding: 0.92rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-size: 1rem;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  direction: ltr;
  text-align: left;
  letter-spacing: 0.04em;
}

.form-group input::placeholder { color: rgba(255,255,255,0.28); }

.form-group input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.15);
}

.access-hint {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.38);
  margin-top: 0.3rem;
}

.access-features { display: grid; gap: 0.7rem; }

.access-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.72);
}

.access-feature .feat-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(201,162,39,0.12);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 0.9rem;
}

.access-feature strong {
  display: block;
  color: #fff;
  margin-bottom: 1px;
  font-size: 0.9rem;
}

/* Cards with images */
.card-grid {
  display: grid;
  gap: 1.15rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201,162,39,0.22);
}

.card-visual {
  height: 170px;
  position: relative;
  overflow: hidden;
  background: var(--navy-2);
}

.card-visual img {
  width: 100%;
  height: 100%;
  transition: transform 0.6s var(--ease);
}

.card:hover .card-visual img {
  transform: scale(1.06);
}

.card-visual .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,21,32,0.5), transparent 50%);
  pointer-events: none;
}

.card-status {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  z-index: 2;
}

.card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card h3 { font-size: 1.08rem; margin-bottom: 0.35rem; }

.card p {
  color: var(--muted);
  font-size: 0.88rem;
  flex: 1;
  margin-bottom: 0.8rem;
}

.meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.meta-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 5px;
  background: var(--paper-2);
  color: var(--muted);
}

/* Gallery strip */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (min-width: 700px) {
  .gallery-strip { grid-template-columns: repeat(4, 1fr); }
}

.gallery-strip .g-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}

.gallery-strip .g-item img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s var(--ease);
}

.gallery-strip .g-item:hover img {
  transform: scale(1.07);
}

/* Links Page */
.links-page {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 1rem 3.5rem;
  position: relative;
  overflow: hidden;
}

.links-page::before {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(201,162,39,0.12), transparent 70%);
  top: -80px; right: -60px;
  pointer-events: none;
}

.links-card {
  width: min(100%, 400px);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 22px;
  padding: 2.25rem 1.5rem;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(12px);
}

.links-logo {
  width: 76px;
  height: 70px;
  background-image: url("logo-white.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  margin: 0 auto 1.15rem;
  animation: logoFloat 5s ease-in-out infinite;
}

.links-card h1 {
  text-align: center;
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.links-card .subtitle {
  text-align: center;
  color: rgba(255,255,255,0.42);
  font-size: 0.84rem;
  margin-bottom: 1.75rem;
}

.link-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 13px;
  padding: 0.9rem 1.05rem;
  margin-bottom: 0.6rem;
  transition: all 0.3s var(--ease);
  color: var(--white);
}

.link-item:hover {
  background: rgba(201,162,39,0.12);
  border-color: rgba(201,162,39,0.3);
  transform: translateX(-4px);
}

.link-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  background: rgba(255,255,255,0.07);
}

.link-item.gold .link-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
}

.link-text strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
}

.link-text span {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.42);
  margin-top: 1px;
}

.links-footer {
  text-align: center;
  margin-top: 1.75rem;
  color: rgba(255,255,255,0.28);
  font-size: 0.76rem;
  line-height: 1.6;
}

/* Project Progress */
.project-hero {
  background: var(--navy);
  color: var(--white);
  padding: 2rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.project-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 80% 30%, rgba(201,162,39,0.08), transparent 60%);
  pointer-events: none;
}

.project-hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
  position: relative;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.87rem;
  font-weight: 500;
  transition: color 0.2s;
}
.back-link:hover { color: var(--gold); }

.project-code-badge {
  background: rgba(201,162,39,0.12);
  border:  1px solid rgba(201,162,39,0.3);
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  direction: ltr;
  letter-spacing: 0.03em;
}

.project-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  position: relative;
}

.project-title-row h1 {
  color: var(--white);
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  margin-bottom: 0.3rem;
}

.project-title-row .meta {
  color: rgba(255,255,255,0.48);
  font-size: 0.87rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  margin-left: 5px;
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.progress-ring-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.progress-ring {
  width: 68px;
  height: 68px;
  position: relative;
}

.progress-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.progress-ring circle {
  fill: none;
  stroke-width: 5.5;
}

.progress-ring .bg { stroke: rgba(255,255,255,0.1); }
.progress-ring .fill {
  stroke: var(--gold);
  stroke-linecap: round;
  transition: stroke-dashoffset 1.2s var(--ease-out);
}

.progress-ring .percent {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--gold-light);
  direction: ltr;
}

.stage-bar {
  height: 5px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.stage-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 3px;
  transition: width 1s var(--ease-out);
}

.timeline-section { padding: 2.5rem 0 3.5rem; }
.timeline { display: grid; gap: 1.25rem; }

.timeline-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.timeline-item:hover { box-shadow: var(--shadow); }
.timeline-item.latest { border-color: rgba(201,162,39,0.35); }

.timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.timeline-date {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9rem;
}

.timeline-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
}

.timeline-body { padding: 1.25rem; }

.timeline-body p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.timeline-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.5rem;
}

.timeline-photos img {
  aspect-ratio: 1;
  border-radius: 8px;
  width: 100%;
  transition: transform 0.3s;
  cursor: pointer;
}
.timeline-photos img:hover { transform: scale(1.04); }

.project-layout { display: grid; gap: 1.75rem; }

.sidebar-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1.35rem;
}

.sidebar-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.45rem 0;
  font-size: 0.87rem;
}

.info-row span:first-child { color: var(--muted); }
.info-row span:last-child { font-weight: 600; color: var(--navy); }

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.62);
  padding: 2.5rem 0 1.75rem;
}

.footer-grid { display: grid; gap: 1.75rem; }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.footer-brand .brand-logo { width: 42px; height: 38px; }

.footer-brand strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
}

.footer-brand small {
  color: rgba(255,255,255,0.38);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  direction: ltr;
  display: block;
  text-align: right;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.87rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

.copyright {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.28);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 0.75rem;
}

/* Mobile Bar */
.mobile-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  display: flex;
  gap: 0.45rem;
  padding: 0.6rem 0.8rem;
  background: rgba(10,21,32,0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.05);
  z-index: 90;
}

.mobile-bar a {
  flex: 1;
  text-align: center;
  padding: 0.7rem;
  border-radius: 11px;
  font-weight: 700;
  font-size: 0.87rem;
}

.quick-call {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
}

.quick-wa {
  background: rgba(255,255,255,0.07);
  color: var(--white);
}

/* Responsive */
@media (min-width: 700px) {
  .client-access-inner {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .project-layout { grid-template-columns: 1fr 280px; }
}

@media (min-width: 900px) {
  .main-nav { display: flex; }
  .head-call { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid {
    grid-template-columns: 1.2fr 1fr auto;
    align-items: start;
  }
}

/* ========== 2027 Scroll Animations ========== */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal-left {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.js .reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.js .reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.js .reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.delay-1 { transition-delay: 0.08s !important; }
.delay-2 { transition-delay: 0.16s !important; }
.delay-3 { transition-delay: 0.24s !important; }
.delay-4 { transition-delay: 0.32s !important; }
