/* =========================================
   J BRANTLEY LAW — MASTER STYLESHEET
   Pixel-matched to jenniferbrantleylaw.com
   ========================================= */

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

:root {
  --navy:       #1F2A44;
  --navy-hover: #2C3B5A;
  --gold:       #9B7D2E;
  --gold-hover: #B8973A;
  --cream:      #F5F4F0;
  --white:      #FFFFFF;
  --text-dark:  #1A1A2E;
  --text-body:  #4A5568;
  --text-light: #6B7280;
  --border:     rgba(31,42,68,0.08);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--text-body); background: var(--white); line-height: 1.7; font-size: 16px; font-weight: 400; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* =========================================
   UTILITY BAR
   ========================================= */
.utility-bar {
  background: var(--navy);
  padding: 8px 0;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.82);
  font-family: 'Inter', sans-serif;
}
.utility-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.utility-left { display: flex; align-items: center; gap: 12px; }
.lang-toggle { display: flex; align-items: center; gap: 4px; }
.lang-btn { cursor: pointer; padding: 1px 4px; transition: color 0.15s; }
.lang-btn:hover, .lang-btn.active { color: #fff; font-weight: 500; }
.lang-divider { opacity: 0.4; }
.phone-link { color: rgba(255,255,255,0.82) !important; }
.phone-link:hover { color: #fff !important; }

/* =========================================
   NAVBAR — exact match to screenshot
   ========================================= */
.navbar {
  background: var(--white);
  border-bottom: 1px solid rgba(31,42,68,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 76px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark {
  width: 52px; height: 52px;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 700;
  border-radius: 4px; flex-shrink: 0;
}
.logo-img { width: 52px; height: 52px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 21px; font-weight: 700;
  color: var(--navy); line-height: 1.15;
}
.logo-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav links */
.nav-links {
  display: flex; align-items: center;
  gap: 32px; list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 500;
  color: var(--text-dark);
  transition: color 0.15s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }

/* Book a Consultation button — gold, in nav */
.btn-book {
  display: inline-block;
  background: var(--gold);
  color: var(--white) !important;
  padding: 12px 22px;
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 600;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.2s;
  border: none; cursor: pointer;
}
.btn-book:hover { background: var(--gold-hover) !important; color: var(--white) !important; }

/* Client Portal nav link */
.nav-portal {
  color: var(--gold) !important;
  font-weight: 600 !important;
  font-size: 14px;
}
.nav-portal:hover { opacity: 0.8; }

/* Mobile toggle */
.nav-toggle {
  display: none; background: none; border: none;
  font-size: 22px; cursor: pointer; color: var(--navy);
  padding: 4px;
}

/* =========================================
   SHARED ELEMENTS
   ========================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.center { text-align: center; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}

.gold-rule { width: 60px; height: 2px; background: var(--gold); margin: 16px 0; }
.gold-rule.center-rule { margin: 16px auto; }

h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.15; color: var(--navy); }
h1 { font-size: clamp(48px, 5.5vw, 76px); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(32px, 3.5vw, 46px); font-weight: 600; }
h3 { font-size: 20px; font-weight: 600; }

/* =========================================
   BUTTONS — matching screenshot exactly
   ========================================= */
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--navy); color: var(--white);
  padding: 14px 28px;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
  border-radius: 4px; border: 1.5px solid var(--navy);
  cursor: pointer; transition: background 0.2s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--navy-hover); border-color: var(--navy-hover); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--navy);
  padding: 14px 28px;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
  border-radius: 4px; border: 1.5px solid var(--navy);
  cursor: pointer; transition: all 0.2s;
  white-space: nowrap;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-gold {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold); color: var(--white);
  padding: 14px 28px;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
  border-radius: 4px; border: none; cursor: pointer;
  transition: background 0.2s;
}
.btn-gold:hover { background: var(--gold-hover); }

/* =========================================
   HERO — two column, photo flush right
   ========================================= */
