/* ============================================================
   Tulsa Evictions LLC — oklahomaevictions.com
   Design system: modern professional (navy + amber, Merriweather/Inter)
   Self-hosted fonts, no external requests.
   ============================================================ */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/merriweather-latin.woff2') format('woff2');
}

:root {
  --navy-950: #071E38;
  --navy-900: #0B2B52;
  --brand: #104179;
  --brand-600: #17569E;
  --brand-100: #E8F0F9;
  --mist: #F5F8FB;
  --ink: #17232F;
  --slate: #46586A;
  --line: #D9E2EC;
  --amber: #E9A83A;
  --amber-100: #FBF0DC;
  --white: #FFFFFF;

  --font-head: 'Merriweather', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(11, 43, 82, 0.08), 0 1px 2px rgba(11, 43, 82, 0.05);
  --shadow-md: 0 6px 20px rgba(11, 43, 82, 0.10);
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.25; color: var(--navy-900); }
h4, h5 { font-family: var(--font-body); font-weight: 700; line-height: 1.3; color: var(--navy-900); }
h1 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.55rem, 1.1rem + 1.6vw, 2.15rem); letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1rem; }
ul, ol { padding-left: 1.4rem; margin: 0 0 1rem; }
li { margin-bottom: 0.45rem; }

a { color: var(--brand); text-decoration: underline; text-decoration-color: rgba(16, 65, 121, 0.35); text-underline-offset: 3px; transition: color .15s ease; }
a:hover { color: var(--brand-600); text-decoration-color: currentColor; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 3px; }

.wrap { width: min(92%, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(92%, 820px); margin-inline: auto; }

section { padding: clamp(3rem, 2rem + 3vw, 5rem) 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.6rem;
}
.section-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section-head p { color: var(--slate); margin-top: 0.75rem; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy-900); color: #fff; padding: 0.6rem 1rem; z-index: 200;
  text-decoration: none; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 0.8rem 1.5rem; border-radius: var(--radius);
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
}
.btn svg { flex: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-call { background: var(--amber); color: var(--navy-950); }
.btn-call:hover { background: #F0B658; color: var(--navy-950); }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand-100); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: #fff; }
.btn-lg { font-size: 1.1rem; padding: 0.95rem 1.8rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand-mark { flex: none; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.28rem; color: var(--navy-900); line-height: 1.1; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.67rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); }

.main-nav ul { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.main-nav li { margin: 0; }
.main-nav a {
  font-weight: 600; font-size: 0.98rem; color: var(--ink); text-decoration: none;
  padding: 0.35rem 0; border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--brand); }
.main-nav a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--amber); }
.nav-cta { margin-left: 0.5rem; }
.main-nav .btn { padding: 0.6rem 1.1rem; font-size: 0.95rem; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  width: 44px; height: 44px; cursor: pointer; color: var(--navy-900);
  align-items: center; justify-content: center;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.75rem 4%; }
  .main-nav a { display: block; padding: 0.85rem 0.25rem; border-bottom: 1px solid var(--mist); }
  .main-nav a[aria-current="page"] { border-bottom-color: var(--mist); }
  .nav-cta { margin: 0.75rem 0 0.5rem; }
  .main-nav .btn { width: 100%; }
}

/* ---------- Hero (homepage) ---------- */
.hero {
  background:
    linear-gradient(120deg, rgba(7,30,56,0.94) 0%, rgba(16,65,121,0.88) 60%, rgba(23,86,158,0.82) 100%),
    url('../img/banner1.jpg') center 25% / cover no-repeat;
  color: #fff;
  padding: clamp(3.5rem, 3rem + 3vw, 6rem) 0;
}
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.85fr; gap: 3rem; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero .lede { font-size: 1.15rem; color: #D8E4F2; max-width: 34rem; margin-bottom: 1.6rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.8rem; }
.hero-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.hero-points li { display: flex; gap: 0.6rem; align-items: flex-start; color: #CBDCEF; font-size: 0.98rem; margin: 0; }
.hero-points svg { flex: none; margin-top: 0.28rem; color: var(--amber); }

.hero-card {
  background: #fff; color: var(--ink);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: 1.8rem;
}
.hero-card h2 { font-size: 1.25rem; margin-bottom: 0.35rem; }
.hero-card > p { color: var(--slate); font-size: 0.95rem; margin-bottom: 1.1rem; }
.hero-card .contact-line { display: flex; align-items: center; gap: 0.7rem; padding: 0.55rem 0; font-weight: 600; text-decoration: none; color: var(--navy-900); font-size: 1.02rem; }
.hero-card .contact-line:hover { color: var(--brand); }
.hero-card .contact-line svg { color: var(--brand); flex: none; }
.hero-card .contact-line small { display: block; font-weight: 500; font-size: 0.8rem; color: var(--slate); }
.hero-card hr { border: 0; border-top: 1px solid var(--line); margin: 0.9rem 0; }
.hero-card .btn { width: 100%; margin-top: 0.9rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.2rem; }
}

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--navy-950); color: #B9CCE2; padding: 0.9rem 0; }
.trust-bar .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 2.4rem; font-size: 0.9rem; font-weight: 600; }
.trust-bar span { display: inline-flex; align-items: center; gap: 0.5rem; }
.trust-bar svg { color: var(--amber); flex: none; }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.6rem; box-shadow: var(--shadow-sm);
}
.card h3 { font-family: var(--font-body); font-size: 1.12rem; margin-bottom: 0.5rem; }
.card p { color: var(--slate); font-size: 0.97rem; margin-bottom: 0; }
.card .icon-badge { margin-bottom: 1rem; }

