/* =========================================================
   AlHiba IVF Center — Design tokens
   ========================================================= */
:root {
  /* Purple palette drawn from the AlHiba logo */
  --color-primary: #8B5FBF;
  --color-primary-dark: #6B4699;
  --color-primary-darker: #4E3272;
  --color-primary-light: #B78FE0;
  --color-accent-pink: #E8A9CE;

  --color-bg: #FCFAFE;
  --color-bg-soft: #F5EEFB;
  --color-bg-soft-2: #F8F1F8;
  --color-surface: #FFFFFF;

  --color-text: #2E2438;
  --color-text-muted: #6B5F7A;
  --color-text-on-dark: #F7F1FC;

  --color-border: #E7DEF2;

  --gradient-hero: linear-gradient(150deg, #F3E9FC 0%, #EEE3FA 38%, #F7E4EF 75%, #FBEEF3 100%);
  --gradient-primary: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display-ar: "Markazi Text", "Fraunces", Georgia, serif;
  --font-body-ar: "Cairo", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 6.5rem;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 10px rgba(78, 50, 114, 0.06);
  --shadow-md: 0 12px 32px rgba(78, 50, 114, 0.10);
  --shadow-lg: 0 24px 60px rgba(78, 50, 114, 0.16);

  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

html[dir="rtl"] {
  --font-display: var(--font-display-ar);
  --font-body: var(--font-body-ar);
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
html, body { max-width: 100%; overflow-x: hidden; }
body, h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { display: block; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--color-text); font-weight: 600; line-height: 1.15; }
h1 em, h2 em, .brand em { font-style: italic; color: var(--color-primary); }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-3);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--space-4); }
}

.skip-link {
  position: absolute;
  inset-inline-start: -999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 200;
}
.skip-link:focus { inset-inline-start: var(--space-2); top: var(--space-2); }

:focus-visible {
  outline: 2.5px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  min-height: 48px;
  transition: transform 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft), background 0.35s var(--ease-soft);
}
.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(139, 95, 191, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(139, 95, 191, 0.4); }
.btn-ghost {
  background: rgba(139, 95, 191, 0.08);
  color: var(--color-primary-dark);
  border: 1px solid rgba(139, 95, 191, 0.25);
}
.btn-ghost:hover { background: rgba(139, 95, 191, 0.14); transform: translateY(-2px); }
.btn-sm { padding: 0.65rem 1.3rem; min-height: 42px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 250, 254, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(139, 95, 191, 0.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: var(--space-3);
}
.brand { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.brand-logo { position: relative; width: 40px; height: 40px; flex-shrink: 0; }
.brand-logo-img { object-fit: contain; width: 100%; height: 100%; }
.brand-logo-fallback { display: none; width: 100%; height: 100%; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--color-text);
  white-space: nowrap;
}

.main-nav ul { display: flex; gap: var(--space-4); }
.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  position: relative;
  padding-block: 0.4rem;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-soft);
}
.main-nav a:hover { color: var(--color-text); }
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: var(--space-2); }

.lang-switcher { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--color-primary-dark);
  background: rgba(139, 95, 191, 0.08);
  border: 1px solid rgba(139, 95, 191, 0.18);
  transition: background 0.3s var(--ease-soft), transform 0.3s var(--ease-soft);
}
.lang-btn:hover { background: rgba(139, 95, 191, 0.16); transform: translateY(-2px); }

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  min-width: 150px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s var(--ease-soft), transform 0.25s var(--ease-soft), visibility 0.25s;
  z-index: 20;
}
.lang-switcher.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  width: 100%;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--color-text);
  text-align: start;
}
.lang-option:hover { background: var(--color-bg-soft); }
.lang-option.is-active { color: var(--color-primary-dark); font-weight: 700; }
.lang-option.is-active::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  margin-inline: auto;
  transition: transform 0.3s var(--ease-soft), opacity 0.3s var(--ease-soft);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-3);
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}
.mobile-nav ul { display: flex; flex-direction: column; gap: var(--space-2); }
.mobile-nav a { display: block; padding: 0.6rem 0; font-weight: 500; font-size: 1.05rem; }
.mobile-nav.open { display: flex; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-actions .btn-sm { display: none; }
  .nav-toggle { display: flex; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-6) var(--space-7);
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  background-image: url("../images/hero-bg.jpg");
  background-size: cover;
  background-position: 66% 40%;
  z-index: -1;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: center;
  width: 100%;
}
.eyebrow {
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-2);
}
.hero-copy {
  max-width: 620px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-md);
}
.hero-copy h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  margin-bottom: var(--space-3);
  max-width: 16ch;
}
.hero-copy h1 em {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}
html[dir="rtl"] .hero-copy h1 em,
html[dir="rtl"] h1 em,
html[dir="rtl"] h2 em,
html[dir="rtl"] .brand em {
  font-family: var(--font-display-ar);
  font-style: normal;
  font-weight: 700;
}
.hero-sub {
  font-size: 1.08rem;
  color: var(--color-text-muted);
  max-width: 46ch;
  margin-bottom: var(--space-4);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-5); }