.hero {
  background: var(--white);
  min-height: calc(100vh - 116px);
  display: flex; align-items: stretch;
  overflow: hidden;
}
.hero-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 0 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 0;
}
.hero-text { padding: 80px 60px 80px 0; }
.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.hero-headline {
  color: var(--navy);
  margin-bottom: 28px;
  font-size: clamp(48px, 5.5vw, 76px);
}
.hero-body {
  font-size: 16px; font-weight: 400;
  color: var(--text-body); line-height: 1.75;
  margin-bottom: 40px;
  max-width: 560px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-photo {
  position: relative;
  align-self: stretch;
  min-height: 560px;
  overflow: hidden;
}
.hero-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}
.hero-photo-placeholder {
  position: absolute; inset: 0;
  background: var(--cream);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--text-light); text-align: center; padding: 2rem;
}

/* =========================================
   WHY CLIENTS CHOOSE
   ========================================= */
.why-section {
  background: #1B2640;
  padding: 80px 40px;
  text-align: center;
}
.why-section h2 { color: var(--white); margin-bottom: 8px; }
.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto; margin-right: auto;
  text-align: left;
}
.why-featured {
  display: flex; flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
}
.why-stack { display: flex; flex-direction: column; gap: 16px; }
.why-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value-card { padding: 32px; border-radius: 6px; }
.value-card.gold { background: var(--gold); }
.value-card.navy { background: #2D3E5E; border: 1px solid rgba(255,255,255,0.07); }
.card-number { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.05em; color: rgba(255,255,255,0.5); margin-bottom: 12px; }
.value-card.gold .card-number { color: rgba(255,255,255,0.7); }
.value-card h3 { color: var(--white); font-size: 20px; margin-bottom: 10px; }
.value-card p { color: rgba(255,255,255,0.8); font-size: 14px; line-height: 1.65; }
.card-rule { width: 40px; height: 1px; background: rgba(255,255,255,0.35); margin-top: 20px; }

/* =========================================
   HOW IT WORKS
   ========================================= */
.how-section { background: var(--white); padding: 80px 40px; text-align: center; }
.steps {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 40px; margin-top: 48px;
  max-width: 1200px; margin-left: auto; margin-right: auto;
}
.step { text-align: center; }
.step-circle {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--navy); border: 3px solid var(--gold);
  color: var(--white); font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--text-body); font-size: 15px; }

/* =========================================
   PRACTICE AREAS
   ========================================= */
.practice-section { background: var(--cream); padding: 80px 40px; }
.practice-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 16px; margin-top: 40px;
  max-width: 1200px; margin-left: auto; margin-right: auto;
}
.practice-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 32px;
  transition: box-shadow 0.2s;
}
.practice-card:hover { box-shadow: 0 4px 24px rgba(31,42,68,0.1); }
.practice-icon { color: var(--navy); margin-bottom: 20px; }
.practice-icon svg { width: 34px; height: 34px; stroke: var(--navy); }
.practice-card h3 { margin-bottom: 12px; font-size: 19px; }
.practice-card p { color: var(--text-body); font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.learn-more { color: var(--gold); font-size: 14px; font-weight: 600; transition: opacity 0.2s; }
.learn-more:hover { opacity: 0.75; }

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-section { background: var(--white); padding: 80px 40px; }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px; margin-top: 40px;
  max-width: 1200px; margin-left: auto; margin-right: auto;
}
.testimonial-card {
  background: var(--white); border: 1px solid var(--border);
  border-left: 4px solid var(--gold); border-radius: 8px;
  padding: 32px; box-shadow: 0 2px 12px rgba(31,42,68,0.05);
}
.stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-text { font-style: italic; color: var(--text-body); font-size: 15px; line-height: 1.75; }
.testimonial-author-row { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: 14px; color: var(--navy); margin: 0; line-height: 1.3; }
.testimonial-role { font-size: 12px; color: var(--text-light); margin: 0; line-height: 1.3; }

/* =========================================
   CTA BANNERS
   ========================================= */
.cta-banner {
  background: var(--white); padding: 80px 40px; text-align: center;
  border-top: 1px solid var(--border);
}
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p { color: var(--text-body); max-width: 560px; margin: 0 auto 32px; }
.cta-banner-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.cta-banner-navy {
  background: var(--navy); padding: 80px 40px; text-align: center;
}
.cta-banner-navy h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner-navy p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 32px; }
.cta-banner-navy .btn-outline { border-color: var(--white); color: var(--white); }
.cta-banner-navy .btn-outline:hover { background: var(--white); color: var(--navy); }

/* =========================================
   FOOTER
   ========================================= */
