
:root {
  --navy: #0b3c5d;
  --navy-dark: #062337;
  --med-blue: #1b98e0;
  --soft-blue: #e6f2fb;
  --gold: #f4b41a;
  --text-main: #22232a;
  --text-muted: #6b7280;
  --bg: #f5f7fb;
  --white: #ffffff;
  --radius-lg: 18px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text-main);
}

a { color: var(--med-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(to right, var(--navy-dark), var(--navy));
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: #fff;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, var(--med-blue), var(--navy-dark));
  box-shadow: 0 0 0 2px rgba(255,255,255,0.15);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.firm-name {
  font-weight: 650;
  letter-spacing: .02em;
  font-size: .95rem;
}

.firm-tagline {
  font-size: .75rem;
  color: rgba(255,255,255,0.75);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: .85rem;
  font-size: .85rem;
}

.main-nav a {
  color: #e5edf7;
  padding: .25rem .4rem;
  border-radius: 999px;
}

.main-nav a:hover {
  background: rgba(255,255,255,0.12);
  text-decoration: none;
}

.main-nav .nav-cta {
  background: var(--gold);
  color: #1b1b1b;
  padding: .4rem .9rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}
.main-nav .nav-cta:hover {
  background: #ffe08a;
}

/* Hero / Page Headings */
.page-hero {
  background: radial-gradient(circle at top left, rgba(27,152,224,0.2), transparent 60%), #f6f8fc;
  border-bottom: 1px solid #dde3f0;
  padding: 2.3rem 0 1.7rem;
}

.page-hero h1 {
  margin: .3rem 0 .6rem;
  font-size: 1.75rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  color: var(--med-blue);
  font-weight: 600;
}

.hero-sub {
  max-width: 620px;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1rem;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-light,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: .55rem 1.1rem;
  font-size: .9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--med-blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(27,152,224,0.35);
}

.btn-primary:hover {
  background: #1478b3;
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--med-blue);
  color: var(--med-blue);
}

.btn-secondary.small {
  padding: .4rem .9rem;
  font-size: .8rem;
}

.btn-light {
  background: #fff;
  color: var(--navy-dark);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.7);
  color: #fff;
}

/* Layout */
.page-content {
  padding: 1.8rem 0 2.5rem;
}

.section {
  margin-bottom: 2rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid.two-col {
  grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
}

.grid.three-col {
  grid-template-columns: repeat(auto-fit,minmax(230px,1fr));
}

@media (max-width: 800px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
  }
  .main-nav {
    flex-wrap: wrap;
    row-gap: .25rem;
  }
  .grid.two-col {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.2rem;
  box-shadow: 0 16px 45px rgba(15,23,42,0.08);
}

.card.accent {
  background: linear-gradient(145deg, #f8fbff, #f0f6ff);
  border: 1px solid #d4e3f8;
}

.card.subtle {
  box-shadow: 0 10px 30px rgba(15,23,42,0.06);
}

/* Lists */
.check-list,
.bullet-list,
.step-list {
  padding-left: 1.2rem;
}

.check-list li,
.bullet-list li,
.step-list li {
  margin-bottom: .4rem;
}

.check-list li::marker {
  content: "✓ ";
  color: var(--med-blue);
}

.step-list {
  list-style: decimal;
}

/* Case grid */
.case-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
}

.disclaimer {
  font-size: .8rem;
  color: var(--text-muted);
}

/* CTA band */
.cta-band {
  background: linear-gradient(90deg, var(--navy-dark), var(--navy));
  color: #fff;
  padding: 1.8rem 0;
  margin-top: 2rem;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .5rem;
}

.cta-phone a {
  color: #fff;
  font-weight: 600;
}

@media (max-width: 800px) {
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-actions {
    align-items: flex-start;
  }
}

/* Forms */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.contact-form label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.contact-form input,
.contact-form textarea {
  border-radius: 999px;
  border: 1px solid #d7deea;
  padding: .55rem .8rem;
  font-size: .9rem;
  font-family: inherit;
}

.contact-form textarea {
  border-radius: 16px;
  min-height: 120px;
  resize: vertical;
}

.btn-primary.full {
  width: 100%;
}

/* Footer */
.site-footer {
  background: #020617;
  color: #cbd5f5;
  padding: 2rem 0 1.7rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0,1.2fr) repeat(2,minmax(0,1fr));
}

.footer-title {
  font-weight: 650;
  font-size: .9rem;
  margin-bottom: .4rem;
  color: #e5edff;
}

.footer-links {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: .3rem;
}

.footer-links a {
  color: #cbd5f5;
  font-size: .85rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-meta {
  font-size: .8rem;
  color: #9ca3c7;
}

.footer-bottom {
  border-top: 1px solid rgba(148,163,210,0.25);
  margin-top: 1.5rem;
  padding-top: .9rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .75rem;
  color: #9ca3c7;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
  }
}

/* Blog */
.article-list {
  list-style: none;
  padding-left: 0;
}

.article-list li {
  margin-bottom: 1rem;
}

.article-list h3 {
  margin-bottom: .15rem;
}

/* Util */
.text-link {
  font-weight: 600;
  font-size: .85rem;
}
