:root {
  --ink: #0a1220;
  --navy: #0e1b30;
  --navy-2: #14233d;
  --gold: #c9a45c;
  --gold-bright: #e0b96a;
  --paper: #f6f4ef;
  --white: #ffffff;
  --text: #232c3b;
  --muted: #5c6675;
  --line: #e5e1d8;
  --line-dark: rgba(255, 255, 255, 0.12);
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }

/* Buttons */
.btn { display: inline-block; font-family: var(--sans); font-weight: 700; text-decoration: none; border-radius: 6px; border: 2px solid transparent; cursor: pointer; transition: all 0.18s ease; text-align: center; }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }
.btn-block { display: block; width: 100%; padding: 15px 20px; font-size: 1rem; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-bright); transform: translateY(-1px); }
.btn-outline { border-color: rgba(255, 255, 255, 0.5); color: var(--white); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--ink); transform: translateY(-1px); }

/* Eyebrows & titles */
.eyebrow { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.eyebrow::before { content: "— "; color: var(--gold); }
.eyebrow-light { color: rgba(255, 255, 255, 0.7); }
.eyebrow-gold { color: var(--gold); }
.section-title { font-family: var(--serif); font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 18px; }
.section-sub { font-size: 1.08rem; color: var(--muted); max-width: 620px; margin-bottom: 40px; }
.muted { color: var(--muted); font-weight: 400; }

/* Utility bar */
.utilbar { background: var(--ink); color: rgba(255, 255, 255, 0.75); font-size: 0.8rem; }
.utilbar-inner { display: flex; justify-content: space-between; align-items: center; padding-top: 7px; padding-bottom: 7px; }
.utilbar-phone { color: var(--gold-bright); font-weight: 700; text-decoration: none; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand-mark { width: 44px; height: 44px; background: var(--navy); color: var(--gold); font-family: var(--serif); font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; justify-content: center; border-radius: 8px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--navy); }
.brand-sub { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; gap: 26px; }
.nav-links a { text-decoration: none; color: var(--text); font-weight: 600; font-size: 0.92rem; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* Hero */
.hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url("/img/hero-skyline.png") center 40% / cover no-repeat; opacity: 0.8; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 18, 32, 0.95) 22%, rgba(10, 18, 32, 0.45) 58%, rgba(10, 18, 32, 0.12)); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: center; padding-top: 90px; padding-bottom: 100px; }
.hero-copy h1 { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.9rem); line-height: 1.08; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 22px; }
.hero-copy h1 em { font-style: italic; color: var(--gold-bright); }
.hero-sub { font-size: 1.13rem; color: rgba(255, 255, 255, 0.82); max-width: 560px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; list-style: none; font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); }
.hero-trust li::before { content: "✓ "; color: var(--gold-bright); font-weight: 700; }

.hero-card { background: var(--white); color: var(--text); border-radius: 12px; padding: 30px 28px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); }
.hero-card-title { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.hero-card-sub { font-size: 0.9rem; color: var(--muted); margin-bottom: 18px; }
.hero-card-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0 10px; color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; }
.hero-card-divider::before, .hero-card-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.hero-card-phone { display: block; text-align: center; font-family: var(--serif); font-size: 1.7rem; font-weight: 700; color: var(--navy); text-decoration: none; }
.hero-card-phone:hover { color: var(--gold); }
.hero-card-hours { text-align: center; font-size: 0.78rem; color: var(--muted); margin-top: 8px; }

/* Stats */
.stats { background: var(--ink); color: var(--white); border-top: 1px solid var(--line-dark); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 46px; padding-bottom: 46px; }
.stat { text-align: center; }
.stat-num { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 700; color: var(--gold-bright); line-height: 1; }
.stat-label { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.6); margin-top: 8px; display: block; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--paper); }
.section-dark { background: var(--navy); color: var(--white); }

/* Practice areas */
.pa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pa-card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 28px 26px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 10px; transition: all 0.2s ease; }
.pa-card:hover { border-color: var(--gold); box-shadow: 0 16px 40px rgba(14, 27, 48, 0.1); transform: translateY(-3px); }
.pa-num { font-size: 0.78rem; font-weight: 800; color: var(--gold); letter-spacing: 0.15em; }
.pa-card h3 { font-family: var(--serif); font-size: 1.22rem; font-weight: 700; color: var(--navy); line-height: 1.25; }
.pa-card p { font-size: 0.92rem; color: var(--muted); flex: 1; }
.pa-link { font-size: 0.85rem; font-weight: 700; color: var(--navy); }
.pa-card:hover .pa-link { color: var(--gold); }

/* Why */
.why-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.pillars { display: flex; flex-direction: column; gap: 26px; }
.pillar { border-left: 3px solid var(--gold); padding-left: 20px; }
.pillar h3 { font-family: var(--serif); font-size: 1.2rem; color: var(--navy); margin-bottom: 6px; }
.pillar p { font-size: 0.95rem; color: var(--muted); }
.why-media img { border-radius: 12px; box-shadow: 0 24px 50px rgba(14, 27, 48, 0.18); }
.why-quote { margin-top: 26px; font-family: var(--serif); font-size: 1.15rem; font-style: italic; color: var(--navy); line-height: 1.5; }
.why-quote cite { display: block; margin-top: 10px; font-family: var(--sans); font-style: normal; font-size: 0.85rem; font-weight: 700; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; }

