/* ═══════════════════════════════════════════════════════════
   CRADLE CREED CONSULTING — DESIGN SYSTEM
   Primary Colors: #0D1B3E (Navy) · #C8860A (Amber)
   Typography: Playfair Display (headings) · DM Sans (body)
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --navy: #0D1B3E;
  --navy-mid: #162652;
  --navy-light: #1E3370;
  --amber: #C8860A;
  --amber-light: #E09A18;
  --amber-glow: #F5B830;
  --cream: #FBF8F2;
  --cream-dark: #F0EBE0;
  --white: #FFFFFF;
  --text-dark: #0D1B3E;
  --text-mid: #4A5568;
  --text-light: #8896A8;
  --border: rgba(13,27,62,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

/* ─── TOP BAR ─── */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  padding: 10px 0;
  position: relative;
  z-index: 100;
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar-left { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.topbar-item { display: flex; align-items: center; gap: 6px; }
.topbar-item svg { opacity: 0.6; }
.topbar-right { display: flex; align-items: center; gap: 1rem; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 26px; height: 26px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 11px;
  transition: all 0.2s;
}
.social-links a:hover { border-color: var(--amber-glow); color: var(--amber-glow); }
.btn-appt {
  background: var(--amber);
  color: white;
  padding: 7px 18px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-appt:hover { background: var(--amber-light); }

/* ─── NAVBAR ─── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(13,27,62,0.10); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
}
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-img {
  width: 12em;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 8px;
}
.logo-badge {
  width: 52px; height: 52px;
  background: var(--navy);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  color: white;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -1px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.logo-badge::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 18px; height: 18px;
  background: var(--amber);
  border-radius: 50% 0 0 0;
}
.logo-text { line-height: 1.1; }
.logo-text strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.3px;
}
.logo-text span {
  font-size: 11px;
  color: var(--amber);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 0; }
.nav-links a {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--navy); background: var(--cream); }
.nav-links a.active { color: var(--amber); }
.nav-cta {
  background: var(--navy);
  color: white !important;
  padding: 8px 18px !important;
  border-radius: 6px !important;
  margin-left: 8px;
}
.nav-cta:hover { background: var(--navy-light) !important; color: white !important; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: white;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.mobile-menu a:hover { opacity: 1; color: var(--amber-glow); }
.mobile-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  height: 92vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide-1 {
  background: linear-gradient(rgba(13,27,62,0.15), rgba(13,27,62,0.15)), url('../images/background-building.jpg');
  background-size: cover;
  background-position: center;
}
.hero-slide-2 {
  background: linear-gradient(rgba(13,27,62,0.15), rgba(13,27,62,0.15)), url('../images/marriage-background.webp');
  background-size: cover;
  background-position: center;
}
.hero-slide-3 {
  background: linear-gradient(rgba(13,27,62,0.15), rgba(13,27,62,0.15)), url('../images/youth-background.jpg');
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(13,27,62,0.92) 50%, rgba(13,27,62,0.5) 100%);
}
.hero-pattern {
  position: absolute; inset: 0;
  opacity: 0.04;
  background-image: repeating-linear-gradient(45deg, white 0, white 1px, transparent 0, transparent 50%);
  background-size: 30px 30px;
}
.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,134,10,0.2);
  border: 1px solid rgba(200,134,10,0.4);
  color: var(--amber-glow);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.2s forwards;
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--amber-glow);
  border-radius: 50%;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 6vw, 80px);
  line-height: 1.08;
  color: white;
  max-width: 700px;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s 0.4s forwards;
}
.hero h1 em {
  font-style: italic;
  color: var(--amber-glow);
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s 0.6s forwards;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s 0.8s forwards;
}
.btn-primary {
  background: var(--amber);
  color: white;
  padding: 15px 32px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0.01em;
  display: inline-block;
}
.btn-primary:hover { background: var(--amber-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,134,10,0.35); }
.btn-outline {
  border: 2px solid rgba(255,255,255,0.35);
  color: white;
  padding: 15px 32px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.08); }
.hero-indicators {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s;
}
.hero-dot.active { background: var(--amber-glow); width: 24px; border-radius: 4px; }
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.45);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ─── STATS BAR ─── */
.stats-bar {
  background: var(--navy);
  padding: 0;
  overflow: hidden;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 2.5rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  color: var(--amber-glow);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* ─── SECTIONS SHARED ─── */
section { padding: 100px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 580px;
  font-weight: 300;
}

/* ─── ABOUT / MISSION ─── */
.about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(rgba(13,27,62,0.7), rgba(13,27,62,0.7)), url('../images/rooted-background.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-img-inner {
  text-align: center;
  color: white;
  padding: 2rem;
}
.about-img-icon {
  width: 80px; height: 80px;
  margin: 0 auto 1rem;
  background: rgba(200,134,10,0.15);
  border: 2px solid rgba(200,134,10,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.about-img-icon svg { color: var(--amber-glow); }
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--amber);
  color: white;
  padding: 1.2rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(200,134,10,0.35);
}
.about-badge strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}
.about-badge span { font-size: 13px; opacity: 0.85; }
.about-content { padding-left: 1rem; }
.about-text {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 1.5rem;
  font-weight: 300;
}
.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.pillar {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.pillar-dot {
  width: 8px; height: 8px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
.pillar-title { font-weight: 600; font-size: 14px; color: var(--navy); margin-bottom: 2px; }
.pillar-desc { font-size: 13px; color: var(--text-light); line-height: 1.5; }

/* ─── SERVICES ─── */
.services { background: white; }
.services-header { text-align: center; margin-bottom: 4rem; }
.services-header .section-label { justify-content: center; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  background: white;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--amber);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}
.service-card:hover { box-shadow: 0 20px 60px rgba(13,27,62,0.10); transform: translateY(-4px); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  background: var(--cream);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.3s;
}
.service-card:hover .service-icon { background: rgba(200,134,10,0.12); }
.service-num {
  position: absolute;
  top: 2rem; right: 2rem;
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 700;
  color: rgba(13,27,62,0.04);
  line-height: 1;
}
.service-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.service-desc {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  font-weight: 300;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1.5rem;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--amber);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: gap 0.2s;
}
.service-link:hover { gap: 10px; }

/* ─── TESTIMONIALS ─── */
.testimonials { background: var(--navy); overflow: hidden; position: relative; }
.testimonials::before {
  content: '"';
  position: absolute;
  top: -40px; left: 5%;
  font-family: 'Playfair Display', serif;
  font-size: 400px;
  color: rgba(255,255,255,0.025);
  line-height: 1;
  pointer-events: none;
}
.testimonials-header { margin-bottom: 4rem; }
.testimonials-header .section-label { color: var(--amber-glow); }
.testimonials-header .section-label::before { background: var(--amber-glow); }
.testimonials-header .section-title { color: white; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testi-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s;
}
.testi-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(200,134,10,0.3); }
.testi-stars { display: flex; gap: 4px; margin-bottom: 1.2rem; }
.testi-stars span { color: var(--amber-glow); font-size: 14px; }
.testi-text {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--amber);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  font-size: 15px;
  color: white;
  flex-shrink: 0;
}
.testi-name { font-weight: 600; font-size: 14px; color: white; }
.testi-role { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 2px; }

