
/* ============================================
   شركة مستقبل المتحدة المحدودة
   تصميم احترافي محدّث — 2026
   ============================================ */

/* ---------- @font-face ---------- */
@font-face {
  font-family: 'Zanjabeel';
  src: url('../fonts/Zanjabeel-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Zanjabeel';
  src: url('../fonts/Zanjabeel-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Zanjabeel';
  src: url('../fonts/Zanjabeel-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --primary:        #0A2342;
  --primary-mid:    #0E3366;
  --primary-light:  #1A5276;
  --gold:           #C8972B;
  --gold-light:     #D4AF37;
  --gold-pale:      #F5E6C0;
  --cream:          #FAF6EF;
  --cream-dark:     #F2EBD9;
  --white:          #FFFFFF;
  --text:           #1C2B3A;
  --text-mid:       #3D4F60;
  --text-muted:     #6B7E92;
  --text-light:     #FFFFFF;
  --border:         rgba(10, 35, 66, 0.1);
  --border-gold:    rgba(200, 151, 43, 0.25);
  --shadow-sm:      0 2px 8px rgba(10,35,66,0.08);
  --shadow-md:      0 8px 24px rgba(10,35,66,0.12);
  --shadow-lg:      0 20px 60px rgba(10,35,66,0.18);
  --shadow-gold:    0 8px 24px rgba(200,151,43,0.2);
  --radius-sm:      8px;
  --radius-md:      16px;
  --radius-lg:      24px;
  --radius-xl:      32px;
  --font:           'Zanjabeel', 'Cairo', sans-serif;
  --container:      1200px;
  --nav-height:     80px;
  --tr:             0.3s ease;
  --tr-slow:        0.5s ease;
}

/* ============================================
   INTRO / SPLASH
   ============================================ */
.intro {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease;
}
.intro__logo-wrap {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.intro__logo-wrap.visible {
  opacity: 1;
  transform: scale(1);
}
.intro__logo {
  width: clamp(250px, 40vw, 500px);
  height: auto;
  box-shadow: none; /* إزالة الظل لو كان غير مناسب مع الشفاف */
}
.intro--leaving .intro__logo-wrap { opacity: 0; transform: scale(1.05); }
.intro--leaving { opacity: 0; }
body.intro-active { overflow: hidden; }

@keyframes pageEnter {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
body.page-enter { animation: pageEnter 0.5s ease-out; }

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  direction: rtl;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ---------- Section Labels ---------- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-pale);
  color: var(--gold);
  border: 1px solid var(--border-gold);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 16px;
  text-align: center;
}
.section-title--light { color: var(--white); }

.section-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-muted);
  text-align: center;
  max-width: 580px;
  margin: 0 auto 56px;
  line-height: 1.8;
}
.section-subtitle--light { color: rgba(255,255,255,0.7); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 30px;
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--tr);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn--primary:hover {
  background: var(--primary-mid);
  border-color: var(--primary-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--accent {
  background: linear-gradient(135deg, var(--gold) 0%, #E8B84B 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(200,151,43,0.35);
}
.btn--accent:hover {
  background: linear-gradient(135deg, #B5852A 0%, var(--gold) 100%);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

.btn--submit {
  width: 100%;
  background: linear-gradient(135deg, var(--gold) 0%, #E8B84B 100%);
  color: var(--white);
  border: none;
  padding: 15px 32px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--tr);
  box-shadow: 0 4px 16px rgba(200,151,43,0.3);
}
.btn--submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--tr), box-shadow var(--tr);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 35, 66, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
}

.navbar__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 24px;
}

.navbar__logo { flex-shrink: 0; }

.logo-img {
  height: 130px;
  max-height: 150px;
  width: auto;
  transition: opacity var(--tr), transform var(--tr);
}
.logo-img:hover { opacity: 0.9; transform: scale(1.02); }

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
}

.navbar__link {
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--tr);
  position: relative;
}
.navbar__link:hover,
.navbar__link.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.navbar__cta {
  margin-inline-start: 12px;
  padding: 9px 20px;
  font-size: 0.88rem;
  border-radius: var(--radius-md);
}

.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  margin-inline-start: auto;
  z-index: 1001;
}
.navbar__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--tr);
}
.navbar__burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__burger.active span:nth-child(2) { opacity: 0; }
.navbar__burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
@media (max-width: 900px) {
  .navbar__burger { display: flex; }
  .navbar__nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(300px, 80vw);
    background: var(--primary);
    flex-direction: column;
    align-items: flex-start;
    z-index: 1000;
    gap: 4px;
    padding: 100px 24px 40px;
    transform: translateX(100%);
    transition: transform var(--tr-slow);
    box-shadow: -4px 0 30px rgba(0,0,0,0.3);
    margin: 0;
  }
  html[dir="rtl"] .navbar__nav { inset: 0 auto 0 0; transform: translateX(-100%); }
  .navbar__nav.active { transform: translateX(0); }
  .navbar__link { width: 100%; font-size: 1rem; padding: 12px 16px; }
  .navbar__cta { width: 100%; text-align: center; margin: 16px 0 0; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #071727 0%, #0A2342 40%, #0E3A6E 70%, #0A2342 100%);
  overflow: hidden;
}

