/* =============================================================================
   SEMANSKY LAW - Main Stylesheet
   Production-quality CSS for professional law firm website
   ============================================================================= */

/* -----------------------------------------------------------------------------
   1. CSS RESET & BOX MODEL
   ----------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #474747;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

ul, ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* -----------------------------------------------------------------------------
   2. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ----------------------------------------------------------------------------- */
:root {
  --color-gold:       #c18f59;
  --color-gold-dark:  #a6773f;
  --color-gold-light: #d4a96e;
  --color-nav:        #282e3f;
  --color-nav-dark:   #1e2330;
  --color-footer:     #323232;
  --color-light-bg:   #f2f2f2;
  --color-body:       #474747;
  --color-light-text: #f5f5f5;
  --color-white:      #fff;
  --color-border:     #ddd;
  --color-overlay:    rgba(40, 46, 63, 0.75);

  --font-heading: 'Raleway', sans-serif;
  --font-body:    'Open Sans', sans-serif;

  --max-width: 1200px;
  --container-pad: 1.25rem;

  --radius-sm: 3px;
  --radius-md: 6px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,.10);
  --shadow-md: 0 4px 20px rgba(0,0,0,.15);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.20);

  --transition: 0.25s ease;
  --transition-slow: 0.4s ease;

  --header-height: 60px;
  --topbar-height: 40px;
}

/* -----------------------------------------------------------------------------
   3. TYPOGRAPHY
   ----------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-nav);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 700; }
em { font-style: italic; }

a:hover { color: var(--color-gold); }

/* Section headings with gold underline accent */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-nav);
  margin-bottom: 0.5rem;
}

.section-title--light {
  color: var(--color-white);
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--color-gold);
  margin: 0.6rem 0 0;
}

.section-title--center::after {
  margin: 0.6rem auto 0;
}

.section-title--center {
  text-align: center;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #595959;
  margin-top: 0.75rem;
  margin-bottom: 2rem;
}

.section-subtitle--light {
  color: rgba(245,245,245,.8);
}

/* -----------------------------------------------------------------------------
   4. LAYOUT UTILITIES
   ----------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section {
  padding: 4rem 0;
}

.section--light {
  background-color: var(--color-light-bg);
}

.section--dark {
  background-color: var(--color-nav);
}

.section--gold {
  background-color: var(--color-gold);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr 1fr; }

@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.flex { display: flex; }
.flex--center { align-items: center; justify-content: center; }
.flex--between { align-items: center; justify-content: space-between; }
.flex--wrap { flex-wrap: wrap; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* -----------------------------------------------------------------------------
   5. BUTTONS
   ----------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1.2;
}

.btn:hover { text-decoration: none; }

/* Primary gold button */
.btn--primary {
  background-color: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
}

.btn--primary:hover {
  background-color: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Outline gold button */
.btn--outline {
  background-color: transparent;
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.btn--outline:hover {
  background-color: var(--color-gold);
  color: var(--color-white);
}

/* White outline (on dark backgrounds) */
.btn--outline-white {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn--outline-white:hover {
  background-color: var(--color-white);
  color: var(--color-nav);
}

/* Dark button */
.btn--dark {
  background-color: var(--color-nav);
  color: var(--color-white);
  border-color: var(--color-nav);
}

.btn--dark:hover {
  background-color: var(--color-nav-dark);
  border-color: var(--color-nav-dark);
  color: var(--color-white);
}

/* Size variants */
.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* Free evaluation / CTA button */
.btn--eval {
  background-color: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
  font-size: 0.75rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-sm);
}

.btn--eval:hover {
  background-color: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  color: var(--color-white);
}

/* -----------------------------------------------------------------------------
   6. TOP BAR
   ----------------------------------------------------------------------------- */
.topbar {
  background-color: var(--color-nav-dark);
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: relative;
  z-index: 200;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  gap: 1rem;
}

.topbar__contact {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar__contact a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-light-text);
  font-size: 0.8rem;
  transition: color var(--transition);
}

.topbar__contact a:hover { color: var(--color-gold); }
.topbar__contact .fa { color: var(--color-gold); font-size: 0.75rem; }

.topbar__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar__social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.topbar__social a {
  color: rgba(245,245,245,.65);
  font-size: 0.85rem;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color var(--transition), background-color var(--transition);
}

.topbar__social a:hover {
  color: var(--color-white);
  background-color: var(--color-gold);
}

/* Hide phone text on very small screens, keep icon */
@media (max-width: 479px) {
  .topbar__contact .topbar__phone-text { display: none; }
  .topbar__contact .topbar__address { display: none; }
}

/* -----------------------------------------------------------------------------
   7. NAVIGATION BAR
   ----------------------------------------------------------------------------- */
.site-header {
  background-color: var(--color-nav);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* Logo */
.navbar__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.navbar__logo a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-white);
  text-decoration: none;
}

