/* Arden Law Firm - Combined Stylesheet */

:root {
  --navbar-height: 62px;
  --breadcrumb-height: 0px;
  --burgundy: #7B2B24;
  --oxblood: #5A1F1B;
  --parchment: #EFE7DE;
  --parchment-line: #D4C5B4;
  --gold: #C6A46A;
  --gold-deep: #7A551F; /*--gold-deep: #A88145;*/
  --hero-overlay: linear-gradient(90deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.32) 44%, rgba(0, 0, 0, 0.12) 72%);
  --slate-blue: #5E6B7A;
  --text-dark: #3B2A26;
  --text-light: #F6F1EA;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: var(--parchment);
  color: var(--text-dark);
  line-height: 1.6;
  padding-top: var(--navbar-height);
}

.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;
}

.container {
  /* LAYOUT NOTE: reduced side margins/gutters by ~70% */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0.75rem;
}

/* Navigation */
.navbar {
  background: var(--oxblood);
  border-bottom: 2px solid var(--gold);
  padding: 1.2rem 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  position: relative;
}

.nav-brand::after {
  content: "";
  position: absolute;
  left: 52px;
  right: 0;
  bottom: -0.18rem;
  height: 2.5px;
  background: linear-gradient(
    90deg,
    rgba(198, 164, 106, 0),
    rgba(198, 164, 106, 0.75),
    rgba(198, 164, 106, 0)
  );
  opacity: 0.72;
}

.nav-brand:hover::after,
.nav-brand:focus-visible::after {
  opacity: 0.95;
}

.logo-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--parchment);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 1px rgba(198, 164, 106, 0.4);
  flex-shrink: 0;
}

.logo-image {
  height: 37px;
  width: 37px;
  display: block;
  border-radius: 50%;
  object-fit: contain;
}

.logo-text {
  font-family: 'Garamond', serif;
  font-size: 1.63rem;
  font-weight: 850;
  color: var(--parchment);
  letter-spacing: 0.08em;
  font-variant-caps: small-caps;
  -webkit-text-stroke: 0.3px #ffffff;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu li a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  border-bottom: 2px solid transparent;
  transition: color 0.3s;
}

.nav-menu li a:hover,
.nav-menu li a:focus-visible {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-menu li a.active-page,
.nav-menu li a[aria-current='page'] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  opacity: 0.85;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-light);
}

/* Dropdown Menu */
.has-dropdown {
  position: relative;
}

.dropdown-arrow {
  font-size: 0.65em;
  margin-left: 0.3em;
  display: inline-block;
  transition: transform 0.2s;
  vertical-align: middle;
}

.has-dropdown:hover .dropdown-arrow,
.has-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

/* Extend trigger hitbox downward to avoid a tiny dead zone above the dropdown. */
.has-dropdown > .dropdown-toggle {
  position: relative;
  display: inline-block;
}

.has-dropdown > .dropdown-toggle::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 8px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--oxblood);
  border: 1px solid var(--gold);
  border-top: 2px solid var(--gold);
  list-style: none;
  min-width: 200px;
  z-index: 1001;
  padding: 0.4rem 0;
  /* Invisible top padding bridges any sub-pixel gap */
  margin-top: 0;
}

/* Invisible hover bridge: fills gap between nav item and dropdown */
.has-dropdown.open .dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.has-dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 0.55rem 1.25rem;
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  border-bottom: none !important;
  transition: background 0.2s, color 0.2s;
}

.dropdown-menu li a:hover {
  background: rgba(198, 164, 106, 0.15);
  color: var(--gold);
}

/* Breadcrumb */
.breadcrumb-bar {
  background: transparent;
  border: 0;
  padding-top: 0.35rem;
}

.breadcrumb {
  padding: 0.25rem 0 0.5rem;
  font-size: 0.84rem;
  color: var(--text-dark);
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
}

.breadcrumb-list li + li::before {
  content: '/';
  color: var(--gold-deep);
  margin-right: 0.45rem;
}

