/* ============================================
   GEM STATE ATTORNEYS - Main Stylesheet
   Static HTML/CSS/JS | SEO-Optimized Build
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-primary: #111111;      /* Rich black */
  --color-secondary: #b8964e;    /* Logo gold */
  --color-accent: #b8964e;       /* Gold CTA (matches logo) */
  --color-accent-hover: #a07f3a;
  --color-text: #3a3a3a;
  --color-text-light: #5a5a5a;
  --color-heading: #111111;
  --color-bg: #ffffff;
  --color-bg-alt: #faf9f6;
  --color-bg-dark: #111111;
  --color-border: #e2ddd3;
  --color-white: #ffffff;

  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Public Sans', 'Arial', sans-serif;

  --max-width: 1200px;
  --header-height: 80px;
  --transition: 0.3s ease;
  --shadow: 0 2px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 4px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-hover); }

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

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }

p { margin-bottom: 1rem; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* --- Skip Link (Accessibility) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--color-accent);
  color: #fff;
  padding: 8px 16px;
  z-index: 9999;
  font-size: 0.9rem;
}
.skip-link:focus { top: 0; }

/* ============================================
   HEADER & NAVIGATION
   Modeled after old gemstateattorneys.com:
   thin top bar, clean logo + text nav, no boxy elements
   ============================================ */

/* Top bar - thin, dark, understated */
.top-bar,
.top-bar-wrapper {
  background: var(--color-bg-dark);
  color: var(--color-white);
  padding: 6px 0;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
}
.top-bar .container,
.top-bar-wrapper .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a,
.top-bar-wrapper a { color: var(--color-white); font-weight: 500; }
.top-bar a:hover,
.top-bar-wrapper a:hover { color: var(--color-secondary); }
.top-bar .top-bar__cta,
.top-bar-wrapper .btn-cta-small,
.btn-cta-small {
  color: var(--color-secondary) !important;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 1px;
  background: none;
  border: none;
  padding: 0;
}
.phone-link { font-weight: 600; }

/* Main header - clean, white, logo left + nav right */
.site-header,
.header,
.sticky-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-header .container,
.header .container,
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo - matches old site: small, clean */
.logo,
.logo-section { display: flex; align-items: center; }
.logo img,
.logo-section img {
  height: 50px;
  width: auto;
}
/* Hide any text next to logo - logo image contains the text */
.logo-text,
.firm-name,
.firm-tagline { display: none; }

/* Navigation - simple text links like old site */
.main-nav,
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}
.main-nav a,
.nav-menu a,
.nav-menu .nav-link,
.nav-link {
  color: var(--color-heading);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  position: relative;
  transition: color var(--transition);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-block;
}
.main-nav a:hover,
.nav-menu a:hover,
.nav-link:hover,
.main-nav a.active,
.nav-link.active {
  color: var(--color-secondary);
}
/* Subtle underline on hover - NOT boxy */
.main-nav a::after,
.nav-menu > a::after,
.nav-menu > .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--color-secondary);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.main-nav a:hover::after,
.nav-menu > a:hover::after,
.nav-menu > .nav-link:hover::after,
.main-nav a.active::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Dropdown - clean, no Windows button feel */
.nav-dropdown { position: relative; display: inline-block; }
.nav-dropdown > a,
.nav-dropdown > button,
.dropdown-toggle {
  color: var(--color-heading);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  background: none !important;
  border: none !important;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none !important;
}
.dropdown-toggle:hover,
.nav-dropdown > a:hover {
  color: var(--color-secondary);
}
.dropdown-arrow {
  font-size: 0.55rem;
  margin-left: 4px;
  vertical-align: middle;
  opacity: 0.5;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  min-width: 220px;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all var(--transition);
  z-index: 100;
  border: 1px solid var(--color-border);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a,
.dropdown-menu .dropdown-link {
  display: block;
  padding: 9px 20px;
  font-size: 0.84rem;
  color: var(--color-text);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  font-weight: 400;
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover {
  background: var(--color-bg-alt);
  color: var(--color-secondary);
}
.dropdown-menu a::after { display: none; }

/* Hamburger menu - mobile */
.menu-toggle,
.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span,
.hamburger-menu span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-heading);
  transition: var(--transition);
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
  background: linear-gradient(135deg, #111111 0%, #1a1a1a 50%, #222222 100%);
  color: var(--color-white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="p" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="1" cy="1" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect fill="url(%23p)" width="100" height="100"/></svg>');
  opacity: 0.5;
}
.hero .container { position: relative; z-index: 1; }
.hero__content { max-width: 680px; }
.hero__badge {
  display: inline-block;
  background: rgba(201, 169, 78, 0.15);
  color: var(--color-secondary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  border: 1px solid rgba(201, 169, 78, 0.3);
}
.hero h1 {
  color: var(--color-white);
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.15;
}
.hero h1 span { color: var(--color-secondary); }
.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.8;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Page Hero (shorter) */
.page-hero {
  background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
  color: var(--color-white);
  padding: 60px 0 50px;
  text-align: center;
}
.page-hero h1 { color: var(--color-white); margin-bottom: 12px; font-size: 2.6rem; }
.page-hero p { opacity: 0.85; font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* Breadcrumbs */
.breadcrumbs {
  padding: 16px 0;
  font-size: 0.82rem;
  color: var(--color-text-light);
  border-bottom: 1px solid var(--color-border);
}
.breadcrumbs a { color: var(--color-accent); }
.breadcrumbs span { margin: 0 8px; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(184, 150, 78, 0.4);
}
.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-secondary);
}
.btn-secondary:hover {
  background: var(--color-secondary);
  color: var(--color-bg-dark);
}
.btn-gold {
  background: var(--color-secondary);
  color: var(--color-bg-dark);
  border-color: var(--color-secondary);
}
.btn-gold:hover {
  background: #b89a3e;
  border-color: #b89a3e;
  color: var(--color-bg-dark);
}
.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn-outline:hover {
  background: var(--color-accent);
  color: var(--color-white);
}
.btn-sm { padding: 10px 22px; font-size: 0.8rem; }
.btn-lg { padding: 18px 40px; font-size: 1rem; }
.btn-large {
  padding: 20px 44px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.btn-cta-gold {
  background: var(--color-secondary);
  color: #111111;
  border-color: var(--color-secondary);
  padding: 20px 44px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: none;
  box-shadow: 0 4px 20px rgba(184, 150, 78, 0.4);
}
.btn-cta-gold:hover {
  background: #c9a95e;
  border-color: #c9a95e;
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(184, 150, 78, 0.5);
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 80px 0; }
.section--alt { background: var(--color-bg-alt); }
.section--dark {
  background: var(--color-bg-dark);
  color: var(--color-white);
}
.section--dark h2,
.section--dark h3 { color: var(--color-white); }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header .accent-line {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-secondary);
  margin: 16px auto 0;
}
.section-header p {
  color: var(--color-text-light);
  font-size: 1.05rem;
}

/* ============================================
   CARDS & GRID
   ============================================ */
.grid { display: grid; gap: 30px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--color-border);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-secondary);
}
.card__icon {
  width: 56px;
  height: 56px;
  background: rgba(184, 150, 78, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--color-accent);
}
.card h3 { margin-bottom: 12px; font-size: 1.3rem; }
.card p { color: var(--color-text-light); font-size: 0.95rem; margin-bottom: 16px; }
.card__link {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent);
}
.card__link:hover { color: var(--color-accent-hover); }

