/* Silvercrest Management - shared stylesheet */
:root { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #2d3433;
  background: #faf7f0;
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #1b4d3e; }

h1, h2, h3, .wordmark { font-family: Georgia, "Times New Roman", serif; color: #1b4d3e; line-height: 1.2; }
h1 { font-size: 2.6rem; font-weight: 700; }
h2 { font-size: 1.9rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e0d5;
  position: sticky; top: 0; z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: 1240px; margin: 0 auto; }
.brand { text-decoration: none; line-height: 1.05; }
.brand .wordmark { font-size: 1.45rem; letter-spacing: 0.14em; color: #1b4d3e; font-weight: 700; display: block; }
.brand .tagline { font-size: 0.66rem; letter-spacing: 0.42em; color: #b8925a; text-transform: uppercase; display: block; margin-top: 2px; }

.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; padding: 8px; }
.nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
  display: block; background: #1b4d3e; height: 2px; width: 24px; position: relative; content: "";
}
.nav-toggle-label span::before { position: absolute; top: -7px; }
.nav-toggle-label span::after { position: absolute; top: 7px; }

.main-nav { display: flex; align-items: center; gap: 15px; margin-left: 24px; }
.main-nav a { text-decoration: none; color: #4a5352; font-size: 0.88rem; font-weight: 500; white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { color: #1b4d3e; }
.main-nav a.portal-btn {
  background: #b8925a; color: #ffffff; padding: 9px 14px; border-radius: 6px; font-weight: 600;
  border: 1px solid #b8925a; white-space: nowrap;
}
.main-nav a.portal-btn:hover { background: #a5814c; }

/* Dropdown nav */
.nav-item { position: relative; display: flex; align-items: center; }
.drop-trigger {
  background: none; border: none; cursor: pointer; padding: 0;
  font-family: inherit; font-size: 0.88rem; font-weight: 500; color: #4a5352;
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
}
.drop-trigger:hover, .drop-trigger.active,
.nav-item:hover > .drop-trigger, .nav-item.open > .drop-trigger { color: #1b4d3e; }
.caret {
  width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; transition: transform 150ms ease;
}
.nav-item.open > .drop-trigger .caret { transform: rotate(180deg); }
.drop-menu {
  position: absolute; top: calc(100% + 14px); left: -14px; min-width: 250px;
  background: #ffffff; border: 1px solid #e5e0d5; border-radius: 8px;
  box-shadow: 0 14px 30px rgba(18,54,44,0.14); padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms;
  z-index: 60;
}
.drop-menu::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.nav-item:hover > .drop-menu, .nav-item:focus-within > .drop-menu, .nav-item.open > .drop-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.drop-menu a { display: block; padding: 9px 18px; font-size: 0.88rem; color: #4a5352; }
.drop-menu a:hover { background: #faf7f0; color: #1b4d3e; }
.drop-menu a.active { color: #1b4d3e; font-weight: 600; }
.nav-item.align-right .drop-menu { left: auto; right: -14px; }

/* Hero */
.hero { position: relative; color: #ffffff; overflow: hidden; }
.hero img.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(18,45,36,0.82) 0%, rgba(18,45,36,0.45) 55%, rgba(18,45,36,0.15) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 1140px; margin: 0 auto; padding: 110px 24px 120px; }
.hero h1 { color: #ffffff; max-width: 640px; margin-bottom: 1rem; }
.hero p.lead { font-size: 1.2rem; max-width: 560px; margin-bottom: 1.75rem; color: #f1ede2; }
.hero .btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

.btn { display: inline-block; text-decoration: none; padding: 13px 26px; border-radius: 6px; font-weight: 600; font-size: 1rem; }
.btn-gold { background: #b8925a; color: #ffffff; border: 1px solid #b8925a; }
.btn-gold:hover { background: #a5814c; }
.btn-outline { background: transparent; color: #ffffff; border: 1px solid rgba(255,255,255,0.75); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-green { background: #1b4d3e; color: #ffffff; border: 1px solid #1b4d3e; }
.btn-green:hover { background: #163f33; }

/* Page hero (inner pages) */
.page-hero { background: #1b4d3e; color: #ffffff; padding: 64px 0 56px; }
.page-hero h1 { color: #ffffff; }
.page-hero p { color: #dfe8e2; max-width: 640px; font-size: 1.1rem; margin: 12px 0 0; }

/* Trust bar */
.trust-bar { background: #12362c; color: #d9d2c0; }
.trust-bar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 18px; }
.trust-bar .item { font-size: 0.92rem; letter-spacing: 0.04em; }
.trust-bar .item strong { color: #e4c88f; font-weight: 600; }

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: #ffffff; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.kicker { text-transform: uppercase; letter-spacing: 0.28em; font-size: 0.78rem; color: #b8925a; font-weight: 700; margin-bottom: 10px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: #ffffff; border: 1px solid #e5e0d5; border-radius: 10px; padding: 28px 26px; }
.section.alt .card { background: #faf7f0; }
.card h3 { color: #1b4d3e; }
.card p { color: #4a5352; font-size: 0.96rem; margin-bottom: 0; }
.card p + p { margin-top: 10px; }
.card p.note { font-size: 0.88rem; color: #6c7472; }
.card p.note strong { color: #b8925a; }
.card .num { font-family: Georgia, serif; font-size: 1.5rem; color: #b8925a; display: block; margin-bottom: 8px; }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split.reverse .split-img { order: 2; }
.split-img img { border-radius: 12px; box-shadow: 0 14px 34px rgba(27,77,62,0.16); }
.split-copy .kicker { margin-bottom: 8px; }
.split-copy ul { margin: 0 0 1.2rem 1.2rem; color: #4a5352; }
.split-copy li { margin-bottom: 8px; }

/* Wide image feature */
.feature-img { border-radius: 14px; overflow: hidden; box-shadow: 0 16px 40px rgba(27,77,62,0.18); }
.feature-caption { text-align: center; color: #6c7472; font-size: 0.9rem; margin-top: 14px; }

/* CTA band */
.cta-band { background: #1b4d3e; color: #ffffff; padding: 70px 0; }
.cta-band h2 { color: #ffffff; }
.cta-band p { color: #d9e3dc; max-width: 620px; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }

/* Quote */
.quote { text-align: center; max-width: 700px; margin: 0 auto; }
.quote blockquote { font-family: Georgia, serif; font-size: 1.5rem; color: #1b4d3e; line-height: 1.45; }
.quote cite { display: block; margin-top: 14px; color: #b8925a; font-style: normal; font-weight: 600; letter-spacing: 0.06em; }

/* Prose (legal pages) */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { margin-top: 2.2rem; font-size: 1.45rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul { margin: 0 0 1rem 1.4rem; }
.prose li { margin-bottom: 6px; }
.prose .updated { color: #6c7472; font-size: 0.92rem; margin-bottom: 2rem; }

/* Contact */
.contact-box { background: #ffffff; border: 1px solid #e5e0d5; border-radius: 12px; padding: 40px; max-width: 640px; }
.contact-box .row { margin-bottom: 22px; }
.contact-box .label { text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.2em; color: #b8925a; font-weight: 700; margin-bottom: 4px; }
.contact-box a.big { font-size: 1.25rem; font-weight: 600; }

/* Footer */
.site-footer { background: #12362c; color: #c9d3cc; padding: 56px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer .wordmark { color: #ffffff; font-size: 1.3rem; letter-spacing: 0.14em; }
.site-footer .tagline { font-size: 0.62rem; letter-spacing: 0.42em; color: #b8925a; text-transform: uppercase; display: block; margin-top: 2px; margin-bottom: 14px; }
.site-footer p { font-size: 0.92rem; color: #a9b8af; }
.site-footer h4 { color: #e4c88f; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #c9d3cc; text-decoration: none; font-size: 0.92rem; }
.site-footer a:hover { color: #ffffff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.85rem; color: #8fa096; }
.footer-bottom a { color: #8fa096; }

/* FAQ accordion */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-list details {
  background: #ffffff; border: 1px solid #e5e0d5; border-radius: 10px;
  margin-bottom: 14px; padding: 0;
}
.faq-list summary {
  cursor: pointer; list-style: none; padding: 18px 22px;
  font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem;
  color: #1b4d3e; font-weight: 700; position: relative; padding-right: 46px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  color: #b8925a; font-size: 1.3rem; font-family: Georgia, serif;
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list .faq-body { padding: 0 22px 18px; color: #4a5352; }
.faq-list .faq-body ul { margin: 0 0 1rem 1.3rem; }
.faq-list .faq-body li { margin-bottom: 6px; }
.faq-list .faq-body p:last-child { margin-bottom: 0; }

/* Responsive */
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split.reverse .split-img { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-content { padding: 80px 24px 88px; }
}
@media (max-width: 1080px) {
  .nav-toggle-label { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #ffffff; flex-direction: column; align-items: stretch; gap: 0; margin-left: 0;
    border-bottom: 1px solid #e5e0d5; box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  }
  .main-nav a { padding: 14px 24px; border-top: 1px solid #f0ece2; font-size: 1rem; }
  .main-nav a.portal-btn { margin: 12px 24px 18px; text-align: center; border-radius: 6px; }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .nav-item { display: block; }
  .drop-trigger {
    width: 100%; padding: 14px 24px; border-top: 1px solid #f0ece2;
    font-size: 1rem; justify-content: space-between;
  }
  .drop-menu {
    position: static; opacity: 1; visibility: visible; transform: none; transition: none;
    border: none; border-radius: 0; box-shadow: none; min-width: 0; padding: 0;
    background: #faf7f0; display: none;
  }
  .drop-menu::before { display: none; }
  .nav-item.open > .drop-menu { display: block; }
  .main-nav .drop-menu a { padding-left: 44px; font-size: 0.95rem; }
}
@media (max-width: 720px) {
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .site-footer a { overflow-wrap: anywhere; }
  .trust-bar .wrap { flex-direction: column; gap: 6px; }
  .contact-box { padding: 26px; }
  .hero h1 { font-size: 1.9rem; }
  .section { padding: 52px 0; }
}

/* logo images */
.brand-logo { height: 46px; width: auto; display: block; }
.site-footer .footer-logo { height: 70px; width: auto; display: block; margin-bottom: 16px; }
@media (max-width: 720px){ .brand-logo { height: 38px; } }