.hero-trust { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.hero-trust li {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}
.hero-trust-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-primary-dark);
  font-weight: 600;
}

/* Hero illustration — real photo cutout, floating over the hero-bg photo */
.orb-float {
  position: absolute;
  z-index: 1;
  width: clamp(350px, 68vw, 600px);
  aspect-ratio: 1;
  left: 78%;
  right: 78%;
  top: 40%;
  transform: translate(-50%, -50%);
  animation: orbFloat 6.5s ease-in-out infinite;
}
html[dir="rtl"] .orb-float {
  transform: translate(50%, -50%);
  animation-name: orbFloatRtl;
}
.orb-glow {
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55), rgba(232, 169, 206, 0.22) 55%, transparent 75%);
  filter: blur(16px);
  animation: orbGlow 4.5s ease-in-out infinite alternate;
}
.orb-photo {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 14px)); }
}
@keyframes orbFloatRtl {
  0%, 100% { transform: translate(50%, -50%); }
  50% { transform: translate(50%, calc(-50% - 14px)); }
}
@keyframes orbGlow {
  0% { opacity: 0.55; }
  100% { opacity: 1; }
}

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; }
}
@media (max-width: 899px) {
  .hero-copy { margin-top: 140px; }
  .orb-float { left: calc(100% - 88px); right: calc(100% - 88px); top: 70px; width: 280px; }
}
@media (min-width: 500px) and (max-width: 899px) {
  .hero-copy { margin-top: 168px; }
  .orb-float { left: calc(100% - 125px); right: calc(100% - 125px); top: 85px; width: 350px; }
}

/* =========================================================
   Section shells
   ========================================================= */
section { padding-block: var(--space-6); }
.section-head { max-width: 620px; margin-bottom: var(--space-5); }
.section-sub { color: var(--color-text-muted); font-size: 1.05rem; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: var(--space-2); }

/* =========================================================
   About
   ========================================================= */
.about { background: var(--color-bg-soft); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: center;
}
.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--gradient-primary);
  box-shadow: var(--shadow-md);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media.media-fallback::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--gradient-primary);
}
.about-media.media-fallback::after {
  content: "Photo coming soon";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 600; font-family: var(--font-display); font-size: 1.1rem;
  text-align: center; padding: var(--space-3);
}
.about-media-badge {
  position: absolute;
  inset-inline-start: var(--space-3);
  bottom: var(--space-3);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.about-media-badge strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--color-primary-dark); }
.about-media-badge span { font-size: 0.78rem; color: var(--color-text-muted); font-weight: 500; }

.about-copy p { color: var(--color-text-muted); margin-bottom: var(--space-3); }
.about-points { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-4); }
.about-points li { display: flex; align-items: center; gap: 0.7rem; font-weight: 600; color: var(--color-text); }
.about-points svg { flex-shrink: 0; color: var(--color-primary); background: rgba(139,95,191,0.1); border-radius: 50%; padding: 3px; }

@media (min-width: 860px) {
  .about-inner { grid-template-columns: 0.85fr 1.15fr; }
}

/* =========================================================
   Services
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  transition: transform 0.4s var(--ease-soft), box-shadow 0.4s var(--ease-soft), border-color 0.4s var(--ease-soft);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(139,95,191,0.3); }
.service-card-featured { background: linear-gradient(160deg, #FBF7FE 0%, #F5EAFB 100%); border-color: rgba(139,95,191,0.22); }
.service-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: rgba(139, 95, 191, 0.12);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.service-card p { color: var(--color-text-muted); font-size: 0.96rem; }

@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

/* =========================================================
   Why choose us
   ========================================================= */
.why {
  background: var(--gradient-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  margin-inline: var(--space-3);
  padding-block: var(--space-5);
}
@media (min-width: 768px) { .why { margin-inline: var(--space-4); } }
@media (min-width: 1200px) { .why { margin-inline: auto; max-width: 1200px; } }

.why-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  min-width: 0;
}