/* Practice Area Cards */
.practice-card {
  text-align: center;
  padding: 40px 28px;
}
.practice-card .card__icon { margin: 0 auto 20px; }

/* ============================================
   ABOUT / BIO SECTION
   ============================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.about-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 6px;
  background: var(--color-secondary);
}
.about-image img { width: 100%; }
.about-content h2 { margin-bottom: 20px; }
.about-content .credential {
  display: inline-block;
  background: var(--color-bg-alt);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  margin: 4px 4px 4px 0;
  border: 1px solid var(--color-border);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 30px; }
.testimonial {
  background: var(--color-white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--color-secondary);
  position: relative;
}
.testimonial::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-secondary);
  opacity: 0.3;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}
.testimonial p { font-style: italic; padding-top: 24px; font-size: 1rem; line-height: 1.7; }
.testimonial__author {
  margin-top: 16px;
  font-weight: 700;
  color: var(--color-heading);
  font-style: normal;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
/* FAQ Section Wrapper - makes FAQ stand out from page content */
.faq-section {
  background: var(--color-bg-alt);
  border-top: 3px solid var(--color-secondary);
  border-radius: 6px;
  padding: 40px 36px;
  margin-top: 48px;
  margin-bottom: 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.faq-section h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}
.faq-section .faq-subtitle {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-secondary);
  border-radius: 4px;
  padding: 20px 24px;
  margin-bottom: 12px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.faq-item:hover {
  box-shadow: 0 2px 12px rgba(184, 150, 78, 0.12);
  border-left-color: var(--color-accent-hover);
}
.faq-item:last-child {
  margin-bottom: 0;
}
.faq-item h3 {
  font-size: 1.1rem;
  color: var(--color-heading);
  margin-bottom: 8px;
  font-weight: 600;
}
.faq-item p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 0;
}

/* Accordion-style FAQ */
.faq-accordion-section .faq-item {
  padding: 0;
  border-left: none;
  overflow: hidden;
}
.faq-accordion-section .faq-item:hover {
  box-shadow: none;
}
.faq-question {
  width: 100%;
  background: var(--color-white);
  border: none;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-heading);
  text-align: left;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  transition: background var(--transition), color var(--transition);
}
.faq-question:hover {
  color: var(--color-accent);
  background: #faf8f3;
}
.faq-item.active .faq-question {
  color: var(--color-secondary);
  border-bottom: 1px solid var(--color-border);
}
.faq-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 2px solid var(--color-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-secondary);
  transition: transform var(--transition), background var(--transition);
  margin-left: 20px;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--color-secondary);
  color: #111;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer__inner {
  padding: 20px 24px 24px;
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--color-text);
}
.faq-item.active .faq-answer { max-height: 600px; }

