/* =========================================================
   Knights of Columbus — Council 5073
   Brand palette inspired by kofc.org:
   - KofC Blue (deep royal)  #002868
   - KofC Gold               #f2c14e / #c8932b
   - KofC Red               #c8102e
   ========================================================= */

:root {
  --blue:        #002868;
  --blue-deep:   #001b47;
  --blue-mid:    #0a3f8f;
  --gold:        #f2c14e;
  --gold-deep:   #c8932b;
  --red:         #c8102e;
  --ink:         #1a2230;
  --slate:       #586073;
  --paper:       #ffffff;
  --cream:       #f6f4ee;
  --cream-2:     #efece3;
  --line:        #e2ddd1;
  --shadow:      0 18px 50px rgba(0, 27, 71, 0.14);
  --shadow-sm:   0 6px 18px rgba(0, 27, 71, 0.09);
  --radius:      16px;
  --radius-sm:   10px;
  --serif:       "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans:        "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --maxw:        1160px;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-mid); }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.18; color: var(--blue); font-weight: 700; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.text-link { font-weight: 600; color: var(--red); }
.text-link:hover { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .02em;
  padding: 13px 28px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold  { background: var(--gold); color: var(--blue-deep); box-shadow: 0 8px 20px rgba(200,147,43,.35); }
.btn-gold:hover { background: #f7cd6a; color: var(--blue-deep); }
.btn-blue  { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-mid); color: #fff; }
.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { background: var(--cream); color: var(--blue); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--blue);
  border-bottom: 3px solid var(--gold);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.scrolled { box-shadow: 0 6px 22px rgba(0,0,0,.22); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { color: #fff; }
.brand-emblem { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 2px 5px rgba(0,0,0,.35)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--serif); font-size: 1.25rem; color: #fff; letter-spacing: .01em; }
.brand-text small { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }

.main-nav { display: flex; align-items: center; }
.nav-menu { list-style: none; display: flex; align-items: center; gap: 6px; }
.nav-menu a {
  color: #eef1f7; font-weight: 500; font-size: .96rem;
  padding: 9px 14px; border-radius: 7px; transition: background .15s, color .15s;
}
.nav-menu a:hover { background: rgba(255,255,255,.10); color: #fff; }
.nav-cta {
  background: var(--gold); color: var(--blue-deep) !important;
  font-weight: 700; margin-left: 8px;
}
.nav-cta:hover { background: #f7cd6a; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: #fff; border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero (split: text + framed photo) ---------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(1100px 560px at 88% -12%, rgba(242,193,78,.20), transparent 60%),
    radial-gradient(820px 480px at -8% 112%, rgba(10,63,143,.55), transparent 60%),
    linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 78%);
}
.hero-orn {
  position: absolute; inset: 0; opacity: .55; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.4px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding: 88px 24px 96px;
}
.hero-content { max-width: 600px; }
.eyebrow {
  color: var(--gold); font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; font-size: .8rem; margin-bottom: 18px;
}
.hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.7rem); line-height: 1.12; margin-bottom: 20px; }
.hero-council { display: block; color: var(--gold); }
.hero-lead { font-size: clamp(1.04rem, 1.6vw, 1.24rem); color: #dde4f3; max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-pillars { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-pillars li {
  font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); padding: 7px 15px;
  border: 1px solid rgba(242,193,78,.42); border-radius: 50px;
}

.hero-figure { position: relative; justify-self: center; width: 100%; max-width: 360px; }
.hero-figure img:not(.hero-emblem) {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 16px; position: relative; z-index: 2;
  box-shadow: 0 30px 64px rgba(0,0,0,.5);
}
.hero-figure-frame {
  position: absolute; inset: 20px -20px -20px 20px;
  border: 2px solid var(--gold); border-radius: 16px; z-index: 1;
}
.hero-emblem {
  position: absolute; left: -20px; top: -20px; z-index: 3;
  width: 92px; height: 92px; object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.5));
}