/* Decorative grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,151,43,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,151,43,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Radial glows */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(200,151,43,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(14,58,110,0.4) 0%, transparent 50%);
  pointer-events: none;
}

.hero__pattern { display: none; }

.hero__decor {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.hero__decor--two-dashes {
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  width: clamp(120px, 18vw, 240px);
  opacity: 0.06;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: var(--nav-height);
  padding-bottom: 60px;
  max-width: 780px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,151,43,0.15);
  border: 1px solid rgba(200,151,43,0.3);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  margin-bottom: 28px;
}
.hero__eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--gold-light);
  border-radius: 50%;
  animation: blink 2s ease infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; } 50% { opacity: 0.3; }
}

.hero__title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.hero__title span {
  background: linear-gradient(90deg, var(--gold-light), #F0C860);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  line-height: 1.85;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.3);
  animation: scrollBounce 2s ease infinite;
  z-index: 2;
}
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   STATS BAR
   ============================================ */
.stats {
  position: relative;
  background: var(--cream);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  padding: 0;
}
.stats__pattern { display: none; }

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 44px 24px;
  border-left: 1px solid var(--border);
  text-align: center;
  transition: background var(--tr);
}
.stats__item:first-child { border-left: none; }
.stats__item:hover { background: rgba(200,151,43,0.04); }

.stats__icon {
  width: 48px;
  height: 48px;
  background: var(--gold-pale);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.stats__icon svg { width: 24px; height: 24px; }

.stats__number {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
  display: block;
}
.stats__number::after { content: '+'; }

.stats__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  position: relative;
  background: var(--white);
  padding: 100px 0;
}
.about__pattern { display: none; }

.about__hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.about__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-pale);
  color: var(--gold);
  border: 1px solid var(--border-gold);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.about__headline {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 20px;
}
.about__headline span {
  background: linear-gradient(90deg, var(--gold), #E8B84B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about__lead {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.85;
  max-width: 560px;
}

.about__brand-visual { flex-shrink: 0; }

.about__logo-showcase {
  width: 180px;
  height: 180px;
  background: var(--cream);
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.about__logo-img {
  max-height: 110px;
  width: auto;
  margin: 0 auto;
}

/* Vision / Mission */
.about__vision-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 80px;
}

.about__vm-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: box-shadow var(--tr), transform var(--tr);
}
.about__vm-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.about__vm-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.about__vm-card h3::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
.about__vm-card p {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.8;
}

/* Values */
.about__values-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--primary);
  text-align: center;
  margin-bottom: 40px;
}

.about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.about__value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--tr-slow);
  position: relative;
  overflow: hidden;
}
.about__value-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  opacity: 0;
  transition: opacity var(--tr);
  z-index: 0;
}
.about__value-card:hover::before { opacity: 1; }
.about__value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.about__value-card:hover h4,
.about__value-card:hover p { color: var(--white); }
.about__value-card:hover .about__value-icon { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); }
.about__value-card:hover .about__value-icon svg { stroke: var(--gold-light); }

.about__value-icon {
  width: 58px;
  height: 58px;
  background: var(--gold-pale);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  transition: all var(--tr);
  position: relative;
  z-index: 1;
}
.about__value-icon-svg { width: 28px; height: 28px; stroke: var(--gold); }

.about__value-card h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  transition: color var(--tr);
}
.about__value-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.75;
  position: relative;
  z-index: 1;
  transition: color var(--tr);
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  background: var(--cream);
  padding: 100px 0;
  position: relative;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 20px;
}

