:root {
  --ink: #0d1824;
  --navy: #10243a;
  --blue: #173c5f;
  --teal: #1f766d;
  --gold: #c7a25a;
  --paper: #f7f4ed;
  --white: #ffffff;
  --muted: #637083;
  --line: #d9dee7;
  --shadow: 0 24px 70px rgba(16, 36, 58, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(13, 24, 36, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0;
  background: rgba(199, 162, 90, 0.22);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.94rem;
  line-height: 1.2;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  font-weight: 600;
}

nav a:hover {
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
  display: flex;
  align-items: center;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 19, 31, 0.94) 0%, rgba(8, 19, 31, 0.76) 43%, rgba(8, 19, 31, 0.18) 100%),
    linear-gradient(180deg, rgba(8, 19, 31, 0.35), rgba(8, 19, 31, 0.12) 54%, rgba(8, 19, 31, 0.64));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 88px);
  padding: 150px 0 88px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 5vw, 5.2rem);
  line-height: 1.02;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.04rem, 1.4vw, 1.25rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.94rem;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--ink);
  background: var(--gold);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.button.outline {
  color: var(--blue);
  border-color: var(--line);
  background: var(--white);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 740px;
  margin: 54px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.trust-strip div {
  padding: 18px 18px 0 0;
}

.trust-strip dt {
  color: var(--white);
  font-weight: 800;
}

.trust-strip dd {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.section-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

section:not(.hero) {
  padding: clamp(64px, 9vw, 112px) 0;
}

.intro-section,
.credentials-section {
  background: var(--white);
}

.two-column,
.split-list,
.credentials,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(2rem, 3.4vw, 3.6rem);
  line-height: 1.08;
}

h3 {
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.25;
  margin-bottom: 10px;
}

.copy-block p,
.firms-section p,
.contact-section p {
  color: var(--muted);
  font-size: 1.02rem;
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 38px;
}

.service-grid,
.process-grid,
.credential-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.process-step,
.credential-grid div,
.article-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 26px;
  min-height: 228px;
  box-shadow: 0 12px 28px rgba(16, 36, 58, 0.07);
}

.service-card p,
.process-step p,
.credential-grid p,
.article-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.blog-preview-section {
  background: #f0f4f2;
}

.article-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.article-card {
  min-height: 260px;
}

.article-card h3 {
  font-size: 1.35rem;
}

.article-card a {
  display: inline-flex;
  margin-top: 22px;
  color: var(--teal);
  font-weight: 800;
}

.article-meta {
  margin-bottom: 12px !important;
  color: var(--gold) !important;
  font-size: 0.76rem !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-hero {
  padding: 150px 0 70px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 19, 31, 0.92), rgba(16, 36, 58, 0.82)),
    url("assets/hero-cali.jpg") center/cover;
}

.blog-hero .section-inner,
.article-hero .section-inner {
  width: min(980px, calc(100% - 36px));
}

.blog-hero h1,
.article-hero h1 {
  max-width: 980px;
  margin-bottom: 16px;
}

.blog-hero p,
.article-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.article-hero {
  padding: 150px 0 76px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #0a151f);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 56px;
  align-items: start;
  padding: 72px 0;
}

.article-body {
  color: #233244;
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(26px, 5vw, 58px);
  box-shadow: 0 12px 28px rgba(16, 36, 58, 0.07);
}

.article-body h2 {
  margin-top: 44px;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  line-height: 1.2;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p,
.article-body li {
  color: #3e4a59;
  font-size: 1.03rem;
}

.article-body ul {
  padding-left: 22px;
}

.article-sidebar {
  position: sticky;
  top: 100px;
  background: #fbfaf6;
  border: 1px solid var(--line);
  padding: 24px;
}

.article-sidebar h2 {
  font-family: Inter, Arial, sans-serif;
  font-size: 1.1rem;
}

.article-sidebar p {
  color: var(--muted);
  font-size: 0.95rem;
}

.article-sidebar .button {
  width: 100%;
  margin-top: 12px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--teal);
  font-weight: 800;
}

.blog-list {
  padding: 72px 0;
}

.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: var(--teal);
  background: #e5f1ee;
  border: 1px solid #c8dfda;
}

.icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.firms-section {
  background: var(--navy);
  color: var(--white);
}

.firms-section h2 {
  color: var(--white);
}

.firms-section p {
  color: rgba(255, 255, 255, 0.74);
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 16px 18px 16px 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.process-step span {
  display: block;
  margin-bottom: 24px;
  color: var(--gold);
  font-weight: 900;
}

.credential-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.credential-grid div {
  min-height: 148px;
  background: #fbfaf6;
}

.credential-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
}

.contact-section {
  background: linear-gradient(135deg, #f7f4ed 0%, #e9f0ee 100%);
}

.contact-panel {
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
  color: var(--white);
  background: var(--navy);
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  color: var(--white);
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.75);
}

.contact-actions {
  justify-content: flex-start;
}

.contact-note {
  flex-basis: 100%;
  margin: 10px 0 0;
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.72);
  background: #07111c;
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0;
}

.footer-note {
  max-width: 520px;
  text-align: right;
}

@media (max-width: 920px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 132px;
    padding-bottom: 58px;
  }

  .trust-strip,
  .service-grid,
  .process-grid,
  .credential-grid,
  .article-grid,
  .article-layout,
  .two-column,
  .split-list,
  .credentials,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    gap: 0;
  }

  .service-card,
  .process-step,
  .credential-grid div,
  .article-card {
    min-height: 0;
  }

  .article-sidebar {
    position: static;
  }

  .site-footer {
    display: block;
  }

  .footer-note {
    margin-top: 12px;
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero-image {
    object-position: 63% center;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(8, 19, 31, 0.96) 0%, rgba(8, 19, 31, 0.78) 72%, rgba(8, 19, 31, 0.45) 100%),
      linear-gradient(180deg, rgba(8, 19, 31, 0.44), rgba(8, 19, 31, 0.18) 54%, rgba(8, 19, 31, 0.75));
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
    padding-top: 118px;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .trust-strip {
    margin-top: 34px;
  }

  .trust-strip div {
    padding-right: 0;
  }

  section:not(.hero) {
    padding: 58px 0;
  }

  .service-card,
  .process-step,
  .credential-grid div,
  .contact-panel {
    padding: 22px;
  }
}
