/* ================================================================
   CREST LAW V2 — Attorna-inspired design
   Palette: charcoal dark #1c1c1c | gold #c9a96e | cream #f5f3ee
================================================================ */

:root {
  --dark:        #1c1c1c;
  --darker:      #111111;
  --gold:        #ce6b14;
  --gold-dark:   #a95810;
  --gold-light:  #f0c4a0;
  --white:       #ffffff;
  --cream:       #f5f3ee;
  --grey-light:  #f0eeea;
  --grey-mid:    #e0dcd4;
  --grey-text:   #999999;
  --text:        #666666;
  --heading:     #1c1c1c;

  --font-heading: 'Poppins', sans-serif;
  --font-body:    'Poppins', sans-serif;

  --container: 1200px;
  --transition: 0.3s ease;
}

/* ============ PAGE LOADER ============ */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-inner {
  position: relative;
  width: 100px;
  height: 100px;
}
.loader-spinner {
  position: absolute;
  inset: 0;
  border: 3px solid rgba(206,107,20,0.15);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: loaderSpin 0.9s linear infinite;
}
.loader-spinner-outer {
  position: absolute;
  inset: -10px;
  border: 2px solid rgba(206,107,20,0.08);
  border-bottom-color: var(--gold-dark);
  border-radius: 50%;
  animation: loaderSpin 1.5s linear infinite reverse;
}
.loader-logo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  object-fit: contain;
  animation: loaderPulse 1.2s ease-in-out infinite;
}
@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}
@keyframes loaderPulse {
  0%, 100% { opacity: 1; transform: translate(-50%,-50%) scale(1); }
  50%      { opacity: 0.7; transform: translate(-50%,-50%) scale(0.9); }
}

/* ============ RESET ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button, input, select, textarea { font-family: var(--font-body); }

/* ============ LAYOUT ============ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 30px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--heading);
  font-weight: 600;
  line-height: 1.2;
}

/* ============ SECTION TYPOGRAPHY ============ */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 16px;
}

.title-line {
  width: 46px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 26px;
}

.section-lead {
  font-size: 16px;
  color: var(--grey-text);
  line-height: 1.85;
  max-width: 580px;
  margin-bottom: 44px;
}

.text-center { text-align: center; }
.text-center .title-line { margin-left: auto; margin-right: auto; }
.text-center .section-lead { margin-left: auto; margin-right: auto; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}
.btn-gold       { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn-dark       { background: var(--dark); color: var(--white); border-color: var(--dark); }
.btn-dark:hover { background: var(--gold); border-color: var(--gold); }
.btn-outline    { background: transparent; color: var(--heading); border-color: var(--heading); }
.btn-outline:hover { background: var(--heading); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: var(--white); color: var(--heading); border-color: var(--white); }

/* ============ TOPBAR ============ */
.topbar {
  background: var(--darker);
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-left { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-item { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar-item i { color: var(--gold); font-size: 17px; }
.topbar-item a { color: rgba(255,255,255,0.7); }
.topbar-item a:hover { color: var(--gold); }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-social { display: flex; gap: 10px; }
.topbar-social a { color: var(--white); font-size: 19px; }
.topbar-social a:hover { color: var(--gold); }
.topbar-cta {
  background: var(--gold);
  color: var(--white) !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 20px;
}
.topbar-cta:hover { background: var(--gold-dark); color: var(--white); }

/* ============ NAVBAR ============ */

/*
  Sticky is on #header (direct child of body) — not on .cl-header.
  .cl-header is only ~120px tall so sticky would stop working once
  that short box scrolls off. #header is a direct child of body,
  so sticky on it persists for the full page height.
*/
#header {
  position: sticky;
  top: 0;
  z-index: 1000;
}
.cl-header {
  position: relative;
}

/* Topbar collapses when scrolled */
.topbar {
  max-height: 80px;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.25s ease;
}
.cl-header.scrolled .topbar {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
}

.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--grey-mid);
  position: relative;
  margin: 0;
  border-radius: 0;
  transition:
    margin        0.4s ease,
    border-radius 0.4s ease,
    border-color  0.4s ease,
    background    0.4s ease,
    box-shadow    0.4s ease;
}

/* Floating navbar — kicks in as topbar collapses */
.cl-header.scrolled .navbar {
  margin: 0;
  border-radius: 16px;
  border-bottom-color: transparent;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.14),
    0 2px 10px rgba(0, 0, 0, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}
.cl-header.scrolled .brand { padding: 13px 0; }
.cl-header.scrolled .brand-logo { height: 42px; }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; padding: 18px 0; transition: padding 0.4s ease; }
.brand-logo { height: 50px; width: auto; display: block; flex-shrink: 0; transition: height 0.4s ease; }
.brand-wordmark {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--heading);
  letter-spacing: 0.05em;
  line-height: 1;
}
.brand-wordmark em { color: var(--gold); font-style: normal; }

.nav-links { display: flex; align-items: stretch; }
.nav-links > li { position: relative; display: flex; align-items: center; }
.nav-links > li > a {
  display: flex;
  align-items: center;
  padding: 26px 13px;
  transition: color 0.3s ease, letter-spacing 0.35s cubic-bezier(0.22,1,0.36,1), background 0.3s ease;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--heading);
  white-space: nowrap;
  position: relative;
  gap: 4px;
}
.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: 18px; left: 12px; right: 12px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--gold); letter-spacing: 0.06em; }
.nav-links > li > a:hover::after,
.nav-links > li > a.active::after { transform: scaleX(1); }