/* ─── CONTACT ─── */
.contact { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.contact-info .section-title { margin-bottom: 1.5rem; }
.contact-offices { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.2rem; }
.office-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.2rem 1.4rem;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.office-icon {
  width: 36px; height: 36px;
  background: rgba(200,134,10,0.10);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--amber);
}
.office-city { font-weight: 600; font-size: 14px; color: var(--navy); margin-bottom: 3px; }
.office-addr { font-size: 13px; color: var(--text-light); line-height: 1.5; }
.contact-form-wrap {
  background: var(--navy);
  border-radius: 16px;
  padding: 3rem;
}
.form-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: white;
  margin-bottom: 0.5rem;
}
.form-title em { color: var(--amber-glow); font-style: italic; }
.form-sub { font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 13px 16px;
  color: white;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  transition: border 0.2s;
  outline: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: rgba(200,134,10,0.6); background: rgba(255,255,255,0.09); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select option { background: var(--navy); color: white; }
.form-submit {
  width: 100%;
  background: var(--amber);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.02em;
  margin-top: 0.5rem;
}
.form-submit:hover { background: var(--amber-light); transform: translateY(-1px); }
.form-success {
  display: none;
  text-align: center;
  color: white;
  padding: 2rem;
}
.form-success svg { color: var(--amber-glow); margin-bottom: 1rem; }
.form-success strong { display: block; font-size: 20px; margin-bottom: 0.5rem; }
.form-success p { color: rgba(255,255,255,0.6); font-size: 14px; }

/* ─── FOOTER ─── */
footer {
  background: #07101F;
  padding: 4rem 0 2rem;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 2rem;
}
.footer-brand .logo-img {
  width: 160px;
  height: 160px;
}
.footer-brand .logo-text strong { color: white; font-size: 18px; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.4); margin: 1rem 0 1.5rem; line-height: 1.6; font-weight: 300; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 12px;
  transition: all 0.2s;
}
.footer-social a:hover { border-color: var(--amber); color: var(--amber-glow); }
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 300;
}
.footer-col ul li a:hover { color: var(--amber-glow); }
.footer-col .office-mini { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.65; font-weight: 300; }
.footer-col .office-mini strong { color: rgba(255,255,255,0.75); display: block; margin-bottom: 2px; font-weight: 500; }
.footer-col .office-mini + .office-mini { margin-top: 1rem; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── PAGE HERO (INTERNAL PAGES) ─── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: repeating-linear-gradient(45deg, white 0, white 1px, transparent 0, transparent 50%);
  background-size: 30px 30px;
}
.page-hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 56px);
  color: white;
  margin-bottom: 1rem;
  line-height: 1.15;
}
.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
}

/* ─── GALLERY ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,27,62,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.3s;
  padding: 1.5rem;
  text-align: center;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: white;
  margin-bottom: 0.5rem;
}
.gallery-overlay p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

/* ─── TEAM ─── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.team-member {
  text-align: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s;
}
.team-member:hover { box-shadow: 0 12px 40px rgba(13,27,62,0.10); transform: translateY(-4px); }
.team-avatar {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: var(--amber-glow);
  font-weight: 700;
}
.team-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 0.25rem;
  font-weight: 600;
}
.team-role {
  font-size: 13px;
  color: var(--amber);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.team-bio {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
  font-weight: 300;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-img-wrap { max-width: 460px; }
  .about-badge { bottom: -16px; right: 0; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 600px; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  section { padding: 70px 0; }
  .hero h1 { font-size: 38px; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-left { flex-direction: column; align-items: flex-start; gap: 6px; }
  .about-pillars { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 2rem 1.5rem; }
  .hero-scroll { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}
