/* ============================================
   T.A MOLOISANE ATTORNEYS — THEME STYLESHEET
   ============================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:         #C0392B;
  --red-dark:    #96281B;
  --red-light:   #E74C3C;
  --black:       #0A0A0A;
  --black-soft:  #111111;
  --black-card:  #161616;
  --grey-dark:   #1E1E1E;
  --grey-mid:    #2C2C2C;
  --grey-light:  #4A4A4A;
  --white:       #FFFFFF;
  --white-soft:  #F5F5F5;
  --white-dim:   #CCCCCC;
  --font-display:'Cormorant Garamond', Georgia, serif;
  --font-body:   'Montserrat', sans-serif;
  --nav-height:  80px;
  --page-max:    1280px;
}

html, body {
  height: 100%;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ---- LAYOUT ---- */
.page-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.container { width: 100%; max-width: var(--page-max); margin: 0 auto; padding: 0 40px; }

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%;
  height: var(--nav-height);
  background: rgba(10,10,10,0.97);
  border-bottom: 1px solid rgba(192,57,43,0.3);
  z-index: 1000; display: flex; align-items: center;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }

.nav-logo { display: flex; align-items: center; gap: 14px; }
.nav-logo img { height: 48px; width: 48px; object-fit: contain; }
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-text .firm-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--red); letter-spacing: 0.05em; line-height: 1.2; }
.nav-logo-text .firm-sub { font-size: 0.6rem; font-weight: 500; letter-spacing: 0.25em; color: var(--white-dim); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white-dim); transition: color 0.25s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--red); transition: width 0.25s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.nav-cta { background: var(--red); color: var(--white); padding: 10px 22px; letter-spacing: 0.15em; font-size: 0.65rem; }
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta:hover { background: var(--red-dark); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--white); transition: all 0.3s; }

/* ============================================
   PAGE CONTENT
   ============================================ */
.page-content { flex: 1; margin-top: var(--nav-height); display: flex; flex-direction: column; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--black-soft); border-top: 1px solid rgba(192,57,43,0.25); padding: 40px 0 24px; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-brand .firm-name { font-family: var(--font-display); font-size: 1.4rem; color: var(--red); font-weight: 600; margin-bottom: 6px; }
.footer-brand p { font-size: 0.75rem; color: var(--white-dim); line-height: 1.8; max-width: 280px; }
.footer-col h4 { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 16px; font-weight: 600; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.78rem; color: var(--white-dim); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-col p { font-size: 0.78rem; color: var(--white-dim); margin-bottom: 8px; }
.footer-col p span { color: var(--red); margin-right: 6px; }
.footer-bottom { border-top: 1px solid var(--grey-mid); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.68rem; color: var(--grey-light); letter-spacing: 0.05em; }
.footer-bottom .disclaimer { font-size: 0.62rem; color: var(--grey-light); max-width: 500px; text-align: right; }

/* ============================================
   BUTTONS
   ============================================ */
.btn { display: inline-block; padding: 14px 36px; font-family: var(--font-body); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; border: none; transition: all 0.25s; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-red-outline { background: transparent; color: var(--red); border: 1px solid var(--red); }
.btn-red-outline:hover { background: var(--red); color: var(--white); }
.btn-white { background: var(--white); color: var(--red); padding: 14px 36px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap; display: inline-block; transition: all 0.25s; }
.btn-white:hover { background: var(--black); color: var(--white); }

/* ============================================
   PAGE HERO BANNER
   ============================================ */
.page-hero { background: var(--black-soft); border-bottom: 1px solid rgba(192,57,43,0.2); padding: 60px 0 50px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--red); }
.page-hero .eyebrow { font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; font-weight: 500; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2.2rem,4vw,3.5rem); font-weight: 300; color: var(--white); line-height: 1.15; margin-bottom: 16px; }
.page-hero h1 em { font-style: italic; color: var(--red); }
.page-hero p { font-size: 0.88rem; color: var(--white-dim); max-width: 560px; line-height: 1.8; }

/* ============================================
   SHARED COMPONENTS
   ============================================ */
.section-label { font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--red); font-weight: 500; margin-bottom: 12px; }
.card { background: var(--black-card); border: 1px solid var(--grey-mid); padding: 32px; transition: border-color 0.25s; }
.card:hover { border-color: rgba(192,57,43,0.5); }