.navbar__logo img {
  height: 44px;
  width: auto;
}

.navbar__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.navbar__logo-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.navbar__logo-tagline {
  font-size: 0.65rem;
  color: var(--color-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Nav links */
.navbar__menu {
  display: none;
  align-items: center;
  gap: 0;
}

.navbar__menu > li {
  position: relative;
}

.navbar__menu > li > a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--color-light-text);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0 1rem;
  height: var(--header-height);
  transition: color var(--transition), background-color var(--transition);
  white-space: nowrap;
}

.navbar__menu > li > a:hover,
.navbar__menu > li.active > a {
  color: var(--color-gold);
  background-color: rgba(255,255,255,.04);
}

.navbar__menu > li > a .fa-caret-down {
  font-size: 0.65rem;
  transition: transform var(--transition);
}

.navbar__menu > li:hover > a .fa-caret-down {
  transform: rotate(180deg);
}

/* Dropdown */
.navbar__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: var(--color-nav-dark);
  border-top: 3px solid var(--color-gold);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  z-index: 50;
}

.navbar__menu > li:hover .navbar__dropdown,
.navbar__menu > li:focus-within .navbar__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar__dropdown li a {
  display: block;
  padding: 0.65rem 1.25rem;
  color: rgba(245,245,245,.8);
  font-size: 0.82rem;
  font-family: var(--font-body);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color var(--transition), padding-left var(--transition), background-color var(--transition);
}

.navbar__dropdown li:last-child a { border-bottom: none; }

.navbar__dropdown li a:hover {
  color: var(--color-gold);
  background-color: rgba(255,255,255,.04);
  padding-left: 1.6rem;
}

/* Hamburger toggle */
.navbar__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition);
}

.navbar__toggle:hover { background-color: rgba(255,255,255,.08); }

.navbar__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-light-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), width var(--transition);
  transform-origin: center;
}

/* Animated hamburger to X */
.navbar__toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle.is-active span:nth-child(2) { opacity: 0; width: 0; }
.navbar__toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.navbar__mobile-menu {
  display: none;
  flex-direction: column;
  background-color: var(--color-nav-dark);
  border-top: 1px solid rgba(255,255,255,.08);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow) ease;
}

.navbar__mobile-menu.is-open {
  display: flex;
  max-height: 80vh;
  overflow-y: auto;
}

.navbar__mobile-menu a {
  display: block;
  padding: 0.8rem 1.5rem;
  color: rgba(245,245,245,.85);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color var(--transition), background-color var(--transition), padding-left var(--transition);
}

.navbar__mobile-menu a:hover {
  color: var(--color-gold);
  background-color: rgba(255,255,255,.03);
  padding-left: 2rem;
}

.navbar__mobile-menu .mobile-dropdown a {
  padding-left: 2.5rem;
  font-size: 0.78rem;
  font-weight: 400;
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  color: rgba(245,245,245,.65);
}

.navbar__mobile-menu .mobile-dropdown a:hover {
  color: var(--color-gold);
  padding-left: 3rem;
}

@media (min-width: 960px) {
  .navbar__menu { display: flex; }
  .navbar__toggle { display: none; }
  .navbar__mobile-menu { display: none !important; }
}

