/* ============================================================
   Chisty Law PLLC — Shared Stylesheet
   Navy & gold brand palette · conversion-optimized
   ============================================================ */

:root {
  --ink: #1a2236;
  --teal: #1b2d55;
  --teal-700: #142244;
  --teal-deep: #0e1a36;
  --accent: #d4af37;
  --accent-600: #b8932a;
  --accent-soft: #f3e8c8;
  --cream: #f7f5f0;
  --cream-2: #efe9db;
  --paper: #ffffff;
  --muted: #5a6273;
  --line: #e6ddc8;
  --good: #2f7d63;
  --shadow-sm: 0 1px 2px rgba(7,39,48,.06), 0 2px 8px rgba(7,39,48,.05);
  --shadow-md: 0 6px 24px rgba(7,39,48,.10);
  --shadow-lg: 0 18px 48px rgba(7,39,48,.16);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1180px;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-700); }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; color: var(--ink); letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }
.lead { font-size: 1.18rem; color: var(--muted); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-family: var(--font-body); font-weight: 700;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-600); margin-bottom: 14px;
}
.muted { color: var(--muted); }
.maxch { max-width: 62ch; }
.center .maxch { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 16px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #11203b; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--accent-600); color: #11203b; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--teal); border-color: rgba(27,45,85,.30); }
.btn-ghost:hover { background: rgba(27,45,85,.06); color: var(--teal-700); }
.btn-light { background: #fff; color: var(--teal-700); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--teal-700); }
.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 18px 32px; font-size: 1.06rem; }

/* ---------- Header ---------- */
.topbar {
  background: var(--teal-deep); color: #cdd6ea; font-size: .9rem;
}
.topbar .container { display: flex; gap: 22px; align-items: center; justify-content: center; flex-wrap: wrap; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: #eef2fb; font-weight: 600; }
.topbar .sep { opacity: .4; }
.badge-es {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(212,175,55,.18); color: #ecd6a8; border: 1px solid rgba(212,175,55,.35);
  padding: 3px 11px; border-radius: 999px; font-weight: 700; font-size: .82rem;
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,245,240,.94); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 24px; max-width: var(--maxw); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 11px; flex: none;
  background: linear-gradient(150deg, #243a6e, var(--teal-deep));
  color: var(--accent); border: 1px solid rgba(212,175,55,.55);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.22rem; letter-spacing: .01em;
  box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(212,175,55,.12);
}
.brand-mark .logo-mark { width: 30px; height: 30px; display: block; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; color: var(--ink); line-height: 1.05; }
.site-header .brand-name { text-transform: uppercase; letter-spacing: .02em; }
.brand-name span { display: block; font-family: var(--font-body); font-weight: 600; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-weight: 600; color: var(--ink); font-size: .98rem; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-weight: 700; color: var(--teal-700); display: inline-flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(160deg, #243a6e 0%, #0e1a36 100%); color: #eef2fb; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -8%; top: -20%; width: 540px; height: 540px;
  background: radial-gradient(circle at center, rgba(212,175,55,.28), transparent 62%); pointer-events: none;
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 84px; padding-bottom: 92px; }
.hero h1 { color: #fff; }
.hero p.lead { color: #cdd6ea; }
.hero .eyebrow { color: var(--accent); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-trust { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.16); }
.hero-trust .stat strong { display: block; font-family: var(--font-head); font-size: 1.9rem; color: #fff; line-height: 1; }
.hero-trust .stat span { font-size: .9rem; color: #aab6d2; }

.hero-card {
  background: rgba(255,255,255,.97); color: var(--ink); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.6);
}
.hero-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.hero-card .form-note { font-size: .86rem; color: var(--muted); margin-top: 14px; text-align: center; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--teal-deep); color: #cdd6ea; }
.trust-strip .container { display: flex; gap: 18px 40px; flex-wrap: wrap; justify-content: center; align-items: center; padding: 22px 24px; text-align: center; }
.trust-strip .ti { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .98rem; }
.trust-strip .ti svg { color: var(--accent); flex: none; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #dccdb6; }
.card .ic {
  width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-600); margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 0; font-size: .98rem; }
.card a.more { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--teal); font-size: .95rem; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.portrait {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  background: linear-gradient(160deg, var(--cream-2), #e7d8c2); aspect-ratio: 4/5;
  display: grid; place-items: center; color: var(--teal-700); position: relative;
}
.portrait .ph { text-align: center; padding: 24px; }
.portrait .ph .big { font-family: var(--font-head); font-size: 4rem; opacity: .35; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

.checklist { list-style: none; margin: 18px 0 0; padding: 0; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 14px; color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--good); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.step { position: relative; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: #fff;
  width: 40px; height: 40px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; margin-bottom: 14px;
}

/* ---------- Bands ---------- */
.band-cream { background: var(--cream-2); }
.band-teal { background: linear-gradient(160deg, var(--teal) 0%, var(--teal-deep) 100%); color: #eef2fb; }
.band-teal h2, .band-teal h3 { color: #fff; }
.band-teal p { color: #cdd6ea; }

/* ---------- Testimonials ---------- */
.quote {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.quote .stars { color: var(--accent); letter-spacing: 3px; margin-bottom: 12px; }
.quote p { font-size: 1.05rem; color: var(--ink); font-style: italic; }
.quote .who { font-weight: 700; color: var(--teal-700); font-style: normal; margin-top: 8px; font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 4px 22px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--accent-600); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-final { text-align: center; }
.cta-final .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* ---------- Forms ---------- */
.form-row { display: grid; gap: 14px; }
.form-row.two { grid-template-columns: 1fr 1fr; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 1rem; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(27,45,85,.14);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-disclaimer { font-size: .82rem; color: var(--muted); margin-top: 12px; }

/* ---------- Contact info cards ---------- */
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.info-card .ic { width: 46px; height: 46px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-600); display: grid; place-items: center; flex: none; }
.info-card h4 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.info-card p { margin: 0; font-weight: 600; color: var(--ink); }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: linear-gradient(160deg, #243a6e 0%, #0e1a36 100%); color: #eef2fb; padding: 64px 0 56px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -6%; top: -30%; width: 420px; height: 420px; background: radial-gradient(circle, rgba(212,175,55,.22), transparent 64%); }
.page-hero h1 { color: #fff; position: relative; z-index: 2; }
.page-hero p { color: #cdd6ea; position: relative; z-index: 2; max-width: 60ch; }
.breadcrumb { font-size: .85rem; color: #9aa8c6; margin-bottom: 14px; position: relative; z-index: 2; }
.breadcrumb a { color: #cdd6ea; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-deep); color: #b9c2d8; padding: 64px 0 28px; font-size: .95rem; }
.site-footer a { color: #dde3f1; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name span { color: #9aa8c6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #9aa8c6; font-size: .85rem; }
.disclaimer-box { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 16px 18px; margin-top: 26px; font-size: .82rem; color: #a3afca; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.section-head { max-width: 56ch; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 64px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0; background: var(--cream);
    padding: 12px 24px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  }
  .site-header.open .nav-links a { padding: 10px 0; width: 100%; }
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row.two { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}
