/* ============================================================
   PaducahLegal.com — The Law Office of Adam Futrell, PLLC
   Shared stylesheet (no frameworks, no JavaScript required)
   ============================================================ */

:root {
  --navy-900: #0f1f33;
  --navy-800: #16304d;
  --navy-700: #1f4066;
  --river: #2f6f8f;
  --brass: #b8893b;
  --brass-light: #d9b571;
  --cream: #faf6ef;
  --sand: #f1e9dc;
  --ink: #1d2733;
  --muted: #5a6573;
  --line: #e4dccd;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 31, 51, .08);
  --shadow-lg: 0 22px 50px rgba(15, 31, 51, .14);
  --serif: "Fraunces", "Georgia", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy-700); text-decoration-color: var(--brass); text-underline-offset: 3px; }
a:hover { color: var(--river); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy-900); line-height: 1.2; margin: 0 0 .6em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
li { margin-bottom: .4em; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.center .narrow { margin-inline: auto; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--brass); color: var(--white); padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brass); margin-bottom: .9rem;
}
.lead { font-size: 1.2rem; color: var(--muted); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy-900); color: #cdd6e0; font-size: .88rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; flex-wrap: wrap; }
.topbar a { color: var(--brass-light); text-decoration: none; font-weight: 600; }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding: .9rem 0; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--navy-900); }
.brand-mark {
  width: 46px; height: 46px; border-radius: 12px; background: var(--navy-800);
  display: grid; place-items: center; color: var(--brass-light); font-family: var(--serif); font-size: 1.35rem; font-weight: 700;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.brand-text span { font-size: .78rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; padding: .5rem; }
.nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
  display: block; width: 26px; height: 2px; background: var(--navy-900); position: relative; content: "";
}
.nav-toggle-label span::before { position: absolute; top: -8px; }
.nav-toggle-label span::after { position: absolute; top: 8px; }

.main-nav ul { list-style: none; display: flex; gap: .3rem; margin: 0; padding: 0; align-items: center; }
.main-nav li { margin: 0; }
.main-nav a { text-decoration: none; color: var(--ink); font-weight: 500; padding: .55rem .85rem; border-radius: 8px; font-size: .97rem; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--sand); color: var(--navy-900); }
.main-nav a.btn { color: var(--white); margin-left: .4rem; }
.main-nav a.btn:hover { background: var(--navy-700); color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px;
  background: var(--navy-800); color: var(--white); font-weight: 600; text-decoration: none; border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); color: var(--white); background: var(--navy-700); }
.btn-brass { background: var(--brass); color: var(--white); }
.btn-brass:hover { background: #a3772f; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-outline { background: transparent; border-color: var(--navy-800); color: var(--navy-800); }
.btn-outline:hover { background: var(--navy-800); color: var(--white); }
.btn-row { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: radial-gradient(1200px 500px at 85% -10%, rgba(47,111,143,.55), transparent 60%),
              linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  padding: 6rem 0 7rem;
}
.hero h1 { color: var(--white); max-width: 15ch; }
.hero .lead { color: #d6dee8; max-width: 56ch; }
.hero .eyebrow { color: var(--brass-light); }
.hero-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 3rem; align-items: center; position: relative; z-index: 2; }
.hero-waves { position: absolute; left: 0; right: 0; bottom: -2px; z-index: 1; opacity: .9; }
.hero-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius);
  padding: 2rem; backdrop-filter: blur(4px);
}
.hero-card h2 { color: var(--white); font-size: 1.45rem; }
.hero-card ul { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.hero-card li { padding-left: 1.9rem; position: relative; color: #e4eaf1; margin-bottom: .7rem; }
.hero-card li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--brass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/70% no-repeat;
}
.page-hero { padding: 4.5rem 0 5.5rem; }
.page-hero h1 { max-width: 20ch; }

.breadcrumb { font-size: .88rem; margin-bottom: 1.2rem; color: #b9c5d3; }
.breadcrumb a { color: var(--brass-light); text-decoration: none; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; gap: .5rem; flex-wrap: wrap; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: .5rem; color: #8797aa; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--cream); border-bottom: 1px solid var(--line); }
.trust-bar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.8rem 0; }
.trust-item { text-align: center; }
.trust-item strong { display: block; font-family: var(--serif); font-size: 1.7rem; color: var(--navy-800); line-height: 1.1; }
.trust-item span { font-size: .9rem; color: var(--muted); }

/* ---------- Sections ---------- */
section { padding: 5.5rem 0; }
.section-sand { background: var(--sand); }
.section-white { background: var(--white); }
.section-navy { background: var(--navy-900); color: #d6dee8; }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--sand); display: grid; place-items: center; margin-bottom: 1.1rem;
}
.card .icon svg { width: 28px; height: 28px; stroke: var(--navy-700); }
.card p:last-child { margin-bottom: 0; }

.feature-card { padding: 2.6rem; position: relative; overflow: hidden; }
.feature-card::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184,137,59,.18), transparent 70%);
}
.feature-card h3 { font-size: 1.7rem; }
.feature-card ul { columns: 2; column-gap: 1.5rem; margin: 1rem 0 1.6rem; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--navy-800); }
.link-arrow::after { content: " →"; color: var(--brass); }

