/* assets/css/style.css
   Brand identity: warm black + antique gold (from the crest logo), on ivory
   paper. Fraunces for display headlines, Inter for everything else. */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,500&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --ink:        #17130f;   /* warm near-black — nav, footer, dark bands */
  --ink-soft:   #241d15;   /* body text on ivory */
  --gold:       #c9a24a;   /* primary accent, from the crest */
  --gold-deep:  #a67c2e;   /* hover / pressed state */
  --gold-pale:  #eadfc4;   /* faint gold surfaces (badges, dividers) */
  --ivory:      #fbf6ef;   /* page background */
  --ivory-dim:  #f3ead9;   /* slightly deeper panel background */
  --white:      #ffffff;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

body {
  font-family: var(--font-body);
  background-color: var(--ivory);
  color: var(--ink-soft);
}

h1, h2, h3, .font-display {
  font-family: var(--font-display);
}

/* ---------- Buttons / links, brand-wide ---------- */
.btn-primary {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  font-weight: 600;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--ink);
}
.btn-outline-primary {
  color: var(--gold-deep);
  border-color: var(--gold);
}
.btn-outline-primary:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

/* =====================================================================
   TOP STRIP
   ===================================================================== */
.top-strip {
  background-color: var(--ink);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(201,162,74,0.25);
}
.top-strip .brand-logo {
  height: 64px;
  width: auto;
  object-fit: contain;   /* show the full crest + wordmark, never crop it */
  display: block;
}
.top-strip .brand-word {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-left: 0.6rem;
}
.top-strip .nav-link-custom {
  color: var(--ivory);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.4rem 0.9rem;
}
.top-strip .nav-link-custom:hover {
  color: var(--gold);
}
.top-strip .btn-call {
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 6px;
  padding: 0.4rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.top-strip .btn-call:hover {
  background-color: var(--gold);
  color: var(--ink);
}
.top-strip .btn-register-nav {
  background-color: var(--gold);
  color: var(--ink);
  border-radius: 6px;
  padding: 0.4rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}
.top-strip .btn-register-nav:hover {
  background-color: var(--gold-deep);
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero-section {
  background-color: var(--ink);
  background-image: radial-gradient(circle at 82% 18%, rgba(201,162,74,0.16), transparent 42%);
  padding: 4.5rem 0 5rem;
}
.hero-eyebrow {
  display: inline-block;
  background-color: rgba(201,162,74,0.14);
  border: 1px solid rgba(201,162,74,0.4);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.3rem;
}
.hero-heading {
  color: var(--white);
  font-size: 2.7rem;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1.1rem;
  max-width: 15ch;
}
.hero-subtext {
  color: #d8d0c3;
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 46ch;
  margin-bottom: 1.6rem;
}
.hero-value-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-value-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: #e9e3d6;
  font-size: 0.98rem;
  margin-bottom: 0.7rem;
}
.hero-value-list svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* --- hero registration card --- */
.hero-form-card {
  background-color: var(--ivory);
  border: 1px solid var(--gold-pale);
  border-radius: 12px;
  padding: 2rem 2rem 1.7rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  position: relative;
}
.hero-form-card::before {
  content: "";
  position: absolute;
  top: 14px; left: 14px; right: 14px; bottom: 14px;
  border: 1px solid var(--gold-pale);
  border-radius: 8px;
  pointer-events: none;
}
.hero-form-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.15rem;
}
.hero-form-card .form-subtext {
  color: #7a6f5c;
  font-size: 0.92rem;
  margin-bottom: 1.4rem;
}
.hero-form-card label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
}
.hero-form-card .form-select,
.hero-form-card .form-control {
  border-color: #ddd2ba;
  padding: 0.6rem 0.8rem;
}
.hero-form-card .form-select:focus,
.hero-form-card .form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(201,162,74,0.2);
}
.btn-register-arrow {
  background-color: var(--gold);
  color: var(--ink);
  border: none;
  border-radius: 8px;
  font-weight: 700;
  padding: 0.75rem 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-register-arrow:hover {
  background-color: var(--gold-deep);
}

/* =====================================================================
   TRUST STRIP
   ===================================================================== */
.trust-strip {
  background-color: var(--ivory-dim);
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--gold-pale);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.trust-item svg {
  flex-shrink: 0;
  color: var(--gold-deep);
}
.trust-item .trust-figure {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}
.trust-item .trust-label {
  font-size: 0.86rem;
  color: #7a6f5c;
}
.trust-divider {
  width: 1px;
  background-color: var(--gold-pale);
  align-self: stretch;
}

/* =====================================================================
   ELITE / ASSISTED SERVICE SECTION
   ===================================================================== */
.elite-section {
  padding: 5rem 0;
}
.elite-photo-frame {
  border: 1px solid var(--gold-pale);
  border-radius: 12px;
  padding: 10px;
  background-color: var(--white);
}
.elite-photo-frame .photo-inner {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(155deg, #2a2119, var(--ink) 65%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  text-align: center;
  padding: 2rem;
  font-family: var(--font-display);
}
.elite-label {
  display: inline-block;
  background-color: var(--gold-pale);
  color: var(--gold-deep);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.elite-section h2 {
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.elite-section .elite-sub {
  color: #7a6f5c;
  font-size: 1.02rem;
  margin-bottom: 1.6rem;
}
.elite-points {
  list-style: none;
  padding: 0;
  margin: 0;
}
.elite-points li {
  display: flex;
  gap: 0.7rem;
  padding: 1rem 0;
  border-top: 1px solid var(--gold-pale);
}
.elite-points li:first-child { border-top: none; }
.elite-points .pt-title {
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: 0.15rem;
}
.elite-points .pt-desc {
  color: #7a6f5c;
  font-size: 0.93rem;
}
.elite-points svg { color: var(--gold-deep); flex-shrink: 0; margin-top: 0.2rem; }

/* =====================================================================
   SUCCESS STORIES
   ===================================================================== */
.stories-section {
  background-color: var(--ink);
  padding: 5rem 0;
}
.stories-section .section-heading {
  color: var(--white);
  font-size: 2.1rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.4rem;
}
.stories-section .section-subheading {
  color: #b9ae98;
  text-align: center;
  margin-bottom: 2.5rem;
}
.story-slide {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1rem;
}
.story-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  margin: 0 auto 1.3rem;
}
.story-photo-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  margin: 0 auto 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.4rem;
  background-color: rgba(201,162,74,0.1);
}
.story-text {
  color: #e9e3d6;
  font-size: 1.12rem;
  line-height: 1.7;
  font-family: var(--font-display);
  font-style: italic;
  margin-bottom: 1rem;
}
.story-name {
  color: var(--gold);
  font-weight: 600;
}
.story-headline {
  color: #b9ae98;
  font-size: 0.9rem;
}
.stories-section .carousel-control-prev,
.stories-section .carousel-control-next {
  width: 5%;
  opacity: 0.6;
}
.stories-section .carousel-indicators [data-bs-target] {
  background-color: var(--gold);
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* =====================================================================
   FAQ
   ===================================================================== */
.faq-section {
  padding: 5rem 0;
}
.faq-section .section-heading {
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  margin-bottom: 2.5rem;
}
.faq-accordion .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--gold-pale);
}
.faq-accordion .accordion-button {
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 1.3rem 0;
  box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--gold-deep);
}
.faq-accordion .accordion-button::after {
  display: none;
}
.faq-accordion .accordion-button .faq-toggle-icon {
  color: var(--gold-deep);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  margin-left: auto;
  transition: transform 0.2s ease;
}
.faq-accordion .accordion-button:not(.collapsed) .faq-toggle-icon {
  transform: rotate(45deg);
}
.faq-accordion .accordion-body {
  color: #7a6f5c;
  padding: 0 0 1.5rem;
  line-height: 1.65;
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  background-color: var(--ink);
  border-top: 1px solid var(--gold-pale);
  padding: 3.5rem 0 1.5rem;
}
.site-footer .footer-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.9rem;
}
.site-footer h6 {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.site-footer p,
.site-footer li {
  color: #b9ae98;
  font-size: 0.9rem;
}
.site-footer a {
  color: #b9ae98;
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--gold);
}
.site-footer ul {
  list-style: none;
  padding: 0;
}
.site-footer ul li {
  margin-bottom: 0.55rem;
}
.footer-bottom {
  border-top: 1px solid rgba(201,162,74,0.2);
  margin-top: 2.5rem;
  padding-top: 1.3rem;
  text-align: center;
  color: #7a6f5c;
  font-size: 0.82rem;
}

