/* ═══════════════════════════════════════════════════════════
   PREMIUM ENHANCEMENTS — Flagstaff Christian Missions
   ═══════════════════════════════════════════════════════════ */

:root {
  --header-h: 80px;
  --announce-h: 40px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --gradient-gold: linear-gradient(135deg, #dbb84a 0%, #c9a227 50%, #a88620 100%);
  --gradient-navy: linear-gradient(135deg, #1a2744 0%, #243556 50%, #2f4670 100%);
}

body.has-announce { padding-top: var(--announce-h); }
body.has-announce .site-header { top: var(--announce-h); }
body.has-announce .hero { min-height: calc(100vh - var(--announce-h)); }

/* Announcement bar */
.announce-bar {
  position: fixed; inset: 0 0 auto; z-index: 110;
  height: var(--announce-h);
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-gold);
  color: var(--navy);
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center; padding: 0 1rem;
}
.announce-bar a {
  color: var(--navy); font-weight: 700;
  text-decoration: underline; text-underline-offset: 2px;
}
.announce-bar a:hover { opacity: 0.8; }

/* Header scroll state */
.site-header {
  transition: background 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
    height 0.35s var(--ease-out);
}
.site-header.is-scrolled {
  height: 68px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 30px rgba(26, 39, 68, 0.1);
}
.site-header.is-scrolled .brand-logo { width: 48px; height: 48px; }

/* Premium hero */
.hero { min-height: 100vh; }

.hero-bg {
  animation: kenBurns 22s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5; pointer-events: none;
}

.hero-grid { position: relative; z-index: 2; }

.hero-badge-row {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.75rem; font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
}
.hero-badge svg { width: 14px; height: 14px; fill: var(--gold-light); }

.hero-logo-wrap {
  position: relative;
  display: grid; place-items: center;
}
.hero-logo-wrap::before {
  content: "";
  position: absolute;
  width: 110%; height: 110%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.35) 0%, transparent 70%);
  animation: pulseGlow 4s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.08); opacity: 1; }
}

.hero-logo {
  position: relative; z-index: 1;
  animation: floatLogo 6s ease-in-out infinite;
}
@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none;
  animation: bounceDown 2s ease-in-out infinite;
}
.hero-scroll svg { width: 20px; height: 20px; stroke: currentColor; fill: none; }
@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

.btn-glow {
  box-shadow: 0 4px 24px rgba(201, 162, 39, 0.45);
}
.btn-glow:hover {
  box-shadow: 0 8px 32px rgba(201, 162, 39, 0.55);
}

/* Stats bar */
.stats-bar {
  position: relative; z-index: 5;
  margin-top: -4rem;
  padding: 0 0 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.stat-item {
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background 0.3s ease;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--gold-pale); }

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.stat-number .suffix { color: var(--gold); }
.stat-label {
  display: block; margin-top: 0.5rem;
  font-size: 0.82rem; font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-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; }

/* Premium pillar cards */
.pillar-card {
  position: relative; text-align: left;
  padding: 0; overflow: hidden;
}
.pillar-card-inner { padding: 2rem; }
.pillar-card::before {
  content: "";
  position: absolute; inset: 0 auto auto 0;
  width: 4px; height: 0;
  background: var(--gradient-gold);
  transition: height 0.4s var(--ease-out);
}
.pillar-card:hover::before { height: 100%; }

.pillar-num {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 700;
  color: rgba(201, 162, 39, 0.2);
  line-height: 1; margin-bottom: 0.5rem;
}

.pillar-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--gradient-gold);
  font-size: 1.35rem;
}

/* Program cards */
.programs-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
.program-card {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; min-height: 280px;
  display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.program-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.program-card:hover img { transform: scale(1.06); }
.program-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,39,68,0.92) 0%, rgba(26,39,68,0.3) 55%, transparent 100%);
}
.program-body {
  position: relative; z-index: 2;
  padding: 2rem; color: var(--white);
}
.program-body h3 { color: var(--white); margin-bottom: 0.5rem; }
.program-body p { font-size: 0.92rem; opacity: 0.9; margin-bottom: 1rem; }
.program-tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: rgba(201, 162, 39, 0.25);
  border: 1px solid rgba(201, 162, 39, 0.5);
  border-radius: 999px;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--gold-light); margin-bottom: 0.75rem;
}
.program-link {
  color: var(--gold-light); font-weight: 700;
  text-decoration: none; font-size: 0.9rem;
}
.program-link:hover { color: var(--white); }