/* Dropdown */
.has-dropdown > .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 230px;
  border-top: 2px solid var(--gold);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 500;
}
.has-dropdown:hover > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
  display: block;
  padding: 11px 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--grey-light);
  transition: var(--transition);
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover { color: var(--gold); padding-left: 28px; background: var(--grey-light); }

.nav-cta,
.nav-links > li > a.nav-cta {
  background: var(--gold);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 24px;
  margin-left: 14px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}
.nav-links > li > a.nav-cta::after { display: none; }
.nav-cta:hover,
.nav-links > li > a.nav-cta:hover { background: var(--gold-dark); color: var(--white); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--dark);
  border: none;
  border-radius: 6px;
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  transition: background var(--transition);
}
.nav-toggle:hover { background: var(--gold); }
.nav-toggle i { display: block; font-size: inherit; line-height: 1; }

/* ============ HERO SLIDER ============ */
.hero-slider {
  position: relative;
  height: calc(100vh - 110px);
  min-height: 500px;
  max-height: 900px;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.slide.active { opacity: 1; }
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.55) 55%, rgba(10,10,10,0.2) 100%);
}
.slide-content {
  position: relative;
  z-index: 2;
  padding-top: 40px;
}
.slide-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0;
  animation: none;
}
.slide.active .slide-eyebrow { animation: fadeUp 0.8s 0.3s forwards; }
.slide-content h1 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  color: var(--white);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.15;
  max-width: 760px;
  margin-bottom: 24px;
  opacity: 0;
}
.slide.active .slide-content h1 { animation: fadeUp 0.8s 0.5s forwards; }
.slide-content p {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
  opacity: 0;
}
.slide.active .slide-content p { animation: fadeUp 0.8s 0.7s forwards; }
.slide-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
}
.slide.active .slide-actions { animation: fadeUp 0.8s 0.9s forwards; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.slider-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.slider-dot.active { background: var(--gold); transform: scale(1.3); }
.slider-arrows {
  position: absolute;
  bottom: 30px;
  right: 60px;
  display: flex;
  gap: 6px;
  z-index: 10;
}
.slider-arrow {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
}
.slider-arrow:hover { background: var(--gold); border-color: var(--gold); }

/* ============ ABOUT ============ */
.about-section { padding: 110px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 90px;
  align-items: center;
}
.about-image-wrap { position: relative; }
.about-image-wrap img { width: 100%; height: 560px; object-fit: cover; position: relative; z-index: 2; }
.about-border-accent {
  position: absolute;
  top: -22px; right: -22px;
  width: 65%; height: calc(100% + 44px);
  border: 2px solid var(--gold);
  z-index: 1;
}
.about-years-stamp {
  position: absolute;
  bottom: -28px; left: -28px;
  background: var(--dark);
  color: var(--white);
  padding: 26px 32px;
  text-align: center;
  z-index: 3;
}
.about-years-stamp strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 52px;
  color: var(--gold);
  line-height: 1;
}
.about-years-stamp span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  display: block;
  margin-top: 4px;
}
.about-content p {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 18px;
  line-height: 1.85;
}
.founder-callout {
  margin: 34px 0 36px;
  padding: 26px 28px;
  border-left: 3px solid var(--gold);
  background: var(--cream);
}
.founder-callout strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--heading);
  margin-bottom: 3px;
}
.founder-callout span {
  font-size: 12px;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

/* ============ PRACTICE AREAS ============ */
.practice-section { padding: 110px 0; background: var(--cream); }
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.practice-card {
  background: var(--white);
  padding: 46px 38px;
  position: relative;
  overflow: hidden;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease;
}
.practice-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.practice-card:hover { box-shadow: 0 16px 50px rgba(0,0,0,0.1); transform: translateY(-6px); }
.practice-card:hover::after { transform: scaleX(1); }
.practice-icon {
  font-size: 36px;
  color: var(--gold);
  margin: 0 auto 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(206,107,20,0.08);
  transition: background 0.4s ease, transform 0.4s ease, color 0.4s ease;
}
.practice-card:hover .practice-icon {
  background: var(--gold);
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
}
.practice-card h3 {
  font-size: 24px;
  margin-bottom: 14px;
  transition: color 0.3s ease;
}
.practice-card:hover h3 { color: var(--gold); }
.practice-card p { font-size: 15px; color: var(--grey-text); line-height: 1.78; margin-bottom: 24px; }
.practice-more {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: color 0.3s ease, gap 0.3s ease;
}
.practice-more:hover { color: var(--gold-dark); gap: 14px; }
.practice-card .btn { justify-content: center; }

/* ============ WHY CHOOSE US ============ */
.why-section { padding: 110px 0; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.why-checklist { display: grid; gap: 20px; margin: 30px 0 40px; }
.why-item { display: flex; gap: 14px; align-items: flex-start; }
.why-check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: var(--gold);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  margin-top: 2px;
}
.why-item strong { display: block; font-size: 17px; color: var(--heading); margin-bottom: 4px; font-family: var(--font-body); font-weight: 600; }
.why-item p { font-size: 14.5px; color: var(--grey-text); margin: 0; line-height: 1.75; }

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}
.stat-box {
  background: var(--cream);
  padding: 46px 38px;
  text-align: center;
}
.stat-box:nth-child(even) { background: var(--dark); }
.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}
.stat-box:nth-child(even) .stat-label { color: rgba(255,255,255,0.78); }
.stat-icon { font-size: 36px; color: var(--gold); display: block; margin-bottom: 10px; opacity: 0.9; }
.stat-box:nth-child(even) .stat-icon { color: var(--gold-light); }