/* ============================================
   FORMS
   ============================================ */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--white-dim); margin-bottom: 8px; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea { width: 100%; background: var(--black-card); border: 1px solid var(--grey-mid); color: var(--white); padding: 13px 16px; font-family: var(--font-body); font-size: 0.85rem; outline: none; transition: border-color 0.25s; -webkit-appearance: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--red); }
.form-group select option { background: var(--black-card); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ============================================
   HOME PAGE
   ============================================ */
.home-hero { min-height: calc(100vh - 80px); display: flex; align-items: center; background: var(--black); position: relative; overflow: hidden; }
.home-hero::before { content: 'TA'; position: absolute; right: -40px; top: 50%; transform: translateY(-50%); font-family: var(--font-display); font-size: clamp(180px,22vw,320px); font-weight: 700; color: rgba(192,57,43,0.04); line-height: 1; pointer-events: none; user-select: none; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 80px 0; }
.hero-left .eyebrow { font-size: 0.62rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--red); margin-bottom: 24px; display: flex; align-items: center; gap: 12px; font-weight: 500; }
.hero-left .eyebrow::before { content: ''; display: block; width: 40px; height: 1px; background: var(--red); }
.hero-left h1 { font-family: var(--font-display); font-size: clamp(2.6rem,5vw,4.2rem); font-weight: 300; line-height: 1.12; color: var(--white); margin-bottom: 28px; }
.hero-left h1 em { font-style: italic; color: var(--red); }
.hero-left h1 strong { font-weight: 600; }
.hero-left p { font-size: 0.88rem; color: var(--white-dim); line-height: 1.9; max-width: 460px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-right { display: flex; flex-direction: column; gap: 20px; }
.hero-stat-card { background: var(--black-card); border: 1px solid var(--grey-mid); border-left: 3px solid var(--red); padding: 24px 28px; display: flex; align-items: center; gap: 20px; transition: transform 0.2s; }
.hero-stat-card:hover { transform: translateX(6px); }
.stat-icon { font-size: 1.8rem; flex-shrink: 0; }
.stat-label { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; font-weight: 500; }
.stat-value { font-family: var(--font-display); font-size: 1.3rem; color: var(--white); font-weight: 600; }

.services-strip { background: var(--black-soft); border-top: 1px solid var(--grey-mid); border-bottom: 1px solid var(--grey-mid); padding: 60px 0; }
.strip-header { text-align: center; margin-bottom: 48px; }
.strip-header h2 { font-family: var(--font-display); font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 300; color: var(--white); }
.strip-header h2 em { font-style: italic; color: var(--red); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.service-tile { background: var(--black-card); padding: 32px 28px; border: 1px solid var(--grey-mid); cursor: pointer; transition: all 0.25s; text-decoration: none; display: block; }
.service-tile:hover { background: var(--grey-dark); border-color: var(--red); }
.service-tile .tile-icon { font-size: 2rem; margin-bottom: 16px; }
.service-tile h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.service-tile p { font-size: 0.78rem; color: var(--white-dim); line-height: 1.7; }
.service-tile .tile-arrow { display: inline-block; margin-top: 16px; font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--red); font-weight: 500; }

.director-strip { padding: 80px 0; background: var(--black); }
.director-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: center; }
.director-photo-wrap { position: relative; }
.director-photo { width: 100%; aspect-ratio: 4/5; background: var(--black-card); border: 1px solid var(--grey-mid); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; }
.director-photo .photo-placeholder { font-size: 4rem; opacity: 0.3; }
.director-photo .photo-label { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--grey-light); }
.director-photo-wrap::before { content: ''; position: absolute; top: 16px; left: 16px; right: -16px; bottom: -16px; border: 1px solid rgba(192,57,43,0.3); z-index: -1; }
.director-content h2 { font-family: var(--font-display); font-size: clamp(1.8rem,3vw,2.8rem); font-weight: 300; color: var(--white); margin-bottom: 8px; line-height: 1.2; }
.director-content h2 strong { font-weight: 700; display: block; }
.director-content .title-tag { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 24px; font-weight: 500; }
.director-content p { font-size: 0.85rem; color: var(--white-dim); line-height: 1.9; margin-bottom: 16px; }
.director-quals { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 32px; }
.qual-tag { background: var(--grey-dark); border: 1px solid var(--grey-mid); padding: 6px 14px; font-size: 0.68rem; letter-spacing: 0.1em; color: var(--white-dim); }