/* Attorney */
.attorney-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.portrait-frame { background: var(--navy); border-radius: 12px; overflow: hidden; box-shadow: 0 24px 50px rgba(14, 27, 48, 0.22); }
.portrait-monogram { aspect-ratio: 4 / 4.4; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, var(--navy) 0%, var(--ink) 100%); }
.portrait-monogram span { font-family: var(--serif); font-size: 6rem; font-weight: 700; color: var(--gold); opacity: 0.9; letter-spacing: 0.05em; }
.portrait-caption { padding: 18px 22px; border-top: 2px solid var(--gold); color: var(--white); display: flex; flex-direction: column; }
.portrait-caption strong { font-family: var(--serif); font-size: 1.2rem; }
.portrait-caption span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.65); margin-top: 3px; }
.attorney-creds { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.attorney-creds li { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: var(--paper); border: 1px solid var(--line); border-radius: 100px; padding: 7px 14px; color: var(--navy); }
.attorney-copy p { margin-bottom: 18px; font-size: 1.02rem; }
.attorney-copy .btn { margin-top: 10px; }

/* Process */
.section-dark .section-title { color: var(--white); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 50px; }
.step-num { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold-bright); font-family: var(--serif); font-size: 1.5rem; font-weight: 700; margin-bottom: 18px; }
.step h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 10px; }
.step p { font-size: 0.95rem; color: rgba(255, 255, 255, 0.72); }

/* Counties */
.counties { position: relative; color: var(--white); overflow: hidden; }
.counties-bg { position: absolute; inset: 0; background: url("/img/gulf-coast.png") center / cover no-repeat; }
.counties::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(10, 18, 32, 0.92) 20%, rgba(10, 18, 32, 0.65)); }
.counties-inner { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 90px; }
.counties-cols { display: grid; grid-template-columns: repeat(3, auto); gap: 50px; margin-top: 36px; justify-content: start; }
.counties-cols h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold-bright); margin-bottom: 8px; }
.counties-cols p { font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 10px; background: var(--white); padding: 0 24px; transition: border-color 0.2s; }
.faq-item[open] { border-color: var(--gold); }
.faq-item summary { font-family: var(--serif); font-size: 1.12rem; font-weight: 700; color: var(--navy); padding: 20px 0; cursor: pointer; list-style: none; position: relative; padding-right: 34px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--gold); font-family: var(--sans); font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 0 20px; color: var(--muted); font-size: 0.97rem; }

/* Contact */
.contact { background: var(--ink); color: var(--white); padding: 96px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact .section-title { color: var(--white); }
.contact-sub { color: var(--gold-bright); font-weight: 600; font-size: 0.95rem; margin-bottom: 36px; }
.contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.contact-info h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.5); margin-bottom: 6px; }
.contact-info a { color: var(--white); font-weight: 600; text-decoration: none; font-size: 1.02rem; }
.contact-info a:hover { color: var(--gold-bright); }
.contact-info p { font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); }
.contact-info .muted { color: rgba(255, 255, 255, 0.5); font-size: 0.82rem; }

.contact-form { background: var(--white); border-radius: 12px; padding: 34px 32px; color: var(--text); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4); }
.contact-form label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input, .contact-form select, .contact-form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 7px; font-family: var(--sans); font-size: 0.95rem; color: var(--text); background: #fbfaf7; transition: border-color 0.15s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.contact-form .btn { margin-top: 6px; }
.form-note { font-size: 0.74rem; color: var(--muted); margin-top: 14px; line-height: 1.5; }
.form-note a { color: var(--navy); }
.form-success { margin-top: 16px; background: #eef7ee; border: 1px solid #bcd9bc; color: #2c6e2c; border-radius: 8px; padding: 14px 16px; font-size: 0.92rem; font-weight: 600; }

/* Footer */
.footer { background: var(--navy); color: rgba(255, 255, 255, 0.75); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer .brand-name { color: var(--white); }
.footer .brand-sub { color: rgba(255, 255, 255, 0.5); }
.footer .brand-mark { background: var(--gold); color: var(--navy); }
.footer-brand p { font-size: 0.9rem; margin-top: 16px; max-width: 300px; }
.footer h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold-bright); margin-bottom: 14px; }
.footer a { display: block; color: rgba(255, 255, 255, 0.75); text-decoration: none; font-size: 0.92rem; margin-bottom: 9px; }
.footer a:hover { color: var(--gold-bright); }
.footer p { font-size: 0.92rem; }
.footer-legal { padding-top: 26px; }
.footer-legal p { font-size: 0.74rem; color: rgba(255, 255, 255, 0.45); margin-bottom: 10px; line-height: 1.6; }

/* Mobile call bar */
.callbar { display: none; }

/* Responsive */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 60px; padding-bottom: 70px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .pa-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .attorney-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .steps { grid-template-columns: 1fr; }
  .counties-cols { grid-template-columns: 1fr; gap: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .section { padding: 70px 0; }
}

@media (max-width: 640px) {
  /* Section headings carry hardcoded <br>s tuned for desktop two-line balance.
     On phones they force ragged short lines, so let the text reflow instead. */
  .section-title br { display: none; }
  .utilbar-inner span { display: none; }
  .utilbar-inner { justify-content: center; }
  .nav-cta .btn-ghost { display: none; }
  .pa-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .hero-ctas .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  body { padding-bottom: 64px; }
  .callbar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.15); }
  .callbar a { flex: 1; text-align: center; padding: 16px 10px; font-weight: 800; font-size: 0.95rem; text-decoration: none; }
  .callbar-phone { background: var(--navy); color: var(--white); }
  .callbar-cta { background: var(--gold); color: var(--ink); }
}