/* ============ FREE CONSULTATION FORM ============ */
.consult-section { padding: 100px 0; background: var(--dark); }
.consult-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.consult-text .section-title { color: var(--white); }
.consult-text p { color: rgba(255,255,255,0.78); font-size: 16px; margin-bottom: 30px; line-height: 1.8; }
.consult-trust { display: grid; gap: 16px; }
.consult-trust-item { display: flex; gap: 12px; align-items: center; }
.consult-trust-item i { color: var(--gold); font-size: 20px; flex-shrink: 0; }
.consult-trust-item span { font-size: 15px; color: rgba(255,255,255,0.7); }

.consult-form-card { background: var(--white); padding: 46px; }
.consult-form-card h3 { font-size: 24px; margin-bottom: 24px; }
.form-areas-label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--heading); margin-bottom: 14px; display: block; }
.form-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-bottom: 26px; }
.form-area-check { display: flex; align-items: center; gap: 8px; }
.form-area-check input[type="checkbox"] { accent-color: var(--gold); width: 15px; height: 15px; cursor: pointer; flex-shrink: 0; }
.form-area-check label { font-size: 13px; color: var(--text); cursor: pointer; font-weight: 500; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  font-size: 13.5px;
  background: var(--grey-light);
  border: 1px solid var(--grey-mid);
  color: var(--heading);
  outline: none;
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--gold); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 90px; }

/* ============ TEAM ============ */
.team-section { padding: 110px 0; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card { position: relative; overflow: hidden; cursor: pointer; }
.team-card img { width: 100%; height: 360px; object-fit: cover; display: block; transition: transform 0.5s ease; }
.team-card:hover img { transform: scale(1.06); }
.team-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.35) 65%, transparent 100%);
  padding: 32px 22px 22px;
  text-align: center;
}
.team-card h3 { color: var(--white); font-size: 21px; margin-bottom: 4px; }
.team-role { font-size: 11px; color: var(--gold); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; }
.team-socials {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  justify-content: center;
}
.team-socials a {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.18);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 15px;
  transition: var(--transition);
}
.team-socials a:hover { background: var(--gold); }

/* ============ FEATURES / WE SERVE ============ */
.features-section { padding: 90px 0; background: var(--dark); }
.features-header { margin-bottom: 60px; }
.features-header .section-title { color: var(--white); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
}
.feature-box {
  background: var(--dark);
  padding: 54px 42px;
  text-align: center;
  transition: background var(--transition);
}
.feature-box:hover { background: #252525; }
.feature-icon { font-size: 50px; color: var(--gold); margin-bottom: 26px; display: block; }
.feature-box h3 { color: var(--white); font-size: 24px; margin-bottom: 14px; }
.feature-box p { font-size: 15px; color: rgba(255,255,255,0.75); line-height: 1.82; }

/* ============ TESTIMONIALS ============ */
.testimonials-section { padding: 110px 0; background: var(--cream); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testimonial-card {
  background: var(--white);
  padding: 40px 34px;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px; right: 26px;
  font-family: var(--font-heading);
  font-size: 90px;
  color: var(--gold);
  opacity: 0.18;
  line-height: 1;
}
.testimonial-stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 18px; font-size: 13px; }
.testimonial-card p { font-size: 15.5px; color: var(--text); line-height: 1.85; margin-bottom: 28px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-author img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testimonial-author strong { display: block; font-size: 17px; color: var(--heading); margin-bottom: 2px; }
.testimonial-author span { font-size: 11.5px; color: var(--gold); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }

/* ============ CASE STUDIES ============ */
.cases-section { padding: 110px 0; }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.case-card { position: relative; overflow: hidden; aspect-ratio: 4/3; display: block; }
.case-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.case-card:hover img { transform: scale(1.07); }
.case-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.88) 0%, transparent 55%);
  opacity: 0.75;
  transition: opacity var(--transition);
}
.case-card:hover .case-overlay { opacity: 1; }
.case-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 26px;
  transform: translateY(6px);
  transition: transform var(--transition);
}
.case-card:hover .case-info { transform: translateY(0); }
.case-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 12px;
  margin-bottom: 10px;
}
.case-info h3 { color: var(--white); font-size: 20px; }

/* ============ CTA BANNER ============ */
.cta-banner { background: rgba(206,107,20,0.7); padding: 70px 0; }
.cta-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-banner-text > span {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
  margin-bottom: 8px;
}
.cta-banner-text h2 { color: var(--darker); font-size: clamp(22px, 3vw, 38px); }
.cta-banner-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-banner-phone { display: flex; align-items: center; gap: 14px; }
.cta-banner-phone i { font-size: 34px; color: rgba(0,0,0,0.45); }
.cta-banner-phone strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 30px;
  color: var(--darker);
  line-height: 1.1;
}
.cta-banner-phone span { font-size: 11px; color: rgba(0,0,0,0.5); text-transform: uppercase; letter-spacing: 0.1em; }
.cta-banner .btn-dark:hover { background: var(--darker); border-color: var(--darker); color: var(--white); }

/* ============ NEWSLETTER ============ */
.newsletter-section { padding: 80px 0; background: #161616; }
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.newsletter-text h3 { font-size: 30px; color: var(--white); margin-bottom: 6px; }
.newsletter-text p { font-size: 14px; color: rgba(255,255,255,0.72); }
.newsletter-form { display: flex; flex: 1; max-width: 480px; min-width: 260px; }
.newsletter-input {
  flex: 1;
  padding: 15px 20px;
  font-size: 13.5px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-right: none;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.52); }
.newsletter-input:focus { border-color: var(--gold); }
.newsletter-btn {
  padding: 15px 26px;
  background: var(--gold);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}
.newsletter-btn:hover { background: var(--gold-dark); }

