/* ============================================
   LAW FIRM WEBSITE — SHARED STYLES
   
   PLACEHOLDER FIND & REPLACE GUIDE:
   Search for "PLACEHOLDER" in all HTML files to find items you need to update.
   Key items: firm name, attorney name, phone, email, addresses
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* --- CSS Variables --- */
:root {
  --navy: #1a2744;
  --navy-deep: #111c33;
  --navy-light: #243454;
  --gold: #b8943e;
  --gold-light: #d4b361;
  --gold-muted: rgba(184, 148, 62, 0.15);
  --cream: #faf8f4;
  --warm-white: #fdfcfa;
  --warm-gray: #f2efe9;
  --warm-gray-mid: #d8d3c9;
  --charcoal: #2c2c2c;
  --charcoal-light: #4a4a4a;
  --text-body: #3d3d3d;
  --text-light: #6b6b6b;
  
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  
  --max-width: 1200px;
  --section-padding: 100px 0;
  --section-padding-mobile: 60px 0;
  
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--warm-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

h4 {
  font-size: 1.2rem;
  font-weight: 500;
}

p {
  margin-bottom: 1em;
  font-size: 1.05rem;
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding);
}

.section--cream {
  background: var(--cream);
}

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

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--cream);
}

.section--navy p {
  color: rgba(250, 248, 244, 0.85);
}

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 39, 68, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 148, 62, 0.15);
  transition: var(--transition);
}

.nav.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav__brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

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

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__link {
  color: rgba(250, 248, 244, 0.75);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}

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

.nav__link:hover {
  color: var(--cream);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--active {
  color: var(--cream);
}

.nav__link--active::after {
  width: 100%;
}

/* Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  border: 1px solid rgba(184, 148, 62, 0.2);
  border-radius: 6px;
  padding: 12px 0;
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  top: calc(100% + 8px);
}

.nav__dropdown-item {
  display: block;
  padding: 10px 24px;
  color: rgba(250, 248, 244, 0.75);
  font-size: 0.88rem;
  font-weight: 400;
  transition: var(--transition);
}

.nav__dropdown-item:hover {
  color: var(--cream);
  background: rgba(184, 148, 62, 0.1);
  padding-left: 28px;
}

.nav__phone {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__phone:hover {
  color: var(--gold-light);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: var(--gold);
  color: var(--navy) !important;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: var(--transition);
}

.nav__cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* Mobile Nav */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: var(--transition);
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn--primary {
  background: var(--gold);
  color: var(--navy);
}

.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 148, 62, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(250, 248, 244, 0.3);
}

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

.btn--outline-dark {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}

.btn--outline-dark:hover {
  background: var(--navy);
  color: var(--cream);
}

.btn--small {
  padding: 12px 24px;
  font-size: 0.82rem;
}

/* --- Gold Accent Line --- */
.accent-line {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 24px;
}

.accent-line--center {
  margin-left: auto;
  margin-right: auto;
}

/* --- Section Headers --- */
.section-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 640px;
  line-height: 1.8;
}

.section-subtitle--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* --- Cards --- */
.card {
  background: white;
  border-radius: 4px;
  padding: 40px 36px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--gold-muted);
}

.card--navy {
  background: var(--navy-light);
  border-color: rgba(184, 148, 62, 0.1);
}

.card--navy:hover {
  border-color: rgba(184, 148, 62, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* --- Testimonial Cards --- */
.testimonial-card {
  background: white;
  border-radius: 4px;
  padding: 40px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
}

.testimonial-card__quote {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 24px;
}

.testimonial-card__quote::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--gold);
  position: absolute;
  top: 16px;
  left: 28px;
  line-height: 1;
  opacity: 0.3;
}