/* -----------------------------------------------------------------------------
   8. HERO / BANNER SECTIONS
   ----------------------------------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-nav);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero--tall { min-height: 620px; }
.hero--short { min-height: 360px; }

/* Overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
  z-index: 1;
}

.hero--overlay-dark::before {
  background: rgba(20, 24, 34, 0.82);
}

.hero--overlay-gradient::before {
  background: linear-gradient(
    135deg,
    rgba(40,46,63,.92) 0%,
    rgba(40,46,63,.6) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 4rem var(--container-pad);
  width: 100%;
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.hero__title span { color: var(--color-gold); }

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(245,245,245,.88);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,.5);
  font-size: 1.25rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Page title banner (inner pages) */
.page-banner {
  position: relative;
  background-color: var(--color-nav);
  background-size: cover;
  background-position: center;
  padding: 3.5rem 0;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 35, 48, 0.88);
}

.page-banner__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.page-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.page-banner__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.page-banner__breadcrumb a,
.page-banner__breadcrumb span {
  font-size: 0.82rem;
  color: rgba(245,245,245,.65);
  transition: color var(--transition);
}

.page-banner__breadcrumb a:hover { color: var(--color-gold); }

.page-banner__breadcrumb .separator {
  color: var(--color-gold);
  font-size: 0.7rem;
}

.page-banner__breadcrumb .current {
  color: var(--color-gold);
}

/* -----------------------------------------------------------------------------
   9. PRACTICE AREA ICON CARDS (homepage grid)
   ----------------------------------------------------------------------------- */
.practice-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .practice-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .practice-cards { grid-template-columns: repeat(3, 1fr); }
}

.practice-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.practice-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.practice-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--color-gold-light);
}

.practice-card:hover::after {
  transform: scaleX(1);
}

.practice-card__icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.25rem;
  background-color: rgba(193,143,89,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition);
}

.practice-card:hover .practice-card__icon {
  background-color: var(--color-gold);
}

.practice-card__icon .fa,
.practice-card__icon i {
  font-size: 1.75rem;
  color: var(--color-gold);
  transition: color var(--transition);
}

.practice-card:hover .practice-card__icon .fa,
.practice-card:hover .practice-card__icon i {
  color: var(--color-white);
}

.practice-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-nav);
  margin-bottom: 0.75rem;
  transition: color var(--transition);
}

.practice-card:hover .practice-card__title { color: var(--color-gold); }

.practice-card__text {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.practice-card__link {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition), color var(--transition);
}

.practice-card__link:hover { gap: 0.75rem; color: var(--color-gold-dark); }

/* -----------------------------------------------------------------------------
   10. PRACTICE AREA PHOTO CARDS (/practice-areas/ listing page)
   ----------------------------------------------------------------------------- */
.area-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .area-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .area-cards { grid-template-columns: repeat(3, 1fr); }
}

.area-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  background-color: var(--color-white);
}

.area-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.area-card__image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.area-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.area-card:hover .area-card__image img {
  transform: scale(1.07);
}

.area-card__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(40,46,63,.65) 100%);
}

.area-card__body {
  padding: 1.5rem;
}

.area-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-nav);
  margin-bottom: 0.6rem;
  transition: color var(--transition);
}

.area-card:hover .area-card__title { color: var(--color-gold); }

.area-card__text {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.area-card__link {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition);
}

.area-card__link:hover { gap: 0.75rem; }

/* -----------------------------------------------------------------------------
   11. TWO-COLUMN CONTENT LAYOUT (inner pages)
   ----------------------------------------------------------------------------- */
.content-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem var(--container-pad);
}

@media (min-width: 960px) {
  .content-layout {
    grid-template-columns: 1fr 320px;
    gap: 3rem;
  }
}

/* Main content area */
.content-main h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--color-nav);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--color-light-bg);
}

.content-main h2::first-letter { color: var(--color-gold); }

.content-main h3 {
  font-size: 1.15rem;
  color: var(--color-nav);
  margin: 1.5rem 0 0.75rem;
}

.content-main p { margin-bottom: 1.1rem; }

.content-main ul,
.content-main ol {
  margin: 0.75rem 0 1.25rem 1.5rem;
}

.content-main ul { list-style: disc; }
.content-main ol { list-style: decimal; }

.content-main li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  line-height: 1.65;
}

.content-main ul li::marker { color: var(--color-gold); }