.why-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow-md);
}
.why-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.why-media.media-fallback { display: flex; align-items: center; justify-content: center; }
.why-media.media-fallback::after {
  content: "Photo coming soon";
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-align: center;
  padding: var(--space-3);
}

.why-content { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
.why-copy .eyebrow { color: rgba(255,255,255,0.85); }
.why-copy h2 { color: #fff; max-width: 22ch; }
.why-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  min-width: 0;
}
.why-stat { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.why-stat-num, .why-stat-num-text {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4.5vw, 1.9rem);
  font-weight: 600;
  overflow-wrap: break-word;
}

@media (min-width: 420px) {
  .why-stats { grid-template-columns: 1fr 1fr; }
}
.why-stat-label { font-size: 0.88rem; color: rgba(255,255,255,0.82); font-weight: 500; }

@media (min-width: 860px) {
  .why-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; align-items: center; gap: var(--space-5); }
  .why-media { aspect-ratio: 4 / 5; }
}

@media (min-width: 1080px) {
  .why-stats { gap: var(--space-4); }
}

/* =========================================================
   Team
   ========================================================= */
.team-lead {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: center;
  background: var(--color-bg-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-bottom: var(--space-5);
}
.team-lead-photo {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--gradient-primary);
  box-shadow: var(--shadow-md);
}
.team-lead-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-lead-photo.media-fallback::after {
  content: "Dr. Edwan Barghouthi";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 600; font-family: var(--font-display); font-size: 1.2rem;
  text-align: center; padding: var(--space-3);
}
.team-role { color: var(--color-primary-dark); font-weight: 600; margin-bottom: var(--space-2); }
.team-lead-copy p:not(.team-role) { color: var(--color-text-muted); }

@media (min-width: 760px) {
  .team-lead { grid-template-columns: 0.55fr 1fr; padding: var(--space-5); }
  .team-lead-photo { max-width: 300px; }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-3);
}
.team-card {
  text-align: center;
  padding: var(--space-3);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: transform 0.4s var(--ease-soft), box-shadow 0.4s var(--ease-soft);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.team-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  margin-inline: auto;
  margin-bottom: var(--space-2);
  background: var(--color-bg-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-avatar svg { width: 42px; height: 42px; fill: currentColor; }
.team-card h4 { font-size: 1rem; margin-bottom: 0.2rem; }
.team-card p { color: var(--color-text-muted); font-size: 0.86rem; }
.team-note { text-align: center; color: var(--color-text-muted); font-size: 0.85rem; margin-top: var(--space-3); font-style: italic; }

/* =========================================================
   Contact
   ========================================================= */
.contact { background: var(--color-bg-soft-2); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
.contact-details { display: flex; flex-direction: column; gap: var(--space-2); margin-block: var(--space-4); }
.contact-details li { display: flex; align-items: center; gap: 0.8rem; font-weight: 500; }
.contact-details svg { color: var(--color-primary); flex-shrink: 0; }
.contact-details a:hover { color: var(--color-primary); }

.social-links { display: flex; gap: 0.7rem; }
.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  color: var(--color-primary-dark);
  border: 1px solid var(--color-border);
  transition: transform 0.3s var(--ease-soft), background 0.3s var(--ease-soft);
}
.social-btn:hover { transform: translateY(-3px); background: rgba(139,95,191,0.12); }

.contact-form {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-size: 0.88rem; font-weight: 600; color: var(--color-text); }
.form-row input, .form-row textarea {
  font: inherit;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  min-height: 48px;
  resize: vertical;
  transition: border-color 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft);
}
.form-row input:focus, .form-row textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(139, 95, 191, 0.14);
  outline: none;
}
.form-status { font-size: 0.9rem; color: var(--color-primary-dark); min-height: 1.2em; font-weight: 600; }

@media (min-width: 900px) { .contact-inner { grid-template-columns: 1fr 1fr; } }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--color-primary-darker); color: var(--color-text-on-dark); padding-top: var(--space-5); }
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.footer-inner .brand-name { color: #fff; }
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.footer-nav a { color: rgba(247,241,252,0.78); font-weight: 500; }
.footer-nav a:hover { color: #fff; }
.footer-contact { color: rgba(247,241,252,0.78); font-size: 0.92rem; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { padding-block: var(--space-3); font-size: 0.82rem; color: rgba(247,241,252,0.6); }

@media (min-width: 760px) {
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* =========================================================
   Scroll reveal (JS toggles .in-view; CSS handles the motion)
   ========================================================= */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease-soft), transform 0.8s var(--ease-soft); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb-float, .orb-glow { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}