.footer { background: #131C2E; color: rgba(255,255,255,0.65); padding: 64px 40px 32px; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.footer-logo .logo-name { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--white); font-weight: 600; }
.footer-logo .logo-tagline { font-size: 10px; letter-spacing: 0.18em; color: var(--gold); text-transform: uppercase; }
.footer-rule { width: 40px; height: 2px; background: var(--gold); margin-bottom: 16px; }
.footer-desc { font-size: 14px; line-height: 1.75; }
.footer h4 { color: var(--white); font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 20px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer ul a:hover { color: var(--gold); }
.footer p { font-size: 14px; line-height: 1.6; }
.footer a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer a:hover { color: var(--gold); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.footer-contact-icon {
  width: 32px; height: 32px; background: rgba(255,255,255,0.07);
  border-radius: 4px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.footer-contact-icon svg { stroke: rgba(255,255,255,0.65); width: 15px; height: 15px; }
.btn-book-footer {
  display: inline-block; margin-top: 20px;
  background: var(--gold); color: var(--white);
  padding: 10px 20px; border-radius: 4px;
  font-size: 13px; font-weight: 600; transition: background 0.2s;
}
.btn-book-footer:hover { background: var(--gold-hover); color: var(--white); }
.footer-bottom {
  max-width: 1200px; margin: 28px auto 0;
  text-align: center; font-size: 12px; color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.35); }
.footer-bottom a:hover { color: var(--gold); }

/* =========================================
   INNER PAGE STYLES
   ========================================= */
.page-section { padding: 80px 40px; }
.page-section-cream { padding: 80px 40px; background: var(--cream); }

/* About */
.about-hero { background: var(--white); padding: 64px 40px; }
.about-hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.about-hero-photo img { border-radius: 8px; width: 100%; height: 580px; object-fit: cover; object-position: top; }
.about-hero-photo-placeholder { background: var(--cream); border-radius: 8px; height: 580px; display: flex; align-items: center; justify-content: center; color: var(--text-light); text-align: center; padding: 2rem; }
.about-hero-text h1 { font-size: clamp(32px,4vw,52px); margin-bottom: 8px; }
.about-subtitle { font-family: 'Playfair Display', serif; font-style: italic; font-size: 18px; color: var(--text-body); margin-bottom: 24px; }
.about-body p { color: var(--text-body); line-height: 1.85; margin-bottom: 20px; font-size: 15px; }

.brand-story { background: var(--cream); padding: 80px 40px; }
.brand-story .container { max-width: 860px; text-align: center; }
.brand-story-body { text-align: left; margin-top: 32px; }
.brand-story-body p { color: var(--text-body); line-height: 1.85; margin-bottom: 20px; font-size: 15px; }

.credentials-section { background: var(--cream); padding: 64px 40px; }
.credentials-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 32px; max-width: 1200px; margin-left: auto; margin-right: auto; }
.credential-card { background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: 24px; display: flex; align-items: center; gap: 16px; }
.credential-icon { color: var(--navy); flex-shrink: 0; }
.credential-icon svg { width: 24px; height: 24px; stroke: var(--navy); }
.credential-card p { font-size: 14px; color: var(--text-dark); font-weight: 500; margin: 0; }

.practice-focus { background: var(--white); padding: 80px 40px; }
.practice-focus-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.focus-list { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.focus-list li { display: flex; align-items: center; gap: 12px; color: var(--text-dark); font-size: 15px; font-weight: 500; }
.focus-list li::before { content: "✓"; width: 22px; height: 22px; border: 1.5px solid var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--navy); flex-shrink: 0; }
.philosophy-card { background: var(--navy); border-radius: 8px; padding: 48px; }
.philosophy-card .eyebrow { color: var(--gold); }
.philosophy-card h2 { color: var(--white); font-size: 32px; margin-bottom: 24px; }
.philosophy-card p { color: rgba(255,255,255,0.8); font-size: 15px; line-height: 1.8; margin-bottom: 20px; }

/* Trademark */
.tm-hero { background: var(--white); padding: 64px 40px; }
.tm-hero .container { max-width: 1200px; }
.tm-hero-eyebrow { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.tm-hero h1 { color: var(--navy); max-width: 780px; margin-bottom: 24px; font-size: clamp(36px,4vw,60px); }
.tm-hero-body p { color: var(--text-body); font-size: 15px; line-height: 1.85; max-width: 680px; margin-bottom: 16px; }
.tm-hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }

.why-attorney { background: var(--white); padding: 80px 40px; }
.why-attorney-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.why-attorney h2 { color: var(--navy); margin-bottom: 16px; font-size: clamp(28px,3vw,40px); }
.why-attorney p { color: var(--text-body); font-size: 15px; line-height: 1.85; margin-bottom: 16px; }
.why-checklist { background: var(--cream); border-radius: 8px; padding: 40px; }
.why-checklist-title { font-size: 15px; color: var(--text-dark); font-weight: 500; margin-bottom: 24px; }
.tm-checklist { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.tm-checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text-dark); line-height: 1.5; }
.tm-checklist li svg { flex-shrink: 0; margin-top: 1px; }

.who-needs { background: var(--white); padding: 80px 40px; text-align: center; }
.who-grid-new { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 32px; }
.who-card-new { background: var(--cream); border: 1px solid rgba(31,42,68,0.07); border-radius: 6px; padding: 28px 20px; font-size: 14px; font-weight: 500; color: var(--text-dark); display: flex; align-items: center; justify-content: center; min-height: 88px; text-align: center; line-height: 1.4; }
.who-note { margin-top: 24px; color: var(--text-body); font-size: 15px; font-style: italic; }

.tm-process { background: var(--navy); padding: 80px 40px; text-align: center; }
.tm-process h2 { color: var(--white); }
.tm-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 48px; max-width: 1200px; margin-left: auto; margin-right: auto; }
.tm-step { text-align: center; }
.tm-step-num { width: 52px; height: 52px; background: var(--gold); color: var(--white); font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; border-radius: 4px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.tm-step h3 { color: var(--white); font-size: 16px; margin-bottom: 8px; }
.tm-step p { color: rgba(255,255,255,0.72); font-size: 13px; line-height: 1.6; }

/* Pricing */
.pricing-hero { background: var(--navy); padding: 64px 40px; text-align: center; }
.pricing-hero h1 { color: var(--white); }
.pricing-hero p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 16px auto 0; }
.pricing-table-section { background: var(--white); padding: 80px 40px; }
.pricing-table { width: 100%; border-collapse: collapse; margin: 24px 0 40px; }
.pricing-table th { background: var(--navy); color: var(--white); padding: 14px 20px; text-align: left; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.pricing-table td { padding: 16px 20px; border-bottom: 1px solid rgba(31,42,68,0.07); font-size: 14px; color: var(--text-body); vertical-align: top; line-height: 1.6; }
.pricing-table tr:nth-child(even) td { background: var(--cream); }
.pricing-table td:last-child { font-weight: 700; color: var(--navy); white-space: nowrap; }
.pricing-note { background: rgba(155,125,46,0.08); border-left: 4px solid var(--gold); padding: 16px 20px; border-radius: 4px; font-size: 14px; color: var(--text-body); margin: 12px 0 32px; line-height: 1.7; }

.process-section { background: var(--navy); padding: 80px 40px; text-align: center; }
.process-section h2 { color: var(--white); }
.process-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; margin-top: 48px; max-width: 1200px; margin-left: auto; margin-right: auto; }
.process-step { text-align: center; }
.process-num { width: 52px; height: 52px; background: var(--gold); color: var(--white); font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; border-radius: 4px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.process-step h3 { color: var(--white); font-size: 16px; margin-bottom: 8px; }
.process-step p { color: rgba(255,255,255,0.72); font-size: 13px; line-height: 1.6; }

.faq-section { background: var(--white); padding: 80px 40px; }
.faq-section .container { max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 24px 0; }
.faq-item:first-of-type { border-top: 1px solid var(--border); }
.faq-q { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 600; color: var(--navy); margin-bottom: 12px; }
.faq-a { color: var(--text-body); font-size: 15px; line-height: 1.8; }

/* Contact */
.contact-hero { background: var(--white); padding: 64px 40px; }
.contact-hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.contact-hero h1 { font-size: clamp(32px,4vw,52px); margin-bottom: 16px; }
.contact-hero-body { color: var(--text-body); line-height: 1.8; margin-bottom: 32px; font-size: 15px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-icon-box { width: 42px; height: 42px; background: var(--navy); border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon-box svg { stroke: var(--white); width: 18px; height: 18px; }
.contact-info-item h4 { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 3px; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-info-item p, .contact-info-item a { font-size: 15px; color: var(--text-body); line-height: 1.5; }
.contact-info-item a:hover { color: var(--gold); }
.book-direct-box { background: var(--cream); border-radius: 8px; padding: 28px; margin-top: 32px; }
.book-direct-box h4 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.book-direct-box p { color: var(--text-body); font-size: 14px; margin-bottom: 20px; }
.contact-form-wrap h3 { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--navy); margin-bottom: 8px; }
.form-sub { color: var(--text-body); font-size: 14px; margin-bottom: 28px; line-height: 1.6; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 11px; font-weight: 600; color: var(--navy); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.06em; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 1.5px solid rgba(31,42,68,0.18); border-radius: 4px; font-family: 'Inter', sans-serif; font-size: 14px; color: var(--text-dark); background: var(--white); transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-submit { width: 100%; padding: 14px; background: var(--navy); color: var(--white); border: none; border-radius: 4px; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; cursor: pointer; transition: background 0.2s; }
.form-submit:hover { background: var(--navy-hover); }

/* About photo grid */
.about-photo-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; max-width: 1200px; margin: 0 auto; }
.about-photo-grid-main img { width: 100%; height: 340px; object-fit: cover; object-position: center; border-radius: 8px; }
.about-photo-grid-side { display: flex; flex-direction: column; gap: 12px; }
.about-photo-grid-side img { width: 100%; height: 164px; object-fit: cover; border-radius: 8px; }

/* Resources */
.gumroad-banner { background: var(--navy); border-radius: 10px; padding: 48px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; margin: 48px 0; }
.gumroad-banner h3 { color: var(--white); font-size: 24px; margin-bottom: 12px; }
.gumroad-banner p { color: rgba(255,255,255,0.8); font-size: 15px; line-height: 1.7; }

/* =========================================
   CRISP RENDERING
   ========================================= */
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { image-rendering: auto; transform: translateZ(0); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .tm-steps { grid-template-columns: repeat(2,1fr); }
  .process-steps { grid-template-columns: repeat(2,1fr); }
  .who-grid-new { grid-template-columns: repeat(2,1fr); }
  .practice-grid { grid-template-columns: repeat(2,1fr); }
  .why-layout { grid-template-columns: 1fr; }
  .why-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .navbar { position: relative; height: auto; }
  .nav-inner { height: 64px; padding: 0 20px; flex-wrap: wrap; }
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--white);
    border-top: 1px solid var(--border); padding: 20px;
    gap: 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 200;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 16px; padding: 6px 0; min-height: 44px; line-height: 44px; }
  .logo-name { font-size: 17px; }

  .utility-inner { padding: 0 20px; font-size: 12px; }

  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; padding: 0 20px; }
  .hero-text { padding: 48px 0 32px; order: 1; }
  .hero-photo { order: 2; min-height: 380px; margin: 0 -20px; }
  .hero-headline { font-size: 42px; }
  .hero-ctas { flex-direction: column; gap: 12px; }
  .hero-ctas .btn-primary, .hero-ctas .btn-outline { text-align: center; justify-content: center; }

  .why-section { padding: 60px 20px; }
  .cards-grid, .why-layout { grid-template-columns: 1fr; }
  .why-row { grid-template-columns: 1fr; }

  .how-section { padding: 60px 20px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }

  .practice-section { padding: 60px 20px; }
  .practice-grid { grid-template-columns: 1fr; }

  .testimonials-section { padding: 60px 20px; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .cta-banner, .cta-banner-navy { padding: 60px 20px; }
  .cta-banner-btns { flex-direction: column; align-items: center; }
  .cta-banner-btns .btn-primary, .cta-banner-btns .btn-outline { width: 100%; max-width: 320px; justify-content: center; }

  .footer { padding: 48px 20px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }

  .about-hero { padding: 40px 20px; }
  .about-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-hero-photo img, .about-hero-photo-placeholder { height: 360px; }
  .brand-story, .credentials-section, .practice-focus { padding: 60px 20px; }
  .credentials-grid { grid-template-columns: 1fr; }
  .practice-focus-inner { grid-template-columns: 1fr; gap: 32px; }
  .philosophy-card { padding: 32px 24px; }

  .tm-hero, .why-attorney, .who-needs, .tm-process { padding: 60px 20px; }
  .why-attorney-inner { grid-template-columns: 1fr; gap: 32px; }
  .why-checklist { padding: 28px 24px; }
  .who-grid-new { grid-template-columns: repeat(2,1fr); }
  .tm-steps, .process-steps { grid-template-columns: repeat(2,1fr); gap: 16px; }

  .pricing-hero, .pricing-table-section, .faq-section, .process-section { padding: 60px 20px; }
  .pricing-table thead { display: none; }
  .pricing-table tr { display: block; margin-bottom: 16px; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
  .pricing-table td { display: block; white-space: normal; }
  .pricing-table td:first-child { background: var(--navy); color: var(--white); font-weight: 600; }

  .contact-hero { padding: 40px 20px; }
  .contact-hero-inner { grid-template-columns: 1fr; gap: 40px; }

  .about-photo-grid { grid-template-columns: 1fr; }
  .about-photo-grid-main img { height: 260px; }
  .about-photo-grid-side { flex-direction: row; }
  .about-photo-grid-side img { height: 140px; flex: 1; }

  .gumroad-banner { grid-template-columns: 1fr; padding: 32px 24px; }

  .page-section, .page-section-cream { padding: 60px 20px; }

  .btn-primary, .btn-outline, .btn-gold { min-height: 48px; }
}

@media (max-width: 480px) {
  .utility-inner { flex-direction: column; gap: 4px; text-align: center; font-size: 11px; }
  .who-grid-new { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 38px; }
  h2 { font-size: 28px; }
}

/* =========================================
   HERO PHOTO — flush right edge fix
   On wide screens the photo must bleed to
   the right edge of the viewport, not stop
   at the container boundary
   ========================================= */
.hero {
  display: grid;
  grid-template-columns: 1fr;
}
.hero-inner {
  /* Remove max-width constraint so photo reaches viewport edge */
  max-width: none;
  width: 100%;
  padding-left: max(40px, calc((100vw - 1200px) / 2 + 40px));
  padding-right: 0;
  grid-template-columns: 1.1fr 0.9fr;
}

/* Translate widget cleanup */
#google_translate_element { display: none !important; }
.goog-te-banner-frame { display: none !important; }
.goog-te-gadget { display: none !important; }
body { top: 0 !important; }
.skiptranslate { display: none !important; }

/* =========================================
   MOBILE FIXES — v13 corrections
   ========================================= */

@media (max-width: 768px) {

  /* ── NAVBAR ── */
  .navbar { position: relative; height: auto; }
  .nav-inner {
    height: 64px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  /* Hide the standalone btn-book in nav on mobile —
     it will show inside the open menu instead */
  .nav-inner > .btn-book {
    display: none;
  }

  /* Nav toggle visible */
  .nav-toggle { display: block; flex-shrink: 0; }

  /* Mobile menu */
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid rgba(31,42,68,0.1);
    padding: 20px 24px;
    gap: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(31,42,68,0.06); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a {
    display: block;
    font-size: 16px;
    padding: 14px 0;
    min-height: auto;
    line-height: 1.4;
  }

  /* ── HERO: stack on mobile ── */
  .hero { display: block; min-height: auto; }
  .hero-inner {
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    max-width: none !important;
    width: 100% !important;
  }

  .hero-text {
    order: 1;
    padding: 40px 24px 32px !important;
  }

  .hero-photo {
    order: 2;
    position: relative !important;
    height: 420px !important;
    min-height: 420px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .hero-photo img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    /* Show face not top of head */
    object-position: center 15% !important;
  }

  .hero-headline { font-size: 42px !important; line-height: 1.15 !important; }
  .hero-body { font-size: 15px !important; max-width: 100% !important; }
  .hero-ctas {
    flex-direction: column !important;
    gap: 12px !important;
  }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }

  /* ── UTILITY BAR ── */
  .utility-bar { padding: 8px 0; }
  .utility-inner {
    flex-direction: column !important;
    gap: 2px !important;
    text-align: center;
    padding: 0 16px;
  }

}

@media (max-width: 480px) {
  .hero-headline { font-size: 36px !important; }
  .nav-inner { padding: 0 16px; }
  .logo-name { font-size: 17px !important; }
}

/* About photo grid — constrained width, correct padding */
.about-photo-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
}
.about-photo-grid-main img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center 70%;
  border-radius: 8px;
  display: block;
}
.about-photo-grid-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-photo-grid-side img {
  width: 100%;
  height: 164px;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 8px;
  display: block;
}