.content-main blockquote {
  border-left: 4px solid var(--color-gold);
  padding: 1rem 1.5rem;
  background-color: var(--color-light-bg);
  margin: 1.5rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.content-main blockquote p {
  font-style: italic;
  color: #555;
  margin: 0;
}

/* -----------------------------------------------------------------------------
   12. SIDEBAR
   ----------------------------------------------------------------------------- */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.sidebar-widget {
  background-color: var(--color-light-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.sidebar-widget__header {
  background-color: var(--color-nav);
  padding: 0.9rem 1.25rem;
}

.sidebar-widget__title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-white);
  margin: 0;
}

.sidebar-widget__body { padding: 1.25rem; }

/* Practice area list */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.875rem;
  color: var(--color-body);
  transition: color var(--transition), padding-left var(--transition);
}

.sidebar-nav a:last-child { border-bottom: none; }

.sidebar-nav a::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--color-gold);
  margin-right: 0.5rem;
  font-size: 0.75rem;
  transition: margin-right var(--transition);
}

.sidebar-nav a:hover {
  color: var(--color-gold);
  padding-left: 0.4rem;
}

.sidebar-nav a:hover::before { margin-right: 0.75rem; }

.sidebar-nav a.active { color: var(--color-gold); font-weight: 600; }

/* Sidebar CTA */
.sidebar-cta {
  background: linear-gradient(135deg, var(--color-nav), var(--color-nav-dark));
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--color-white);
}

.sidebar-cta__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.sidebar-cta__text {
  font-size: 0.875rem;
  color: rgba(245,245,245,.8);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.sidebar-cta .btn { width: 100%; justify-content: center; }

.sidebar-cta__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-gold);
  transition: color var(--transition);
}

.sidebar-cta__phone:hover { color: var(--color-gold-light); }
.sidebar-cta__phone .fa { font-size: 0.9rem; }

/* -----------------------------------------------------------------------------
   13. STATS / COUNTER SECTION ("150 Jury Trials")
   ----------------------------------------------------------------------------- */
.stats-section {
  background: linear-gradient(135deg, var(--color-nav-dark) 0%, var(--color-nav) 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(193,143,89,.06);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-item {
  padding: 1.5rem 1rem;
  border-right: 1px solid rgba(255,255,255,.1);
}

.stat-item:last-child { border-right: none; }

@media (max-width: 767px) {
  .stat-item:nth-child(even) { border-right: none; }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.1); }
}

.stat-item__number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item__suffix {
  font-size: 0.6em;
  vertical-align: super;
  color: var(--color-gold-light);
}

.stat-item__label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(245,245,245,.7);
  line-height: 1.4;
}

/* -----------------------------------------------------------------------------
   14. TESTIMONIALS SECTION
   ----------------------------------------------------------------------------- */
.testimonials-section {
  background-color: var(--color-light-bg);
  padding: 4.5rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.testimonial-card__quote-icon {
  font-size: 3rem;
  color: rgba(193,143,89,.2);
  line-height: 1;
  font-family: Georgia, serif;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
}

.testimonial-card__stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.testimonial-card__stars .fa {
  color: var(--color-gold);
  font-size: 0.85rem;
}

.testimonial-card__text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: #555;
  font-style: italic;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-white);
}

.testimonial-card__name {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-nav);
}

.testimonial-card__meta {
  font-size: 0.75rem;
  color: #999;
  margin-top: 0.15rem;
}

/* -----------------------------------------------------------------------------
   15. CONTACT FORM
   ----------------------------------------------------------------------------- */
.contact-section {
  padding: 4.5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

/* Form styles */
.contact-form {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-form--dark {
  background-color: var(--color-nav);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-nav);
  margin-bottom: 0.4rem;
}

.contact-form--dark .form-group label {
  color: rgba(245,245,245,.8);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-body);
  background-color: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.contact-form--dark .form-group input,
.contact-form--dark .form-group select,
.contact-form--dark .form-group textarea {
  background-color: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.15);
  color: var(--color-light-text);
}

