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

:root {
  --navy: #0a1628;
  --navy-mid: #1a2942;
  --charcoal: #0f1923;
  --slate-soft: #e8e6e1;
  --off-white: #f0ede8;
  --section-light: #eceae5;
  --gold: #c9a84c;
  --gold-light: #e8d5a3;
  --text-dark: #1a1a1a;
  --text-muted: #5a6070;
}

html {
  scroll-behavior: smooth;
}

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

.font-display {
  font-family: 'Cormorant Garamond', serif;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  min-width: 190px;
  padding: 0.4rem 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 200;
}

.nav-dropdown-menu.open {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-icon-btn:hover {
  color: #fff;
}

/* */
.nav-cta-btn {
  display: inline-block;
  padding: 8px 18px;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s;
  white-space: nowrap;
}

.nav-cta-btn:hover {
  background: #b8922e;
}

.nav-logo {
  height: 32px;
  width: auto;
  display: block;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.8);
}

/* ── FOOTER ── */
footer {
  background: var(--charcoal);
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-inner p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.04em;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* ── MOBILE NAV ── */
.mobile-menu {
  display: none;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 2rem;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: #fff;
}



/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}


@media (max-width: 768px) {

  /* .nav-icons, */

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 1.75rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .partners-grid {
    gap: 1.5rem;
  }
}

/* ── FADE IN ANIMATION ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================== */
/* =========================================================== */
/* =========================================================== */
/* =========================================================== */
/* =========================================================== */
/* =========================================================== */

.page-hero {
  padding-top: 72px;
  background: linear-gradient(160deg, var(--navy) 0%, #0d1f3c 100%);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(201, 168, 76, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 2rem;
  /* max-width: 700px;
  margin: 0 auto; */
}

.page-hero-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 5px 16px;
}

.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.page-hero-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  margin: 0 auto;
  margin-bottom: 2rem;
}

.page-hero-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.75rem;
}

/* FORM AREA */
.form-section {
  padding: 4rem 2rem 6rem;
}

.form-wrap {
  max-width: 480px;
  margin: 0 auto;
}

.form-card {
  background: var(--section-light);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 8px;
  padding: 2.5rem;
}

/* MESSAGES */
.msg {
  display: none;
  padding: 0.875rem 1rem;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 1.25rem;
}

.msg-error {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.2);
  color: #dc2626;
}

.msg-success {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #16a34a;
}

/* FORM ELEMENTS */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--off-white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10, 22, 40, 0.08);
}

.form-input::placeholder {
  color: #9ca3af;
}

/* SUBMIT BTN */
.btn-submit {
  width: 100%;
  padding: 0.875rem;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
  font-family: 'DM Sans', sans-serif;
}

.btn-submit:hover {
  background: #162238;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* LINKS */
.form-footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.form-footer a {
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.form-footer a:hover {
  border-color: var(--navy);
}

.form-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 1.25rem 0;
}

.btn-gold {
  display: inline-block;
  padding: 14px 40px;
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
}

.btn-gold:hover {
  background: #b8922e;
}

.btn-outline {
  display: inline-block;
  padding: 13px 32px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s;
  margin-left: 1rem;
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

/* ── PAGINATION ── */
.pagination-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  background: var(--section-light);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
}

.page-btn:hover:not(:disabled):not(.active) {
  border-color: var(--navy);
  color: var(--navy);
  background: #fff;
}

.page-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  cursor: default;
}

.page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  color: var(--text-muted);
  font-size: 13px;
}

@media (max-width: 480px) {
  .page-btn {
    min-width: 34px;
    height: 34px;
    font-size: 12px;
  }
}


/* ── BLOG SEARCH ── */
.blog-search-wrap {
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.blog-search-inner {
  position: relative;
}

.blog-search-box {
  display: flex;
  align-items: center;
  background: var(--section-light);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 0 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  margin: 1.5rem 1rem 0
}

.blog-search-box:focus-within {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10, 22, 40, 0.08);
  background: #fff;
}

.blog-search-icon {
  color: var(--text-muted);
  flex-shrink: 0;
  margin-right: 0.75rem;
}

.blog-search-input {
  flex: 1;
  padding: 0.875rem 0;
  border: none;
  background: transparent;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  outline: none;
}

.blog-search-input::placeholder {
  color: #9ca3af;
}

.blog-search-clear {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.2s, background 0.2s;
}

.blog-search-clear:hover {
  color: var(--navy);
  background: rgba(0, 0, 0, 0.05);
}

.blog-search-summary {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 0.75rem;
  text-align: center;
}

.blog-search-summary strong {
  color: var(--navy);
}

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
  z-index: 90;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold);
}

@media (max-width: 480px) {
  .back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
  }
}

/* ── PUBLIC CONTACT FORM ── */
.form-group-pub {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label-pub {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-input-pub {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--section-light);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input-pub:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10, 22, 40, 0.08);
  background: #fff;
}

.form-input-pub::placeholder {
  color: #9ca3af;
}

.btn-submit-pub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s;
  align-self: flex-start;
}

.btn-submit-pub:hover {
  background: #162238;
}

.btn-submit-pub:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .form-input-pub+.form-input-pub {
    margin-top: 0;
  }

  /* Stack name/email on mobile */
  #contact-form>div:first-child {
    grid-template-columns: 1fr;
  }

  .btn-submit-pub {
    width: 100%;
  }
}