/* ===== Design Tokens ===== */
:root {
  --navy: #0F2647;
  --navy-2: #1A3A5C;
  --navy-deep: #081830;
  --gold: #C19A4E;
  --gold-2: #D4B374;
  --gold-soft: #E8D5A8;
  --cream: #FAF8F4;
  --cream-2: #F2EEE5;
  --white: #ffffff;
  --ink: #1A1A1A;
  --muted: #6B6B6B;
  --line: #E5E0D6;
  --shadow-sm: 0 2px 8px rgba(15, 38, 71, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 38, 71, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 38, 71, 0.12);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --transition: 0.4s var(--ease);
  --font-ar: 'Tajawal', system-ui, sans-serif;
  --font-en: 'Poppins', system-ui, sans-serif;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ar);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { font-family: var(--font-en); }

img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.25; color: var(--navy); font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 64px 0; position: relative; }

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  padding: 4px 12px;
  background: rgba(193, 154, 78, 0.1);
  border-radius: 100px;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin-bottom: 0;
}
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-head .section-lead { margin-left: auto; margin-right: auto; }

/* ===== Skip Link ===== */
.skip-link {
  position: absolute;
  top: -40px;
  inset-inline-start: 16px;
  background: var(--navy);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top var(--transition);
}
.skip-link:focus { top: 16px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(193, 154, 78, 0.35);
}
.btn-primary:hover {
  background: var(--gold-2);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(193, 154, 78, 0.45);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}
.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: transform var(--transition);
}
.brand:hover img { transform: rotate(-6deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-weight: 900; font-size: 1.05rem; color: var(--navy); }
.brand-tag { font-size: 0.75rem; color: var(--gold); font-weight: 500; }

.nav ul {
  display: flex;
  gap: 6px;
}
.nav a {
  position: relative;
  padding: 10px 14px;
  font-weight: 500;
  color: var(--navy);
  font-size: 0.95rem;
  border-radius: 100px;
  transition: background var(--transition), color var(--transition);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 4px;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav a:hover { color: var(--gold); }
.nav a:hover::after { width: 60%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.8rem;
  font-family: var(--font-en);
  letter-spacing: 0.5px;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lang-toggle:hover {
  background: var(--gold);
  color: var(--navy);
  transform: rotate(180deg);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: var(--radius-sm);
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  color: var(--white);
  padding: calc(var(--header-h) + 40px) 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15, 38, 71, 0.92) 0%, rgba(15, 38, 71, 0.78) 50%, rgba(8, 24, 48, 0.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}
.eyebrow {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(193, 154, 78, 0.18);
  border: 1px solid rgba(193, 154, 78, 0.45);
  border-radius: 100px;
  color: var(--gold-2);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--white);
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 640px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.scroll-down {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 2.4s ease-in-out infinite;
}
.scroll-down svg { width: 20px; height: 20px; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== About ===== */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text p { color: var(--muted); font-size: 1.05rem; }
.check-list { margin-top: 24px; display: grid; gap: 12px; }
.check-list li {
  position: relative;
  padding-inline-start: 32px;
  color: var(--ink);
  font-weight: 500;
}
.check-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 8px;
  width: 20px;
  height: 20px;
  background:
    linear-gradient(135deg, var(--gold), var(--gold-2));
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(193, 154, 78, 0.4);
}
.check-list li::after {
  content: "";
  position: absolute;
  inset-inline-start: 6px;
  top: 13px;
  width: 8px;
  height: 4px;
  border-inline-start: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg);
}

.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  transition: transform 0.8s var(--ease);
}
.about-media:hover img { transform: scale(1.05); }
.about-badge {
  position: absolute;
  inset-block-end: 24px;
  inset-inline-start: 24px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--gold);
}
.badge-num {
  font-family: var(--font-en);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}
.badge-num small { color: var(--gold); font-size: 1.4rem; }
.badge-text { color: var(--muted); font-weight: 600; font-size: 0.9rem; }

/* ===== Services ===== */
.services { background: var(--cream); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; inset-inline-start: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transition: width 0.5s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-soft);
}
.service-card:hover::before { width: 100%; }
.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform var(--transition);
}
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.05); }
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.65;
}

/* ===== Procedures Timeline ===== */
.procedures { background: var(--white); }
.timeline {
  display: grid;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  inset-inline-start: 38px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-soft) 100%);
}
.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
  position: relative;
}
.timeline-num {
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 900;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 6px 16px rgba(193, 154, 78, 0.25);
  transition: all var(--transition);
}
.timeline-item:hover .timeline-num {
  background: var(--gold);
  color: var(--white);
  transform: scale(1.08);
}
.timeline-body {
  background: var(--cream);
  padding: 24px 28px;
  border-radius: var(--radius);
  border-inline-start: 4px solid var(--gold);
  transition: transform var(--transition), box-shadow var(--transition);
}
.timeline-item:hover .timeline-body {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}
html[dir="rtl"] .timeline-item:hover .timeline-body { transform: translateX(-6px); }
.timeline-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.timeline-body p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ===== Stats ===== */
.stats {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(193, 154, 78, 0.15), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(193, 154, 78, 0.1), transparent 50%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.stat {
  padding: 24px 16px;
  position: relative;
}
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  inset-inline-end: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: rgba(193, 154, 78, 0.3);
}
.stat-num {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.stat-label {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  font-weight: 500;
}

/* ===== Why Us ===== */
.why-us { background: var(--cream); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.feature {
  background: var(--white);
  padding: 28px 24px;
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--line);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: rgba(193, 154, 78, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background var(--transition), color var(--transition);
}
.feature:hover .feature-icon {
  background: var(--gold);
  color: var(--white);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ===== Impact ===== */
.impact { background: var(--white); }
.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.impact-card {
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-2) 100%);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border-block-start: 4px solid var(--gold);
  transition: transform var(--transition), box-shadow var(--transition);
}
.impact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.impact-card h3 {
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold-soft);
}
.impact-card ul li {
  position: relative;
  padding-inline-start: 24px;
  margin-bottom: 10px;
  color: var(--ink);
}
.impact-card ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  transform: rotate(45deg);
}