.contact-form--dark .form-group input::placeholder,
.contact-form--dark .form-group textarea::placeholder {
  color: rgba(255,255,255,.35);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(193,143,89,.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23474747' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 480px) {
  .form-row { grid-template-columns: repeat(2, 1fr); }
}

.form-submit { width: 100%; margin-top: 0.5rem; }

.form-note {
  font-size: 0.78rem;
  color: #888;
  margin-top: 0.75rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.form-note .fa { color: var(--color-gold); }

/* Contact info */
.contact-info { }

.contact-info__item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  background-color: rgba(193,143,89,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.contact-info__icon .fa {
  color: var(--color-gold);
  font-size: 1rem;
}

.contact-info__label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gold);
  margin-bottom: 0.25rem;
}

.contact-info__value {
  font-size: 0.95rem;
  color: var(--color-body);
  line-height: 1.5;
}

.contact-info__value a { transition: color var(--transition); }
.contact-info__value a:hover { color: var(--color-gold); }

/* -----------------------------------------------------------------------------
   16. FOOTER
   ----------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-footer);
  color: rgba(245,245,245,.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-col__title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  position: relative;
}

.footer-col__title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-gold);
}

/* Footer logo & about */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo img { height: 40px; width: auto; }

.footer-logo-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.footer-about {
  font-size: 0.875rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

/* Footer social */
.footer-social {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background-color: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245,245,245,.65);
  font-size: 0.85rem;
  transition: background-color var(--transition), color var(--transition), transform var(--transition);
}

.footer-social a:hover {
  background-color: var(--color-gold);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Footer quick links */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  font-size: 0.875rem;
  color: rgba(245,245,245,.65);
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: color var(--transition), padding-left var(--transition);
}

.footer-links a::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--color-gold);
  font-size: 0.7rem;
  flex-shrink: 0;
}

.footer-links a:hover {
  color: var(--color-gold);
  padding-left: 0.4rem;
}

/* Footer contact */
.footer-contact { }

.footer-contact__item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.footer-contact__item .fa {
  color: var(--color-gold);
  font-size: 0.9rem;
  margin-top: 0.15rem;
  width: 16px;
  flex-shrink: 0;
}

.footer-contact__item span,
.footer-contact__item a {
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(245,245,245,.65);
  transition: color var(--transition);
}

.footer-contact__item a:hover { color: var(--color-gold); }

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 3rem;
  padding: 1.25rem var(--container-pad);
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom__copy {
  font-size: 0.78rem;
  color: rgba(245,245,245,.4);
}

.footer-bottom__links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-bottom__links a {
  font-size: 0.78rem;
  color: rgba(245,245,245,.4);
  transition: color var(--transition);
}

.footer-bottom__links a:hover { color: var(--color-gold); }

.site-footer-wrap {
  background-color: var(--color-footer);
}

/* -----------------------------------------------------------------------------
   17. ABOUT / ATTORNEY SECTION
   ----------------------------------------------------------------------------- */
.attorney-section {
  padding: 5rem 0;
}

.attorney-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .attorney-grid { grid-template-columns: 340px 1fr; }
}

.attorney-photo {
  position: relative;
}

.attorney-photo img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.attorney-photo__badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background-color: var(--color-gold);
  color: var(--color-white);
  padding: 1rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.attorney-photo__badge-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}

.attorney-photo__badge-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
  opacity: 0.9;
}

.attorney-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0;
}

.attorney-credential-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: var(--color-light-bg);
  color: var(--color-nav);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: 2rem;
  border: 1px solid var(--color-border);
}

.attorney-credential-badge .fa { color: var(--color-gold); font-size: 0.65rem; }

/* -----------------------------------------------------------------------------
   18. WHY CHOOSE US / FEATURES SECTION
   ----------------------------------------------------------------------------- */
.features-section {
  padding: 4.5rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }

.feature-item {
  text-align: center;
  padding: 2rem 1.25rem;
}

.feature-item__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-item__icon .fa,
.feature-item__icon i { color: var(--color-white); font-size: 1.5rem; }

.feature-item__title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-nav);
  margin-bottom: 0.6rem;
}

.feature-item__text {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.65;
}