/* ---------- Principles strip ---------- */
.principles { background: var(--cream); border-bottom: 1px solid var(--line); }
.principles-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.principle {
  padding: 46px 26px; text-align: center;
  border-right: 1px solid var(--line);
  transition: background .2s ease;
}
.principle:hover { background: #fff; }
.principle:last-child { border-right: 0; }
.principle-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--blue); color: var(--gold);
  font-family: var(--serif); font-weight: 700; font-size: 1.1rem;
  margin-bottom: 14px; box-shadow: 0 6px 16px rgba(0,27,71,.2);
}
.principle h3 { font-size: 1.32rem; margin-bottom: 8px; }
.principle p { font-size: .94rem; color: var(--slate); }

/* ---------- Generic section ---------- */
.section { padding: 90px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.kicker {
  color: var(--gold-deep); font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; font-size: .8rem; margin-bottom: 12px;
}
.kicker-light { color: var(--gold); }
.section-head h2 { font-size: clamp(1.95rem, 4vw, 2.8rem); margin-bottom: 22px; }
/* gold divider: short rule with a centered diamond */
.section-head h2::after {
  content: "\25C6";
  display: flex; align-items: center; justify-content: center; gap: 12px;
  color: var(--gold); font-size: .62rem; margin: 18px auto 0; width: 120px;
}
.section-head h2::after {
  background:
    linear-gradient(var(--gold), var(--gold)) left center / 46px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right center / 46px 2px no-repeat;
}
.section-sub { color: var(--slate); font-size: 1.08rem; }

/* ---------- About: image feature ---------- */
.about { background: #fff; }
.feature {
  display: grid; grid-template-columns: .92fr 1.08fr; gap: 56px; align-items: center;
  margin-bottom: 68px;
}
.feature-media { position: relative; max-width: 440px; }
.feature-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow);
  position: relative; z-index: 2;
}
.feature-media::after {
  content: ""; position: absolute; left: -16px; top: -16px; right: 20px; bottom: 20px;
  border: 2px solid var(--gold); border-radius: var(--radius); z-index: 1;
}
.feature-badge {
  position: absolute; right: -10px; bottom: 22px;
  background: var(--red); color: #fff; font-weight: 700; font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 10px 18px; border-radius: 50px; box-shadow: var(--shadow-sm);
}
.feature-text .kicker { text-align: left; }
.feature-text h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 16px; }
.feature-text p { color: var(--slate); margin-bottom: 16px; }
.feature-text .text-link { display: inline-block; margin-top: 4px; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.card-icon {
  width: 58px; height: 58px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue));
  color: var(--gold); font-size: 1.55rem;
  margin-bottom: 18px; box-shadow: 0 8px 18px rgba(0,27,71,.18);
}
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--slate); }

/* ---------- Scripture quote band ---------- */
.quote-band { position: relative; color: #fff; overflow: hidden; }
.quote-bg {
  position: absolute; inset: 0;
  background: url("images/faith-candles.jpg") center 40% / cover no-repeat;
}
.quote-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,20,52,.86), rgba(0,15,40,.9));
}
.quote-inner { position: relative; z-index: 2; text-align: center; padding: 92px 24px; max-width: 880px; }
.quote-mark { font-family: var(--serif); font-size: 5rem; line-height: .4; color: var(--gold); margin-bottom: 18px; }
.quote-band blockquote {
  font-family: var(--serif); font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  font-style: italic; line-height: 1.5; color: #fff; margin-bottom: 22px;
}
.quote-band cite {
  font-style: normal; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; font-size: .9rem; color: var(--gold);
}

/* ---------- Stats ---------- */
.stats-section { background: #fff; padding: 0 0 90px; margin-top: -40px; position: relative; z-index: 5; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 90%);
  border-radius: var(--radius);
  padding: 44px 24px; box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}