/* ============================================
   CONTACT & FORMS
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(184, 150, 78, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.contact-info-item h4 { margin-bottom: 4px; font-size: 1rem; }
.contact-info-item p { margin-bottom: 0; font-size: 0.92rem; color: var(--color-text-light); }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-heading);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  background: var(--color-white);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(184, 150, 78, 0.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-disclaimer {
  font-size: 0.78rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-top: 12px;
}

/* ============================================
   STAT BAR / TRUST INDICATORS
   ============================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
}
.stat {
  text-align: center;
  padding: 36px 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat:last-child { border-right: none; }
.stat__number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-secondary);
  line-height: 1;
  margin-bottom: 8px;
}
.stat__label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.85;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
  color: var(--color-white);
  padding: 60px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--color-white); margin-bottom: 16px; }
.cta-banner p { opacity: 0.9; font-size: 1.1rem; max-width: 600px; margin: 0 auto 28px; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col h4 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.footer-col p { font-size: 0.9rem; line-height: 1.7; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--color-secondary); }

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ============================================
   PRACTICE AREA DETAIL PAGES
   ============================================ */
.practice-detail {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 50px;
  align-items: start;
}
.practice-detail__main h2 { margin-bottom: 16px; margin-top: 36px; }
.practice-detail__main h2:first-child { margin-top: 0; }
.practice-detail__main ul {
  padding-left: 20px;
  margin: 12px 0 20px;
}
.practice-detail__main li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Sidebar */
.sidebar { position: sticky; top: 100px; }
.sidebar-box {
  background: var(--color-bg-alt);
  padding: 28px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  border: 1px solid var(--color-border);
}
.sidebar-box h4 { margin-bottom: 16px; }
.sidebar-box ul { list-style: none; }
.sidebar-box li {
  border-bottom: 1px solid var(--color-border);
}
.sidebar-box li:last-child { border-bottom: none; }
.sidebar-box li a {
  display: block;
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--color-text);
}
.sidebar-box li a:hover { color: var(--color-accent); padding-left: 6px; }
.sidebar-cta {
  background: var(--color-bg-dark);
  color: var(--color-white);
  text-align: center;
}
.sidebar-cta h4 { color: var(--color-white); }
.sidebar-cta p { font-size: 0.9rem; opacity: 0.85; margin-bottom: 20px; }

/* Penalty Table */
.penalty-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9rem;
}
.penalty-table th,
.penalty-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.penalty-table th {
  background: var(--color-bg-dark);
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.penalty-table tr:hover { background: var(--color-bg-alt); }

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-card {
  text-align: center;
  padding: 40px 30px;
  position: relative;
}
.pricing-card.featured {
  border: 2px solid var(--color-secondary);
  transform: scale(1.02);
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-secondary);
  color: var(--color-bg-dark);
  padding: 4px 16px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 20px;
}
.pricing-card h3 { margin-bottom: 8px; }
.pricing-card .price {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 16px 0;
}
.pricing-card .price small { font-size: 0.9rem; color: var(--color-text-light); }
.pricing-card ul {
  list-style: none;
  text-align: left;
  margin: 24px 0;
}
.pricing-card li {
  padding: 8px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--color-border);
  padding-left: 24px;
  position: relative;
}
.pricing-card li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  h1 { font-size: 2.2rem; }
  .hero h1 { font-size: 2.4rem; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .practice-detail { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .top-bar .container,
  .top-bar-wrapper .container { flex-direction: column; gap: 6px; text-align: center; }

  .main-nav,
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    padding: 16px 0;
    border-top: 1px solid var(--color-border);
  }
  .main-nav.open,
  .nav-menu.open { display: flex; }
  .main-nav a,
  .nav-menu a,
  .nav-link { padding: 12px 24px; display: block; }
  .nav-dropdown .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding-left: 24px;
    border: none;
  }
  .menu-toggle,
  .hamburger-menu { display: flex; }

  /* Hero: stack photo below text on mobile */
  .hero-split,
  .hero [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    text-align: center;
  }

  h1 { font-size: 1.8rem; }
  .hero { padding: 50px 0 40px; }
  .hero h1 { font-size: 1.9rem !important; }
  .section { padding: 50px 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .stats-bar { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .hero__actions .btn { width: 100%; }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-gold { color: var(--color-secondary); }
.text-accent { color: var(--color-accent); }
.mt-1 { margin-top: 16px; }
.mt-2 { margin-top: 32px; }
.mt-3 { margin-top: 48px; }
.mb-1 { margin-bottom: 16px; }
.mb-2 { margin-bottom: 32px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Print styles */
@media print {
  .top-bar, .site-header, .site-footer, .cta-banner, .btn { display: none; }
  body { font-size: 12pt; color: #000; }
  .hero { background: none; color: #000; padding: 20px 0; }
  .hero h1 { color: #000; }
}