@media (max-width: 768px) {
  .about-photo-grid { grid-template-columns: 1fr; padding: 0 20px 32px; }
  .about-photo-grid-main img { height: 280px; }
  .about-photo-grid-side { flex-direction: row; }
  .about-photo-grid-side img { height: 140px; flex: 1; }
}

/* =========================================
   UTILITY BAR — single line on mobile
   ========================================= */
.util-sep { opacity: 0.3; margin: 0 4px; }
.util-phone-mobile { display: none; }
.util-phone-desktop { display: block; }

@media (max-width: 768px) {
  /* Single continuous line on mobile */
  .utility-bar { padding: 6px 0; }
  .utility-inner {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    padding: 0 16px !important;
    gap: 0 !important;
  }
  .utility-left {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    font-size: 11px;
  }
  .util-habla { white-space: nowrap; }
  .util-sep { display: inline; }
  .util-phone-mobile { display: inline; white-space: nowrap; }
  .util-phone-desktop { display: none !important; }

  /* Subpage navbar fix — must not be open by default */
  .nav-links { display: none; }
  .nav-links.open { display: flex; }
}

/* =========================================
   SUBPAGE NAVBAR — same styling as main pages
   ========================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(31,42,68,0.1);
}

/* =========================================
   SERVICE SUBPAGE RESPONSIVE STYLES
   ========================================= */