/* -----------------------------------------------------------------------------
   19. CTA BANNER SECTION
   ----------------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-nav) 0%, var(--color-nav-dark) 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  bottom: -60%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(193,143,89,.07);
  pointer-events: none;
}

.cta-banner__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-banner__text {
  font-size: 1rem;
  color: rgba(245,245,245,.75);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* -----------------------------------------------------------------------------
   20. BREADCRUMB
   ----------------------------------------------------------------------------- */
.breadcrumb {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 2rem;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #999;
}

.breadcrumb__item a {
  color: var(--color-gold);
  transition: color var(--transition);
}

.breadcrumb__item a:hover { color: var(--color-gold-dark); }

.breadcrumb__separator { color: #ccc; font-size: 0.7rem; }

.breadcrumb__item--current { color: var(--color-body); }

/* -----------------------------------------------------------------------------
   21. BADGES & ACCREDITATION
   ----------------------------------------------------------------------------- */
.accreditation-bar {
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem 0;
}

.accreditation-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.accreditation-bar img {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.5;
  transition: filter var(--transition), opacity var(--transition);
}

.accreditation-bar img:hover { filter: grayscale(0); opacity: 1; }

/* -----------------------------------------------------------------------------
   22. MAP / LOCATION SECTION
   ----------------------------------------------------------------------------- */
.map-section {
  height: 400px;
  background-color: var(--color-light-bg);
  overflow: hidden;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* -----------------------------------------------------------------------------
   23. UTILITY / HELPER CLASSES
   ----------------------------------------------------------------------------- */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 1rem !important; }
.mt-2 { margin-top: 2rem !important; }
.mt-3 { margin-top: 3rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 1rem !important; }
.mb-2 { margin-bottom: 2rem !important; }
.mb-3 { margin-bottom: 3rem !important; }

.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }

.color-gold   { color: var(--color-gold) !important; }
.color-nav    { color: var(--color-nav) !important; }
.color-white  { color: var(--color-white) !important; }
.color-body   { color: var(--color-body) !important; }

.bg-white  { background-color: var(--color-white) !important; }
.bg-light  { background-color: var(--color-light-bg) !important; }
.bg-dark   { background-color: var(--color-nav) !important; }
.bg-footer { background-color: var(--color-footer) !important; }

.fw-700 { font-weight: 700 !important; }
.fw-400 { font-weight: 400 !important; }

.uppercase { text-transform: uppercase !important; }

.border-gold { border-color: var(--color-gold) !important; }

.d-none  { display: none !important; }
.d-block { display: block !important; }
.d-flex  { display: flex !important; }

@media (min-width: 768px) {
  .d-md-none  { display: none !important; }
  .d-md-block { display: block !important; }
  .d-md-flex  { display: flex !important; }
}

@media (min-width: 1024px) {
  .d-lg-none  { display: none !important; }
  .d-lg-block { display: block !important; }
  .d-lg-flex  { display: flex !important; }
}

/* Dividers */
.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 2rem 0;
}

.divider--gold { border-top-color: var(--color-gold); }
.divider--dark { border-top-color: rgba(255,255,255,.1); }

/* Notices / alerts */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  border-left: 4px solid;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.alert .fa { margin-top: 0.1rem; flex-shrink: 0; }