.cta-banner { background: var(--red); padding: 60px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { font-family: var(--font-display); font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 300; color: var(--white); }
.cta-inner h2 strong { font-weight: 700; }
.cta-inner p { font-size: 0.82rem; color: rgba(255,255,255,0.8); margin-top: 8px; }

/* ============================================
   THE FIRM PAGE
   ============================================ */
.firm-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: calc(100vh - 80px - 200px); }
.firm-left { background: var(--black-soft); padding: 80px 60px 80px 40px; border-right: 1px solid var(--grey-mid); }
.firm-right { padding: 80px 40px 80px 60px; background: var(--black); }
.firm-left h2 { font-family: var(--font-display); font-size: clamp(2rem,3.5vw,3rem); font-weight: 300; color: var(--white); line-height: 1.15; margin-bottom: 28px; }
.firm-left h2 em { font-style: italic; color: var(--red); }
.firm-left p { font-size: 0.85rem; color: var(--white-dim); line-height: 1.9; margin-bottom: 18px; }
.firm-founded { background: var(--black-card); border: 1px solid var(--grey-mid); border-left: 3px solid var(--red); padding: 20px 24px; margin: 32px 0; }
.firm-founded .label { font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; font-weight: 500; }
.firm-founded .value { font-family: var(--font-display); font-size: 1.5rem; color: var(--white); font-weight: 600; }
.values-section h3 { font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--red); margin-bottom: 24px; font-weight: 500; }
.value-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.value-num { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: rgba(192,57,43,0.3); line-height: 1; flex-shrink: 0; width: 36px; }
.value-text h4 { font-size: 0.82rem; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.value-text p { font-size: 0.78rem; color: var(--white-dim); line-height: 1.7; margin: 0; }
.director-profile { position: sticky; top: 100px; }
.director-photo-box { width: 100%; aspect-ratio: 3/4; background: var(--black-card); border: 1px solid var(--grey-mid); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; margin-bottom: 28px; position: relative; }
.director-photo-box::after { content: ''; position: absolute; bottom: -12px; right: -12px; width: 60%; height: 60%; border-right: 2px solid rgba(192,57,43,0.25); border-bottom: 2px solid rgba(192,57,43,0.25); pointer-events: none; }
.director-photo-box .placeholder-icon { font-size: 5rem; opacity: 0.2; }
.director-photo-box .placeholder-text { font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--grey-light); }
.profile-name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.profile-title { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 20px; font-weight: 500; }
.profile-details { border-top: 1px solid var(--grey-mid); padding-top: 20px; }
.profile-detail-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.profile-detail-row .detail-label { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--grey-light); }
.profile-detail-row .detail-value { font-size: 0.8rem; color: var(--white-dim); font-weight: 500; text-align: right; }
.why-section { background: var(--black-soft); border-top: 1px solid var(--grey-mid); padding: 70px 0; }
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--grey-mid); margin-top: 40px; }
.why-card { background: var(--black-card); padding: 32px 24px; text-align: center; }
.why-card .why-icon { font-size: 2rem; margin-bottom: 16px; }
.why-card h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.why-card p { font-size: 0.75rem; color: var(--white-dim); line-height: 1.7; }

/* ============================================
   PRACTICE AREAS PAGE
   ============================================ */