.testimonial-card__attribution {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.testimonial-card__role {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* --- Footer --- */
.footer {
  background: var(--navy-deep);
  color: rgba(250, 248, 244, 0.7);
  padding: 60px 0 30px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 16px;
}

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

.footer__description {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: rgba(250, 248, 244, 0.6);
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer__link {
  display: block;
  font-size: 0.92rem;
  color: rgba(250, 248, 244, 0.6);
  padding: 6px 0;
  transition: var(--transition);
}

.footer__link:hover {
  color: var(--cream);
  padding-left: 4px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.footer__contact-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--gold);
}

.footer__divider {
  height: 1px;
  background: rgba(250, 248, 244, 0.08);
  margin-bottom: 24px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.footer__copyright {
  font-size: 0.82rem;
  color: rgba(250, 248, 244, 0.4);
}

.footer__disclaimer {
  font-size: 0.78rem;
  color: rgba(250, 248, 244, 0.3);
  max-width: 600px;
  line-height: 1.6;
  text-align: right;
}

/* --- Hero (shared pattern) --- */
.hero {
  position: relative;
  background: var(--navy);
  padding: 160px 0 100px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(184, 148, 62, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(184, 148, 62, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero h1 {
  color: var(--cream);
  margin-bottom: 24px;
  max-width: 720px;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(250, 248, 244, 0.75);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Subpage heroes are shorter */
.hero--subpage {
  padding: 140px 0 70px;
}

/* Geometric decoration */
.hero__decoration {
  position: absolute;
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  border: 1px solid rgba(184, 148, 62, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.hero__decoration::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 40px;
  right: 40px;
  bottom: 40px;
  border: 1px solid rgba(184, 148, 62, 0.07);
  border-radius: 50%;
}

/* --- Contact Form --- */
.form__group {
  margin-bottom: 20px;
}

.form__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal);
  background: white;
  border: 1px solid var(--warm-gray-mid);
  border-radius: 3px;
  transition: var(--transition);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-muted);
}

.form__textarea {
  resize: vertical;
  min-height: 140px;
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%234a4a4a' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* --- Process Steps --- */
.process-step {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.process-step__number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 50%;
}

.process-step__content h3 {
  margin-bottom: 8px;
}

.process-step__content p {
  color: var(--text-light);
  font-size: 1rem;
}

/* --- Trust Bar --- */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(184, 148, 62, 0.15);
}

.trust-bar__item {
  background: var(--navy);
  padding: 32px 24px;
  text-align: center;
}

.trust-bar__value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}

.trust-bar__label {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(250, 248, 244, 0.6);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* --- Practice Area Page Content --- */
.pa-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.pa-service-card {
  padding: 36px;
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 4px;
  border-left: 3px solid var(--gold);
  transition: var(--transition);
}

.pa-service-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.pa-service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.pa-service-card p {
  color: var(--text-light);
  font-size: 0.98rem;
}

/* --- Blog --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.blog-card {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 4px;
  overflow: hidden;
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.blog-card__image {
  height: 200px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.blog-card__category {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--navy);
  padding: 6px 12px;
  border-radius: 2px;
}

.blog-card__body {
  padding: 28px;
}

.blog-card__date {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.blog-card__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.35;
}

.blog-card__excerpt {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.blog-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.blog-card__link:hover {
  color: var(--navy);
}

/* --- Responsive --- */
@media (max-width: 968px) {
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 0;
    transition: var(--transition-slow);
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  }

  .nav__links.open {
    right: 0;
  }

  .nav__links li {
    width: 100%;
  }

  .nav__link {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(250,248,244,0.06);
  }

  .nav__dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    min-width: auto;
    background: transparent;
  }

  .nav__dropdown-item {
    padding: 10px 0;
  }

  .nav__dropdown-item:hover {
    padding-left: 4px;
  }

  .nav__phone-desktop { display: none; }
  .nav__cta-desktop { display: none; }
  .nav__hamburger { display: flex; }

  .hero { padding: 130px 0 70px; }
  .hero--subpage { padding: 120px 0 50px; }
  .hero__decoration { display: none; }

  .section { padding: var(--section-padding-mobile); }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: left;
  }

  .footer__disclaimer {
    text-align: left;
  }

  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .trust-bar {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .pa-services {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }
}
