/* Crowned Eagle Group main site (hero page) - navy & gold theme, matching business card */
:root {
  --ink: #000d24;
  --ink-2: #01122e;
  --panel: #ffffff;
  --line: #c8d2c8;
  --gold: #c09050;
  --gold-dark: #9e7538;
  --green: #0f1d42;
  --green-2: #1b2f5e;
  --muted: #5c6b60;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(0, 13, 36, 0.08);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: #f2f5f1;
  color: var(--ink);
  line-height: 1.55;
}
a { color: var(--green-2); }

/* Header */
.topbar {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 55%, #0f1d42 100%);
  color: #fff;
  padding: 20px 0 24px;
  border-bottom: 3px solid var(--gold);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; row-gap: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 16px; }
.brand .logo { height: 42px; width: auto; }
.brand .mark {
  width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold), var(--gold-dark));
  display: grid; place-items: center;
  font-weight: 800; font-size: 20px; color: var(--ink);
}
.brand h1 { margin: 0; font-size: 19px; letter-spacing: 0.4px; }
.brand .sub { margin: 0; font-size: 12.5px; color: #cfe3d4; letter-spacing: 0.3px; }
.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.nav a {
  color: #dbe8de; text-decoration: none; font-size: 14px; font-weight: 600;
  padding: 9px 15px; border-radius: 8px; margin: 4px 2px;
}
.nav a:hover, .nav a.active { background: rgba(200,164,74,0.18); color: #fff; }
.nav a.active { border: 1px solid var(--gold); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Hero */
.hero {
  background: linear-gradient(160deg, #000d24 0%, #01122e 60%, #0f1d42 100%);
  color: #fff;
  text-align: center;
  padding: 84px 20px 72px;
  border-bottom: 3px solid var(--gold);
  position: relative;
  overflow: hidden;
}
/* Animated hero with a background photo (Ken Burns slow zoom) */
.hero.media { padding: 96px 20px 84px; }
.hero.media .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: heroZoom 22s ease-in-out infinite alternate;
  z-index: 0;
}
.hero.media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,13,36,0.82) 0%, rgba(1,18,46,0.72) 55%, rgba(15,29,66,0.85) 100%);
  z-index: 1;
}
.hero.media .wrap { position: relative; z-index: 2; }
@keyframes heroZoom {
  from { transform: scale(1) translateY(0); }
  to   { transform: scale(1.12) translateY(-2%); }
}
.hero .kicker {
  display: inline-block;
  border: 1px solid rgba(200,164,74,0.6);
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h2 { margin: 0 0 14px; font-size: 44px; line-height: 1.15; letter-spacing: 0.2px; }
.hero h2 span { color: var(--gold); }
.hero p { margin: 0 auto 30px; max-width: 680px; font-size: 18px; color: #d7e2d8; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 22px; border: 0; border-radius: 8px;
  font-size: 14.5px; font-weight: 700; cursor: pointer; text-decoration: none;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border: 1px solid #3a4a6b; }
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold); }
.btn-green { background: var(--green-2); color: #fff; }
.btn-green:hover { background: var(--green); }

/* Category dashboard */
.dash { padding: 56px 20px 40px; }
.dash h3 { text-align: center; font-size: 24px; color: var(--green); margin: 0 0 6px; }
.dash .dash-sub { text-align: center; color: var(--muted); margin: 0 0 36px; font-size: 14.5px; }
.grid6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; row-gap: 24px; }
@media (max-width: 900px) { .grid6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid6 { grid-template-columns: 1fr; } }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(14, 20, 16, 0.14); }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: #eef4ee; display: grid; place-items: center;
  font-size: 24px; margin-bottom: 14px;
}
.card h4 { margin: 0 0 8px; font-size: 19px; color: var(--ink); }
.card p { margin: 0 0 16px; font-size: 15px; color: var(--muted); flex: 1; line-height: 1.55; }
.card .badge {
  align-self: flex-start;
  font-size: 12px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase;
  border: 1px solid #e0c98f; color: #7a5a1e; background: #faf3e2;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}
.card .badge.soon { border-color: var(--line); color: var(--muted); background: #f4f6f4; }
.card a.btn { margin-top: auto; text-align: center; }

/* Trust strip - clean light bar with gold highlights */
.trust {
  background: #fff;
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid var(--line);
  padding: 30px 20px;
  margin: 24px 0 0;
}
.trust .wrap { display: flex; justify-content: center; gap: 20px; row-gap: 14px; flex-wrap: wrap; }
.trust .item { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 16px; font-weight: 700; letter-spacing: 0.2px; }
.trust .item .tick { color: var(--gold-dark); font-weight: 900; font-size: 18px; }

/* Footer - clean light bar, bigger text */
footer {
  background: #fff;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
  padding: 32px 20px 42px;
  margin-top: 30px;
  border-top: 2px solid var(--gold);
}
footer a { color: var(--green-2); font-weight: 700; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .item { display: flex; align-items: center; gap: 10px; justify-content: center; }
footer .tick { color: var(--gold-dark); font-weight: 900; }
footer .divider { margin: 6px auto 8px; max-width: 240px; height: 1px; background: var(--line); }

/* Responsive: stack multi-column grids on smaller screens */
.partner-grid { grid-template-columns: repeat(3, 1fr) !important; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr !important; }
  .about-grid > div:nth-child(2) { flex-direction: row !important; }
  .partner-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 700px) {
  .about-grid > div:nth-child(2) { flex-direction: column !important; }
  .partner-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 860px) {
  .about-values { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 520px) {
  .about-values { grid-template-columns: 1fr !important; }
}

/* ===== News & updates ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; display: flex; flex-direction: column; }
.news-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.news-date { font-size: 12px; font-weight: 700; color: var(--gold-dark); letter-spacing: 0.3px; }
.news-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; border: 1px solid #e0c98f; color: #7a5a1e; background: #faf3e2; padding: 3px 9px; border-radius: 999px; }
.news-card h4 { margin: 0 0 8px; font-size: 17px; color: var(--ink); line-height: 1.35; }
.news-card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ===== Division photo showcase ===== */
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .showcase-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .showcase-grid { grid-template-columns: 1fr; } }
.showcase-item { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); display: block; text-decoration: none; }
.showcase-item img { width: 100%; height: 210px; object-fit: cover; display: block; transition: transform 0.4s ease; }
.showcase-item:hover img { transform: scale(1.05); }
.showcase-item .cap {
  position: absolute; inset: auto 0 0 0; padding: 34px 16px 12px;
  background: linear-gradient(transparent, rgba(0,13,36,0.88));
  color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 0.2px;
}
.showcase-item .cap span { display: block; font-size: 12px; font-weight: 600; color: var(--gold); margin-top: 2px; }

/* ===== Video band ===== */
.video-wrap { max-width: 860px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; background: #000d24; }
.video-wrap video { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.video-note { max-width: 720px; margin: 14px auto 0; text-align: center; font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ===== FAQ accordion (native details/summary, no JS) ===== */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-size: 15px; font-weight: 700; color: var(--ink); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; font-weight: 800; color: var(--gold-dark); font-size: 18px; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 10px 0 0; font-size: 14px; color: var(--muted); line-height: 1.6; }

/* Icon swap: SVG line icons in brand gold */
.card .icon, .svc .icon { color: var(--gold-dark); }
.icon svg { width: 24px; height: 24px; display: block; }
.tick svg { width: 16px; height: 16px; display: inline-block; vertical-align: -2px; }