/* Gallery lightbox trigger */
.gallery-item {
  cursor: pointer; border: none; padding: 0;
  background: none; width: 100%;
}
.gallery-zoom {
  position: absolute; top: 1rem; right: 1rem;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  opacity: 0; transition: opacity 0.3s ease;
  color: white; font-size: 1.1rem;
}
.gallery-item:hover .gallery-zoom { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 15, 30, 0.92);
  backdrop-filter: blur(12px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
  padding: 2rem;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: min(900px, 100%);
  max-height: 85vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  transform: scale(0.92);
  transition: transform 0.35s var(--ease-out);
}
.lightbox.is-open img { transform: scale(1); }
.lightbox-caption {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.85);
  text-align: center; font-size: 0.95rem;
}
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 48px; height: 48px;
  border: none; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white; font-size: 1.5rem;
  cursor: pointer; transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* Testimonials */
.testimonials-section {
  background: var(--gradient-navy);
  color: rgba(255,255,255,0.9);
  overflow: hidden;
}
.testimonials-section h2 { color: var(--white); }
.testimonials-section .eyebrow { color: var(--gold-light); }

.testimonial-slider { position: relative; max-width: 780px; margin: 0 auto; }
.testimonial-track { position: relative; min-height: 220px; }

.testimonial-slide {
  position: absolute; inset: 0;
  opacity: 0; transform: translateX(30px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  pointer-events: none;
  text-align: center; padding: 1rem;
}
.testimonial-slide.is-active {
  opacity: 1; transform: translateX(0);
  pointer-events: auto; position: relative;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-style: italic; line-height: 1.55;
  color: var(--white); margin-bottom: 1.5rem;
}
.testimonial-quote::before { content: "\201C"; color: var(--gold); }

.testimonial-author {
  display: flex; align-items: center; justify-content: center; gap: 0.85rem;
}
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gradient-gold);
  display: grid; place-items: center;
  font-weight: 700; color: var(--navy); font-size: 0.9rem;
}
.testimonial-name { font-weight: 700; color: var(--white); text-align: left; }
.testimonial-role { font-size: 0.82rem; opacity: 0.7; text-align: left; }

.testimonial-dots {
  display: flex; justify-content: center; gap: 0.5rem;
  margin-top: 2rem;
}
.testimonial-dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: none; background: rgba(255,255,255,0.25);
  cursor: pointer; padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.testimonial-dot.is-active {
  background: var(--gold);
  transform: scale(1.2);
}

/* FAQ accordion */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  background: var(--white);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.faq-item.is-open { box-shadow: var(--shadow-sm); }

.faq-question {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.35rem;
  border: none; background: none;
  font: inherit; font-weight: 600; font-size: 1rem;
  color: var(--navy); text-align: left;
  cursor: pointer;
}
.faq-icon {
  flex-shrink: 0; width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--gold-pale);
  color: var(--gold); font-size: 1.1rem;
  transition: transform 0.3s var(--ease-out), background 0.3s;
}
.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--gold); color: var(--navy);
}
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}
.faq-answer-inner {
  padding: 0 1.35rem 1.15rem;
  color: var(--text-muted); font-size: 0.95rem;
}

/* Newsletter */
.newsletter-box {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
  background: var(--white); border: 1px solid var(--border);
}
.newsletter-visual {
  position: relative; min-height: 280px;
}
.newsletter-visual img {
  width: 100%; height: 100%; object-fit: cover;
}
.newsletter-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,39,68,0.5), transparent);
}
.newsletter-form-wrap {
  padding: 2.5rem;
  display: flex; flex-direction: column; justify-content: center;
}
.newsletter-form {
  display: flex; gap: 0.5rem; margin-top: 1rem;
}
.newsletter-form input {
  flex: 1; padding: 0.85rem 1rem;
  border: 1px solid var(--border); border-radius: 999px;
  font: inherit; background: var(--cream);
}
.newsletter-form input:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.2);
}

/* Trust row */
.trust-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 2rem; padding: 2rem 0;
}
.trust-badge {
  display: flex; align-items: center; gap: 0.65rem;
  opacity: 0.75; transition: opacity 0.3s;
}
.trust-badge:hover { opacity: 1; }
.trust-badge svg { width: 32px; height: 32px; fill: var(--gold); }
.trust-badge span {
  font-size: 0.82rem; font-weight: 700;
  color: var(--navy); text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Wave divider */
.wave-divider {
  display: block; width: 100%; line-height: 0;
  margin-bottom: -1px;
}
.wave-divider svg { width: 100%; height: 48px; }

/* Enhanced cards */
.card .card-img { position: relative; }
.card .card-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,39,68,0.15), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.card:hover .card-img::after { opacity: 1; }

.card-body h3 {
  transition: color 0.25s;
}
.card:hover .card-body h3 { color: var(--gold); }