.areas-nav { background: var(--black-soft); border-bottom: 1px solid var(--grey-mid); padding: 0; position: sticky; top: var(--nav-height); z-index: 100; }
.areas-nav-inner { display: flex; overflow-x: auto; scrollbar-width: none; }
.areas-nav-inner::-webkit-scrollbar { display: none; }
.area-nav-link { display: flex; align-items: center; gap: 8px; padding: 16px 24px; font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 500; color: var(--white-dim); border-bottom: 2px solid transparent; white-space: nowrap; transition: all 0.2s; text-decoration: none; }
.area-nav-link:hover, .area-nav-link.active { color: var(--white); border-bottom-color: var(--red); }
.practice-section { padding: 80px 0; border-bottom: 1px solid var(--grey-mid); }
.practice-section:nth-child(even) { background: var(--black-soft); }
.practice-section:nth-child(odd) { background: var(--black); }
.practice-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start; }
.practice-inner.reverse { grid-template-columns: 1.6fr 1fr; }
.practice-inner.reverse .practice-meta { order: 2; }
.practice-inner.reverse .practice-detail { order: 1; }
.practice-meta { position: sticky; top: calc(var(--nav-height) + 60px); }
.practice-icon-big { font-size: 3.5rem; margin-bottom: 20px; display: block; }
.practice-meta h2 { font-family: var(--font-display); font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 300; color: var(--white); line-height: 1.15; margin-bottom: 16px; }
.practice-meta h2 em { font-style: italic; color: var(--red); }
.practice-meta .short-desc { font-size: 0.85rem; color: var(--white-dim); line-height: 1.8; margin-bottom: 28px; }
.practice-detail p { font-size: 0.85rem; color: var(--white-dim); line-height: 1.9; margin-bottom: 18px; }
.practice-detail h3 { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin: 28px 0 16px; font-weight: 600; }
.service-list { list-style: none; margin-bottom: 24px; }
.service-list li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.82rem; color: var(--white-dim); line-height: 1.6; }
.service-list li::before { content: '—'; color: var(--red); flex-shrink: 0; margin-top: 1px; }
.practice-note { background: var(--black-card); border: 1px solid var(--grey-mid); border-left: 3px solid var(--red); padding: 20px 24px; margin-top: 24px; }
.practice-note p { font-size: 0.78rem; color: var(--white-dim); margin: 0; font-style: italic; }
.areas-cta { background: var(--red); padding: 60px 0; text-align: center; }
.areas-cta h2 { font-family: var(--font-display); font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 300; color: var(--white); margin-bottom: 12px; }
.areas-cta h2 strong { font-weight: 700; }
.areas-cta p { font-size: 0.85rem; color: rgba(255,255,255,0.8); margin-bottom: 32px; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; min-height: calc(100vh - 80px - 200px); }
.contact-left { background: var(--red); padding: 80px 50px; display: flex; flex-direction: column; justify-content: center; }
.contact-left h2 { font-family: var(--font-display); font-size: clamp(2rem,3.5vw,3rem); font-weight: 300; color: var(--white); line-height: 1.15; margin-bottom: 12px; }
.contact-left h2 strong { font-weight: 700; }
.contact-left .sub { font-size: 0.82rem; color: rgba(255,255,255,0.75); margin-bottom: 50px; line-height: 1.7; }
.contact-detail { margin-bottom: 32px; }
.contact-detail .detail-label { font-size: 0.58rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 6px; font-weight: 600; }
.contact-detail .detail-value { font-size: 1rem; color: var(--white); font-weight: 500; }
.contact-detail .detail-value a { color: var(--white); }
.contact-detail .detail-value a:hover { text-decoration: underline; }
.contact-divider { width: 40px; height: 1px; background: rgba(255,255,255,0.3); margin: 28px 0; }
.contact-hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.hours-row { font-size: 0.75rem; color: rgba(255,255,255,0.8); padding: 6px 0; }
.hours-row span { color: rgba(255,255,255,0.5); margin-right: 8px; }
.contact-right { background: var(--black); display: flex; flex-direction: column; }
.map-section { flex: 1; background: var(--black-card); border-bottom: 1px solid var(--grey-mid); position: relative; min-height: 380px; overflow: hidden; }
.map-section iframe { width: 100%; height: 100%; border: none; filter: grayscale(80%) invert(90%) contrast(85%); position: absolute; top: 0; left: 0; }
.map-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent,rgba(10,10,10,0.9)); padding: 20px 24px 16px; }
.map-overlay p { font-size: 0.72rem; color: var(--white-dim); }
.map-overlay strong { color: var(--white); }
.quick-actions { padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.action-card { background: var(--black-card); border: 1px solid var(--grey-mid); padding: 24px; text-align: center; text-decoration: none; transition: all 0.25s; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.action-card:hover { border-color: var(--red); transform: translateY(-2px); }
.action-card .action-icon { font-size: 1.6rem; }
.action-card h4 { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--white); font-weight: 600; }
.action-card p { font-size: 0.72rem; color: var(--white-dim); }

/* ============================================
   BOOK PAGE
   ============================================ */
.book-layout { display: grid; grid-template-columns: 1fr 1.8fr; min-height: calc(100vh - 80px - 200px); }
.book-sidebar { background: var(--black-soft); border-right: 1px solid var(--grey-mid); padding: 70px 40px; }
.book-sidebar h2 { font-family: var(--font-display); font-size: clamp(1.6rem,2.5vw,2.2rem); font-weight: 300; color: var(--white); line-height: 1.2; margin-bottom: 20px; }
.book-sidebar h2 em { font-style: italic; color: var(--red); }
.book-sidebar p { font-size: 0.82rem; color: var(--white-dim); line-height: 1.8; margin-bottom: 14px; }
.expect-list { margin: 32px 0; }
.expect-item { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.expect-icon { width: 36px; height: 36px; background: var(--red); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }
.expect-text h4 { font-size: 0.78rem; font-weight: 600; color: var(--white); margin-bottom: 3px; }
.expect-text p { font-size: 0.72rem; color: var(--white-dim); margin: 0; line-height: 1.6; }
.sidebar-contact { background: var(--black-card); border: 1px solid var(--grey-mid); border-left: 3px solid var(--red); padding: 20px 22px; margin-top: 32px; }
.sidebar-contact p { font-size: 0.75rem; margin-bottom: 8px; color: var(--white-dim); }
.sidebar-contact a { color: var(--red); font-weight: 600; }
.book-form-area { background: var(--black); padding: 70px 60px; }
.book-form-area h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 300; color: var(--white); margin-bottom: 8px; }
.book-form-area .form-sub { font-size: 0.78rem; color: var(--white-dim); margin-bottom: 40px; line-height: 1.7; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-errors { background: rgba(192,57,43,0.12); border: 1px solid var(--red); padding: 16px 20px; margin-bottom: 28px; }
.form-errors p { font-size: 0.78rem; color: var(--red-light); margin-bottom: 4px; }
.form-success { background: rgba(39,174,96,0.1); border: 1px solid #27AE60; padding: 40px; text-align: center; }
.form-success .success-icon { font-size: 3rem; margin-bottom: 16px; }
.form-success h3 { font-family: var(--font-display); font-size: 1.8rem; color: var(--white); margin-bottom: 12px; font-weight: 300; }
.form-success p { font-size: 0.82rem; color: var(--white-dim); line-height: 1.7; }
.form-disclaimer { font-size: 0.68rem; color: var(--grey-light); margin-top: 20px; line-height: 1.7; font-style: italic; }

/* ============================================
   LEGAL ASSISTANT PAGE
   ============================================ */
.assistant-layout { display: grid; grid-template-columns: 1fr 1.4fr; min-height: calc(100vh - 80px - 180px); }
.faq-panel { background: var(--black-soft); border-right: 1px solid var(--grey-mid); padding: 60px 40px; overflow-y: auto; }
.faq-panel h2 { font-family: var(--font-display); font-size: clamp(1.6rem,2.5vw,2.2rem); font-weight: 300; color: var(--white); margin-bottom: 10px; }
.faq-panel h2 em { font-style: italic; color: var(--red); }
.faq-intro { font-size: 0.8rem; color: var(--white-dim); line-height: 1.7; margin-bottom: 36px; }
.faq-item { border-bottom: 1px solid var(--grey-mid); }
.faq-question { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px 0; cursor: pointer; font-size: 0.82rem; font-weight: 600; color: var(--white); line-height: 1.5; user-select: none; transition: color 0.2s; }
.faq-question:hover { color: var(--red); }
.faq-toggle { color: var(--red); font-size: 1.2rem; flex-shrink: 0; line-height: 1; transition: transform 0.25s; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 0 18px; font-size: 0.78rem; color: var(--white-dim); line-height: 1.8; }
.faq-item.open .faq-answer { display: block; }
.faq-cta { margin-top: 36px; background: var(--black-card); border: 1px solid var(--grey-mid); border-left: 3px solid var(--red); padding: 20px 22px; }
.faq-cta p { font-size: 0.75rem; color: var(--white-dim); margin-bottom: 12px; line-height: 1.6; }
.chatbot-panel { background: var(--black); display: flex; flex-direction: column; height: calc(100vh - 80px - 180px); position: sticky; top: var(--nav-height); }
.chatbot-header { background: var(--black-card); border-bottom: 1px solid var(--grey-mid); padding: 20px 28px; display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.chatbot-avatar { width: 42px; height: 42px; background: var(--red); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.chatbot-info h3 { font-size: 0.88rem; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.chatbot-info p { font-size: 0.68rem; color: var(--white-dim); }
.online-dot { width: 8px; height: 8px; background: #2ECC71; border-radius: 50%; display: inline-block; margin-right: 6px; }
.chatbot-messages { flex: 1; overflow-y: auto; padding: 24px 28px; display: flex; flex-direction: column; gap: 16px; scrollbar-width: thin; scrollbar-color: var(--grey-mid) transparent; }
.chatbot-messages::-webkit-scrollbar { width: 4px; }
.chatbot-messages::-webkit-scrollbar-thumb { background: var(--grey-mid); }
.msg { display: flex; gap: 10px; max-width: 88%; animation: fadeUp 0.3s ease; }
@keyframes fadeUp { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
.msg.user { align-self: flex-end; flex-direction: row-reverse; }
.msg.bot  { align-self: flex-start; }
.msg-avatar { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; flex-shrink: 0; margin-top: 4px; }
.msg.bot .msg-avatar  { background: var(--red); }
.msg.user .msg-avatar { background: var(--grey-mid); }
.msg-bubble { padding: 12px 16px; font-size: 0.8rem; line-height: 1.7; max-width: 100%; }
.msg.bot .msg-bubble  { background: var(--black-card); border: 1px solid var(--grey-mid); color: var(--white-dim); border-radius: 0 8px 8px 8px; }
.msg.user .msg-bubble { background: var(--red); color: var(--white); border-radius: 8px 0 8px 8px; }
.typing-indicator { display: none; align-self: flex-start; gap: 10px; max-width: 88%; }
.typing-indicator.visible { display: flex; }
.typing-dots { background: var(--black-card); border: 1px solid var(--grey-mid); padding: 14px 18px; border-radius: 0 8px 8px 8px; display: flex; gap: 4px; align-items: center; }
.typing-dots span { width: 6px; height: 6px; background: var(--grey-light); border-radius: 50%; animation: bounce 1.2s infinite; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce { 0%,60%,100% { transform:translateY(0); } 30% { transform:translateY(-6px); } }
.quick-prompts { padding: 12px 28px; display: flex; gap: 8px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.05); flex-shrink: 0; }
.quick-prompt { background: var(--black-card); border: 1px solid var(--grey-mid); padding: 6px 14px; font-size: 0.65rem; color: var(--white-dim); cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.quick-prompt:hover { border-color: var(--red); color: var(--white); }
.chatbot-input-area { padding: 16px 28px 20px; border-top: 1px solid var(--grey-mid); display: flex; gap: 10px; align-items: flex-end; flex-shrink: 0; background: var(--black-card); }
.chatbot-input-area textarea { flex: 1; background: var(--black); border: 1px solid var(--grey-mid); color: var(--white); padding: 12px 16px; font-family: var(--font-body); font-size: 0.82rem; resize: none; outline: none; max-height: 100px; transition: border-color 0.2s; line-height: 1.5; border-radius: 0; }
.chatbot-input-area textarea:focus { border-color: var(--red); }
.chatbot-input-area textarea::placeholder { color: var(--grey-light); }
.send-btn { background: var(--red); color: var(--white); border: none; width: 44px; height: 44px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: background 0.2s; flex-shrink: 0; }
.send-btn:hover { background: var(--red-dark); }
.send-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.chatbot-disclaimer { padding: 8px 28px; font-size: 0.6rem; color: var(--grey-light); text-align: center; flex-shrink: 0; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .nav-links { display: none; position: fixed; top: var(--nav-height); left: 0; width: 100%; background: var(--black-soft); flex-direction: column; padding: 32px 24px; gap: 24px; border-bottom: 1px solid var(--grey-mid); }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 0.85rem; }
  .nav-toggle { display: flex; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .footer-bottom .disclaimer { text-align: center; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .director-inner { grid-template-columns: 1fr; }
  .director-photo-wrap { max-width: 320px; margin: 0 auto; }
  .cta-inner { flex-direction: column; text-align: center; }
  .firm-layout { grid-template-columns: 1fr; }
  .firm-left { padding: 50px 24px; border-right: none; border-bottom: 1px solid var(--grey-mid); }
  .firm-right { padding: 50px 24px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .director-profile { position: static; }
  .practice-inner, .practice-inner.reverse { grid-template-columns: 1fr; gap: 32px; }
  .practice-inner.reverse .practice-meta { order: 1; }
  .practice-inner.reverse .practice-detail { order: 2; }
  .practice-meta { position: static; }
  .practice-section { padding: 50px 0; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-left { padding: 50px 24px; }
  .contact-hours-grid { grid-template-columns: 1fr; }
  .quick-actions { padding: 24px; }
  .book-layout { grid-template-columns: 1fr; }
  .book-sidebar { border-right: none; border-bottom: 1px solid var(--grey-mid); padding: 50px 24px; }
  .book-form-area { padding: 50px 24px; }
  .assistant-layout { grid-template-columns: 1fr; }
  .faq-panel { border-right: none; border-bottom: 1px solid var(--grey-mid); padding: 40px 24px; }
  .chatbot-panel { height: 600px; position: static; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .quick-actions { grid-template-columns: 1fr; }
  .page-hero { padding: 40px 0 32px; }
}