/* =====================================================================
   REGISTRATION FORM (multi-step)
   ===================================================================== */
.reg-card {
  border-top: 3px solid var(--gold);
  border-radius: 14px;
  overflow: hidden;
}
.reg-step-pills {
  gap: 0.5rem;
  border-bottom: 1px solid var(--gold-pale);
  padding-bottom: 1.25rem;
}
.reg-step-pills .nav-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background-color: var(--ivory-dim);
  color: var(--ink-soft);
  border: 1px solid var(--gold-pale);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.95rem 0.4rem 0.4rem;
}
.reg-step-pills .nav-link .step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--white);
  border: 1px solid var(--gold-pale);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--ink-soft);
}
.reg-step-pills .nav-link.active {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.reg-step-pills .nav-link.active .step-num {
  background-color: var(--ink);
  color: var(--gold);
  border-color: var(--ink);
}
.reg-step h3,
.reg-step .step-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

/* ---------- Profile Card (search results, unchanged brand tie-in) ---------- */
.profile-card {
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12) !important;
}
.profile-card-img {
  height: 260px;
  object-fit: cover;
  background: #eee;
}
.profile-card .card-title {
  font-weight: 600;
}
#resultsGrid.opacity-50 {
  transition: opacity 0.15s ease;
  pointer-events: none;
}

@media (max-width: 767px) {
  .hero-heading { font-size: 2.1rem; }
  .trust-divider { display: none; }
  .trust-item { margin-bottom: 1.2rem; }
}

/* =====================================================================
   MOBILE TOP STRIP — logo centered on its own row, actions row below it,
   all shrunk so everything fits without wrapping awkwardly.
   ===================================================================== */
@media (max-width: 576px) {
  .top-strip .container {
    justify-content: center;
  }
  .top-strip .brand-block {
    flex: 0 0 100%;
    justify-content: center;
    margin-bottom: 0.35rem;
  }
  .top-strip .brand-logo {
    height: 52px;
  }
  .top-strip .nav-actions {
    flex: 0 0 100%;
    justify-content: center;
    gap: 0.35rem !important;
  }
  .top-strip .btn-call {
    padding: 0.28rem 0.6rem;
    font-size: 0.72rem;
  }
  .top-strip .btn-call svg { width: 12px; height: 12px; }
  .top-strip .nav-link-custom {
    padding: 0.28rem 0.5rem;
    font-size: 0.72rem;
  }
  .top-strip .btn-register-nav {
    padding: 0.28rem 0.7rem;
    font-size: 0.72rem;
  }
}