.services__pillar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 22px 28px;
}
.services__pillar--alt {
  background: linear-gradient(135deg, var(--primary-mid) 0%, var(--primary-light) 100%);
}
.services__pillar-title {
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.services__pillar-title::before {
  content: '';
  width: 4px;
  height: 18px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

.services__cards-grid {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
}

.services__card {
  border-bottom: 1px solid var(--border);
  transition: background var(--tr);
}
.services__card:last-child { border-bottom: none; }
.services__card:hover { background: rgba(200,151,43,0.03); }

.services__card-trigger {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font);
  text-align: right;
  transition: all var(--tr);
}

.services__card-icon-wrap {
  width: 44px;
  height: 44px;
  background: var(--gold-pale);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--tr);
}
.services__card-trigger:hover .services__card-icon-wrap {
  background: var(--primary);
  border-color: var(--primary);
}
.services__item-icon {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  transition: stroke var(--tr);
}
.services__card-trigger:hover .services__item-icon { stroke: var(--white); }

.services__item-title {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  transition: color var(--tr);
}
.services__card-trigger:hover .services__item-title { color: var(--primary); }

.services__card-plus {
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 300;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold-pale);
  border: 1px solid var(--border-gold);
  transition: all var(--tr);
  flex-shrink: 0;
  line-height: 1;
}
.services__card-trigger[aria-expanded="true"] .services__card-plus {
  transform: rotate(45deg);
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.services__card-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}
.services__card-panel.open {
  max-height: 200px;
  opacity: 1;
}

.services__item-desc {
  padding: 4px 24px 20px 24px;
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.8;
  border-top: 1px solid var(--border);
}

.services__item-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-pale);
  color: var(--gold);
  border: 1px solid var(--border-gold);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 100px;
  margin: 0 24px 20px;
  transition: all var(--tr);
  width: fit-content;
}
.services__item-btn:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  transform: translateX(-4px);
}
.services__item-btn-icon { width: 16px; height: 16px; transition: transform var(--tr); }
.services__item-btn:hover .services__item-btn-icon { transform: translateX(-4px); }

/* ============================================
   CLIENTS
   ============================================ */
.clients {
  background: var(--white);
  padding: 100px 0;
  position: relative;
}
.clients__pattern { display: none; }

.clients__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.clients__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  transition: all var(--tr);
  filter: grayscale(30%);
}
.clients__card:hover {
  border-color: var(--gold-light);
  box-shadow: var(--shadow-sm);
  filter: grayscale(0%);
  transform: translateY(-3px);
}
.clients__card img {
  max-height: 55px;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  position: relative;
  background: linear-gradient(135deg, #071727 0%, #0A2342 40%, #0E3A6E 100%);
  padding: 100px 0;
  overflow: hidden;
}
.contact__pattern { display: none; }
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 90% 20%, rgba(200,151,43,0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 80%, rgba(14,58,110,0.5) 0%, transparent 50%);
  pointer-events: none;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact__info .section-title { text-align: right; }

.contact__text {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.85;
  margin-bottom: 36px;
}

.contact__details { display: flex; flex-direction: column; gap: 16px; }

.contact__detail {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  transition: all var(--tr);
}
.contact__detail:hover {
  background: rgba(200,151,43,0.12);
  border-color: rgba(200,151,43,0.3);
  color: var(--white);
  transform: translateX(-4px);
}
.contact__detail svg { flex-shrink: 0; stroke: var(--gold-light); }

/* Contact Form */
.contact__form-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form__row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form__group label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}
.form__optional { font-weight: 400; color: var(--text-muted); font-size: 0.8rem; }

.form__group input,
.form__group textarea,
.form__group select {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 0.93rem;
  color: var(--text);
  transition: all var(--tr);
  outline: none;
  width: 100%;
}
.form__group input::placeholder,
.form__group textarea::placeholder { color: var(--text-muted); }
.form__group input:focus,
.form__group textarea:focus,
.form__group select:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(200,151,43,0.12);
}
.form__group textarea { resize: vertical; min-height: 80px; }
.form__group select { cursor: pointer; }