/* ============ BLOG ============ */
.blog-section { padding: 110px 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card { border: 1px solid var(--grey-mid); transition: box-shadow var(--transition); }
.blog-card:hover { box-shadow: 0 16px 44px rgba(0,0,0,0.08); }
.blog-card-img { position: relative; overflow: hidden; }
.blog-card-img img { width: 100%; height: 218px; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-date-badge {
  position: absolute;
  top: 0; left: 0;
  background: var(--gold);
  color: var(--white);
  padding: 10px 14px;
  text-align: center;
  min-width: 58px;
}
.blog-date-badge strong { display: block; font-size: 22px; font-family: var(--font-heading); line-height: 1; }
.blog-date-badge span { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.blog-body { padding: 26px; }
.blog-meta-row { display: flex; gap: 18px; font-size: 12.5px; color: var(--grey-text); margin-bottom: 14px; flex-wrap: wrap; }
.blog-meta-row span { display: flex; align-items: center; gap: 5px; }
.blog-meta-row i { color: var(--gold); }
.blog-card h3 { font-size: 21px; margin-bottom: 12px; line-height: 1.3; }
.blog-card h3 a { color: var(--heading); }
.blog-card h3 a:hover { color: var(--gold); }
.blog-card p { font-size: 14.5px; color: var(--grey-text); line-height: 1.78; margin-bottom: 20px; }
.blog-more {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: var(--transition);
}
.blog-more:hover { color: var(--gold-dark); border-color: var(--gold-dark); gap: 12px; }

/* ============ FOOTER ============ */
.cl-footer { background: #111111; color: rgba(255,255,255,0.6); }
.footer-top { padding: 90px 0 60px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.1fr;
  gap: 50px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo { height: 44px; width: auto; display: block; flex-shrink: 0; }
.footer-wordmark {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  line-height: 1;
}
.footer-wordmark em { color: var(--gold); font-style: normal; }
.footer-col p { font-size: 14px; line-height: 1.85; margin-bottom: 22px; }
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 32px; height: 1px;
  background: var(--gold);
}
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.72); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--gold); padding-left: 6px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: 14px; }
.footer-contact li i { color: var(--gold); margin-top: 3px; flex-shrink: 0; font-size: 15px; }
.footer-contact a:hover { color: var(--gold); }
/* Footer nav list with icons */
.footer-col ul:not(.footer-contact) li {
  display: flex;
  align-items: center;
  gap: 9px;
}
.footer-col ul:not(.footer-contact) li i {
  color: var(--gold);
  font-size: 15px;
  flex-shrink: 0;
}
.footer-col ul li a:hover { padding-left: 0; transform: translateX(4px); }

.footer-social { display: flex; gap: 8px; margin-top: 22px; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.28);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 22px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.footer-bottom a:hover { color: var(--gold); }

/* ============ PAGE HEADER (subpages) ============ */
.page-header {
  background-color: var(--darker);
  background-size: cover;
  background-position: center;
  padding: 96px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { color: var(--white); font-size: clamp(32px, 5vw, 54px); }
.breadcrumb { margin-top: 14px; font-size: 12.5px; color: rgba(255,255,255,0.72); letter-spacing: 0.06em; }
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { color: rgba(255,255,255,0.8); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .about-grid       { gap: 60px; }
  .why-grid         { gap: 60px; }
}

@media (max-width: 991px) {
  .about-grid, .why-grid, .consult-inner { grid-template-columns: 1fr; gap: 50px; }
  .about-border-accent  { display: none; }
  .about-years-stamp    { display: none; }
  .about-image-wrap img { height: 380px; }
  .practice-grid        { grid-template-columns: repeat(2, 1fr); }
  .team-grid            { grid-template-columns: repeat(2, 1fr); }
  .team-card img        { height: 400px; }
  .attorney-bio-img img { height: 380px; }
  .features-grid        { grid-template-columns: 1fr; }
  .testimonial-grid     { grid-template-columns: repeat(2, 1fr); }
  .cases-grid           { grid-template-columns: repeat(2, 1fr); }
  .blog-grid            { grid-template-columns: repeat(2, 1fr); }
  .footer-grid          { grid-template-columns: repeat(2, 1fr); }
  .stats-grid           { grid-template-columns: repeat(2, 1fr); }
  .nav-cta              { display: none; }
}

@media (max-width: 768px) {
  .topbar-left .topbar-item:not(:first-child) { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    z-index: 200;
    padding: 8px 0;
    border-top: 2px solid var(--gold);
  }
  .nav-links.open { display: flex; }
  .nav-links > li { flex-direction: column; align-items: stretch; }
  .nav-links > li > a { padding: 13px 22px; border-bottom: 1px solid var(--grey-light); }
  .nav-links > li > a::after { display: none; }
  .has-dropdown > .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: none; border-left: 3px solid var(--gold); margin-left: 22px; display: none; }
  .has-dropdown.open > .dropdown { display: block; }
  .hero-slider { height: 90vh; min-height: 500px; }
  .slide-content h1 { font-size: clamp(26px, 6vw, 38px); }
  .practice-grid, .team-grid, .testimonial-grid, .blog-grid, .cases-grid { grid-template-columns: 1fr; }
  .form-row, .form-areas { grid-template-columns: 1fr; }
  .cta-banner .container { flex-direction: column; text-align: center; }
  .cta-banner-right { flex-direction: column; align-items: center; }
  .newsletter-inner { flex-direction: column; }
  .newsletter-form { width: 100%; max-width: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .slider-arrows { display: none; }
  .team-card img { height: auto; aspect-ratio: 3/4; }
  .attorney-bio-img img { height: auto; aspect-ratio: 3/4; }
}

/* ================================================================
   SECONDARY PAGES — additional component styles
================================================================ */

/* ---- Core Values (about) ---- */
.values-section { padding: 100px 0; background: var(--cream); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card {
  background: var(--white);
  padding: 40px 28px;
  text-align: center;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}
.value-card:hover { border-bottom-color: var(--gold); box-shadow: 0 10px 30px rgba(0,0,0,0.07); transform: translateY(-4px); }
.value-icon { font-size: 42px; color: var(--gold); margin-bottom: 20px; display: block; }
.value-card h3 { font-size: 19px; margin-bottom: 12px; }
.value-card p { font-size: 14.5px; color: var(--grey-text); line-height: 1.75; }

/* ---- Pull Quote (about) ---- */
.pull-quote-section { padding: 90px 0; background: var(--dark); text-align: center; }
.pull-quote { max-width: 820px; margin: 0 auto; }
.pq-mark { font-size: 90px; color: var(--gold); opacity: 0.25; line-height: 0.7; display: block; margin-bottom: 24px; }
.pull-quote blockquote {
  font-size: clamp(17px, 2.2vw, 24px);
  color: rgba(255,255,255,0.88);
  font-weight: 400;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 28px;
}
.pull-quote cite { font-size: 12px; color: var(--gold); text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; font-style: normal; display: block; }

/* ---- Process Steps (practice areas) ---- */
.process-section { padding: 100px 0; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 60px; counter-reset: step; }
.process-step {
  text-align: center;
  padding: 40px 28px;
  border: 1px solid var(--grey-mid);
  margin-left: -1px;
  position: relative;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.process-step:first-child { margin-left: 0; }
.process-step:hover { background: var(--cream); box-shadow: 0 8px 30px rgba(0,0,0,0.06); z-index: 1; }

/* Arrow connector between steps */
.process-step:not(:last-child)::before {
  content: '';
  position: absolute;
  right: -14px; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 14px solid var(--gold);
  z-index: 2;
}
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -12px; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 12px solid var(--white);
  z-index: 3;
}
.process-step:hover::after { border-left-color: var(--cream); }

.step-num {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 20px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}
.process-step:hover .step-num {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  transform: scale(1.1);
}
.process-step h3 { font-size: 19px; margin-bottom: 12px; }
.process-step p { font-size: 14.5px; color: var(--grey-text); line-height: 1.75; }

/* ---- Attorney Bio Cards (attorneys page) ---- */
.attorneys-section { padding: 100px 0; }
.attorneys-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.attorney-bio-card { border: 1px solid var(--grey-mid); overflow: hidden; transition: box-shadow var(--transition); }
.attorney-bio-card:hover { box-shadow: 0 16px 44px rgba(0,0,0,0.09); }
.attorney-bio-img { position: relative; overflow: hidden; }
.attorney-bio-img img { width: 100%; height: 310px; object-fit: cover; transition: transform 0.5s ease; display: block; }
.attorney-bio-card:hover .attorney-bio-img img { transform: scale(1.04); }
.ab-social {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.86), transparent);
  padding: 30px 18px 16px;
  display: flex; gap: 8px;
  justify-content: center;
}
.ab-social a { width: 34px; height: 34px; background: rgba(255,255,255,0.18); color: var(--white); display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 15px; transition: var(--transition); }
.ab-social a:hover { background: var(--gold); }
.attorney-bio-body { padding: 26px 28px 30px; }
.attorney-bio-body h3 { font-size: 20px; margin-bottom: 4px; }
.attorney-bio-role { font-size: 11.5px; color: var(--gold); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; display: block; margin-bottom: 14px; }
.attorney-bio-body p { font-size: 14px; color: var(--grey-text); line-height: 1.78; }
.attorney-bio-spec { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.spec-tag { background: var(--grey-light); color: var(--text); font-size: 11px; font-weight: 600; padding: 4px 12px; letter-spacing: 0.06em; }

/* ---- Filter pills (case studies / blog) ---- */
.filter-bar-section { padding: 50px 0 0; }
.filter-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 50px; }
.filter-pill {
  padding: 9px 22px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: 1.5px solid var(--grey-mid); background: transparent; color: var(--text);
  cursor: pointer; transition: var(--transition); font-family: var(--font-body);
}
.filter-pill:hover, .filter-pill.active { background: var(--gold); border-color: var(--gold); color: var(--white); }
.blog-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 60px; }
.page-btn {
  min-width: 44px; height: 44px; padding: 0 16px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--white); border: 1.5px solid var(--grey-mid); color: var(--text);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: var(--transition); font-family: var(--font-body);
}
.page-btn:hover, .page-btn.active { background: var(--gold); border-color: var(--gold); color: var(--white); }