.icon-badge {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--brand-100); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
}

/* steps */
.step-num {
  font-family: var(--font-head); font-weight: 700; font-size: 1.35rem;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy-900); color: var(--amber);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}

/* link cards (resources hub) */
a.card-link { display: block; text-decoration: none; height: 100%; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
a.card-link:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-md); }
a.card-link .more { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; font-size: 0.92rem; color: var(--brand); margin-top: 0.9rem; }

/* ---------- Alt sections ---------- */
.section-mist { background: var(--mist); }
.section-navy { background: linear-gradient(135deg, var(--navy-950), var(--navy-900)); color: #D8E4F2; }
.section-navy h2, .section-navy h3 { color: #fff; }

/* checklist */
.checklist { list-style: none; padding: 0; max-width: 780px; margin: 0 auto; display: grid; gap: 0.8rem; }
.checklist li { display: flex; gap: 0.8rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0.9rem 1.1rem; margin: 0; }
.checklist svg { flex: none; margin-top: 0.22rem; color: var(--brand); }

/* pricing */
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card .price { font-family: var(--font-head); font-size: 2.1rem; font-weight: 700; color: var(--navy-900); margin: 0.4rem 0 0.1rem; }
.price-card .price small { font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; color: var(--slate); }
.price-card ul { list-style: none; padding: 0; margin: 1rem 0 1.4rem; }
.price-card ul li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.96rem; color: var(--ink); }
.price-card ul svg { flex: none; margin-top: 0.24rem; color: var(--brand); }
.price-card .btn { margin-top: auto; }
.price-tag {
  position: absolute; top: -12px; left: 1.5rem;
  background: var(--amber); color: var(--navy-950);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.2rem 0.7rem; border-radius: 999px;
}

/* testimonials */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.quote-card blockquote { margin: 0 0 1rem; font-size: 0.98rem; color: var(--ink); }
.quote-card figcaption { font-weight: 700; font-size: 0.92rem; color: var(--navy-900); }
.quote-card figcaption span { font-weight: 500; color: var(--slate); }
.quote-card .stars { color: var(--amber); letter-spacing: 0.1em; margin-bottom: 0.6rem; font-size: 0.9rem; }

/* area chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; padding: 0; list-style: none; }
.chip-row li { margin: 0; }
.chip { display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 1rem; font-size: 0.92rem; font-weight: 600; color: var(--navy-900); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 0.6rem; }
.cta-band p { max-width: 620px; margin: 0 auto 1.6rem; color: #C3D5EA; }
.cta-band .hero-ctas { justify-content: center; margin-bottom: 0; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { background: var(--mist); border-bottom: 1px solid var(--line); padding: clamp(2.2rem, 2rem + 1.5vw, 3.5rem) 0; }
.page-hero h1 { margin: 0.35rem 0 0.7rem; }
.page-hero .lede { font-size: 1.12rem; color: var(--slate); max-width: 46rem; margin-bottom: 0; }
.breadcrumbs { font-size: 0.88rem; color: var(--slate); list-style: none; padding: 0; margin: 0 0 0.4rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 0.4rem; color: var(--line); }
.breadcrumbs a { color: var(--slate); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); text-decoration: underline; }
.byline { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; font-size: 0.88rem; color: var(--slate); margin-top: 1rem; }
.byline span { display: inline-flex; align-items: center; gap: 0.4rem; }
.byline svg { color: var(--brand); flex: none; }

/* ---------- Article layout ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: start; }
@media (max-width: 980px) { .article-layout { grid-template-columns: 1fr; } }

.article h2 { margin: 2.4rem 0 0.9rem; padding-top: 0.4rem; }
.article h3 { margin: 1.8rem 0 0.7rem; }
.article > p, .article li { color: #2A3B4C; }
.article table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.article th, .article td { text-align: left; padding: 0.75rem 0.9rem; border: 1px solid var(--line); vertical-align: top; }
.article th { background: var(--mist); font-family: var(--font-body); font-weight: 700; color: var(--navy-900); }
.article tr:nth-child(even) td { background: #FAFCFE; }
.table-scroll { overflow-x: auto; margin: 1.2rem 0; border-radius: var(--radius); }

.callout { border-radius: var(--radius); padding: 1.1rem 1.3rem; margin: 1.4rem 0; font-size: 0.98rem; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout-info { background: var(--brand-100); border-left: 4px solid var(--brand); }
.callout-warn { background: var(--amber-100); border-left: 4px solid var(--amber); }
.callout h3, .callout h4 { margin: 0 0 0.5rem; font-family: var(--font-body); font-size: 1.02rem; }

.statute { font-size: 0.85rem; color: var(--slate); }

/* sidebar */
.sidebar { position: sticky; top: 96px; display: grid; gap: 1.4rem; }
.sidebar-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.sidebar-card.cta { background: linear-gradient(135deg, var(--navy-950), var(--navy-900)); color: #D8E4F2; border: 0; }
.sidebar-card.cta h3 { color: #fff; font-family: var(--font-body); font-size: 1.1rem; }
.sidebar-card.cta .btn { width: 100%; margin-top: 0.9rem; }
.sidebar-card.cta p { font-size: 0.93rem; }
.sidebar-card h3 { font-family: var(--font-body); font-size: 1.05rem; margin-bottom: 0.8rem; }
.sidebar-card ul { list-style: none; padding: 0; margin: 0; }
.sidebar-card ul li { margin: 0; }
.sidebar-card ul a { display: block; padding: 0.5rem 0; text-decoration: none; font-weight: 600; font-size: 0.94rem; border-bottom: 1px solid var(--mist); }
.sidebar-card ul li:last-child a { border-bottom: 0; }

/* FAQ accordion */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 0.9rem; }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.05rem 1.3rem; font-weight: 600; font-family: var(--font-body); font-size: 1.02rem; color: var(--navy-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--brand); flex: none; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 1.3rem 1.1rem; color: #2A3B4C; font-size: 0.98rem; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* forms/download cards */
.download-card { display: flex; flex-direction: column; }
.download-card .btn { margin-top: auto; }
.download-card p { margin-bottom: 1.2rem; }
.file-meta { font-size: 0.82rem; color: var(--slate); margin: 0.5rem 0 0; text-align: center; }

/* contact page */
.contact-panel { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .contact-panel { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; margin: 0; }
.contact-list .icon-badge { width: 44px; height: 44px; flex: none; }
.contact-list strong { display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate); }
.contact-list a { font-weight: 600; font-size: 1.05rem; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #A9BDD6; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 2.5rem; padding: 3.5rem 0 2.5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 0.55rem; }
.site-footer a { color: #C9D9EC; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.8; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name small { color: #7E96B3; }
.footer-note { font-size: 0.85rem; color: #7E96B3; margin-top: 1rem; }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.12); padding: 1.4rem 0; font-size: 0.85rem; color: #7E96B3; }
.footer-legal p { margin-bottom: 0.4rem; }
.footer-legal p:last-child { margin-bottom: 0; }

/* ---------- Mobile call bar ---------- */
.mobile-call-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--navy-950); border-top: 1px solid rgba(255,255,255,0.15);
  padding: 0.6rem 4%; gap: 0.7rem;
}
.mobile-call-bar .btn { flex: 1; padding: 0.7rem 0.5rem; font-size: 0.98rem; }
@media (max-width: 700px) {
  .mobile-call-bar { display: flex; }
  body { padding-bottom: 68px; }
}

/* ---------- Lead form (contact page, toggled from /admin/) ---------- */
.lead-form { display: grid; gap: 1rem; }
.lead-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px) { .lead-form .row { grid-template-columns: 1fr; } }
.lead-form label { font-weight: 600; font-size: 0.95rem; display: block; }
.lead-form label small { font-weight: 400; color: var(--slate); }
.lead-form input, .lead-form textarea {
  width: 100%; padding: 0.7rem 0.9rem; margin-top: 0.35rem;
  border: 1px solid var(--line); border-radius: 8px;
  font: inherit; font-size: 1rem; background: #fff; color: var(--ink);
}
.lead-form textarea { resize: vertical; min-height: 130px; }
.lead-form .hp { position: absolute; left: -9999px; top: -9999px; height: 1px; width: 1px; overflow: hidden; }
.lead-form .btn { justify-self: start; }
.form-flash {
  display: none; border-radius: 10px; padding: 1rem 1.3rem; margin-bottom: 1.3rem;
  font-weight: 600; background: #E7F6EC; border: 1px solid #9BD4AD; color: #14532D;
}
.form-flash.err { background: #FBEAEA; border-color: #E3A6A6; color: #7F1D1D; }
#lead-sent:target, #lead-error:target { display: block; }
#lead-sent:target ~ .card { display: none; }

/* intake request-type dropdown (/start) */
.lead-form select {
  width: 100%; padding: 0.7rem 0.9rem; margin-top: 0.35rem;
  border: 1px solid var(--line); border-radius: 8px;
  font: inherit; font-size: 1rem; background: #fff; color: var(--ink);
}

/* utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.small { font-size: 0.9rem; color: var(--slate); }