.check-list { list-style: none; padding: 0; }
.check-list li { padding-left: 2rem; position: relative; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--navy-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/70% no-repeat;
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step { position: relative; padding: 2rem 1.6rem 1.6rem; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--serif); font-size: 2.4rem; color: var(--brass); font-weight: 600; display: block; line-height: 1; margin-bottom: .8rem;
}
.step h3 { font-size: 1.15rem; }
.step p { font-size: .96rem; color: var(--muted); margin: 0; }

/* ---------- Testimonials ---------- */
.quote {
  background: var(--white); border-radius: var(--radius); padding: 2.2rem; border: 1px solid var(--line); position: relative; margin: 0;
}
.quote::before { content: "“"; font-family: var(--serif); font-size: 5rem; color: var(--brass-light); position: absolute; top: -.6rem; left: 1.3rem; line-height: 1; }
.quote blockquote { margin: 1.2rem 0 1.2rem; font-family: var(--serif); font-size: 1.18rem; color: var(--navy-900); line-height: 1.5; }
.quote figcaption { font-size: .92rem; color: var(--muted); }
.quote figcaption strong { color: var(--navy-800); }
.section-navy .quote { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.section-navy .quote blockquote { color: var(--white); }
.section-navy .quote figcaption { color: #aebbc9; }
.section-navy .quote figcaption strong { color: var(--brass-light); }

/* ---------- FAQ ---------- */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: .9rem; overflow: hidden; }
.faq summary {
  cursor: pointer; padding: 1.2rem 3.2rem 1.2rem 1.5rem; font-weight: 600; color: var(--navy-900); list-style: none; position: relative; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.4rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--brass); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 1.5rem 1.3rem; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* ---------- Callouts & CTA ---------- */
.callout {
  border-left: 4px solid var(--brass); background: var(--white); padding: 1.5rem 1.8rem; border-radius: 0 12px 12px 0; box-shadow: var(--shadow);
}
.callout p:last-child { margin: 0; }

.cta {
  background: linear-gradient(135deg, var(--navy-800), var(--river)); color: var(--white);
  border-radius: 22px; padding: 3.5rem; display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta h2 { color: var(--white); margin-bottom: .4rem; }
.cta p { color: #dbe5ee; margin: 0; }
.cta .btn-row { justify-content: flex-end; }
.cta-section { padding: 4rem 0 5.5rem; }

/* ---------- Bio / about ---------- */
.portrait {
  aspect-ratio: 4 / 5; border-radius: 22px; background: linear-gradient(160deg, var(--navy-800), var(--river));
  display: grid; place-items: center; color: var(--brass-light); font-family: var(--serif); font-size: 6rem; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.portrait small { position: absolute; bottom: 1.2rem; font-family: var(--sans); font-size: .8rem; color: #c3d0dc; letter-spacing: .08em; text-transform: uppercase; }
.badges { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0 1.6rem; }
.badge { background: var(--sand); border: 1px solid var(--line); color: var(--navy-800); padding: .4rem .9rem; border-radius: 999px; font-size: .88rem; font-weight: 600; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.5rem; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .icon { flex: 0 0 46px; height: 46px; border-radius: 12px; background: var(--sand); display: grid; place-items: center; }
.contact-list .icon svg { width: 22px; height: 22px; stroke: var(--navy-700); }
.contact-list strong { display: block; color: var(--navy-900); }
.map-frame { width: 100%; height: 420px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #aebbc9; padding: 4rem 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer h3 { color: var(--white); font-size: 1.05rem; font-family: var(--sans); font-weight: 600; letter-spacing: .04em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer a { color: #d6dee8; text-decoration: none; }
.site-footer a:hover { color: var(--brass-light); }
.site-footer .brand { color: var(--white); margin-bottom: 1rem; }
.site-footer .brand-text span { color: #8fa0b3; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.5rem; font-size: .82rem; color: #8392a5; }
.footer-bottom p { margin-bottom: .6rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .contact-grid, .cta { grid-template-columns: 1fr; }
  .cta .btn-row { justify-content: flex-start; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar .container { grid-template-columns: 1fr 1fr; }
  .split { gap: 2.5rem; }
}
@media (max-width: 860px) {
  .nav-toggle-label { display: block; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); display: none; box-shadow: var(--shadow); }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.4rem; }
  .main-nav a { display: block; padding: .8rem 1rem; }
  .main-nav a.btn { margin: .6rem 0 0; justify-content: center; }
  .nav-toggle:checked ~ .main-nav { display: block; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 4rem 0; }
  .grid-2, .grid-3, .steps, .footer-grid { grid-template-columns: 1fr; }
  .feature-card ul { columns: 1; }
  .hero { padding: 4rem 0 5.5rem; }
  .cta { padding: 2.2rem; }
  .topbar .hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
