/* ===================================================================
   Bateman Law Firm, PLLC — Site Styles
   Palette: Orange & Black · Bold & Local
   =================================================================== */

:root {
  --orange:        #EA580C;   /* primary */
  --orange-dark:   #C2410C;
  --orange-light:  #FB923C;
  --black:         #0B0B0C;
  --ink:           #18181B;   /* body text */
  --ink-soft:      #3F3F46;
  --gray:          #71717A;
  --line:          #E4E4E7;
  --bg:            #FFFFFF;
  --bg-soft:       #FAFAF9;
  --bg-dark:       #0B0B0C;
  --bg-dark-2:     #17171A;
  --white:         #FFFFFF;

  --wrap:  1160px;
  --radius: 10px;
  --shadow: 0 10px 30px -12px rgba(0,0,0,.18);
  --shadow-lg: 0 24px 60px -20px rgba(0,0,0,.35);

  --font-head: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { 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(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--orange-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--black);
  line-height: 1.05;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: 1.5rem; }
p  { margin: 0 0 1.1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #E8E8EA; }
.section--dark h2, .section--dark h3 { color: #fff; }
.center { text-align: center; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 600;
  color: var(--orange);
  font-size: 1rem;
  margin: 0 0 .6em;
}
.section--dark .eyebrow { color: var(--orange-light); }

/* Accent underline under headings */
.rule { width: 68px; height: 5px; background: var(--orange); border-radius: 3px; margin: 0 0 26px; }
.center .rule { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-head);
  text-transform: uppercase; letter-spacing: 1px; font-weight: 600;
  font-size: 1.1rem;
  padding: 15px 30px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px -8px rgba(234,88,12,.8); }
.btn--primary:hover { background: var(--orange-dark); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--dark { background: var(--black); color: #fff; }
.btn--dark:hover { background: #2a2a2e; }
.btn--lg { font-size: 1.25rem; padding: 18px 38px; }
.btn svg { width: 20px; height: 20px; }

/* ---------- Header ---------- */
.topbar {
  background: var(--black); color: #D4D4D8;
  font-size: .9rem; letter-spacing: .3px;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; flex-wrap: wrap; }
.topbar a { color: #F4F4F5; font-weight: 600; }
.topbar .topbar__area { color: #A1A1AA; }
.topbar strong { color: var(--orange-light); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { height: 46px; width: auto; color: var(--black); flex: none; }
.brand:hover { text-decoration: none; }
.brand__text { font-family: var(--font-head); text-transform: uppercase; line-height: .82; white-space: nowrap; }
.brand__text .l1 { display: block; font-size: 1.65rem; font-weight: 700; color: var(--black); letter-spacing: 1px; }
.brand__text .l2 { display: block; font-size: .78rem; font-weight: 600; letter-spacing: 4px; color: var(--orange); margin-top: 3px; }
.footer-brand .brand__mark { color: #fff; height: 52px; }
.footer-brand .brand__text .l1 { color: #fff; }
.footer-brand .brand__text .l2 { color: var(--orange-light); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-head);
  text-transform: uppercase; letter-spacing: .8px; font-weight: 600;
  color: var(--ink); font-size: 1.05rem;
  padding: 10px 13px; border-radius: 8px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--orange-dark); background: #FFF4ED; text-decoration: none; }
.nav .btn { margin-left: 8px; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 8px; color: var(--black);
}
.nav-toggle svg { width: 30px; height: 30px; }

/* Has submenu (practice areas) */
.has-menu { position: relative; }
.submenu {
  position: absolute; top: calc(100% + 6px); left: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); min-width: 240px; padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .15s ease; z-index: 60;
}
.has-menu:hover .submenu, .has-menu:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: 10px 12px; font-size: .98rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(234,88,12,.22), transparent 60%),
    linear-gradient(180deg, #0B0B0C 0%, #141416 100%);
  color: #fff;
  padding: 100px 0 96px;
  overflow: hidden;
}
.hero::after {
  content:""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 2px, transparent 2px 26px);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; max-width: 900px; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 .accent { color: var(--orange-light); }
.hero p { color: #D4D4D8; font-size: 1.3rem; max-width: 640px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__trust {
  margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  color: #A1A1AA; font-size: .98rem; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center;
}
.hero__trust b { color: #fff; }

/* Page hero (interior) */
.page-hero {
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(234,88,12,.20), transparent 60%),
    linear-gradient(180deg, #0B0B0C, #17171A);
  color: #fff; padding: 70px 0 60px;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: #C7C7CC; font-size: 1.2rem; max-width: 680px; margin-bottom: 0; }
.breadcrumb { font-size: .9rem; color: #A1A1AA; margin-bottom: 18px; letter-spacing: .3px; }
.breadcrumb a { color: var(--orange-light); }

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

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #F5C9A8; }
.card__icon {
  width: 54px; height: 54px; border-radius: 12px;
  background: #FFF4ED; color: var(--orange-dark);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .3em; }
.card p { color: var(--ink-soft); font-size: 1rem; margin-bottom: 1em; }
.card .card__link {
  margin-top: auto; font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: .8px; font-weight: 600; color: var(--orange-dark); font-size: 1rem;
}
.card .card__link:hover { text-decoration: none; color: var(--orange); }
.card .card__link::after { content: " →"; }

/* Feature strip (why us) */
.feature { text-align: center; padding: 8px; }
.feature__num { font-family: var(--font-head); font-size: 3rem; color: var(--orange); line-height: 1; }
.feature h3 { font-size: 1.25rem; margin-top: 8px; }
.feature p { color: var(--gray); font-size: 1rem; }
.section--dark .feature p { color: #A1A1AA; }

/* ---------- Split (about / attorney) ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.split__media {
  background: linear-gradient(135deg, #17171A, #2a2a2e);
  border-radius: var(--radius); min-height: 380px;
  display: grid; place-items: center; color: #52525B; position: relative; overflow: hidden;
}
.split__media .placeholder { text-align: center; padding: 30px; }
.split__media .placeholder svg { width: 70px; height: 70px; opacity: .5; margin: 0 auto 10px; }
.split__badge {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  background: var(--orange); color: #fff; border-radius: 8px; padding: 14px 18px;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .5px; font-size: 1.05rem;
}

/* ---------- Full logo (recreated from firm logo) ---------- */
.logo-full { display: block; width: min(340px, 78%); height: auto; color: var(--black); }
.logo-full .lg-lines { stroke: currentColor; }
.logo-full .lg-box { fill: currentColor; }
.logo-full .lg-name { fill: #fff; font-family: var(--font-head); font-weight: 700; letter-spacing: 10px; }
.logo-full .lg-sub { fill: currentColor; font-family: var(--font-head); font-weight: 600; letter-spacing: 7px; }
/* Inverted variant for dark backgrounds: white linework, orange name box */
.logo-full--light { color: #fff; }
.logo-full--light .lg-box { fill: var(--orange); }
.split__media .logo-full { margin: 0 auto; }

/* ---------- Testimonials ---------- */
.quote {
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--orange);
  border-radius: var(--radius); padding: 28px 26px;
}
.quote p { font-size: 1.05rem; color: var(--ink); font-style: italic; }
.quote .quote__by { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .6px; color: var(--gray); font-style: normal; font-size: .95rem; }
.stars { color: var(--orange); letter-spacing: 3px; margin-bottom: 10px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--orange), var(--orange-dark));
  color: #fff; text-align: center; padding: 66px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #FFE9DA; font-size: 1.2rem; max-width: 620px; margin: 0 auto 26px; }
.cta-band .btn--primary { background: #fff; color: var(--orange-dark); box-shadow: none; }
.cta-band .btn--primary:hover { background: var(--black); color: #fff; }
.cta-band .btn--ghost { border-color: rgba(255,255,255,.7); }

/* ---------- Content (article) pages ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.3em; color: var(--orange-dark); }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.4em; }
.prose ul li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 12px; height: 12px; background: var(--orange); border-radius: 3px; transform: rotate(45deg);
}
.prose--dark ul li { color: #D4D4D8; }

/* Content layout with sidebar */
.content-layout { display: grid; grid-template-columns: 1fr 340px; gap: 46px; align-items: start; }
.sidebar-card {
  position: sticky; top: 96px;
  background: var(--black); color: #fff; border-radius: var(--radius); padding: 30px 26px;
}
.sidebar-card h3 { color: #fff; }
.sidebar-card .rule { margin-bottom: 18px; }
.sidebar-card p { color: #D4D4D8; font-size: 1rem; }
.sidebar-card .phone { font-family: var(--font-head); font-size: 2rem; color: var(--orange-light); display: block; margin: 6px 0 16px; }
.sidebar-card .phone:hover { text-decoration: none; color: #fff; }
.sidebar-card .btn { width: 100%; justify-content: center; }
.sidebar-card ul { list-style: none; padding: 0; margin: 18px 0 0; font-size: .95rem; }
.sidebar-card ul li { padding: 8px 0; border-top: 1px solid rgba(255,255,255,.12); color: #D4D4D8; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 14px; background: #fff; overflow: hidden;
}
.faq details[open] { border-color: #F5C9A8; box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; padding: 20px 22px; list-style: none;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .5px;
  font-size: 1.2rem; color: var(--black); display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 1.8rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 22px 22px; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list .ic { flex: none; width: 44px; height: 44px; border-radius: 10px; background: #FFF4ED; color: var(--orange-dark); display: grid; place-items: center; }
.info-list .ic svg { width: 22px; height: 22px; }
.info-list b { display: block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .5px; color: var(--black); font-size: 1.05rem; }
.info-list a { color: var(--ink); }
.info-list .muted { color: var(--gray); font-size: .95rem; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form .field { margin-bottom: 18px; }
.form label { display: block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .5px; font-size: .95rem; margin-bottom: 7px; color: var(--ink); }
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 1rem;
  border: 1px solid var(--line); border-radius: 8px; background: var(--bg-soft);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--orange); border-color: var(--orange); background: #fff; }
.form textarea { min-height: 130px; resize: vertical; }
.form .btn { width: 100%; justify-content: center; }
.form__note { font-size: .85rem; color: var(--gray); margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #A1A1AA; padding: 64px 0 0; }
.site-footer a { color: #D4D4D8; }
.site-footer a:hover { color: var(--orange-light); text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.site-footer h4 { color: #fff; font-size: 1.2rem; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.footer-brand svg, .footer-brand img { height: 52px; margin-bottom: 16px; }
.footer-brand p { font-size: .96rem; }
.footer-phone { font-family: var(--font-head); font-size: 1.6rem; color: var(--orange-light); }
.footer-phone:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 50px; padding: 24px 0;
  font-size: .85rem; color: #71717A; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.footer-bottom .disclaimer { max-width: 720px; }

/* Floating mobile call button */
.call-fab {
  position: fixed; bottom: 18px; left: 18px; right: 18px; z-index: 70;
  display: none; justify-content: center;
}
.call-fab .btn { width: 100%; justify-content: center; box-shadow: var(--shadow-lg); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid, .content-layout { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .section { padding: 60px 0; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw);
    background: #fff; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 90px 20px 30px; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .25s ease; overflow-y: auto;
  }
  .nav.open { transform: translateX(0); }
  .nav a { font-size: 1.2rem; padding: 14px 12px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin: 14px 0 0; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 3px solid var(--orange); border-radius: 0;
    padding: 0 0 0 12px; margin: 4px 0;
  }
  .nav-toggle { display: block; z-index: 80; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .call-fab { display: flex; }
  body { padding-bottom: 76px; }
  .hero { padding: 70px 0 60px; }
  .topbar .wrap { justify-content: center; }
}

/* Accessibility */
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 8px; box-shadow: var(--shadow); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto; } }