.stat { text-align: center; color: #fff; }
.stat strong {
  display: block; font-family: var(--serif); font-size: 2.5rem;
  color: var(--gold); line-height: 1;
}
.stat span { font-size: .9rem; color: #cdd7ea; letter-spacing: .03em; }
.stats-note { text-align: center; color: #9aa3b5; font-size: .82rem; margin-top: 16px; }

/* ---------- Events & News ---------- */
.events { background: var(--cream); }
.event-featured {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 0;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); margin-bottom: 48px;
}
.ef-media { min-height: 280px; }
.ef-media img { width: 100%; height: 100%; object-fit: cover; }
.ef-body { padding: 38px 40px; }
.ef-tag {
  display: inline-block; background: var(--gold); color: var(--blue-deep);
  font-weight: 700; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 50px; margin-bottom: 16px;
}
.ef-body h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 8px; }
.ef-meta { color: var(--red); font-weight: 600; margin-bottom: 12px; }
.ef-body > p { color: var(--slate); margin-bottom: 22px; }
.ef-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

.events-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.col-title {
  font-size: 1.05rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--gold-deep); padding-bottom: 12px; margin-bottom: 22px;
  border-bottom: 2px solid var(--gold);
}
.event {
  display: flex; gap: 20px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 20px 22px; margin-bottom: 16px;
  transition: box-shadow .18s, transform .18s;
}
.event:hover { box-shadow: var(--shadow-sm); transform: translateX(4px); }
.event-date {
  flex: 0 0 64px; height: 70px;
  background: linear-gradient(160deg, var(--blue-mid), var(--blue)); color: #fff; border-radius: 9px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.ev-month { font-size: .72rem; letter-spacing: .12em; color: var(--gold); font-weight: 700; }
.ev-day { font-family: var(--serif); font-size: 1.7rem; line-height: 1; }
.event-body h4 { font-size: 1.18rem; margin-bottom: 4px; }
.event-meta { color: var(--red); font-weight: 600; font-size: .86rem; margin-bottom: 6px; }
.event-body p:last-child { color: var(--slate); font-size: .95rem; }

.news-item {
  background: #fff; border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm); padding: 18px 20px; margin-bottom: 16px;
}
.news-date { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--slate); margin-bottom: 6px; }
.news-item h4 { font-size: 1.08rem; margin-bottom: 6px; color: var(--blue); }
.news-item p { font-size: .92rem; color: var(--slate); margin-bottom: 8px; }
.news-link { font-weight: 600; font-size: .9rem; color: var(--red); }
.news-link:hover { color: var(--blue); }