/* ===== Contact ===== */
.contact { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
}
.contact-cards {
  display: grid;
  gap: 22px;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--gold);
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.contact-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.contact-card-head svg {
  width: 30px;
  height: 30px;
  color: var(--navy);
  flex-shrink: 0;
}
.contact-card-wa .contact-card-head svg { color: #25D366; }
.contact-card-wa { border-top-color: #25D366; }
.contact-card-head h3 { margin: 0; font-size: 1.3rem; }
.contact-card-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 22px;
}
.contact-links {
  display: grid;
  gap: 12px;
}
.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  background: var(--cream);
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
  font-weight: 600;
}
.contact-link:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateX(4px);
}
html[dir="rtl"] .contact-link:hover { transform: translateX(-4px); }
.contact-card-wa .contact-link:hover { background: #25D366; }
.contact-link-label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}
.contact-link:hover .contact-link-label { color: rgba(255, 255, 255, 0.85); }
.contact-link-value {
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.contact-info {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.info-item:last-of-type {
  margin-bottom: 20px;
  padding-bottom: 0;
  border-bottom: none;
}
.info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(193, 154, 78, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-icon svg { width: 22px; height: 22px; }
.info-item h4 { margin-bottom: 4px; font-size: 1rem; color: var(--navy); }
.info-item p, .info-item a { margin: 0; color: var(--muted); font-size: 0.95rem; }
.info-item a:hover { color: var(--gold); }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.15); }

/* ===== Footer ===== */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.footer-brand img {
  width: 64px;
  height: 64px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 6px;
  flex-shrink: 0;
}
.footer-brand h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.footer-brand p {
  color: var(--gold-2);
  font-size: 0.9rem;
  margin: 0;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0; inset-inline-start: 0;
  width: 32px; height: 2px;
  background: var(--gold);
}
.footer-col ul li {
  margin-bottom: 8px;
  font-size: 0.92rem;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact li { color: rgba(255,255,255,0.7); }
.footer-contact a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}
.footer-bottom-inner p { margin: 0; }
.powered-by a {
  color: var(--gold);
  font-weight: 700;
  font-family: var(--font-en);
  letter-spacing: 1px;
  margin-inline-start: 4px;
}
.powered-by a:hover { color: var(--gold-2); }

/* ===== Back to top ===== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--gold);
  color: var(--navy);
}
.back-to-top svg { width: 22px; height: 22px; }

/* ===== Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.4s; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .nav {
    position: fixed;
    top: var(--header-h);
    inset-inline-start: 0;
    inset-inline-end: 0;
    background: var(--white);
    padding: 20px;
    transform: translateY(-120%);
    transition: transform var(--transition);
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--line);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.open { transform: translateY(0); }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav a {
    display: block;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid var(--cream-2);
  }
  .nav a::after { display: none; }
  .nav a:hover { background: var(--cream); }

  .impact-grid { grid-template-columns: 1fr; }
  .stat:not(:last-child)::after { display: none; }

  .timeline::before { inset-inline-start: 28px; }
  .timeline-item { grid-template-columns: 60px 1fr; gap: 16px; }
  .timeline-num { width: 56px; height: 56px; font-size: 0.95rem; }
  .timeline-body { padding: 18px 20px; }
}

@media (max-width: 560px) {
  .section { padding: 48px 0; }
  .container { padding: 0 16px; }
  .brand-tag { display: none; }
  .brand img { width: 42px; height: 42px; }
  .hero-actions .btn { padding: 12px 22px; font-size: 0.9rem; }
  .service-card, .feature, .impact-card { padding: 24px 20px; }
  .contact-card { padding: 24px 20px; }
  .contact-info { padding: 22px 18px; }
  .footer { padding-top: 48px; }
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand { flex-direction: column; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .about-badge { padding: 12px 16px; }
  .badge-num { font-size: 2rem; }
  .back-to-top { width: 42px; height: 42px; bottom: 16px; }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Print ===== */
@media print {
  .header, .footer-bottom, .back-to-top, .scroll-down, .map-wrap { display: none; }
  body { background: var(--white); color: var(--ink); }
  .hero { min-height: auto; color: var(--ink); }
  .hero-bg, .hero-overlay { display: none; }
  .hero-title, .section-title { color: var(--navy); }
}