/* ---- Contact page ---- */
.contact-section { padding: 100px 0; }
.contact-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 60px; }
.contact-card { border: 1px solid var(--grey-mid); padding: 36px 28px; text-align: center; transition: var(--transition); }
.contact-card:hover { border-color: var(--gold); box-shadow: 0 8px 30px rgba(0,0,0,0.06); }
.contact-card i { font-size: 40px; color: var(--gold); margin-bottom: 16px; display: block; }
.contact-card h3 { font-size: 19px; margin-bottom: 10px; }
.contact-card p { font-size: 15px; color: var(--grey-text); line-height: 1.7; }
.contact-card a { color: var(--grey-text); }
.contact-card a:hover { color: var(--gold); }
.map-wrap { overflow: hidden; border: 1px solid var(--grey-mid); margin-bottom: 70px; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }
.contact-form-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-form-info h3 { font-size: 28px; margin-bottom: 14px; }
.contact-form-info p { font-size: 15.5px; color: var(--grey-text); line-height: 1.85; margin-bottom: 26px; }
.contact-detail-list { display: grid; gap: 16px; }
.contact-detail-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text); }
.contact-detail-list li i { color: var(--gold); margin-top: 2px; flex-shrink: 0; font-size: 18px; }
.contact-detail-list a:hover { color: var(--gold); }
.contact-form-card { background: var(--cream); padding: 44px; }
.contact-form-card h3 { font-size: 22px; margin-bottom: 26px; }