.breadcrumb-list a {
  color: var(--burgundy);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.breadcrumb-list a:hover,
.breadcrumb-list a:focus-visible {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.breadcrumb-list .current {
  font-weight: 600;
  color: var(--text-dark);
}

/* Practice Detail Pages */
.practice-detail {
  background: var(--parchment);
  padding: 4rem 0;
}

.practice-detail-content {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

.practice-detail-main h2.section-title {
  text-align: left;
  margin-bottom: 1.5rem;
}

.practice-heading {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--burgundy);
  margin: 2rem 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* FAQ accordions (native details/summary: multiple can stay open) */
.faq-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: start;
}

.faq-column {
  display: flex;
  flex-direction: column;
}

.faq-item {
  margin-bottom: 0.65rem;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  margin: 0;
  padding: 0.35rem 0 0.35rem 1.1rem;
  position: relative;
  color: var(--burgundy);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.faq-item summary::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-52%) rotate(0deg);
  color: var(--gold-deep);
  font-size: 1rem;
  font-weight: 900;
  -webkit-text-stroke: 0.35px currentColor;
  text-shadow: 0 0 0 currentColor;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::before {
  transform: translateY(-52%) rotate(90deg);
  text-decoration: none;
  display: inline-block;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:focus-visible {
  color: var(--burgundy);
  text-decoration: none;
}

.faq-item[open] summary {
  color: var(--gold);
  text-decoration: none;
}

.faq-item[open] summary h2 {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.faq-item[open] summary:focus-visible {
  text-decoration: none;
}

.faq-item:not([open]) summary,
.faq-item:not([open]) summary:focus-visible {
  color: var(--burgundy);
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .faq-item summary:hover {
    color: var(--gold);
    text-decoration: none;
  }

  .faq-item[open] summary:hover {
    text-decoration: none;
  }

  .faq-item summary:hover h2 {
    text-decoration: underline;
    text-underline-offset: 0.18em;
  }

  .faq-item[open] summary:hover h2 {
    text-decoration: underline;
    text-underline-offset: 0.18em;
  }
}

.faq-item p.about-text {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  transition: border-color 0.2s ease, background-color 0.2s ease, padding 0.2s ease;
}

.faq-item[open] p.about-text {
  border-left: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  background: color-mix(in srgb, var(--gold) 8%, transparent);
  padding: 0.2rem 0.95rem;
}

.faq-item[open] p.about-text:first-of-type {
  margin-top: 0.15rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--gold);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.faq-item[open] p.about-text:last-of-type {
  margin-bottom: 0.85rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--gold);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.faq-item p.about-text a {
  color: var(--burgundy);
  text-decoration: underline;
  text-underline-offset: 0.26em;
  text-transform: none;
}

.faq-item p.about-text a:hover,
.faq-item p.about-text a:focus-visible {
  color: var(--gold);
}

@media (max-width: 1024px) {
  .faq-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .faq-item summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    padding-left: 0;
  }

  .faq-item summary::before {
    position: static;
    top: auto;
    left: auto;
    font-size: 1.15rem;
    transform: rotate(0deg);
  }

  .faq-item[open] summary::before {
    transform: rotate(90deg);
  }
}

.practice-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 118px;
}

.practice-detail-sidebar h4 {
  color: var(--gold);
}

.sidebar-cta {
  background: var(--oxblood);
  border: 2px solid var(--gold);
  padding: 1.75rem;
  text-align: center;
}

.sidebar-cta h4 {
  color: var(--gold);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.sidebar-cta p {
  color: var(--text-light);
  margin-bottom: 1.25rem;
  font-size: 0.93rem;
  line-height: 1.55;
}

.sidebar-cta .btn {
  display: block;
  margin-bottom: 0.75rem;
}

.sidebar-cta .btn:last-of-type {
  margin-bottom: 0;
}

.sidebar-points {
  background: white;
  border: 2px solid var(--gold);
  padding: 1.5rem;
}

.sidebar-points h4 {
  color: var(--burgundy);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.9rem;
}

.sidebar-points ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-points ul li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--parchment-line);
  color: var(--text-dark);
  font-size: 0.9rem;
  line-height: 1.45;
}

.sidebar-points ul li:last-child {
  border-bottom: none;
}

.sidebar-points ul li::before {
  content: "\25B8  ";
  color: var(--gold-deep);
}

.practice-cta-bar {
  background: var(--parchment);
  border-top: 0;
  border-bottom: 1px solid var(--parchment-line);
  padding: 3rem 0;
  text-align: center;
}

.practice-cta-bar h2 {
  color: var(--burgundy);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.practice-cta-bar p {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.practice-cta-bar .btn {
  margin: 0 0.5rem;
}

/* Hero Section */
.hero {
  background: var(--parchment);
  color: var(--text-dark);
  padding: 6rem 0;
}

.subpage-page .hero {
  padding-top: calc(6rem - var(--breadcrumb-height) - 4px);
}

.hero-image-page {
  padding-bottom: 4.5rem;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-image-card {
  position: relative;
  width: 100%;
  min-height: 468px;
  border: 2px solid var(--gold);
  background-image: var(--hero-overlay), url('assets/img/NY_Attorney.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  box-shadow: 0 10px 26px rgba(40, 18, 16, 0.22);
  margin-bottom: 2rem;
}

.hero-image-practice-areas {
  background-image: var(--hero-overlay), url('assets/img/PracticeAreas.webp');
  background-position: center 6%;
}

.hero-image-car-accidents {
  background-image: var(--hero-overlay), url('assets/img/Car.webp');
  background-position: center 8%;
}

.hero-image-truck-accidents {
  background-image: var(--hero-overlay), url('assets/img/Truck.webp');
  background-position: center 8%;
}

.hero-image-medical-malpractice {
  background-image: var(--hero-overlay), url('assets/img/MedicalMalpractice.webp');
  background-position: center 8%;
}

.hero-image-slip-and-fall {
  background-image: var(--hero-overlay), url('assets/img/SlipAndFall.webp');
  background-position: center 8%;
}

.hero-image-work-injuries {
  background-image: var(--hero-overlay), url('assets/img/WorkInjury.webp');
  background-position: center 8%;
}

.hero-image-wrongful-death {
  background-image: var(--hero-overlay), url('assets/img/WrongfulDeath.webp');
  background-position: center 8%;
}

.hero-image-404 {
  background-image: url('assets/img/404.webp');
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  aspect-ratio: 3 / 2;
  min-height: unset;
}

.hero-image-contact {
  background-image: var(--hero-overlay), url('assets/img/Contact.webp');
  background-position: center 8%;
}

.hero-image-about {
  background-image: var(--hero-overlay), url('assets/img/About.webp');
  background-position: center 28%;
}

.hero-image-faq {
  background-image: var(--hero-overlay), url('assets/img/faq.webp');
  background-position: center 34%;
}

.hero-image-overlay {
  padding: clamp(1.5rem, 4vw, 3rem);
  max-width: 760px;
}

.hero-image-card .hero-label,
.hero-image-card .hero-title,
.hero-image-card .hero-subtitle {
  color: var(--text-light);
}

.hero-image-card .hero-subtitle {
  margin-bottom: 1.5rem;
}

.hero-image-card .hero-context {
  color: var(--text-light);
  max-width: 720px;
}

.hero-image-card .hero-buttons {
  justify-content: flex-start;
  margin-top: 0;
  margin-bottom: 0;
}

.hero-label {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.hero-context {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  max-width: 900px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 5rem;
  flex-wrap: wrap;
}

.contact-hero-buttons {
  margin-bottom: 1rem;
}

.contact-hero-location {
  text-align: left;
  margin: 0;
  font-size: 1rem;
}

.contact-hero-location strong {
  display: block;
  margin-bottom: 0.6rem;
}

.contact-hero-map {
  width: 100%;
  height: 250px;
  border: 2px solid var(--gold);
  margin-bottom: 0.55rem;
  box-shadow: 0 8px 20px rgba(40, 18, 16, 0.16);
}

.contact-hero-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(0.9) hue-rotate(180deg) saturate(0.85) contrast(0.95) brightness(0.9);
}

.contact-hero-location a {
  color: var(--burgundy);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.contact-hero-location a:hover,
.contact-hero-location a:focus-visible {
  color: var(--gold);
}

.hero-trust-bar {
  width: 100%;
  margin-bottom: 2rem;
}

.hero-trust-heading {
  color: var(--gold-deep);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.hero-trust-items {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  flex: 1;
  min-width: 180px;
}

.hero-trust-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.hero-trust-item strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
  line-height: 1.35;
}

.hero-trust-item p {
  font-size: 1rem;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.5;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
}

.feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-img {
  height: 60px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  flex-shrink: 1;
}

/* Settlements Scrolling Section */
.settlements-scroll {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.settlements-container {
  display: flex;
  gap: 0.8rem;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.settlement-card {
  flex: 0 0 calc((100% - 3.2rem) / 5);
  min-height: 46px;
  padding: 0.35rem 0.45rem;
  background-color: var(--slate-blue);
  border: 2px solid var(--gold);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
}

.settlement-case {
  text-align: center;
  position: relative;
  padding-top: 0.15rem;
  padding-bottom: 0.15rem;
  line-height: 1.15;
}

/* .settlement-case::before,
.settlement-case::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--gold);
  opacity: 0.6;
}

.settlement-case::before {
  top: 0;
}

.settlement-case::after {
  bottom: 0;
} */

.settlement-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.12rem;
  line-height: 1.12;
}

.settlement-amount {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.12;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border: 2px solid var(--gold);
  background: var(--burgundy);
  color: var(--text-light);
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background: var(--oxblood);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn:focus-visible {
  background: var(--oxblood);
  color: var(--gold);
  transform: translateY(-2px);
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 2rem;
}

/* Priorities */
.priorities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.priority-block {
  background: white;
  border: 2px solid var(--gold);
  padding: 2rem;
  text-align: center;
  color: var(--burgundy);
  font-family: 'Garamond', 'Baskerville', serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.priority-block:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  background: var(--burgundy);
  color: var(--text-light);
  border-color: var(--gold);
}

/* About */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.about-text {
  color: var(--text-dark);
  font-size: 1.05rem;
  line-height: 1.8;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.value-card {
  background: white;
  border: 2px solid var(--gold);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
}

.value-card:hover {
  background: var(--burgundy);
  color: var(--text-light);
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.value-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 1rem;
  transition: color 0.3s;
}

.value-card:hover .value-title {
  color: var(--gold);
}

.value-description {
  color: var(--text-dark);
  line-height: 1.7;
  transition: color 0.3s;
}

.value-card:hover .value-description {
  color: var(--text-light);
}

/* Practice Areas */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.practice-card {
  background: white;
  border: 2px solid var(--gold);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  min-height: 350px;
}

.practice-card:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.practice-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 0.5rem;
}

.practice-description {
  color: var(--text-dark);
  line-height: 1.6;
}

.flip-hint {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-deep);
  opacity: 0.95;
}

/* Process */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.process-step {
  background: white;
  border: 2px solid var(--gold);
  padding: 2rem;
  text-align: center;
}

.step-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}

.step-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 1rem;
}

.step-content p {
  color: var(--text-dark);
}

/* Testimonials */
.testimonial-block {
  max-width: 900px;
  margin: 0 auto 2rem;
  padding: 2rem;
  background: white;
  border: 2px solid var(--gold);
  color: var(--text-dark);
  text-align: center;
}

.testimonial-text {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.testimonial-author {
  font-weight: 700;
  color: var(--gold);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.benefit-card {
  background: white;
  border: 2px solid var(--gold);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
}

.benefit-card:hover {
  background: var(--burgundy);
  color: var(--text-light);
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.benefit-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.benefit-card:hover .benefit-title {
  color: var(--gold);
}

.benefit-description {
  color: var(--text-dark);
  transition: color 0.3s;
}

.benefit-card:hover .benefit-description {
  color: var(--text-light);
}

/* Contact Section */
.contact {
  background: var(--parchment);
  color: var(--text-dark);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-heading {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}

.contact-text {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: rgba(59,42,38,0.9);
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.detail-text {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s;
}

.detail-text:hover {
  color: var(--gold);
}

.detail-item-hours {
  align-items: flex-start;
}

.detail-icon-svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--gold-deep);
  margin-top: 0.1rem;
}

.detail-hours {
  display: block;
  line-height: 1.5;
}

.detail-hours:hover {
  color: var(--text-dark);
}

.detail-hours strong {
  color: var(--text-dark);
}

/* Form */
.contact-form-wrapper {
  padding: 2rem;
  background: var(--parchment);
  border: 2px solid var(--gold);
  scroll-margin-top: calc(var(--navbar-height) + 1.5rem);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  text-transform: uppercase;
}

.field input,
.field textarea {
  padding: 12px 15px;
  border: 2px solid var(--gold);
  background: white;
  color: var(--text-dark);
  transition: all 0.3s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--burgundy);
  background: rgba(239,231,222,0.5);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.button {
  padding: 14px 28px;
  border: 2px solid var(--gold);
  background: var(--burgundy);
  color: var(--text-light);
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.button:hover {
  background: var(--oxblood);
  transform: translateY(-2px);
}

.button-full {
  width: 100%;
}

#result {
  display: none;
  padding: 1rem;
  border-left: 4px solid var(--gold);
  background: rgba(239,231,222,0.3);
  color: var(--text-dark);
  margin-top: 1rem;
}

/* Footer */
.footer {
  background: var(--oxblood);
  color: var(--text-light);
  border-top: 2px solid var(--gold);
  padding: 2rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
}

.footer-primary {
  grid-column: 2;
  text-align: center;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--gold);
}

.footer-text {
  color: rgba(246,241,234,0.9);
}

.footer-legal-links {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: right;
}

.footer-legal-links a {
  color: var(--text-light);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus-visible {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Responsive */
@media (max-width: 1280px) and (min-width: 1025px) {
  .settlement-card { flex: 0 0 calc((100% - 2.4rem) / 4); }
}

@media (max-width: 1024px) {
  .hero-image-page { padding-bottom: 4rem; }
  .hero-title { font-size: 2.5rem; }
  .hero-image-card { min-height: 460px; background-position: 66% 4%; }
  .hero-image-404 { min-height: unset; }
  .hero-image-practice-areas { background-position: center 10%; }
  .hero-image-car-accidents,
  .hero-image-truck-accidents,
  .hero-image-medical-malpractice,
  .hero-image-slip-and-fall,
  .hero-image-work-injuries,
  .hero-image-wrongful-death,
  .hero-image-contact { background-position: center 12%; }
  .hero-image-about { background-position: center 32%; }
  .hero-image-faq { background-position: center 38%; }
  .hero-image-overlay { max-width: 92%; }
  .about-content, .contact-content { grid-template-columns: 1fr; }
  .badge-img { height: 48px; }
  .settlement-card { flex: 0 0 calc((100% - 1.6rem) / 3); }
  .practice-detail-content { grid-template-columns: 1fr; }
  .practice-detail-sidebar { position: static; }
}

@media (max-width: 1400px) and (min-width: 861px) {
  .container {
    padding: 0 1.2rem;
  }
}

@media (max-width: 860px) {
  .hero-image-page { padding-bottom: 3.5rem; }
  .container {
    padding: 0 1rem;
  }

  .logo-image {
    width: 32px;
    height: 32px;
  }

  .logo-text {
    font-size: 1.63rem;
  }

  .nav-menu {
    display: none;
    position: fixed;
    left: -100%;
    top: 64px;
    flex-direction: column;
    width: 100%;
    background: var(--oxblood);
    transition: left 0.3s;
    z-index: 999;
    padding: 2rem;
    gap: 2rem;
  }

  .nav-menu.active { display: flex; left: 0; }
  .nav-toggle { display: flex; }

  /* Mobile dropdown */
  .dropdown-menu {
    display: none;
    position: static;
    transform: none;
    background: rgba(0, 0, 0, 0.25);
    border: none;
    border-left: 2px solid var(--gold);
    margin: 0.35rem 0 0 1.5rem;
    padding: 0;
    min-width: unset;
  }

  .has-dropdown.open > .dropdown-menu {
    display: block;
  }

  .dropdown-menu li a {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  .hero-title { font-size: 2rem; }
  .hero-label,
  .hero-title,
  .hero-subtitle,
  .hero-context,
  .about-header,
  .practice-detail-main h2.section-title,
  .practice-heading,
  .about-text,
  .contact-form-wrapper,
  .faq-item summary h2 {
    text-align: center;
  }
  .hero-buttons { flex-direction: column; }
  .hero-image-card {
    min-height: 520px;
    background-position: 72% 2%;
  }
  .hero-image-404 { min-height: unset; }
  .hero-image-practice-areas { background-position: center 14%; }
  .hero-image-car-accidents,
  .hero-image-truck-accidents,
  .hero-image-medical-malpractice,
  .hero-image-slip-and-fall,
  .hero-image-work-injuries,
  .hero-image-wrongful-death,
  .hero-image-contact { background-position: center 16%; }
  .hero-image-about { background-position: center 40%; }
  .hero-image-faq { background-position: center 44%; }
  .hero-image-overlay {
    max-width: 100%;
    padding: 1.25rem;
  }
  .hero-image-card .hero-buttons { justify-content: center; }
  .contact-hero-location { text-align: center; }
  .btn { width: 100%; text-align: center; }
  .contact-content { grid-template-columns: 1fr; text-align: center; }
  .hero-features { gap: 0.6rem; }
  .badge-img { height: 36px; }
  .settlement-card { flex: 0 0 calc((100% - 0.8rem) / 2); min-height: 47px; padding: 0.35rem 0.45rem; }
  .settlement-name { font-size: 0.82rem; }
  .settlement-amount { font-size: 0.94rem; }
  .practice-cta-bar .btn { margin: 0.4rem 0; }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .footer-legal-links {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 768px) and (orientation: portrait) {
  .footer-primary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
  }

  .footer-brand {
    font-size: 1.2rem;
    white-space: nowrap;
  }

  .footer-text {
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .footer-legal-links {
    gap: 0.7rem;
  }

  .footer-legal-links a {
    font-size: 0.92rem;
  }

  .faq-item summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    justify-content: unset;
    gap: 0.45rem;
    width: 100%;
    max-width: 100%;
    margin: 0;
    text-align: left;
  }

  .faq-item summary::before {
    align-self: start;
    margin-top: 0.2em;
  }

  .faq-item summary h2 {
    margin: 0;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .settlement-card { flex: 0 0 100%; min-height: 51px; }
  .settlement-name { font-size: 0.8rem; }
  .settlement-amount { font-size: 0.92rem; }
}

/* 404 Error Page */
.error404-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.error404-body .hero-image-page {
  padding-bottom: 1.25rem;
}

.error404-body main {
  flex: 1;
  display: block;
}

.error404-body .error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 20px 60px;
  background: linear-gradient(135deg, var(--parchment) 0%, #F5F0E8 100%);
  text-align: center;
  width: 100%;
}

.error404-body .error-page .container {
  text-align: center;
}

.error404-body .error-content {
  max-width: 600px;
  margin: 0 auto;
}

.error404-body .error-message {
  margin-bottom: 60px;
}

.error404-body .error-message h2 {
  font-size: 28px;
  color: var(--oxblood);
  margin: 0;
  font-weight: 600;
  line-height: 1.6;
}

.error404-body .error-message strong {
  font-weight: 700;
  color: var(--oxblood);
}

.error404-body .error-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 80px;
  flex-wrap: wrap;
}

.error404-body .error-actions .btn {
  padding: 12px 32px;
  font-size: 16px;
  min-width: 160px;
}

.error404-body .error-suggestions {
  background: white;
  border-left: 4px solid var(--gold);
  padding: 24px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.error404-body .error-suggestions h3 {
  font-size: 18px;
  color: var(--oxblood);
  margin-bottom: 16px;
  text-align: center;
}

.error404-body .error-suggestions ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.error404-body .error-suggestions li {
  text-align: center;
}

.error404-body .error-suggestions a {
  color: var(--slate-blue);
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
  padding: 8px 0;
}

.error404-body .error-suggestions a:hover {
  color: var(--oxblood);
  text-decoration: underline;
}

.error404-body .error-suggestions a:visited {
  color: var(--slate-blue);
}

@media (max-width: 768px) {
  .error404-body .error-message h2 {
    font-size: 22px;
  }

  .error404-body .error-actions {
    flex-direction: column;
    margin-bottom: 60px;
  }

  .error404-body .error-actions .btn {
    min-width: 100%;
  }

  .error404-body .error-suggestions ul {
    grid-template-columns: 1fr;
  }
}