/* Page hero enhanced */
.page-hero {
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../images/hero-mountains.jpg") center / cover;
  opacity: 0.15;
}
.page-hero .container { position: relative; z-index: 1; }

.page-hero-breadcrumb {
  display: flex; justify-content: center; gap: 0.5rem;
  font-size: 0.85rem; margin-bottom: 1rem;
  color: rgba(255,255,255,0.6);
}
.page-hero-breadcrumb a {
  color: var(--gold-light); text-decoration: none;
}
.page-hero-breadcrumb a:hover { text-decoration: underline; }

/* Back to top */
.back-to-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: none; border-radius: 50%;
  background: var(--gradient-gold);
  color: var(--navy); font-size: 1.2rem;
  cursor: pointer; box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
}
.back-to-top.is-visible {
  opacity: 1; transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { box-shadow: var(--shadow-lg); }

/* Section label decoration */
.section-header h2 {
  position: relative;
}
.section-header.center h2::after {
  content: "";
  display: block; width: 60px; height: 3px;
  background: var(--gradient-gold);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* Split enhanced */
.split-img {
  position: relative;
}
.split-img::before {
  content: "";
  position: absolute; inset: -8px -8px 8px 8px;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1; opacity: 0.4;
}

/* Footer enhanced */
.footer-social {
  display: flex; gap: 0.65rem; margin-top: 1rem;
}
.footer-social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  text-decoration: none; font-size: 0.85rem; font-weight: 700;
  transition: background 0.25s, color 0.25s;
}
.footer-social a:hover {
  background: var(--gold); color: var(--navy);
}

/* CTA band premium */
.cta-band {
  position: relative; overflow: hidden;
  padding: 5rem 0;
  background: var(--gradient-navy);
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(201,162,39,0.15), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(45,90,61,0.2), transparent 50%);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); font-size: clamp(1.85rem, 3vw, 2.5rem); }
.cta-band p { color: rgba(255,255,255,0.85); }
.cta-actions {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: center; margin-top: 0.5rem;
}

/* Responsive premium */
@media (max-width: 960px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item { border-bottom: 1px solid var(--border); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .programs-grid { grid-template-columns: 1fr; }
  .newsletter-box { grid-template-columns: 1fr; }
  .newsletter-visual { min-height: 200px; }
  .stats-bar { margin-top: -2rem; }
}

@media (max-width: 768px) {
  body.has-announce { padding-top: 0; }
  body.has-announce .site-header { top: 0; }
  .announce-bar { position: relative; height: auto; padding: 0.5rem 1rem; font-size: 0.75rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; }
  .newsletter-form { flex-direction: column; }
  .hero-scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg, .hero-logo, .hero-scroll { animation: none; }
}

/* ── Leadership & Principal Officer ── */
.leader-hero-card--text {
  display: block;
}
.leader-hero-card--text .leader-info {
  max-width: 100%;
}

/* ── Professional officer profile (no portrait) ── */
.officer-profile {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-bottom: 3rem;
}

.officer-profile-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 2rem;
  background: var(--gradient-navy);
  color: var(--white);
  border-bottom: 3px solid var(--gold);
}

.officer-profile-seal {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.officer-profile-header-text {
  flex: 1;
}

.officer-status {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
}

.officer-org {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
}

.officer-profile-body {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  padding: 2.5rem;
}

.officer-profile-main h2 {
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  margin-bottom: 0.35rem;
}

.officer-subtitle {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.officer-profile-main p {
  color: var(--text-muted);
  line-height: 1.7;
}

.officer-profile-credentials {
  padding: 1.75rem;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.officer-profile-credentials h3 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
}

.officer-cred-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.officer-cred-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.officer-cred-list li:last-child { border-bottom: none; }

.officer-cred-list span:first-child {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.officer-cred-list span:last-child,
.officer-cred-list a {
  font-weight: 600;
  color: var(--navy);
  text-align: right;
  text-decoration: none;
  word-break: break-word;
}

.officer-cred-list a:hover { color: var(--gold); }

.officer-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.officer-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  background: var(--cream-alt);
}

.officer-trust-item {
  padding: 1.15rem 1rem;
  text-align: center;
  border-right: 1px solid var(--border);
}

.officer-trust-item:last-child { border-right: none; }

.officer-trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.officer-trust-item span {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.officer-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gradient-navy);
  box-shadow: var(--shadow-sm);
}

.officer-card-icon img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.leader-card--officer {
  border-top: 3px solid var(--gold);
}

.leader-card--officer .leader-card-body {
  text-align: center;
  padding: 2rem 1.5rem;
}

.officer-profile--compact .officer-profile-body {
  grid-template-columns: 1fr 280px;
  padding: 2rem 2.5rem;
  align-items: start;
}

.officer-profile--compact .officer-profile-main h2 {
  font-size: clamp(1.65rem, 2.5vw, 2rem);
  margin-bottom: 0.25rem;
}

.officer-profile--compact .officer-trust-bar {
  grid-template-columns: repeat(4, 1fr);
}

.officer-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.25rem 0 0.5rem;
}