/* ---------- Join ---------- */
.join { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 80%); color: #fff; }
.join-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.join-media { position: relative; justify-self: center; max-width: 340px; width: 100%; }
.join-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow);
  border: 3px solid rgba(242,193,78,.5);
}
.join-media::after {
  content: ""; position: absolute; inset: 16px -16px -16px 16px;
  border: 2px solid rgba(242,193,78,.35); border-radius: var(--radius); z-index: -1;
}
.join-text h2 { color: #fff; font-size: clamp(1.95rem, 4vw, 2.7rem); margin-bottom: 16px; }
.join-text > p { color: #dde4f1; font-size: 1.06rem; margin-bottom: 22px; }
.join-benefits { list-style: none; margin-bottom: 30px; }
.join-benefits li { position: relative; padding-left: 34px; margin-bottom: 12px; color: #eef1f7; }
.join-benefits li::before {
  content: "\2714"; position: absolute; left: 0; top: 1px;
  width: 23px; height: 23px; border-radius: 50%;
  background: var(--gold); color: var(--blue-deep);
  display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 700;
}
.join-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.join-fineprint { font-size: .82rem; color: #aab6d2; margin-top: 18px; }

/* ---------- Contact ---------- */
.contact { background: #fff; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact-block { margin-bottom: 30px; }
.contact-block h3 { font-size: 1.25rem; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.contact-line {
  display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 7px 0; color: var(--ink); font-size: .98rem;
  border-bottom: 1px dashed var(--line);
}
.ci-label {
  flex: 0 0 130px; color: var(--slate); font-weight: 600;
  text-transform: uppercase; font-size: .74rem; letter-spacing: .06em; padding-top: 3px;
}
.contact-social { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.social-link {
  border: 1.5px solid var(--blue); color: var(--blue);
  padding: 7px 16px; border-radius: 50px; font-size: .86rem; font-weight: 600;
  transition: background .15s, color .15s;
}
.social-link:hover { background: var(--blue); color: #fff; }

.contact-form {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: block; font-weight: 600; font-size: .88rem; color: var(--blue); margin-bottom: 16px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; margin-top: 6px;
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 11px 14px; border: 1.5px solid var(--line);
  border-radius: 9px; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10,63,143,.12);
}
.contact-form textarea { resize: vertical; }
.form-status { margin-top: 12px; font-weight: 600; font-size: .92rem; text-align: center; min-height: 1.2em; }
.form-status.ok { color: #1c7a3e; }
.form-status.err { color: var(--red); }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-deep); color: #c7cfe0; padding: 54px 0 30px; border-top: 3px solid var(--gold); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px 40px; align-items: start; }
.footer-brand strong { display: block; color: #fff; font-family: var(--serif); font-size: 1.2rem; margin-bottom: 6px; }
.footer-brand p { color: var(--gold); font-size: .92rem; letter-spacing: .04em; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-self: end; }
.footer-nav a { color: #c7cfe0; font-size: .95rem; }
.footer-nav a:hover { color: var(--gold); }
.footer-legal {
  grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px; margin-top: 8px; font-size: .86rem; color: #9aa6c0; line-height: 1.7;
}
.footer-legal small { color: #7a8299; font-size: .78rem; }

/* ---------- Agency credit bar ---------- */
.agency-credit {
  background: #00112e; color: #8a93ab;
  padding: 16px 0; text-align: center;
  border-top: 1px solid rgba(255,255,255,.06);
}
.agency-credit p { font-size: .86rem; letter-spacing: .02em; }
.agency-credit a { color: #c7cfe0; transition: color .15s; }
.agency-credit a strong { color: var(--gold); font-weight: 700; letter-spacing: .03em; }
.agency-credit a:hover { color: #fff; }
.agency-credit a:hover strong { color: #f7cd6a; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .25s, transform .25s, background .15s;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--blue-mid); color: var(--gold); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; text-align: center; padding: 72px 24px 80px; }
  .hero-content { max-width: 620px; margin: 0 auto; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-pillars { justify-content: center; }
  .hero-figure { order: -1; max-width: 300px; }
  .hero-emblem { left: -16px; top: -16px; }
  .principles-grid { grid-template-columns: repeat(2, 1fr); }
  .principle:nth-child(2) { border-right: 0; }
  .principle { border-bottom: 1px solid var(--line); }
  .feature { grid-template-columns: 1fr; gap: 40px; justify-items: center; text-align: center; }
  .feature-media { max-width: 420px; }
  .feature-media::after { display: none; }
  .feature-text .kicker { text-align: center; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .event-featured { grid-template-columns: 1fr; }
  .ef-media { min-height: 220px; }
  .events-layout { grid-template-columns: 1fr; gap: 30px; }
  .join-inner { grid-template-columns: 1fr; gap: 32px; }
  .join-media { order: 2; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--blue-deep); padding: 8px 16px 18px;
    border-bottom: 3px solid var(--gold);
    max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
  }
  .nav-menu.open { max-height: 420px; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: 13px 10px; border-radius: 7px; }
  .nav-cta { margin: 8px 0 0; text-align: center; }
  .header-inner { position: relative; }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .hero-grid { padding: 56px 24px 68px; }
  .principles-grid { grid-template-columns: 1fr; }
  .principle { border-right: 0; }
  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .ef-body { padding: 28px 24px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-self: start; }
}