/* ---- Intake page ---- */
.intake-section { padding: 100px 0; }
.intake-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.intake-info { background: var(--dark); padding: 44px 38px; }
.intake-info h3 { font-size: 24px; color: var(--white); margin-bottom: 14px; }
.intake-info > p { font-size: 15px; color: rgba(255,255,255,0.6); margin-bottom: 32px; line-height: 1.8; }
.intake-trust { display: grid; gap: 18px; }
.intake-trust li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.65; }
.intake-trust li i { color: var(--gold); font-size: 18px; margin-top: 2px; flex-shrink: 0; }
.intake-form-card { border: 1px solid var(--grey-mid); padding: 44px; }
.intake-form-card h3 { font-size: 22px; margin-bottom: 6px; }
.intake-form-card > p { font-size: 14.5px; color: var(--grey-text); margin-bottom: 28px; }
.form-section-label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--heading); display: block; margin-bottom: 14px; margin-top: 10px; }
.form-select {
  width: 100%; padding: 13px 16px; font-size: 13.5px; font-family: var(--font-body);
  background: var(--grey-light); border: 1px solid var(--grey-mid);
  color: var(--heading); outline: none; transition: var(--transition); appearance: none; cursor: pointer;
}
.form-select:focus { border-color: var(--gold); background: var(--white); }
.confirm-msg { display: none; background: #eaf3de; border: 1px solid #97c459; color: #27500a; padding: 16px 18px; font-size: 14px; margin-bottom: 20px; }

/* ---- Privacy page ---- */
.privacy-section { padding: 100px 0; }
.privacy-content { max-width: 800px; margin: 0 auto; }
.privacy-content h2 { font-size: 24px; margin: 44px 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--grey-mid); }
.privacy-content h2:first-child { margin-top: 0; }
.privacy-content p { font-size: 15.5px; color: var(--text); line-height: 1.88; margin-bottom: 16px; }
.privacy-content ul { margin: 14px 0 20px 20px; }
.privacy-content ul li { font-size: 15.5px; color: var(--text); line-height: 1.8; margin-bottom: 8px; list-style: disc; }
.privacy-content a { color: var(--gold); }
.privacy-content a:hover { color: var(--gold-dark); }

/* ---- Secondary pages responsive ---- */
@media (max-width: 991px) {
  .values-grid    { grid-template-columns: repeat(2, 1fr); }
  .process-steps  { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .process-step   { margin-left: 0; margin-top: -1px; }
  .process-step:not(:last-child)::before,
  .process-step:not(:last-child)::after { display: none; }
  .attorneys-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-info-grid  { grid-template-columns: 1fr; }
  .contact-form-grid  { grid-template-columns: 1fr; }
  .intake-grid        { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .values-grid, .attorneys-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step { margin-top: -1px; }
  .contact-form-card  { padding: 28px; }
  .intake-form-card   { padding: 28px; }
  .intake-info        { padding: 32px 24px; }
}

/* ================================================================
   ADDITIONAL PAGE STYLES — practice-areas, case-studies, blog,
   contact, intake (supplement)
================================================================ */

/* Make practice-card flex so btn with margin-top:auto anchors bottom */
.practice-card { display: flex; flex-direction: column; align-items: center; }
.practice-list { list-style: none; margin: 0 0 24px 0; flex: 1; display: inline-block; text-align: left; }
.practice-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--grey-text);
  margin-bottom: 8px;
  line-height: 1.6;
}
.practice-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.7;
}

/* ---- Case tiles (case-studies page) ---- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 20px;
}
.case-tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  border-radius: 2px;
}
.case-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.55s ease; }
.case-tile:hover img { transform: scale(1.06); }
.case-tile .case-overlay {
  opacity: 1;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.15) 65%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 28px;
  gap: 8px;
  transition: background var(--transition);
}
.case-tile:hover .case-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.6) 100%);
}
.case-cat-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  margin-bottom: 4px;
  align-self: flex-start;
}
.case-tile .case-overlay h3 { color: var(--white); font-size: 20px; line-height: 1.3; margin: 0; }
.case-tile .case-overlay h2 { color: var(--white); line-height: 1.25; margin: 0; }
.case-tile .case-overlay p {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.case-tile:hover .case-overlay p { opacity: 1; transform: translateY(0); }
.case-tile .case-overlay .btn {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease 0.05s, transform 0.3s ease 0.05s;
  align-self: flex-start;
  margin-top: 4px;
}
.case-tile:hover .case-overlay .btn { opacity: 1; transform: translateY(0); }

/* ---- Blog card v2 (blog listing page) ---- */
.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 20px;
}
.blog-card-v2 {
  border: 1px solid var(--grey-mid);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.blog-card-v2:hover { box-shadow: 0 10px 40px rgba(0,0,0,0.08); transform: translateY(-4px); }
.blog-card-img { position: relative; overflow: hidden; aspect-ratio: 3/2; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.blog-card-v2:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.blog-meta-v2 { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--grey-text); margin-bottom: 14px; }
.blog-meta-v2 span { display: flex; align-items: center; gap: 5px; }
.blog-meta-v2 i { color: var(--gold); }
.blog-card-body h3 { font-size: 18px; line-height: 1.35; margin-bottom: 12px; }
.blog-card-body h3 a { color: var(--heading); }
.blog-card-body h3 a:hover { color: var(--gold); }
.blog-card-body > p { font-size: 14.5px; color: var(--grey-text); line-height: 1.75; margin-bottom: 20px; flex: 1; }
.blog-read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: auto;
  transition: var(--transition);
}
.blog-read-link:hover { color: var(--gold-dark); gap: 10px; }