/* Phone input */
.phone-input {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: visible;
  background: var(--cream);
  position: relative;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.phone-input:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,151,43,0.12);
}
.phone-input__toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: none;
  border: none;
  border-left: 1.5px solid var(--border);
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  flex-shrink: 0;
  white-space: nowrap;
}
.phone-input__number {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 0.93rem;
  outline: none;
}
.phone-input__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 280px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 100;
  display: none;
}
.phone-input__dropdown.open { display: block; }
.phone-input__search {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 10px 14px;
  font-family: var(--font);
  font-size: 0.88rem;
  outline: none;
}
.phone-input__list { max-height: 220px; overflow-y: auto; }
.phone-input__list li {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 0.88rem;
  transition: background var(--tr);
  display: flex;
  align-items: center;
  gap: 10px;
}
.phone-input__list li:hover { background: var(--cream); }
.phone-input__arrow { color: var(--text-muted); }

.form__step-actions { margin-top: 8px; }

/* Success */
.contact__success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  gap: 16px;
}
.contact__success.visible { display: flex; }
.contact__success h3 { font-size: 1.3rem; font-weight: 800; color: var(--primary); }
.contact__success p { color: var(--text-muted); font-size: 0.95rem; }

/* SVG animations */
.success-circle { stroke-dasharray: 180; stroke-dashoffset: 180; animation: drawCircle 0.7s ease forwards 0.1s; }
.success-check { stroke-dasharray: 80; stroke-dashoffset: 80; animation: drawCheck 0.5s ease forwards 0.7s; }
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  position: relative;
  background: var(--primary);
  border-top: 1px solid rgba(200,151,43,0.2);
  padding: 0;
}
.footer__pattern { display: none; }

/* CTA Banner */
.footer__cta-band {
  background: linear-gradient(135deg, var(--gold) 0%, #B8821F 100%);
  padding: 40px 0;
}
.footer__cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer__cta-text h3 {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 4px;
}
.footer__cta-text p { font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.footer__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--gold);
  font-family: var(--font);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  white-space: nowrap;
  transition: all var(--tr);
  border: 2px solid transparent;
}
.footer__cta-btn:hover {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding: 60px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand { display: flex; flex-direction: column; gap: 16px; }

.footer__logo {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  max-height: 64px;
  width: auto;
}

.footer__desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  max-width: 240px;
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.footer__social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all var(--tr);
}
.footer__social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

.footer__col h4 {
  font-size: 0.78rem;
  font-weight: 800;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__col h4::before {
  content: '';
  width: 16px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  flex-shrink: 0;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__nav a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  transition: color var(--tr);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer__nav a::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity var(--tr);
}
.footer__nav a:hover { color: var(--white); }
.footer__nav a:hover::before { opacity: 1; }

.footer__contact-list { display: flex; flex-direction: column; gap: 14px; }

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  transition: color var(--tr);
}
.footer__contact-item:hover { color: var(--white); }
.footer__contact-icon {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.footer__contact-icon svg { width: 16px; height: 16px; stroke: var(--gold-light); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 16px;
}

.footer__copyright,
.footer__legal {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}
.footer__legal a { color: rgba(255,255,255,0.45); transition: color var(--tr); }
.footer__legal a:hover { color: var(--gold-light); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__item { border-left: none; border-bottom: 1px solid var(--border); }
  .stats__item:nth-child(even) { border-right: none; }
  .about__hero { grid-template-columns: 1fr; gap: 32px; }
  .about__brand-visual { display: none; }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 68px; }

  .logo-img { height: 50px; max-height: 60px; }

  .hero__title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero__subtitle { font-size: 0.97rem; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }

  .about { padding: 72px 0; }
  .about__vision-mission { grid-template-columns: 1fr; }
  .about__values-grid { grid-template-columns: repeat(2, 1fr); }

  .services { padding: 72px 0; }
  .services__grid { grid-template-columns: 1fr; }

  .clients { padding: 72px 0; }
  .clients__grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }

  .contact { padding: 72px 0; }
  .contact__form-wrapper { padding: 28px 20px; }
  .form__row--2 { grid-template-columns: 1fr; }

  .footer__cta-inner { flex-direction: column; text-align: center; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .about__values-grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { text-align: center; }
}

.btn__spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spin 1s linear infinite;
}
.btn__spinner[hidden] { display: none !important; }
@keyframes spin { 100% { transform: rotate(360deg); } }

/* ============================================
   ANIMATIONS
   ============================================ */
[data-aos] { transition-property: transform, opacity; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}
