/* ===== TOKENS ===== */
:root {
  --ink: #10192B;
  --ink-soft: #38455C;
  --fog: #EAEDEA;
  --fog-deep: #DDE2DD;
  --paper: #FBFBF9;
  --amber: #C99A45;
  --amber-deep: #A87E32;
  --teal: #1F6F63;
  --teal-deep: #164F46;
  --line: rgba(16, 25, 43, 0.1);

  --display: 'Fraunces', serif;
  --body: 'Public Sans', sans-serif;
  --mono: 'IBM Plex Mono', monospace;

  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }
.section-inner { max-width: var(--max); margin: 0 auto; padding: 100px 32px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
  display: block;
}
.eyebrow-dark { color: var(--teal); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--amber);
  color: var(--ink);
}
.btn-primary:hover { background: var(--amber-deep); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(201,154,69,0.35); }
.btn-ghost {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-full { width: 100%; justify-content: center; }

/* ===== UTILITY BAR ===== */
.utility-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 101;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 8px 20px;
  flex-wrap: wrap;
  text-align: center;
}
.utility-bar a { text-decoration: underline; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 34px; left: 0; right: 0;
  z-index: 100;
  background: rgba(16, 25, 43, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}
.nav-logo span { color: var(--amber); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: rgba(255,255,255,0.75); font-size: 14px; font-weight: 600; transition: color 0.15s; }
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: var(--amber);
  color: var(--ink);
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
}
.nav-cta:hover { background: var(--amber-deep); }

/* ===== HERO ===== */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(16,25,43,0.88) 0%, rgba(16,25,43,0.94) 55%, #10192B 100%),
    url('assets/houston-skyline.webp');
  background-size: cover;
  background-position: center 65%;
  color: #fff;
  padding-top: 34px;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 170px 32px 100px;
  position: relative;
  z-index: 2;
}
.hero-inner-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
  max-width: var(--max);
}
.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  margin-bottom: 24px;
  color: var(--amber);
}
.hero-h1-sub {
  display: block;
  font-size: 0.42em;
  color: #fff;
  font-weight: 500;
  margin-top: 6px;
  letter-spacing: -0.01em;
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-tags span {
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  color: rgba(255,255,255,0.75);
}
.hero-photo-placeholder {
  aspect-ratio: 4/5;
  background: rgba(255,255,255,0.05);
  border: 1px dashed rgba(255,255,255,0.25);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4);
  font-family: var(--mono);
  font-size: 13px;
}

/* ===== RESULTS ===== */
.results { background: var(--fog); }
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.result-card {
  background: var(--paper);
  border-radius: 8px;
  padding: 28px 22px;
  text-align: center;
  border-top: 3px solid var(--amber);
}
.result-amount {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 8px;
}
.result-type { font-size: 13.5px; color: var(--ink-soft); }
.results-disclaimer { font-size: 12px; color: var(--ink-soft); margin-top: 24px; opacity: 0.7; }

/* ===== ATTORNEY QUOTE ===== */
.attorney-quote {
  margin-top: 32px;
  padding: 24px;
  background: var(--fog);
  border-left: 3px solid var(--teal);
  border-radius: 4px;
  font-family: var(--display);
  font-style: italic;
  font-size: 16.5px;
  color: var(--ink);
}

.hero-line {
  position: absolute;
  right: -60px;
  top: 0;
  bottom: 0;
  width: 500px;
  z-index: 1;
  opacity: 0.3;
}
.hero-line svg { width: 100%; height: 100%; }

/* ===== PRACTICE AREAS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.card {
  background: var(--fog);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(16,25,43,0.08); }
.card-icon { font-size: 28px; margin-bottom: 16px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 15px; }

/* ===== JOURNEY ===== */
.journey { background: var(--ink); color: #fff; }
.journey .eyebrow { color: var(--amber); }
.journey-title {
  font-size: clamp(28px, 3.5vw, 40px);
  max-width: 640px;
  margin-bottom: 56px;
}
.journey-track { position: relative; }
.journey-svg { width: 100%; height: 60px; margin-bottom: -20px; display: block; }
.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-marker {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-weight: 700;
  margin-bottom: 20px;
}
.step h3 { font-size: 18px; margin-bottom: 10px; }
.step p { color: rgba(255,255,255,0.65); font-size: 14.5px; }

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.photo-placeholder {
  aspect-ratio: 3/4;
  background: var(--fog);
  border: 1px dashed var(--ink-soft);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 13px;
}
.about-content h2 { font-size: 34px; margin-bottom: 20px; }
.about-text { color: var(--ink-soft); font-size: 16px; margin-bottom: 32px; }
.about-stats { display: flex; gap: 40px; }
.about-stats strong { font-family: var(--display); font-size: 28px; display: block; color: var(--teal); }
.about-stats span { font-size: 13px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.04em; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--fog); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.testimonial-card {
  background: var(--paper);
  border-radius: 8px;
  padding: 32px;
  border-left: 3px solid var(--amber);
}
.testimonial-card p { font-style: italic; margin-bottom: 20px; color: var(--ink); }
.testimonial-author { font-size: 13px; color: var(--ink-soft); font-weight: 600; }

/* ===== FAQ ===== */
.faq-list { margin-top: 40px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0;
  font-family: var(--body);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-toggle { font-family: var(--mono); color: var(--amber); font-size: 20px; transition: transform 0.2s ease; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-item.open .faq-answer { max-height: 200px; }
.faq-answer p { padding-bottom: 22px; color: var(--ink-soft); max-width: 640px; }

/* ===== CONTACT ===== */
.contact { background: var(--ink); color: #fff; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact h2 { font-size: 32px; margin: 8px 0 16px; }
.contact-sub { color: rgba(255,255,255,0.65); margin-bottom: 40px; }
.contact-detail { margin-bottom: 20px; }
.contact-detail strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--amber); margin-bottom: 4px; }
.contact-detail a, .contact-detail span { font-size: 17px; }

.contact-form { background: #fff; border-radius: 10px; padding: 32px; }
.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink);
  resize: vertical;
  background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}
.form-disclaimer { font-size: 12px; color: var(--ink-soft); margin-top: 14px; font-weight: 400; }

/* ===== FOOTER ===== */
.footer { background: #0B1220; color: rgba(255,255,255,0.7); }
.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-logo { font-family: var(--display); font-size: 20px; color: #fff; margin-bottom: 12px; }
.footer-logo span { color: var(--amber); }
.footer-grid p { max-width: 320px; font-size: 14px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; align-self: flex-start; }
.footer-links a { font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.1);
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 32px 40px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.footer-legal p { margin-bottom: 8px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .journey-steps { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-line { display: none; }
  .hero-inner-split { grid-template-columns: 1fr; }
  .hero-photo-placeholder { max-width: 320px; }
  .results-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .cards-grid { grid-template-columns: 1fr; }
  .journey-steps { grid-template-columns: 1fr; }
  .section-inner { padding: 64px 20px; }
  .hero-inner { padding: 100px 20px 60px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-trust { gap: 24px; }
  .utility-bar { font-size: 11px; padding: 8px 14px; gap: 12px; }
  .results-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