/* ---- Blog Single Page ---- */
.blog-single-section { padding: 80px 0; }
.blog-single-grid { display: grid; grid-template-columns: 1fr 340px; gap: 50px; align-items: start; }
.blog-single-title { font-size: clamp(26px, 3.5vw, 40px); line-height: 1.25; margin-bottom: 24px; }
.blog-single-meta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-bottom: 24px; margin-bottom: 30px; border-bottom: 1px solid var(--grey-mid);
}
.blog-single-author-avatar img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.blog-single-meta strong { display: block; font-size: 15px; color: var(--heading); }
.blog-single-meta > div > span { font-size: 12px; color: var(--gold); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.blog-single-meta-details { display: flex; gap: 16px; margin-left: auto; font-size: 13px; color: var(--grey-text); }
.blog-single-meta-details span { display: flex; align-items: center; gap: 5px; }
.blog-single-meta-details i { color: var(--gold); }
.blog-single-hero { margin-bottom: 36px; border-radius: 6px; overflow: hidden; }
.blog-single-hero img { width: 100%; height: 400px; object-fit: cover; display: block; }

.blog-single-content { font-size: 16px; color: var(--text); line-height: 1.85; }
.blog-single-content h2 { font-size: 24px; color: var(--heading); margin: 36px 0 16px; }
.blog-single-content h3 { font-size: 19px; color: var(--heading); margin: 28px 0 12px; }
.blog-single-content p { margin-bottom: 18px; }
.blog-single-content ul, .blog-single-content ol { margin: 0 0 20px 24px; }
.blog-single-content ul { list-style: disc; }
.blog-single-content ol { list-style: decimal; }
.blog-single-content li { margin-bottom: 8px; line-height: 1.75; }
.blog-single-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 20px 28px;
  margin: 28px 0;
  background: var(--cream);
  font-size: 17px;
  font-style: italic;
  color: var(--heading);
  line-height: 1.7;
}
.blog-single-content a { color: var(--gold); font-weight: 600; }
.blog-single-content a:hover { color: var(--gold-dark); }

.blog-single-share {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 24px 0; margin: 36px 0; border-top: 1px solid var(--grey-mid); border-bottom: 1px solid var(--grey-mid);
}
.blog-single-share > span { font-size: 14px; font-weight: 600; color: var(--heading); }
.blog-share-icons { display: flex; gap: 8px; }
.blog-share-icons a {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grey-light); color: var(--heading);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; transition: var(--transition);
}
.blog-share-icons a:hover { background: var(--gold); color: var(--white); }

.blog-author-card {
  display: flex; gap: 24px; padding: 30px; margin-top: 36px;
  background: var(--cream); border-left: 4px solid var(--gold);
}
.blog-author-card img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.blog-author-card h4 { font-size: 18px; margin-bottom: 2px; }
.blog-author-card > div > span { font-size: 12px; color: var(--gold); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; display: block; margin-bottom: 10px; }
.blog-author-card p { font-size: 14px; color: var(--grey-text); line-height: 1.7; margin-bottom: 12px; }
.blog-author-socials { display: flex; gap: 8px; }
.blog-author-socials a {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--white); color: var(--heading); border: 1px solid var(--grey-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: var(--transition);
}
.blog-author-socials a:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }

/* Sidebar */
.blog-sidebar { position: sticky; top: 100px; }
.sidebar-card {
  border: 1px solid var(--grey-mid); padding: 28px; margin-bottom: 24px;
}
.sidebar-card h4 { font-size: 16px; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.sidebar-card h4 i { color: var(--gold); }
.sidebar-search {
  width: 100%; padding: 10px 14px; border: 1px solid var(--grey-mid);
  font-size: 14px; font-family: var(--font-body); transition: var(--transition);
}
.sidebar-search:focus { border-color: var(--gold); outline: none; }
.sidebar-categories li { margin-bottom: 10px; }
.sidebar-categories a {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text); transition: var(--transition);
}
.sidebar-categories a:hover { color: var(--gold); padding-left: 4px; }
.sidebar-categories i { color: var(--gold); font-size: 15px; }
.sidebar-categories span {
  margin-left: auto; background: var(--grey-light);
  font-size: 11px; font-weight: 700; padding: 2px 8px; color: var(--text);
}
.sidebar-recent li { margin-bottom: 16px; }
.sidebar-recent li:last-child { margin-bottom: 0; }
.sidebar-recent a { display: flex; gap: 12px; align-items: flex-start; }
.sidebar-recent img { width: 70px; height: 50px; object-fit: cover; flex-shrink: 0; border-radius: 3px; }
.sidebar-recent strong { font-size: 13.5px; line-height: 1.35; color: var(--heading); display: block; margin-bottom: 4px; transition: var(--transition); }
.sidebar-recent a:hover strong { color: var(--gold); }
.sidebar-recent span { font-size: 11px; color: var(--grey-text); }
.sidebar-cta { text-align: center; background: var(--dark); border-color: var(--dark); }
.sidebar-cta h4 { color: var(--white); justify-content: center; }
.sidebar-cta p { font-size: 14px; color: rgba(255,255,255,0.65); }

