/* site/site.css — page-level shared styles for the marketing site.
   Uses colors_and_type.css tokens. */

html { scroll-behavior: smooth; }
body { margin: 0; background: #F8F5F0; color: #2D2D2D;
       font-family: Mulish, 'Brandon Grotesque', 'Helvetica Neue', Arial, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }

/* ——— Sticky header ——— */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #F8F5F0; border-bottom: 1px solid #E8E4DF;
  transition: box-shadow 200ms;
}
.site-header.scrolled { box-shadow: 0 1px 2px rgba(12,59,72,.08); }
.site-header .wrap {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 16px 32px;
}
.site-header .logo img { height: 192px; display: block; }
.site-header .primary-nav {
  display: flex; gap: 28px; list-style: none; margin: 0; padding: 0;
}
.site-header .primary-nav a {
  color: #0C3B48; text-decoration: none;
  font-weight: 700; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: border-color 200ms, color 200ms;
}
.site-header .primary-nav a.active { border-bottom-color: #186575; }
.site-header .primary-nav a:hover { color: #186575; }
.site-header .actions { display: flex; align-items: center; gap: 18px; }
.site-header .call {
  display: flex; align-items: center; gap: 8px;
  color: #916C34; font-weight: 900; font-size: 15px;
  letter-spacing: .01em; text-decoration: none;
  white-space: nowrap;
}
.site-header .call svg { width: 18px; height: 18px; }
.site-header .call:hover { color: #0C3B48; }

/* ——— Buttons (reusable) ——— */
.btn {
  border: 0; cursor: pointer; font-family: inherit;
  font-weight: 700; font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 14px 24px; border-radius: 0;
  transition: background 200ms, color 200ms, border-color 200ms;
  text-decoration: none; display: inline-flex; align-items: center; gap: 10px;
  white-space: nowrap;
}
.btn.primary { background: #916C34; color: #fff; }
.btn.primary:hover { background: #A07B3F; }
.btn.primary:active { background: #7E5D2D; }
.btn.secondary {
  background: transparent; color: #0C3B48;
  border: 2px solid #0C3B48; padding: 12px 22px;
}
.btn.secondary:hover { background: #0C3B48; color: #F8F5F0; }
.btn.ghost { background: transparent; color: #0C3B48; padding: 14px 8px; }
.btn.ghost:hover { color: #186575; }
.btn.on-dark.secondary { color: #F8F5F0; border-color: #F8F5F0; }
.btn.on-dark.secondary:hover { background: #F8F5F0; color: #0C3B48; }

/* ——— Mobile menu toggle ——— */
.menu-btn { display: none; background: transparent; border: 0; padding: 8px;
  color: #0C3B48; cursor: pointer; }
.menu-btn svg { width: 26px; height: 26px; }
@media (max-width: 960px) {
  .site-header .primary-nav,
  .site-header .actions .btn.secondary { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header .wrap { padding: 12px 20px; gap: 12px; }
  .site-header .logo img { height: 96px; }
}

/* ——— Trust bar (under hero) ——— */
.trustbar { background: #E3EDEE; padding: 16px 24px; }
.trustbar .row {
  max-width: 1240px; margin: 0 auto;
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
  font-size: 13px; font-weight: 700; color: #0C3B48;
  letter-spacing: .02em;
}
.trustbar .dot { color: #916C34; }

/* ——— Section scaffolding ——— */
.section { padding: 96px 32px; }
.section.tight { padding: 72px 32px; }
.section .inner { max-width: 1240px; margin: 0 auto; }
.section .inner.narrow { max-width: 820px; }
.section.alt { background: #E8E4DF; }
.section.dark { background: #0C3B48; color: #F8F5F0; }
.section.dark h1, .section.dark h2, .section.dark h3 { color: #F8F5F0; }
.section.dark p { color: #B8C7CB; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: #186575;
}
.section.dark .eyebrow { color: #916C34; }
.gold-rule { width: 48px; height: 3px; background: #916C34; margin: 20px 0 24px; }
.section-head.center .gold-rule { margin-left: auto; margin-right: auto; }
.section h1 { font-size: 60px; font-weight: 900; letter-spacing: .005em;
              line-height: 1.08; margin: 14px 0 0; color: #0C3B48; }
.section h2 { font-size: 40px; font-weight: 900; letter-spacing: .005em;
              line-height: 1.1; margin: 14px 0 0; color: #0C3B48; }
.section h3 { font-size: 24px; font-weight: 700; letter-spacing: .005em;
              line-height: 1.2; margin: 0 0 10px; color: #0C3B48; }
.section p.lede { font-size: 19px; line-height: 1.55; color: #2D2D2D;
                  margin: 0; max-width: 640px; }
.section.dark p.lede { color: #B8C7CB; }

@media (max-width: 720px) {
  .section { padding: 64px 20px; }
  .section h1 { font-size: 40px; }
  .section h2 { font-size: 30px; }
  .section p.lede { font-size: 17px; }
}

/* ——— Cards ——— */
.card {
  background: #F8F5F0; border: 1px solid #E8E4DF;
  padding: 32px; transition: border-color 200ms, box-shadow 200ms;
  text-decoration: none; color: inherit; display: block;
}
.card:hover { border-color: #D6D0C8; box-shadow: 0 1px 2px rgba(12,59,72,.08); }
.card.featured { border-top: 3px solid #916C34; }
.card h3 { margin: 16px 0 8px; }
.card p { margin: 0; font-size: 15px; line-height: 1.55; color: #2D2D2D; }
.card .more { margin-top: 16px; display: inline-flex; gap: 8px;
  color: #186575; font-weight: 700; font-size: 13px;
  letter-spacing: .06em; text-transform: uppercase; }
.card:hover .more { color: #0C3B48; }

/* ——— Breadcrumbs ——— */
.breadcrumbs {
  max-width: 1240px; margin: 0 auto; padding: 20px 32px 0;
  font-size: 12px; color: #5C5C5C; letter-spacing: .04em;
}
.breadcrumbs a { color: #186575; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span[aria-current] { color: #2D2D2D; font-weight: 700; }
.breadcrumbs .sep { margin: 0 8px; color: #B8B4AD; }

/* ——— Footer ——— */
.site-footer { background: #0C3B48; color: #F8F5F0; padding: 64px 32px 24px; }
.site-footer .wrap { max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 48px; }
.site-footer .brand img { height: 62px; margin-bottom: 18px; }
.site-footer .brand p { margin: 0; font-size: 14px; line-height: 1.55;
  color: #B8C7CB; max-width: 320px; }
.site-footer h5 { margin: 0 0 14px; font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: #916C34; }
.site-footer ul { list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: #F8F5F0; text-decoration: none; font-size: 14px; }
.site-footer a:hover { color: #916C34; }
.site-footer .contact a,
.site-footer .contact span { display: inline-flex; align-items: center; gap: 10px; }
.site-footer .contact svg { stroke: #916C34; }
.site-footer .cta-block { background: rgba(248,245,240,0.06);
  border: 1px solid rgba(248,245,240,0.15); padding: 20px; margin-top: 16px; }
.site-footer .cta-block h5 { color: #916C34; }
.site-footer .cta-block p { margin: 0 0 12px; font-size: 13px; color: #B8C7CB; }
.site-footer .meta { max-width: 1240px; margin: 48px auto 0;
  padding-top: 24px; border-top: 1px solid rgba(248,245,240,0.15);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: #B8C7CB; }
.site-footer .meta a { font-size: 12px; color: #B8C7CB; }
@media (max-width: 960px) {
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-footer .wrap { grid-template-columns: 1fr; }
  .site-footer .cta-block { padding: 18px; }
  .site-footer .cta-block .btn {
    display: flex; width: 100%;
    justify-content: center;
    padding: 14px 16px;
    white-space: normal;
    text-align: center;
  }
}

/* ——— Lead form (for guide capture) ——— */
.lead-form {
  display: grid; gap: 12px;
}
.lead-form label {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #0C3B48;
  margin-bottom: 4px;
}
.lead-form.on-dark label { color: #B8C7CB; }
.lead-form input {
  width: 100%; padding: 14px 16px; font-family: inherit; font-size: 15px;
  color: #2D2D2D; background: #F8F5F0;
  border: 1px solid #D6D0C8; border-radius: 0; outline: none;
  transition: border-color 200ms, box-shadow 200ms;
}
.lead-form.on-dark input {
  background: transparent; color: #F8F5F0;
  border-color: rgba(248,245,240,0.35);
}
.lead-form input::placeholder { color: #8C8C8C; }
.lead-form.on-dark input::placeholder { color: #7A8D92; }
.lead-form input:focus {
  border-color: #916C34; box-shadow: 0 0 0 3px rgba(145,108,52,.35);
}
.lead-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .lead-form .row2 { grid-template-columns: 1fr; } }
.lead-form .submit { margin-top: 6px; }
.lead-form .fineprint { font-size: 11px; color: #5C5C5C; margin-top: 4px; }
.lead-form.on-dark .fineprint { color: #7A8D92; }
.lead-form .success {
  background: #E3EDEE; border-left: 3px solid #916C34;
  padding: 18px 20px; font-size: 14px; color: #0C3B48;
}
.lead-form.on-dark .success {
  background: rgba(248,245,240,0.08); color: #F8F5F0;
}

/* ——— Dual CTA block ——— */
.dual-cta {
  background: #0C3B48; color: #F8F5F0; padding: 72px 32px;
}
.dual-cta .inner { max-width: 1040px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.dual-cta h2 { font-size: 40px; font-weight: 900; color: #F8F5F0;
  line-height: 1.1; margin: 0 0 16px; letter-spacing: .005em; }
.dual-cta p { color: #B8C7CB; font-size: 17px; line-height: 1.55; margin: 0; max-width: 440px; }
.dual-cta .calls { display: flex; flex-direction: column; gap: 16px; }
.dual-cta .calls a.phone {
  color: #F8F5F0; text-decoration: none;
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 32px; font-weight: 900; letter-spacing: .005em;
}
.dual-cta .calls a.phone:hover { color: #916C34; }
.dual-cta .calls a.phone svg { width: 28px; height: 28px; stroke: #916C34; }
.dual-cta .calls .note { font-size: 13px; color: #B8C7CB;
  letter-spacing: .04em; text-transform: uppercase; font-weight: 700; }
@media (max-width: 820px) {
  .dual-cta .inner { grid-template-columns: 1fr; gap: 28px; }
  .dual-cta h2 { font-size: 30px; }
}

/* ——— Lists & pills ——— */
.service-list { list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px; }
.service-list li { display: flex; align-items: flex-start; gap: 14px;
  font-size: 16px; color: #2D2D2D; line-height: 1.5; }
.service-list svg { width: 22px; height: 22px; stroke: #186575; flex-shrink: 0;
  margin-top: 2px; }

/* ——— Tag / pill ——— */
.pill { display: inline-flex; align-items: center; padding: 5px 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; background: #E3EDEE; color: #0C3B48; }
.pill.gold { background: #EFE7D8; color: #7E5D2D; }

/* ——— Hero variant (shared across pages) ——— */
.hero { position: relative; background: #0C3B48; color: #F8F5F0;
  overflow: hidden; }
.hero .vid {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 100% 100%; z-index: 0;
}
/* Only darken the LEFT edge where text sits, with a neutral (non-blue) tint.
   The rest of the video plays cleanly in its natural color. */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.35) 35%, rgba(0,0,0,.05) 65%, rgba(0,0,0,0) 100%);
}
.hero.compact::after {
  /* Narrower gradient on compact heroes since text is shorter */
  background: linear-gradient(90deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.3) 40%, rgba(0,0,0,0) 80%);
}
.hero .inner { position: relative; z-index: 2;
  max-width: 1240px; margin: 0 auto; padding: 104px 32px 112px; }
.hero .eyebrow { color: #916C34; }
.hero h1 { color: #F8F5F0; font-size: 64px; font-weight: 900;
  letter-spacing: .005em; line-height: 1.06; margin: 20px 0 0; max-width: 900px; }
.hero p.lede { color: #D5DCDD; font-size: 20px; line-height: 1.55;
  max-width: 620px; margin: 28px 0 36px; }
.hero .cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 720px) {
  .hero .inner { padding: 72px 20px 80px; }
  .hero h1 { font-size: 36px; }
}
.hero.compact .inner { padding: 72px 32px 72px; }
.hero.compact h1 { font-size: 48px; }

/* ——— FAQ ——— */
.faq details {
  border-bottom: 1px solid #D6D0C8; padding: 18px 0;
}
.faq details summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-size: 19px; font-weight: 700; color: #0C3B48; letter-spacing: .005em;
}
.faq details summary::-webkit-details-marker { display: none; }
.faq details summary .plus {
  width: 28px; height: 28px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #916C34; font-weight: 900; font-size: 22px;
  transition: transform 200ms;
}
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq details p { margin: 14px 0 4px; color: #2D2D2D;
  font-size: 16px; line-height: 1.6; max-width: 760px; }

/* ——— Stat / trust tile ——— */
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat .num { font-size: 48px; font-weight: 900; color: #0C3B48;
  letter-spacing: .005em; line-height: 1; }
.section.dark .stat .num { color: #916C34; }
.stat .lbl { font-size: 13px; color: #5C5C5C;
  letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.section.dark .stat .lbl { color: #B8C7CB; }

/* ——— Grid utilities ——— */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

/* ——— Gap 2-up card pair (attorney vs us) ——— */
.gap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.gap-grid .col { padding: 36px; }
.gap-grid .col.attorney { background: #F8F5F0; border: 1px solid #E8E4DF; }
.gap-grid .col.us { background: #0C3B48; color: #F8F5F0;
  border-top: 3px solid #916C34; }
.gap-grid h3 { margin: 10px 0 14px; }
.gap-grid .col.us h3 { color: #F8F5F0; }
.gap-grid .col.us p { color: #B8C7CB; }
.gap-grid .col.us .service-list li { color: #F8F5F0; }
.gap-grid .col.us .service-list svg { stroke: #D4A857; }
@media (max-width: 720px) { .gap-grid { grid-template-columns: 1fr; } }

/* ——— Prose (for blog/guide article pages) ——— */
.prose { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.7;
  color: #2D2D2D; }
.prose h2 { font-size: 32px; font-weight: 900; color: #0C3B48;
  margin: 56px 0 16px; letter-spacing: .005em; }
.prose h3 { font-size: 22px; font-weight: 700; color: #0C3B48; margin: 32px 0 10px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose blockquote { margin: 32px 0; padding: 12px 0 12px 24px;
  border-left: 3px solid #916C34; font-size: 22px;
  font-weight: 700; color: #0C3B48; line-height: 1.4; }