.officer-contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.officer-contact-chip:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
  color: var(--navy);
}

.officer-contact-chip svg {
  flex-shrink: 0;
  color: var(--gold);
}

.officer-profile-credentials--mini {
  padding: 1.25rem;
}

.officer-profile-credentials--mini .officer-cred-list li {
  padding: 0.5rem 0;
  font-size: 0.82rem;
}

.officer-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding: 0.4rem 0.75rem;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}

.officer-verified-badge svg {
  color: var(--gold);
}

@media (max-width: 960px) {
  .officer-profile--compact .officer-profile-body {
    grid-template-columns: 1fr;
  }
  .officer-profile--compact .officer-trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .officer-profile-body { grid-template-columns: 1fr; }
  .officer-trust-bar { grid-template-columns: repeat(2, 1fr); }
  .officer-trust-item:nth-child(2) { border-right: none; }
  .officer-trust-item { border-bottom: 1px solid var(--border); }
  .officer-trust-item:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 480px) {
  .officer-trust-bar { grid-template-columns: 1fr; }
  .officer-trust-item { border-right: none !important; }
  .officer-profile-header { flex-direction: column; text-align: center; }
}

.leader-hero-card {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 2.5rem; align-items: center;
  padding: 2.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  margin-bottom: 3rem;
}
.leader-hero-card.featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--white) 0%, var(--gold-pale) 100%);
}

.page-hero-officer {
  margin: 2rem auto 0;
  max-width: 280px;
}
.page-hero-officer img {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 0 0 3px rgba(255, 255, 255, 0.9);
  background: var(--navy);
}

.card-img.badge-img img {
  object-fit: contain;
  background: var(--navy);
}

.leader-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  min-height: 280px;
  box-shadow: var(--shadow-md);
  background: var(--navy);
}
.leader-photo img {
  width: 100%; height: 100%; object-fit: contain;
  display: block;
  background: var(--navy);
}
.leader-card-img img {
  object-fit: contain;
  background: var(--navy);
}
.leader-photo-badge-img .leader-photo-badge { display: none; }
.leader-photo-badge-img { aspect-ratio: 3/4; }

.leader-photo-badge {
  position: absolute; bottom: 1rem; left: 1rem; right: 1rem;
  padding: 0.5rem 0.85rem;
  background: rgba(26, 39, 68, 0.88);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  color: var(--gold-light);
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  text-align: center;
}

.leader-initials {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background: var(--gradient-navy);
  font-family: var(--font-display);
  font-size: 4rem; font-weight: 700;
  color: var(--gold-light);
}

.leader-info h2 { margin-bottom: 0.25rem; }
.leader-title {
  font-size: 1rem; font-weight: 600;
  color: var(--gold); margin-bottom: 1rem;
}
.leader-contact-list {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin: 1.25rem 0;
}
.leader-contact-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--navy); text-decoration: none;
  transition: border-color 0.25s, background 0.25s;
}
.leader-contact-chip:hover {
  border-color: var(--gold);
  background: var(--gold-pale);
  color: var(--navy);
}

.leaders-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.leader-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.leader-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.leader-card-img {
  aspect-ratio: 16/11; overflow: hidden;
}
.leader-card-img img { width: 100%; height: 100%; object-fit: cover; }
.leader-card-body { padding: 1.5rem; }
.leader-card-role {
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--gold); margin-bottom: 0.35rem;
}

.duties-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem;
}
.duty-item {
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-sm);
}
.duty-item h4 { color: var(--navy); margin-bottom: 0.35rem; }
.duty-item p { margin: 0; font-size: 0.92rem; color: var(--text-muted); }

.officer-doc-list {
  list-style: none; margin: 0; padding: 0;
}
.officer-doc-list li {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--border);
}
.officer-doc-list li:last-child { border-bottom: none; }
.doc-icon {
  flex-shrink: 0; width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--gold-pale);
  color: var(--gold); font-size: 1.2rem;
}

@media (max-width: 960px) {
  .leader-hero-card { grid-template-columns: 1fr; }
  .leader-photo { max-width: 280px; margin: 0 auto; }
  .leaders-grid { grid-template-columns: 1fr; }
  .duties-grid { grid-template-columns: 1fr; }
}