.alert--success { background-color: #f0faf4; border-color: #2ecc71; color: #1a7e44; }
.alert--error   { background-color: #fff5f5; border-color: #e74c3c; color: #922b2b; }
.alert--info    { background-color: #f0f6ff; border-color: #3498db; color: #1a5e8f; }
.alert--warning { background-color: #fffbf0; border-color: var(--color-gold); color: #7a5120; }

/* -----------------------------------------------------------------------------
   24. SKIP LINK (ACCESSIBILITY)
   ----------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0.5rem;
  z-index: 9999;
  background-color: var(--color-gold);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 700;
  transition: top 0.2s;
}

.skip-link:focus { top: 0; }

/* -----------------------------------------------------------------------------
   25. FOCUS STYLES (ACCESSIBILITY)
   ----------------------------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

/* -----------------------------------------------------------------------------
   26. SCROLLBAR STYLING
   ----------------------------------------------------------------------------- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #c5c5c5; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-gold); }

/* -----------------------------------------------------------------------------
   27. SELECTION
   ----------------------------------------------------------------------------- */
::selection {
  background-color: rgba(193,143,89,.25);
  color: var(--color-nav);
}

/* -----------------------------------------------------------------------------
   28. ANIMATIONS
   ----------------------------------------------------------------------------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

.animate-fade-up  { animation: fadeInUp 0.6s ease both; }
.animate-fade     { animation: fadeIn 0.5s ease both; }
.animate-slide-in { animation: slideInLeft 0.6s ease both; }

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* -----------------------------------------------------------------------------
   29. RESPONSIVE ADJUSTMENTS
   ----------------------------------------------------------------------------- */
@media (max-width: 767px) {
  :root {
    --container-pad: 1rem;
    --header-height: 56px;
  }

  .section { padding: 3rem 0; }

  .hero { min-height: 380px; }
  .hero--tall { min-height: 480px; }
  .hero--short { min-height: 280px; }

  .stats-grid { gap: 1rem; }
  .stat-item { padding: 1rem 0.5rem; }

  .contact-form { padding: 1.75rem 1.25rem; }

  .content-layout { padding: 2rem var(--container-pad); }

  .cta-banner { padding: 3rem 0; }

  .footer-grid { gap: 2rem; }
}

@media (max-width: 479px) {
  .hero__actions { flex-direction: column; align-items: center; }
  .cta-banner__actions { flex-direction: column; align-items: center; }
  .topbar__right .btn--eval { display: none; }
}

/* Large screens */
@media (min-width: 1400px) {
  :root { --container-pad: 2rem; }
}

/* -----------------------------------------------------------------------------
   30. PRINT STYLES
   ----------------------------------------------------------------------------- */
@media print {
  /* Reset background colors and shadows for print */
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    font-family: Georgia, 'Times New Roman', serif;
  }

  a { color: #000 !important; text-decoration: underline; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #555 !important; }
  a[href^="#"]::after,
  a[href^="javascript:"]::after { content: ""; }

  /* Hide non-essential UI */
  .topbar,
  .site-header,
  .navbar,
  .navbar__mobile-menu,
  .hero__scroll,
  .sidebar-cta,
  .contact-form,
  .map-section,
  .stats-section,
  .cta-banner,
  .site-footer,
  .btn,
  .accreditation-bar,
  .skip-link {
    display: none !important;
  }

  /* Page title banner prints cleanly */
  .page-banner {
    background: none !important;
    padding: 1rem 0;
    border-bottom: 2px solid #000;
    margin-bottom: 1.5rem;
  }

  .page-banner::before { display: none; }
  .page-banner__title { color: #000 !important; font-size: 18pt; }

  /* Content layout: single column */
  .content-layout {
    display: block;
    padding: 0;
  }

  .sidebar { display: none; }

  /* Practice cards: simple list */
  .practice-cards,
  .area-cards,
  .features-grid,
  .testimonials-grid {
    display: block;
  }

  .practice-card,
  .area-card,
  .testimonial-card {
    page-break-inside: avoid;
    border: 1px solid #ccc;
    margin-bottom: 1rem;
    padding: 0.75rem;
  }

  .area-card__image { display: none; }

  /* Page breaks */
  h1, h2, h3 { page-break-after: avoid; }
  p, blockquote { orphans: 3; widows: 3; }
  blockquote { page-break-inside: avoid; }

  /* Contact info visible */
  .contact-info__item { margin-bottom: 0.5rem; }

  /* Attorney section: single column */
  .attorney-grid { display: block; }
  .attorney-photo { margin-bottom: 1rem; }
  .attorney-photo img { max-width: 200px; }

  /* Stats: simple table-like layout */
  .stats-grid { display: flex; flex-wrap: wrap; gap: 1rem; }
  .stat-item { border: none; padding: 0.5rem; }
  .stat-item__number { font-size: 24pt; }

  /* Footer for print */
  .footer-bottom {
    display: block;
    border-top: 1px solid #ccc;
    padding: 0.5rem 0;
    margin-top: 2rem;
  }

  .footer-bottom__copy { font-size: 9pt; color: #666 !important; }

  /* URL display fix for logo links */
  .navbar__logo a::after { content: none; }
}