/* Containers */
.sp-container { max-width: 1200px; margin: 0 auto; }
.sp-container-narrow { max-width: 800px; margin: 0 auto; }

/* Sections */
.sp-section-hero { background: var(--white); padding: 64px 40px 0; }
.sp-section-cream { background: var(--cream); padding: 80px 40px; }
.sp-section-navy { background: var(--navy); padding: 80px 40px; }

/* Hero two-column: text left, sidebar right */
.sp-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: start;
  margin-top: 40px;
  padding-bottom: 64px;
}

/* Sidebar card */
.sp-sidebar {
  background: var(--cream);
  border-radius: 8px;
  padding: 40px;
}
.sp-sidebar ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Three-column card grid */
.sp-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

/* Two-column grid */
.sp-two-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

/* CTA buttons inside subpages */
.sp-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ── MOBILE ── */
@media (max-width: 768px) {

  .sp-section-hero { padding: 40px 20px 0; }
  .sp-section-cream { padding: 48px 20px; }
  .sp-section-navy { padding: 48px 20px; }

  .sp-container { padding: 0 20px; }
  .sp-container-narrow { padding: 0 20px; }

  /* Stack hero grid — sidebar goes below text */
  .sp-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 40px;
  }

  /* Sidebar full width */
  .sp-sidebar { padding: 28px 24px; }

  /* Three-col → single col */
  .sp-card-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Two-col → single col */
  .sp-two-grid { grid-template-columns: 1fr; }

  /* CTA buttons stack */
  .sp-ctas {
    flex-direction: column;
    gap: 12px;
  }
  .sp-ctas .btn-primary,
  .sp-ctas .btn-outline {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Inline CTA buttons that aren't classed */
  .sp-hero-grid div > div[style*="display:flex"][style*="gap:16px"] {
    flex-direction: column;
  }
  .sp-hero-grid div > div[style*="display:flex"] .btn-primary,
  .sp-hero-grid div > div[style*="display:flex"] .btn-outline {
    width: 100%;
    justify-content: center;
  }

  /* Card items inside sp-card-grid */
  .sp-card-grid > div {
    padding: 24px 20px !important;
  }

  /* H1 on subpages */
  .sp-section-hero h1 {
    font-size: 34px !important;
    line-height: 1.2 !important;
  }

  /* Paragraph text */
  .sp-section-hero p,
  .sp-section-cream p,
  .sp-section-navy p {
    font-size: 15px !important;
  }
}

@media (max-width: 480px) {
  .sp-section-hero h1 { font-size: 28px !important; }
  .sp-sidebar { padding: 20px 16px; }
  .sp-section-hero { padding: 32px 16px 0; }
  .sp-section-cream { padding: 40px 16px; }
  .sp-section-navy { padding: 40px 16px; }
}