@media (max-width: 991px) {
  .blog-single-grid { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .sidebar-card { margin-bottom: 0; }
}
@media (max-width: 768px) {
  .blog-sidebar { grid-template-columns: 1fr; }
  .blog-single-hero img { height: 240px; }
  .blog-author-card { flex-direction: column; text-align: center; align-items: center; }
  .blog-author-socials { justify-content: center; }
  .blog-single-meta-details { margin-left: 0; }
}

/* ---- Newsletter v2 (blog page) ---- */
.newsletter-form-v2 { display: flex; max-width: 520px; margin: 0 auto; }
.newsletter-input-v2 {
  flex: 1;
  padding: 15px 20px;
  font-size: 14px;
  font-family: var(--font-body);
  border: none;
  outline: none;
  color: var(--heading);
  background: var(--white);
}
.newsletter-form-v2 .btn { border-radius: 0; white-space: nowrap; }

/* ---- Contact page extras ---- */
.contact-card-btn {
  margin-top: 20px;
  justify-content: center;
  width: 100%;
  border-radius: 50px;
}
/* Override .contact-card a color rule so button text stays white */
.contact-card .contact-card-btn,
.contact-card .contact-card-btn:visited { color: var(--white); }
.contact-card .contact-card-btn:hover  { color: var(--white); }

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 18px;
  transition: var(--transition);
}
.contact-link:hover { color: var(--gold-dark); gap: 10px; }
.contact-card-icon i { font-size: 44px; color: var(--gold); margin-bottom: 16px; display: block; }

/* Map section label */
.map-section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--dark);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.map-section-label i { color: var(--gold); font-size: 18px; }

.map-details { padding: 28px; background: var(--cream); }
.contact-detail-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 14px;
}
.contact-detail-item:last-child { margin-bottom: 0; }
.contact-detail-item i { color: var(--gold); margin-top: 2px; flex-shrink: 0; font-size: 18px; }
.contact-detail-item a { color: var(--text); }
.contact-detail-item a:hover { color: var(--gold); }

/* Form card heading with icon */
.contact-form-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--grey-mid);
}
.contact-form-heading > i {
  font-size: 36px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-form-heading h3 { font-size: 22px; margin-bottom: 4px; }
.contact-form-heading p { font-size: 14px; color: var(--grey-text); margin: 0; }

/* Form label icons */
.form-group label i { color: var(--gold); margin-right: 4px; font-size: 15px; vertical-align: -2px; }

/* ---- Privacy checkbox row ---- */
.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  margin-bottom: 20px;
}
.privacy-check input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--gold);
  cursor: pointer;
}
.privacy-check label {
  flex: 1;
  font-size: 13px;
  color: var(--text);
  line-height: 1.7;
  cursor: pointer;
}
.privacy-check label a { color: var(--gold); text-decoration: underline; }
.privacy-check label a:hover { color: var(--gold-dark); }

/* ---- Intake sidebar h2 + trust items ---- */
.intake-info h2 { font-size: 24px; color: var(--white); margin-bottom: 14px; }
.intake-form-card h2 { font-size: 22px; margin-bottom: 6px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item i { color: var(--gold); font-size: 22px; margin-top: 2px; flex-shrink: 0; }
.trust-item strong { font-size: 14px; color: var(--white); display: block; margin-bottom: 4px; }
.trust-item span { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.6; }
.intake-trust .trust-item { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.intake-trust .trust-item:last-child { border-bottom: none; }
.confirm-msg {
  display: none;
  align-items: flex-start;
  gap: 12px;
  background: #eaf3de;
  border: 1px solid #97c459;
  color: #27500a;
  padding: 20px 24px;
  font-size: 14px;
  border-radius: 2px;
  margin-top: 20px;
}
.confirm-msg i { font-size: 26px; flex-shrink: 0; }
.confirm-msg strong { display: block; font-size: 16px; margin-bottom: 6px; }

/* ---- Privacy page extras ---- */
.privacy-updated { font-size: 13px; color: var(--grey-text); margin-bottom: 40px; font-style: italic; }
.privacy-content h3 { font-size: 17px; color: var(--heading); margin: 22px 0 10px; }

/* ---- Additional responsive ---- */
@media (max-width: 991px) {
  .case-grid        { grid-template-columns: repeat(2, 1fr); }
  .blog-cards-grid  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .case-grid        { grid-template-columns: 1fr; }
  .blog-cards-grid  { grid-template-columns: 1fr; }
  .newsletter-form-v2 { flex-direction: column; }
  .newsletter-form-v2 .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   SCROLL ANIMATIONS — sitewide
   JS in includes.js adds .cl-animate via IntersectionObserver
============================================================ */
.cl-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--anim-delay, 0ms);
}
.cl-animate.visible {
  opacity: 1;
  transform: none;
}
/* Heading variant: shorter travel, faster */
.cl-animate.anim-heading {
  transform: translateY(16px);
  transition-duration: 0.45s;
}
/* Left / right slide variants (for two-column sections) */
.cl-animate.anim-left  { transform: translateX(-36px); }
.cl-animate.anim-right { transform: translateX(36px); }
.cl-animate.anim-left.visible,
.cl-animate.anim-right.visible { transform: none; }

/* Scale variant (for icons, logos) */
.cl-animate.anim-scale { transform: scale(0.88); }
.cl-animate.anim-scale.visible { transform: none; }

/* Respect system preference */
@media (prefers-reduced-motion: reduce) {
  .cl-animate,
  .cl-animate.anim-heading,
  .cl-animate.anim-left,
  .cl-animate.anim-right,
  .cl-animate.anim-scale { opacity: 1; transform: none; transition: none; }
  .page-header::before { animation: none; }
}
