/* =========================================================
   PREMIUM GLOBAL DESIGN SYSTEM
   ========================================================= */

:root {
  /* ---------- Brand Colors ---------- */
  --primary: #111827;
  --primary-dark: #080c14;
  --primary-soft: #1b2433;

  --accent: #d4af37;
  --accent-light: #e5c766;
  --accent-dark: #ad8a1d;

  --white: #ffffff;
  --off-white: #f8f8f6;
  --surface: #f3f4f6;
  --surface-dark: #151b26;

  --text: #17202c;
  --text-light: #647080;
  --text-muted: #8a94a3;
  --text-white: #f7f8fa;

  --border: #e4e7eb;
  --border-dark: rgba(255, 255, 255, 0.12);

  /* ---------- Typography ---------- */
  --font-heading: "Manrope", sans-serif;
  --font-body: "DM Sans", sans-serif;

  /* ---------- Layout ---------- */
  --container-width: 1240px;
  --container-padding: 24px;

  --section-padding: 110px;
  --section-padding-mobile: 72px;

  /* ---------- Radius ---------- */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  /* ---------- Shadows ---------- */
  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 35px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);

  /* ---------- Transitions ---------- */
  --transition-fast: 0.2s ease;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  padding: 0;

  background: var(--white);
  color: var(--text);

  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  overflow-x: hidden;
}

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

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

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

button {
  cursor: pointer;
}

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


/* =========================================================
   CONTAINER
   ========================================================= */

.container-custom {
  width: min(
    calc(100% - (var(--container-padding) * 2)),
    var(--container-width)
  );

  margin-inline: auto;
}


/* =========================================================
   SECTION SYSTEM
   ========================================================= */

section {
  position: relative;
}

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


/* =========================================================
   SECTION HEADER
   ========================================================= */

.section-header {
  max-width: 760px;
  margin: 0 auto 55px;
  text-align: center;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 16px;

  color: var(--accent);

  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;

  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: "";

  width: 28px;
  height: 1px;

  background: currentColor;
  opacity: 0.7;
}

.section-heading {
  margin: 0;

  color: var(--primary);

  font-family: var(--font-heading);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 800;

  line-height: 1.1;
  letter-spacing: -0.035em;

  text-transform: uppercase;
}

.section-heading span {
  color: var(--accent);
}

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


/* =========================================================
   SERVICES
   ========================================================= */

.services-section {
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(212, 175, 55, 0.08),
      transparent 28%
    ),
    var(--white);
}

.services-grid {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 24px;
}

.service-card {
  position: relative;

  min-height: 100%;

  padding: 38px 32px 36px;

  background: var(--white);

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-sm);

  overflow: hidden;

  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.service-card::before {
  content: "";

  position: absolute;

  inset: 0 0 auto;

  height: 3px;

  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent-light)
  );

  transform: scaleX(0);
  transform-origin: left;

  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);

  border-color: rgba(212, 175, 55, 0.45);

  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-number {
  margin-bottom: 30px;

  color: rgba(212, 175, 55, 0.25);

  font-family: var(--font-heading);
  font-size: 46px;
  font-weight: 800;

  line-height: 1;
}

.service-card-title {
  margin: 0 0 18px;

  color: var(--primary);

  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;

  line-height: 1.35;
  text-transform: uppercase;
}

.service-card-text {
  margin: 0;

  color: var(--text-light);

  font-size: 15px;
  line-height: 1.8;
}


/* =========================================================
   WHY SECTION
   ========================================================= */

.why-section {
  position: relative;

  min-height: 470px;

  display: flex;
  align-items: center;

  padding: 100px 0;

  color: var(--white);

  background:
    linear-gradient(
      110deg,
      rgba(8, 12, 20, 0.98),
      rgba(17, 24, 39, 0.90)
    ),
    var(--primary);

  overflow: hidden;
}

.why-section::before {
  content: "";

  position: absolute;

  width: 420px;
  height: 420px;

  right: -120px;
  top: -180px;

  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 50%;
}

.why-section::after {
  content: "";

  position: absolute;

  width: 260px;
  height: 260px;

  right: 40px;
  bottom: -170px;

  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 50%;
}

.why-content {
  position: relative;
  z-index: 2;

  max-width: 760px;
}

.why-content .section-eyebrow {
  color: var(--accent-light);
}

.why-content p {
  max-width: 620px;

  margin: 25px 0 0;

  color: rgba(255, 255, 255, 0.72);

  font-size: 18px;
}


/* =========================================================
   REASONS
   ========================================================= */

.reasons-section {
  color: var(--white);
  background: var(--primary);
}

.reasons-list {
  max-width: 1050px;
  margin: 0 auto;
}

.reason-item {
  position: relative;

  display: grid;

  grid-template-columns: 110px minmax(0, 1fr);

  gap: 42px;

  padding: 50px 0;

  border-bottom: 1px solid var(--border-dark);
}

.reason-item:first-child {
  padding-top: 0;
}

.reason-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.reason-number {
  color: var(--accent);

  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 800;

  line-height: 1;
}

.reason-content h3 {
  margin: 0 0 18px;

  color: var(--white);

  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 800;

  letter-spacing: -0.02em;
}

.reason-content p {
  max-width: 800px;

  margin: 0;

  color: rgba(255, 255, 255, 0.68);

  font-size: 16px;
}

.reason-note {
  margin-top: 18px !important;

  color: var(--accent-light) !important;
}


/* =========================================================
   OUR WORK
   ========================================================= */

.work-section {
  background:
    linear-gradient(
      180deg,
      var(--white),
      var(--off-white)
    );

  text-align: center;
}

.work-content {
  max-width: 760px;
  margin: 0 auto;
}

.work-content .section-eyebrow {
  margin-bottom: 15px;
}

.work-content p {
  max-width: 650px;

  margin: 22px auto 0;

  color: var(--text-light);

  font-size: 17px;
}

.work-content .btn {
  margin-top: 32px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 54px;

  padding: 14px 30px;

  border: 1px solid transparent;
  border-radius: 6px;

  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;

  letter-spacing: 0.08em;
  text-transform: uppercase;

  overflow: hidden;

  transition:
    color var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:focus-visible {
  outline: 3px solid rgba(212, 175, 55, 0.35);
  outline-offset: 4px;
}

.btn-primary {
  color: var(--primary);
  background: var(--accent);
  border-color: var(--accent);

  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.18);
}

.btn-primary:hover {
  color: var(--white);
  background: var(--primary);
  border-color: var(--primary);

  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
}


/* =========================================================
   TESTIMONIALS
   ========================================================= */

.testimonials-section {
  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(212, 175, 55, 0.06),
      transparent 30%
    ),
    var(--surface);
}

.testimonials-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 28px;

  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  position: relative;

  padding: 45px 42px;

  background: var(--white);

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-sm);

  overflow: hidden;

  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-7px);

  border-color: rgba(212, 175, 55, 0.35);

  box-shadow: var(--shadow-lg);
}

.testimonial-quote {
  position: absolute;

  top: 18px;
  right: 28px;

  color: rgba(212, 175, 55, 0.16);

  font-family: Georgia, serif;
  font-size: 110px;
  font-weight: 700;

  line-height: 1;
}

.testimonial-text {
  position: relative;
  z-index: 2;

  margin: 0 0 30px;

  color: var(--text);

  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;

  line-height: 1.7;
}

.testimonial-author {
  position: relative;
  z-index: 2;

  margin: 0;

  color: var(--primary);

  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;

  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.testimonial-author span {
  color: var(--text-muted);
  font-weight: 500;
  text-transform: none;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  padding: 32px 0;

  color: rgba(255, 255, 255, 0.65);

  background: var(--primary-dark);

  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
}

.footer-bottom p {
  margin: 0;

  font-size: 13px;
}


/* =========================================================
   LEGACY COMPATIBILITY
   These classes keep older sections working while the
   new design is introduced.
   ========================================================= */

.content-white {
  background: var(--white);
}

.content-light-gray {
  background: var(--surface);
}

.content-pale-blue {
  background: #eef3f8;
}

.content-dark {
  color: var(--white);
  background: var(--primary);
}

.hero {
  position: relative;

  display: flex;
  align-items: center;

  min-height: 470px;

  padding: 100px 0;

  color: var(--white);

  background: var(--primary);
}

.yellow {
  color: var(--accent) !important;
}


/* =========================================================
   LEGACY CARD SUPPORT
   ========================================================= */

.card {
  position: relative;

  padding: 32px;

  background: var(--white);

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-sm);

  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

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

.card-title {
  margin-bottom: 15px;

  color: var(--primary);

  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
}

.card-text {
  margin: 0;

  color: var(--text-light);

  font-size: 15px;
  line-height: 1.8;
}


/* =========================================================
   LEGACY TESTIMONIAL SUPPORT
   ========================================================= */

.testimonial {
  padding: 40px;

  background: var(--white);

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-sm);

  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.testimonial-text {
  color: var(--text);

  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;

  line-height: 1.7;
}

.testimonial-author {
  margin-top: 25px;

  color: var(--text-muted);

  font-size: 13px;
  font-weight: 700;

  text-transform: uppercase;
}


/* =========================================================
   FORMS
   ========================================================= */

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;

  margin-bottom: 8px;

  color: var(--text);

  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;

  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;

  padding: 15px 17px;

  color: var(--text);

  background: var(--white);

  border: 1px solid var(--border);
  border-radius: 8px;

  outline: none;

  font-family: var(--font-body);
  font-size: 15px;

  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background-color var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
  border-color: #c8cdd5;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);

  box-shadow:
    0 0 0 4px rgba(212, 175, 55, 0.10);
}

.form-group textarea {
  min-height: 150px;

  resize: vertical;
}

.form-error {
  display: none;

  margin-top: 6px;

  color: #c62828;

  font-size: 12px;
}

.form-error.show {
  display: block;
}

.form-success {
  display: none;

  margin-bottom: 20px;
  padding: 15px 18px;

  color: #246b38;

  background: #edf8f0;

  border: 1px solid #ccebd3;
  border-left: 4px solid #2e7d4f;

  border-radius: 7px;

  font-size: 14px;
}

.form-success.show {
  display: block;
}


/* =========================================================
   SPACING UTILITIES
   ========================================================= */

.mb-40 {
  margin-bottom: 40px;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

:focus-visible {
  outline: 3px solid rgba(212, 175, 55, 0.45);
  outline-offset: 3px;
}

::selection {
  color: var(--primary);
  background: var(--accent);
}


/* =========================================================
   RESPONSIVE — LARGE TABLET
   ========================================================= */

@media (max-width: 1199.98px) {

  :root {
    --container-padding: 22px;
    --section-padding: 95px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 991.98px) {

  :root {
    --section-padding: 85px;
  }

  .section-header {
    margin-bottom: 42px;
  }

  .services-grid {
    gap: 20px;
  }

  .reason-item {
    grid-template-columns: 85px minmax(0, 1fr);
    gap: 30px;
  }

  .reason-number {
    font-size: 44px;
  }

  .why-section {
    min-height: 400px;
  }

}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

  :root {
    --container-padding: 18px;
    --section-padding: var(--section-padding-mobile);
  }

  body {
    font-size: 15px;
  }

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

  .section-heading {
    font-size: clamp(30px, 8vw, 40px);
  }

  .section-header {
    margin-bottom: 35px;
  }

  .section-eyebrow {
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .section-eyebrow::before,
  .section-eyebrow::after {
    width: 18px;
  }

  /* Services */

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 30px 25px;
  }

  .service-card-number {
    margin-bottom: 24px;
    font-size: 40px;
  }

  .service-card-title {
    font-size: 18px;
  }

  /* Why */

  .why-section {
    min-height: 360px;
    padding: 75px 0;
  }

  .why-content p {
    font-size: 16px;
  }

  /* Reasons */

  .reason-item {
    grid-template-columns: 1fr;
    gap: 18px;

    padding: 35px 0;
  }

  .reason-item:first-child {
    padding-top: 0;
  }

  .reason-number {
    font-size: 38px;
  }

  .reason-content h3 {
    font-size: 21px;
  }

  .reason-content p {
    font-size: 15px;
  }

  /* Work */

  .work-content p {
    font-size: 15px;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  /* Testimonials */

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .testimonial-card {
    padding: 34px 27px;
  }

  .testimonial-text {
    font-size: 16px;
  }

  .testimonial-quote {
    font-size: 90px;
  }

  /* Legacy */

  .hero {
    min-height: 360px;
    padding: 75px 0;
  }

  .card,
  .testimonial {
    padding: 28px 24px;
  }

}


/* =========================================================
   RESPONSIVE — SMALL MOBILE
   ========================================================= */

@media (max-width: 479.98px) {

  :root {
    --container-padding: 16px;
  }

  .section-heading {
    font-size: 29px;
  }

  .service-card {
    padding: 27px 22px;
  }

  .service-card-number {
    font-size: 36px;
  }

  .service-card-title {
    font-size: 17px;
  }

  .reason-number {
    font-size: 34px;
  }

  .reason-content h3 {
    font-size: 19px;
  }

  .testimonial-card {
    padding: 30px 22px;
  }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

}

/* =========================================================
   PREMIUM LAW FIRM HEADER
   ========================================================= */

.law-header {
    position: relative;
    z-index: 1000;

    width: 100%;

    background: #ffffff;

    font-family: var(--font-body, "DM Sans", sans-serif);
}


/* =========================================================
   TOP BAR
   ========================================================= */

.law-header-top {
    background: #0a0f18;

    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.law-header-top-inner {
    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.law-header-top-message {
    display: flex;
    align-items: center;

    gap: 9px;

    color: rgba(255, 255, 255, 0.58);

    font-family: var(--font-heading, "Manrope", sans-serif);
    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.top-bar-dot {
    width: 6px;
    height: 6px;

    background: #d4af37;

    border-radius: 50%;

    box-shadow:
        0 0 0 4px rgba(212, 175, 55, 0.08);
}

.law-header-top-phone {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    color: #ffffff;

    font-family: var(--font-heading, "Manrope", sans-serif);
    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.03em;

    transition:
        color 0.3s ease;
}

.law-header-top-phone:hover {
    color: #d4af37;
}

.phone-symbol {
    color: #d4af37;

    font-size: 13px;
}


/* =========================================================
   MAIN HEADER
   ========================================================= */

.law-header-main {
    position: relative;

    background: rgba(255, 255, 255, 0.98);

    border-bottom: 1px solid #e8e9eb;

    transition:
        box-shadow 0.35s ease,
        background 0.35s ease;
}

.law-header-main-inner {
    min-height: 94px;

    display: flex;
    align-items: center;

    gap: 30px;
}


/* =========================================================
   BRAND
   ========================================================= */

.law-brand {
    display: inline-flex;
    align-items: center;
    width:150px;
    flex-shrink: 0;
    gap: 13px;
    color: #111827;
    transition:
        transform 0.3s ease;
}

.law-brand:hover {
    color: #111827;

    transform: translateY(-1px);
}

.law-brand-mark {
    width: 51px;
    height: 51px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #d4af37;

    background: #0c121c;

    border: 1px solid rgba(212, 175, 55, 0.45);

    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    font-weight: 700;

    letter-spacing: -0.05em;

    box-shadow:
        0 7px 18px rgba(10, 15, 24, 0.12);
}

.law-brand-divider {
    width: 1px;
    height: 35px;

    background: #d7d9dd;
}

.law-brand-name {
    display: flex;
    flex-direction: column;

    gap: 2px;

    line-height: 1;
}

.law-brand-name strong {
    color: #111827;

    font-family: var(--font-heading, "Manrope", sans-serif);
    font-size: 14px;
    font-weight: 800;

    letter-spacing: 0.08em;
}

.law-brand-name small {
    color: #a88a27;

    font-family: var(--font-heading, "Manrope", sans-serif);
    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.38em;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.law-navigation {
    margin-left: auto;
}

.law-nav-list {
    display: flex;
    align-items: center;

    margin: 0;
    padding: 0;

    list-style: none;

    gap: 4px;
}

.law-nav-item {
    position: relative;
}

.law-nav-link {
    position: relative;

    display: inline-flex;
    align-items: center;

    min-height: 94px;

    padding: 0 16px;

    color: #3f4753;

    font-family: var(--font-heading, "Manrope", sans-serif);
    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.04em;

    transition:
        color 0.3s ease;
}

.law-nav-link::after {
    content: "";

    position: absolute;

    left: 16px;
    right: 16px;
    bottom: 0;

    height: 2px;

    background: #d4af37;

    transform: scaleX(0);

    transform-origin: center;

    transition:
        transform 0.3s ease;
}

.law-nav-link:hover,
.law-nav-link.active {
    color: #111827;
}

.law-nav-link:hover::after,
.law-nav-link.active::after {
    transform: scaleX(1);
}


/* =========================================================
   DROPDOWN
   ========================================================= */

.law-dropdown-trigger {
    gap: 8px;
}

.law-dropdown-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 16px;
    height: 16px;

    color: #a88a27;

    font-size: 16px;
    font-weight: 400;

    line-height: 1;

    transition:
        transform 0.3s ease;
}

.law-has-dropdown:hover .law-dropdown-icon,
.law-has-dropdown.dropdown-open .law-dropdown-icon {
    transform: rotate(45deg);
}

.law-dropdown-menu {
    position: absolute;

    top: calc(100% - 1px);
    left: 50%;

    width: 265px;

    margin: 0;
    padding: 12px;

    list-style: none;

    background: #ffffff;

    border: 1px solid #e3e5e8;

    box-shadow:
        0 22px 50px rgba(15, 23, 42, 0.14);

    opacity: 0;
    visibility: hidden;

    transform:
        translate(-50%, 12px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;
}

.law-has-dropdown:hover .law-dropdown-menu,
.law-has-dropdown.dropdown-open .law-dropdown-menu {
    opacity: 1;
    visibility: visible;

    transform:
        translate(-50%, 0);
}

.law-dropdown-menu::before {
    content: "";

    position: absolute;

    top: -5px;
    left: 50%;

    width: 9px;
    height: 9px;

    background: #ffffff;

    border-top: 1px solid #e3e5e8;
    border-left: 1px solid #e3e5e8;

    transform: translateX(-50%) rotate(45deg);
}

.law-dropdown-menu li {
    position: relative;
}

.law-dropdown-menu a {
    display: flex;
    align-items: center;

    min-height: 43px;

    padding: 0 14px;

    color: #3f4753;

    font-family: var(--font-heading, "Manrope", sans-serif);
    font-size: 12px;
    font-weight: 600;

    border-left: 2px solid transparent;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        padding 0.25s ease;
}

.law-dropdown-menu a:hover {
    padding-left: 19px;

    color: #111827;

    background: #f7f6f1;

    border-left-color: #d4af37;
}


/* =========================================================
   HEADER CTA
   ========================================================= */

.law-header-action {
    display: flex;
    flex-direction: column;

    align-items: flex-end;

    flex-shrink: 0;

    padding-left: 22px;

    border-left: 1px solid #e3e5e8;
}

.law-header-action-label {
    color: #8b929d;

    font-family: var(--font-heading, "Manrope", sans-serif);
    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.law-header-action-phone {
    margin-top: 3px;

    color: #111827;

    font-family: var(--font-heading, "Manrope", sans-serif);
    font-size: 15px;
    font-weight: 800;

    letter-spacing: 0.01em;

    transition:
        color 0.25s ease;
}

.law-header-action-phone:hover {
    color: #a88a27;
}


/* =========================================================
   MOBILE TOGGLE
   ========================================================= */

.law-menu-toggle {
    display: none;

    width: 46px;
    height: 46px;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;

    margin-left: auto;

    padding: 0;

    background: #0c121c;

    border: 0;

    cursor: pointer;
}

.law-menu-toggle span {
    display: block;

    width: 19px;
    height: 2px;

    background: #d4af37;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.law-menu-toggle.is-active span:nth-child(1) {
    transform:
        translateY(7px)
        rotate(45deg);
}

.law-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.law-menu-toggle.is-active span:nth-child(3) {
    transform:
        translateY(-7px)
        rotate(-45deg);
}


/* =========================================================
   PREMIUM LAW FIRM FOOTER
   ========================================================= */

.law-footer {
    position: relative;

    color: rgba(255, 255, 255, 0.72);

    background: #080d15;
}


/* =========================================================
   GOLD ACCENT
   ========================================================= */

.law-footer-accent {
    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            #a88a27 0%,
            #e0c45e 50%,
            #a88a27 100%
        );
}


/* =========================================================
   FOOTER MAIN
   ========================================================= */

.law-footer-main {
    position: relative;

    padding: 82px 0 72px;

    overflow: hidden;
}

.law-footer-main::before {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    right: -250px;
    top: -260px;

    border: 1px solid rgba(212, 175, 55, 0.08);

    border-radius: 50%;

    pointer-events: none;
}

.law-footer-main::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    left: -220px;
    bottom: -240px;

    border: 1px solid rgba(212, 175, 55, 0.06);

    border-radius: 50%;

    pointer-events: none;
}

.law-footer-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        1.25fr
        0.8fr
        1.25fr
        0.8fr;

    gap: 55px;
}


/* =========================================================
   FOOTER BRAND
   ========================================================= */

.law-footer-brand {
    padding-right: 20px;
}

.law-footer-logo {
    display: inline-flex;
    align-items: center;
    width:220px;
    gap: 13px;

    color: #ffffff;

    transition:
        transform 0.3s ease;
}

.law-footer-logo:hover {
    color: #ffffff;

    transform: translateY(-2px);
}

.law-footer-logo-mark {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #d4af37;

    background: #101722;

    border: 1px solid rgba(212, 175, 55, 0.45);

    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 700;
}

.law-footer-logo-divider {
    width: 1px;
    height: 37px;

    background: rgba(255, 255, 255, 0.17);
}

.law-footer-logo-name {
    display: flex;
    flex-direction: column;

    gap: 3px;

    line-height: 1;
}

.law-footer-logo-name strong {
    color: #ffffff;

    font-family: var(--font-heading, "Manrope", sans-serif);
    font-size: 14px;
    font-weight: 800;

    letter-spacing: 0.08em;
}

.law-footer-logo-name small {
    color: #d4af37;

    font-family: var(--font-heading, "Manrope", sans-serif);
    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.38em;
}

.law-footer-description {
    max-width: 270px;

    margin: 27px 0 20px;

    color: rgba(255, 255, 255, 0.5);

    font-size: 14px;
    line-height: 1.8;
}

.law-footer-call {
    display: inline-flex;
    align-items: center;

    gap: 13px;

    color: #ffffff;

    transition:
        color 0.3s ease;
}

.law-footer-call:hover {
    color: #d4af37;
}

.law-footer-call-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #d4af37;

    border: 1px solid rgba(212, 175, 55, 0.35);

    font-size: 13px;
}

.law-footer-call span:last-child {
    display: flex;
    flex-direction: column;
}

.law-footer-call small {
    color: rgba(255, 255, 255, 0.4);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.law-footer-call strong {
    margin-top: 3px;

    color: #ffffff;

    font-family: var(--font-heading, "Manrope", sans-serif);
    font-size: 15px;
}


/* =========================================================
   FOOTER HEADINGS
   ========================================================= */

.law-footer-heading {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 25px;
}

.law-footer-heading > span {
    width: 25px;
    height: 2px;

    background: #d4af37;
}

.law-footer-heading h4 {
    margin: 0;

    color: #ffffff;

    font-family: var(--font-heading, "Manrope", sans-serif);
    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}


/* =========================================================
   FOOTER LINKS
   ========================================================= */

.law-footer-links {
    margin: 0;
    padding: 0;

    list-style: none;
}

.law-footer-links li {
    margin-bottom: 10px;
}

.law-footer-links a {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: rgba(255, 255, 255, 0.52);

    font-size: 13px;

    transition:
        color 0.25s ease,
        gap 0.25s ease;
}

.law-footer-links a span {
    color: #d4af37;

    opacity: 0;

    transform: translateX(-5px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.law-footer-links a:hover {
    color: #ffffff;

    gap: 11px;
}

.law-footer-links a:hover span {
    opacity: 1;

    transform: translateX(0);
}


/* =========================================================
   CONTACT
   ========================================================= */

.law-contact-list {
    display: flex;
    flex-direction: column;

    gap: 22px;
}

.law-contact-item {
    display: flex;

    gap: 13px;
}

.law-contact-icon {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #d4af37;

    background: rgba(212, 175, 55, 0.06);

    border: 1px solid rgba(212, 175, 55, 0.18);

    font-size: 12px;
}

.law-contact-item > div:last-child {
    min-width: 0;
}

.law-contact-item small {
    display: block;

    margin-bottom: 4px;

    color: rgba(255, 255, 255, 0.36);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.law-contact-item p {
    margin: 0;

    color: rgba(255, 255, 255, 0.62);

    font-size: 12px;
    line-height: 1.7;
}

.law-contact-item a {
    color: rgba(255, 255, 255, 0.62);

    font-size: 12px;

    word-break: break-word;

    transition:
        color 0.25s ease;
}

.law-contact-item a:hover {
    color: #d4af37;
}


/* =========================================================
   SOCIAL
   ========================================================= */

.law-footer-social-text {
    max-width: 230px;

    margin: 0 0 22px;

    color: rgba(255, 255, 255, 0.45);

    font-size: 12px;
    line-height: 1.7;
}

.law-social-links {
    display: flex;
    align-items: center;

    gap: 8px;
}

.law-social-link {
    width: 39px;
    height: 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: rgba(255, 255, 255, 0.6);

    background: #111923;

    border: 1px solid rgba(255, 255, 255, 0.08);

    transition:
        color 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.law-social-link:hover {
    color: #111827;

    background: #d4af37;

    border-color: #d4af37;

    transform: translateY(-4px);
}

.law-social-link span {
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   FOOTER CTA
   ========================================================= */

.law-footer-cta {
    display: inline-flex;
    align-items: center;

    gap: 15px;

    margin-top: 26px;

    padding-bottom: 8px;

    color: #d4af37;

    border-bottom: 1px solid rgba(212, 175, 55, 0.35);

    font-family: var(--font-heading, "Manrope", sans-serif);
    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.12em;
    text-transform: uppercase;

    transition:
        color 0.25s ease,
        gap 0.25s ease,
        border-color 0.25s ease;
}

.law-footer-cta:hover {
    gap: 20px;

    color: #ffffff;

    border-color: #ffffff;
}


/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.law-footer-bottom {
    background: #050910;

    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.law-footer-bottom-inner {
    min-height: 66px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.law-footer-bottom p {
    margin: 0;

    color: rgba(255, 255, 255, 0.36);

    font-size: 11px;
}

.law-footer-bottom-links {
    display: flex;
    align-items: center;

    gap: 9px;

    color: rgba(255, 255, 255, 0.3);

    font-size: 11px;
}

.law-footer-bottom-links a {
    color: rgba(255, 255, 255, 0.4);

    transition:
        color 0.25s ease;
}

.law-footer-bottom-links a:hover {
    color: #d4af37;
}


/* =========================================================
   HEADER RESPONSIVE
   ========================================================= */

@media (max-width: 1199.98px) {

    .law-header-action {
        display: none;
    }

    .law-nav-link {
        padding: 0 12px;
    }

    .law-nav-link::after {
        left: 12px;
        right: 12px;
    }

    .law-footer-grid {
        grid-template-columns:
            1.1fr
            0.8fr
            1.2fr;

        gap: 45px;
    }

    .law-footer-connect {
        grid-column: 1 / -1;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .law-header-top-inner {
        min-height: 38px;
    }

    .law-header-top-message {
        display: none;
    }

    .law-header-top-inner {
        justify-content: flex-end;
    }

    .law-header-main-inner {
        min-height: 78px;
    }

    .law-menu-toggle {
        display: flex;
    }

    .law-navigation {
        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        width: 100%;

        margin: 0;

        background: #ffffff;

        border-bottom: 1px solid #e5e7eb;

        box-shadow:
            0 20px 35px rgba(15, 23, 42, 0.10);

        opacity: 0;
        visibility: hidden;

        transform: translateY(-10px);

        transition:
            opacity 0.3s ease,
            visibility 0.3s ease,
            transform 0.3s ease;
    }

    .law-navigation.is-open {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);
    }

    .law-nav-list {
        display: block;

        padding: 12px 20px 20px;
    }

    .law-nav-item {
        border-bottom: 1px solid #eef0f2;
    }

    .law-nav-item:last-child {
        border-bottom: 0;
    }

    .law-nav-link {
        width: 100%;
        min-height: 54px;

        justify-content: space-between;

        padding: 0 5px;
    }

    .law-nav-link::after {
        display: none;
    }

    .law-dropdown-menu {
        position: static;

        width: 100%;

        padding: 5px 0 10px;

        border: 0;

        box-shadow: none;

        opacity: 1;
        visibility: visible;

        transform: none;

        display: none;
    }

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

    .law-dropdown-menu::before {
        display: none;
    }

    .law-dropdown-menu a {
        min-height: 42px;

        padding-left: 18px;
    }

    .law-dropdown-menu a:hover {
        padding-left: 23px;
    }

    .law-footer-main {
        padding: 65px 0 55px;
    }

    .law-footer-grid {
        grid-template-columns: 1fr 1fr;

        gap: 50px 35px;
    }

    .law-footer-connect {
        grid-column: auto;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .law-header-top-inner {
        padding-top: 2px;
        padding-bottom: 2px;
    }

    .law-header-top-phone {
        font-size: 11px;
    }

    .law-brand-mark {
        width: 45px;
        height: 45px;

        font-size: 17px;
    }

    .law-brand-name strong {
        font-size: 12px;
    }

    .law-brand-name small {
        font-size: 8px;
    }

    .law-brand-divider {
        height: 30px;
    }

    .law-header-main-inner {
        min-height: 72px;

        gap: 15px;
    }

    .law-menu-toggle {
        width: 43px;
        height: 43px;
    }

    .law-footer-grid {
        grid-template-columns: 1fr;

        gap: 42px;
    }

    .law-footer-brand {
        padding-right: 0;
    }

    .law-footer-connect {
        grid-column: auto;
    }

    .law-footer-bottom-inner {
        min-height: auto;

        flex-direction: column;
        align-items: flex-start;

        padding-top: 20px;
        padding-bottom: 20px;

        gap: 10px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 479.98px) {

    .law-header-top-phone {
        font-size: 10px;
    }

    .law-brand-mark {
        width: 42px;
        height: 42px;
    }

    .law-brand-name strong {
        font-size: 11px;
        letter-spacing: 0.05em;
    }

    .law-brand-name small {
        font-size: 7px;
        letter-spacing: 0.28em;
    }

    .law-footer-main {
        padding: 55px 0 45px;
    }

    .law-footer-logo-mark {
        width: 48px;
        height: 48px;
    }

}

/* =========================================================
   ABOUT PAGE - TEAM SECTION
   ========================================================= */

.team-section {
    background: #f5f5f3;
    position: relative;
    overflow: hidden;
}

.team-section .section-header {
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: center;
}

.team-section .section-header p {
    max-width: 680px;
    margin: 22px auto 0;
    color: #666;
    line-height: 1.8;
}


/* Team Grid */

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}


/* Team Card */

.team-member {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.12);
    border-color: rgba(194, 153, 53, 0.45);
}


/* Top Area */

.team-member-header {
    position: relative;
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #171717;
    overflow: hidden;
}

.team-member-header::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.team-member-header::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    border: 1px solid rgba(194, 153, 53, 0.2);
    border-radius: 50%;
}


/* Initials */

.team-member-avatar {
    position: relative;
    z-index: 2;

    width: 96px;
    height: 96px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #c6a15b;

    background: #202020;

    color: #ffffff;

    font-family: "Manrope", sans-serif;
    font-size: 27px;
    font-weight: 800;
    letter-spacing: 1px;
}


/* Number */

.team-member-number {
    position: absolute;
    z-index: 3;

    top: 20px;
    right: 22px;

    color: #c6a15b;

    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}


/* Card Body */

.team-member-body {
    padding: 32px 30px 30px;
}


/* Name */

.team-member-body h3 {
    margin: 0 0 8px;

    color: #171717;

    font-family: "Manrope", sans-serif;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.2;
}


/* Role */

.team-member-role {
    margin-bottom: 20px;

    color: #b18b42;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}


/* Description */

.team-member-body p {
    margin: 0;

    color: #666;

    font-size: 15px;
    line-height: 1.8;
}


/* Social Links */

.team-member-social {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-top: 28px;
    padding-top: 22px;

    border-top: 1px solid #e8e8e8;
}

.team-member-social a {
    width: 38px;
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #dddddd;

    color: #333;
    background: #ffffff;

    text-decoration: none;

    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.team-member-social a:hover {
    color: #ffffff;
    background: #c6a15b;
    border-color: #c6a15b;
    transform: translateY(-3px);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

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

}


@media (max-width: 767px) {

    .team-section .section-header {
        margin-bottom: 40px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .team-member-header {
        min-height: 175px;
    }

    .team-member-body {
        padding: 28px 24px 26px;
    }

}


@media (max-width: 480px) {

    .team-member-header {
        min-height: 160px;
    }

    .team-member-avatar {
        width: 82px;
        height: 82px;
        font-size: 23px;
    }

    .team-member-body h3 {
        font-size: 22px;
    }

}
/* =========================================================
   CA PERSONAL INJURY GROUP
   GLOBAL WEBSITE STYLES
   ========================================================= */


/* =========================================================
   1. ROOT VARIABLES
   ========================================================= */

:root {
    --primary-dark: #111111;
    --secondary-dark: #191919;
    --dark-soft: #242424;

    --white: #ffffff;
    --off-white: #f8f8f6;
    --light-gray: #f2f2ef;
    --border-light: #e5e5e1;

    --text-dark: #171717;
    --text-gray: #666666;
    --text-light: #a8a8a8;

    --accent: #c6a15b;
    --accent-dark: #aa8540;
    --accent-light: #d8bb80;

    --container-width: 1240px;

    --font-heading: "Manrope", sans-serif;
    --font-body: "DM Sans", sans-serif;

    --transition: 0.3s ease;
}


/* =========================================================
   2. RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background: var(--white);
    color: var(--text-dark);

    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;

    overflow-x: hidden;
}

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

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

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

button {
    cursor: pointer;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}


/* =========================================================
   3. GLOBAL CONTAINER
   ========================================================= */

.container-custom {
    width: min(
        calc(100% - 48px),
        var(--container-width)
    );

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   4. TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;

    font-family: var(--font-heading);
    color: var(--text-dark);

    line-height: 1.15;
}

p {
    margin-top: 0;
    margin-bottom: 20px;
}

.section-heading {
    margin: 0;

    font-family: var(--font-heading);
    font-size: clamp(34px, 4vw, 58px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1.5px;
    text-transform: uppercase;
}

.section-heading span {
    color: var(--accent);
}

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

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 18px;

    color: var(--accent);

    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.section-eyebrow::before {
    content: "";

    width: 30px;
    height: 2px;

    background: var(--accent);
}


/* =========================================================
   5. BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 28px;

    border: 1px solid transparent;
    border-radius: 0;

    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.2px;
    text-transform: uppercase;

    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: var(--accent);
    border-color: var(--accent);

    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);

    color: var(--white);

    box-shadow:
        0 12px 28px rgba(198, 161, 91, 0.25);
}

.btn-secondary {
    background: transparent;
    border-color: var(--accent);

    color: var(--white);
}

.btn-secondary:hover {
    background: var(--accent);
    border-color: var(--accent);

    color: var(--white);
}


/* =========================================================
   6. HEADER
   ========================================================= */

.law-header {
    position: relative;
    z-index: 1000;

    background: var(--white);
}


/* Top bar */

.law-header-top {
    background: var(--primary-dark);

    color: var(--white);
}

.law-header-top-inner {
    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.law-header-top-message {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #cfcfcf;

    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.4px;
}

.top-bar-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--accent);
}

.law-header-top-phone {
    display: flex;
    align-items: center;
    gap: 9px;

    color: var(--white);

    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;

    transition: color var(--transition);
}

.law-header-top-phone:hover {
    color: var(--accent);
}

.phone-symbol {
    color: var(--accent);
}


/* Main header */

.law-header-main {
    background: var(--white);

    border-bottom: 1px solid var(--border-light);
}

.law-header-main-inner {
    min-height: 92px;

    display: flex;
    align-items: center;

    gap: 35px;
}


/* Logo */

.law-brand {
    flex-shrink: 0;

    display: flex;
    align-items: center;

    gap: 12px;
}

.law-brand-mark {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary-dark);

    color: var(--accent);

    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
}

.law-brand-divider {
    width: 1px;
    height: 35px;

    background: #d9d9d9;
}

.law-brand-name {
    display: flex;
    flex-direction: column;

    line-height: 1;
}

.law-brand-name strong {
    color: var(--primary-dark);

    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;

    letter-spacing: 1.2px;
}

.law-brand-name small {
    margin-top: 5px;

    color: var(--accent);

    font-family: var(--font-heading);
    font-size: 9px;
    font-weight: 800;

    letter-spacing: 3px;
}


/* Navigation */

.law-navigation {
    margin-left: auto;
}

.law-nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.law-nav-item {
    position: relative;
}

.law-nav-link {
    min-height: 92px;

    display: flex;
    align-items: center;

    padding: 0 17px;

    color: #444;

    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.6px;

    transition:
        color var(--transition),
        background var(--transition);
}

.law-nav-link:hover,
.law-nav-item.active > .law-nav-link {
    color: var(--accent);
}

.law-dropdown-icon {
    margin-left: 7px;

    color: var(--accent);

    font-size: 14px;

    transition: transform var(--transition);
}


/* Dropdown */

.law-dropdown-menu {
    position: absolute;

    top: calc(100% + 1px);
    left: 0;

    width: 245px;

    padding: 10px 0;

    background: var(--white);

    border-top: 3px solid var(--accent);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.14);

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition:
        opacity var(--transition),
        visibility var(--transition),
        transform var(--transition);
}

.law-nav-item:hover > .law-dropdown-menu,
.law-nav-item.dropdown-open > .law-dropdown-menu {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.law-dropdown-menu li a {
    display: flex;
    align-items: center;

    min-height: 44px;

    padding: 0 20px;

    color: #444;

    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;

    transition:
        background var(--transition),
        color var(--transition),
        padding var(--transition);
}

.law-dropdown-menu li a:hover,
.law-dropdown-menu li.active a {
    padding-left: 25px;

    background: #f7f4ed;

    color: var(--accent);
}


/* Header CTA */

.law-header-action {
    flex-shrink: 0;

    padding-left: 25px;

    border-left: 1px solid var(--border-light);

    display: flex;
    flex-direction: column;
}

.law-header-action-label {
    color: #999;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.law-header-action-phone {
    margin-top: 2px;

    color: var(--primary-dark);

    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;

    transition: color var(--transition);
}

.law-header-action-phone:hover {
    color: var(--accent);
}


/* Mobile toggle */

.law-menu-toggle {
    display: none;

    width: 46px;
    height: 46px;

    margin-left: auto;

    border: 1px solid var(--border-light);

    background: var(--white);
}

.law-menu-toggle span {
    display: block;

    width: 20px;
    height: 2px;

    margin: 4px auto;

    background: var(--primary-dark);

    transition: transform var(--transition);
}


/* =========================================================
   7. PRACTICE HERO
   ========================================================= */

.practice-hero {
    position: relative;

    min-height: 430px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            105deg,
            rgba(10, 10, 10, 0.97) 0%,
            rgba(17, 17, 17, 0.91) 55%,
            rgba(17, 17, 17, 0.82) 100%
        );

    overflow: hidden;
}

.practice-hero::before {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    right: -200px;
    top: -260px;

    border: 1px solid rgba(198, 161, 91, 0.18);

    border-radius: 50%;
}

.practice-hero::after {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -100px;
    top: -170px;

    border: 1px solid rgba(255, 255, 255, 0.06);

    border-radius: 50%;
}

.practice-hero-content {
    position: relative;
    z-index: 2;

    /* max-width: 760px; */

    padding: 75px 0;
}

.practice-hero .section-eyebrow {
    margin-bottom: 20px;
}

.practice-hero-subtitle {
    margin: 25px 0 0;

    color: #c9c9c9;

    font-size: 17px;
    font-weight: 500;
}


/* =========================================================
   8. CASE FORM
   ========================================================= */

.case-form-section {
    position: relative;
    z-index: 5;

    margin-top: -55px;
    margin-bottom: 90px;
}

.case-form-wrapper {
    padding: 45px;

    background: var(--white);

    border-top: 4px solid var(--accent);

    box-shadow:
        0 22px 60px rgba(0, 0, 0, 0.12);
}

.case-form-intro {
    max-width: 720px;

    margin-bottom: 35px;
}

.case-form-intro .section-heading {
    font-size: clamp(30px, 3vw, 45px);
}

.case-form-intro p {
    margin-top: 18px;

    color: var(--text-gray);
}

.case-evaluation-form {
    width: 100%;
}

.form-row {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 22px;

    margin-bottom: 22px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: var(--text-dark);

    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    width: 100%;

    padding: 15px 17px;

    border: 1px solid #deded9;
    border-radius: 0;

    outline: none;

    background: #fafaf8;

    color: var(--text-dark);

    font-size: 14px;

    transition:
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.form-group input {
    height: 52px;
}

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

    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group input:focus,
.form-group textarea:focus {
    background: var(--white);

    border-color: var(--accent);

    box-shadow:
        0 0 0 3px rgba(198, 161, 91, 0.09);
}

.form-error {
    display: none;

    margin-top: 5px;

    color: #c0392b;

    font-size: 11px;
}


/* =========================================================
   9. PRACTICE CONTENT
   ========================================================= */

.practice-content-section {
    padding: 20px 0 100px;

    background: var(--white);
}

.practice-content-layout {
    display: grid;

    grid-template-columns: minmax(0, 1fr) 330px;

    gap: 80px;

    align-items: start;
}

.practice-content {
    max-width: 820px;
}

.practice-content > .section-heading {
    margin-bottom: 35px;

    font-size: clamp(32px, 3.4vw, 48px);
}

.practice-content > p {
    color: #5f5f5f;

    font-size: 16px;
    line-height: 1.9;
}

.content-divider {
    width: 100%;
    height: 1px;

    margin: 40px 0;

    background: var(--border-light);
}

.practice-content h3 {
    margin: 38px 0 16px;

    color: var(--text-dark);

    font-family: var(--font-heading);
    font-size: 25px;
    font-weight: 800;
}

.practice-content h3:first-of-type {
    margin-top: 0;
}


/* Practice list */

.practice-list {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px 20px;

    margin: 25px 0 35px;
}

.practice-list li {
    min-height: 62px;

    display: flex;
    align-items: center;

    padding: 12px 18px;

    background: #f7f7f4;

    border-left: 3px solid var(--accent);

    color: #444;

    font-size: 14px;
    font-weight: 600;
}

.practice-list li span {
    margin-right: 15px;

    color: var(--accent);

    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1px;
}


/* =========================================================
   10. PRACTICE SIDEBAR
   ========================================================= */

.practice-sidebar {
    position: sticky;
    top: 30px;
}

.practice-sidebar-card {
    position: relative;

    padding: 35px 30px 32px;

    background: var(--primary-dark);

    overflow: hidden;
}

.practice-sidebar-card::before {
    content: "";

    position: absolute;

    width: 230px;
    height: 230px;

    top: -100px;
    right: -100px;

    border: 1px solid rgba(198, 161, 91, 0.18);

    border-radius: 50%;
}

.practice-sidebar-number {
    position: absolute;

    top: 20px;
    right: 22px;

    color: var(--accent);

    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;
}

.practice-sidebar-card .section-eyebrow {
    position: relative;

    margin-bottom: 20px;
}

.practice-sidebar-card h3 {
    position: relative;

    margin-bottom: 18px;

    color: var(--white);

    font-family: var(--font-heading);
    font-size: 29px;
    font-weight: 800;
}

.practice-sidebar-card h3 span {
    color: var(--accent);
}

.practice-sidebar-card p {
    position: relative;

    color: #aaa;

    font-size: 14px;
    line-height: 1.8;
}

.sidebar-phone {
    position: relative;

    display: block;

    margin: 24px 0;

    color: var(--white);

    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 800;

    transition: color var(--transition);
}

.sidebar-phone:hover {
    color: var(--accent);
}

.practice-sidebar-card .btn {
    position: relative;

    width: 100%;
}


/* =========================================================
   11. CTA SECTION
   ========================================================= */

.accident-cta-section {
    position: relative;

    padding: 90px 0;

    background: var(--primary-dark);

    overflow: hidden;
}

.accident-cta-section::before {
    content: "";

    position: absolute;

    width: 650px;
    height: 650px;

    top: -420px;
    right: -160px;

    border: 1px solid rgba(198, 161, 91, 0.15);

    border-radius: 50%;
}

.accident-cta-section::after {
    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    bottom: -300px;
    left: -130px;

    border: 1px solid rgba(255, 255, 255, 0.06);

    border-radius: 50%;
}

.accident-cta-content {
    position: relative;
    z-index: 2;

    text-align: center;
}

.accident-cta-content h2 {
    max-width: 900px;

    margin: 0 auto 20px;

    color: var(--white);

    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 54px);
    font-weight: 800;

    line-height: 1.08;
}

.accident-cta-content h2 span {
    color: var(--accent);
}

.accident-cta-content > p {
    margin-bottom: 38px;

    color: #aaa;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 1px;
}

.cta-evaluation-form {
    max-width: 950px;

    margin: 0 auto;
}

/* Accident CTA actions: center buttons and improve contrast */
.accident-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.cta-actions-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.accident-cta-content .btn {
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
}

.accident-cta-content .btn-primary {
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    color: #0b0b0b;
    border: 0;
    box-shadow: 0 10px 30px rgba(17,24,39,0.18);
}

.accident-cta-content .btn-primary:hover {
    transform: translateY(-3px);
}

.accident-cta-content .btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.14);
}

.accident-cta-content .btn-outline:hover {
    background: rgba(255,255,255,0.06);
}

.cta-note {
    color: #cfcfcf;
    font-size: 14px;
    margin-top: 6px;
    text-align: center;
}

.cta-form-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 14px;

    margin-bottom: 20px;
}

.cta-message-field {
    grid-column: 1 / -1;
}

.cta-evaluation-form input,
.cta-evaluation-form textarea {
    width: 100%;

    border: 1px solid rgba(255, 255, 255, 0.16);

    background: rgba(255, 255, 255, 0.06);

    color: var(--white);

    border-radius: 0;

    outline: none;

    transition:
        border-color var(--transition),
        background var(--transition);
}

.cta-evaluation-form input {
    height: 54px;

    padding: 0 16px;
}

.cta-evaluation-form textarea {
    min-height: 115px;

    padding: 15px 16px;

    resize: vertical;
}

.cta-evaluation-form input::placeholder,
.cta-evaluation-form textarea::placeholder {
    color: #898989;
}

.cta-evaluation-form input:focus,
.cta-evaluation-form textarea:focus {
    border-color: var(--accent);

    background: rgba(255, 255, 255, 0.09);
}

.cta-evaluation-form .btn {
    min-width: 150px;
}


/* =========================================================
   12. FOOTER
   ========================================================= */

.law-footer {
    background: #0d0d0d;

    color: #aaa;
}

.law-footer-accent {
    height: 3px;

    background: var(--accent);
}

.law-footer-main {
    padding: 75px 0 65px;
}

.law-footer-grid {
    display: grid;

    grid-template-columns:
        1.35fr
        0.8fr
        1fr
        1.2fr;

    gap: 55px;
}


/* Footer brand */

.law-footer-logo {
    display: inline-flex;
    align-items: center;

    gap: 12px;
}

.law-footer-logo-mark {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--accent);

    color: var(--accent);

    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
}

.law-footer-logo-divider {
    width: 1px;
    height: 35px;

    background: #444;
}

.law-footer-logo-name {
    display: flex;
    flex-direction: column;

    line-height: 1;
}

.law-footer-logo-name strong {
    color: var(--white);

    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;

    letter-spacing: 1.1px;
}

.law-footer-logo-name small {
    margin-top: 5px;

    color: var(--accent);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 3px;
}

.law-footer-description {
    max-width: 280px;

    margin: 25px 0;

    color: #777;

    font-size: 13px;
    line-height: 1.8;
}

.law-footer-call {
    display: inline-flex;
    align-items: center;

    gap: 13px;
}

.law-footer-call-icon {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--accent);

    color: var(--white);

    font-size: 15px;
}

.law-footer-call span:last-child {
    display: flex;
    flex-direction: column;
}

.law-footer-call small {
    color: #777;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.law-footer-call strong {
    color: var(--white);

    font-family: var(--font-heading);
    font-size: 14px;
}


/* Footer headings */

.law-footer-heading {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 25px;
}

.law-footer-heading > span {
    width: 25px;
    height: 2px;

    background: var(--accent);
}

.law-footer-heading h4 {
    margin: 0;

    color: var(--white);

    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;

    letter-spacing: 0.5px;
}


/* Footer links */

.law-footer-links {
    display: flex;
    flex-direction: column;

    gap: 9px;
}

.law-footer-links a {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: #777;

    font-size: 13px;

    transition:
        color var(--transition),
        transform var(--transition);
}

.law-footer-links a span {
    color: var(--accent);

    opacity: 0;

    transform: translateX(-5px);

    transition:
        opacity var(--transition),
        transform var(--transition);
}

.law-footer-links a:hover,
.law-footer-links a.active {
    color: var(--white);
}

.law-footer-links a:hover span,
.law-footer-links a.active span {
    opacity: 1;

    transform: translateX(0);
}


/* Contact */

.law-contact-list {
    display: flex;
    flex-direction: column;

    gap: 20px;
}

.law-contact-item {
    display: flex;
    align-items: flex-start;

    gap: 13px;
}

.law-contact-icon {
    flex-shrink: 0;

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--accent);

    border: 1px solid rgba(198, 161, 91, 0.35);

    font-size: 11px;
}

.law-contact-item p {
    margin: 0;

    color: #777;

    font-size: 12px;
    line-height: 1.8;
}

.law-contact-item a {
    transition: color var(--transition);
}

.law-contact-item a:hover {
    color: var(--accent);
}


/* Footer bottom */

.law-footer-bottom {
    border-top: 1px solid #252525;
}

.law-footer-bottom-inner {
    min-height: 65px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.law-footer-bottom p {
    margin: 0;

    color: #555;

    font-size: 11px;
}

.law-footer-bottom-links {
    display: flex;
    align-items: center;

    gap: 12px;

    color: #555;

    font-size: 11px;
}

.law-footer-bottom-links a {
    transition: color var(--transition);
}

.law-footer-bottom-links a:hover {
    color: var(--accent);
}


/* =========================================================
   13. RESPONSIVE - TABLET
   ========================================================= */

@media (max-width: 1199px) {

    .law-header-action {
        display: none;
    }

    .law-nav-link {
        padding-left: 13px;
        padding-right: 13px;
    }

    .practice-content-layout {
        grid-template-columns:
            minmax(0, 1fr)
            290px;

        gap: 50px;
    }

    .law-footer-grid {
        gap: 35px;
    }

}


/* =========================================================
   14. RESPONSIVE - MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 991px) {

    .law-header-main-inner {
        min-height: 78px;
    }

    .law-menu-toggle {
        display: block;
    }

    .law-navigation {
        position: absolute;

        top: 75px;
        left: 0;

        width: 100%;

        padding: 10px 24px 25px;

        background: var(--white);

        border-bottom: 1px solid var(--border-light);

        box-shadow:
            0 20px 35px rgba(0, 0, 0, 0.1);

        opacity: 0;
        visibility: hidden;

        transform: translateY(-10px);

        transition:
            opacity var(--transition),
            visibility var(--transition),
            transform var(--transition);
    }

    .law-navigation.mobile-open {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);
    }

    .law-nav-list {
        display: block;
    }

    .law-nav-link {
        min-height: 52px;

        padding: 0 5px;

        border-bottom: 1px solid #eeeeeb;
    }

    .law-dropdown-menu {
        position: static;

        width: 100%;

        padding: 0;

        border: 0;

        box-shadow: none;

        opacity: 1;
        visibility: visible;

        transform: none;

        display: none;
    }

    .law-nav-item.dropdown-open .law-dropdown-menu {
        display: block;
    }

    .law-dropdown-menu li a {
        padding-left: 20px;

        background: #fafaf8;
    }

    .practice-content-layout {
        grid-template-columns: 1fr;
    }

    .practice-sidebar {
        position: static;

        max-width: 500px;
    }

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

}


/* =========================================================
   15. RESPONSIVE - MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .container-custom {
        width: min(
            calc(100% - 32px),
            var(--container-width)
        );
    }


    /* Top header */

    .law-header-top-inner {
        min-height: 38px;

        justify-content: center;
    }

    .law-header-top-message {
        display: none;
    }

    .law-header-top-phone {
        font-size: 11px;
    }


    /* Header */

    .law-header-main-inner {
        min-height: 74px;
    }

    .law-brand-mark {
        width: 42px;
        height: 42px;
    }

    .law-brand-name strong {
        font-size: 11px;
    }

    .law-brand-name small {
        font-size: 7px;
    }

    .law-navigation {
        top: 75px;

        padding-left: 16px;
        padding-right: 16px;
    }


    /* Hero */

    .practice-hero {
        min-height: 350px;
    }

    .practice-hero-content {
        padding: 65px 0;
    }


    /* Case form */

    .case-form-section {
        margin-top: -35px;
        margin-bottom: 60px;
    }

    .case-form-wrapper {
        padding: 30px 22px;
    }

    .form-row {
        grid-template-columns: 1fr;

        gap: 18px;

        margin-bottom: 18px;
    }


    /* Content */

    .practice-content-section {
        padding-bottom: 70px;
    }

    .practice-content h3 {
        font-size: 22px;
    }

    .practice-list {
        grid-template-columns: 1fr;
    }


    /* CTA */

    .accident-cta-section {
        padding: 70px 0;
    }

    .cta-form-grid {
        grid-template-columns: 1fr;
    }

    .cta-message-field {
        grid-column: auto;
    }


    /* Footer */

    .law-footer-main {
        padding: 55px 0;
    }

    .law-footer-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .law-footer-bottom-inner {
        min-height: auto;

        padding: 20px 0;

        flex-direction: column;

        align-items: flex-start;
    }

}


/* =========================================================
   16. SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .section-heading {
        font-size: 31px;
    }

    .practice-hero {
        min-height: 310px;
    }

    .practice-hero-content {
        padding: 50px 0;
    }

    .case-form-wrapper {
        padding: 25px 18px;
    }

    .practice-sidebar-card {
        padding: 30px 24px;
    }

    .accident-cta-content h2 {
        font-size: 30px;
    }

    .law-footer-logo-mark {
        width: 44px;
        height: 44px;
    }

}


/* =========================================================
   17. ACCESSIBILITY / FOCUS
   ========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}


/* =========================================================
   18. SELECTION
   ========================================================= */

::selection {
    background: var(--accent);
    color: var(--white);
}


/* =========================================================
   19. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

}


/* ================================ */
/* =========================================================
   CAR ACCIDENTS PAGE
   Page-specific styles only.
   Global styles remain in css/style.css
========================================================= */

:root {
  /* ---------- Brand Colors ---------- */
  --primary: #111827;
  --primary-dark: #080c14;
  --primary-soft: #1b2433;

  --accent: #c6a15b;
  --accent-light: #e5c766;
  --accent-dark: #ad8a1d;

  --white: #ffffff;
  --off-white: #f8f8f6;
  --surface: #f3f4f6;
  --surface-dark: #151b26;

  --text: #17202c;
  --text-light: #647080;
  --text-muted: #8a94a3;
  --text-white: #f7f8fa;

  --border: #e4e7eb;
  --border-dark: rgba(255, 255, 255, 0.12);

  /* ---------- Typography ---------- */
  --font-heading: "Manrope", sans-serif;
  --font-body: "DM Sans", sans-serif;

  /* ---------- Layout ---------- */
  --container-width: 1240px;
  --container-padding: 24px;

  --section-padding: 110px;
  --section-padding-mobile: 72px;

  /* ---------- Radius ---------- */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  /* ---------- Shadows ---------- */
  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 35px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);

  /* ---------- Transitions ---------- */
  --transition-fast: 0.2s ease;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.practice-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(10, 17, 28, .96), rgba(10, 17, 28, .72)),
        url("../images/car-accident-hero.jpg") center/cover no-repeat;
}

.practice-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 75% 45%, rgba(241, 190, 40, .16), transparent 32%),
        linear-gradient(90deg, rgba(10, 17, 28, .45), transparent);
}

.practice-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 90px;
    padding-bottom: 90px;
}

.hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    color: rgba(255,255,255,.68);
    font-size: 14px;
}

.hero-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.hero-breadcrumb i {
    color: var(--accent, #d4af37);
    font-size: 11px;
}

.hero-eyebrow,
.section-eyebrow,
.cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: var(--accent, #d4af37);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.practice-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(48px, 7vw, 88px);
    line-height: .98;
    font-weight: 900;
    letter-spacing: -2px;
}

.practice-hero h1 span {
    color: var(--accent, #d4af37);
}

.hero-subheading {
    margin: 20px 0 30px;
    color: rgba(255,255,255,.82);
    font-size: 20px;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-primary-custom,
.btn-light-custom,
.btn-outline-light-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 54px;
    padding: 0 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 800;
    transition: .3s ease;
}

.btn-primary-custom {
    color: #101722;
    background: var(--accent, #d4af37);
    border: 1px solid var(--accent, #d4af37);
}

.btn-primary-custom:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(241,190,40,.22);
}

.btn-outline-light-custom {
    color: #fff;
    border: 1px solid rgba(255,255,255,.4);
    background: rgba(255,255,255,.04);
}

.btn-outline-light-custom:hover {
    color: #101722;
    background: #fff;
    border-color: #fff;
}


/* =========================================================
   TRUST STRIP
========================================================= */

.trust-strip {
    position: relative;
    z-index: 4;
    background: #fff;
    border-bottom: 1px solid #e8ebef;
    box-shadow: 0 10px 30px rgba(15,23,42,.06);
}

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

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 105px;
    padding: 18px 28px;
    border-right: 1px solid #e8ebef;
}

.trust-item:last-child {
    border-right: 0;
}

.trust-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #101722;
    background: var(--accent, #d4af37);
    font-size: 20px;
}

.trust-item strong,
.trust-item small {
    display: block;
}

.trust-item strong {
    color: #111827;
    font-size: 14px;
    font-weight: 800;
}

.trust-item small {
    margin-top: 4px;
    color: #737b88;
    font-size: 12px;
}


/* =========================================================
   CASE EVALUATION
========================================================= */

.case-evaluation-section {
    padding: 100px 0;
    background: #f5f6f8;
}

.case-evaluation-wrapper {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.case-evaluation-intro {
    max-width: 560px;
}

.case-evaluation-intro h2,
.cta-form-heading h2 {
    margin: 0 0 22px;
    color: #111827;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -1px;
}

.case-evaluation-intro h2 span,
.cta-form-heading h2 span {
    color: var(--accent, #d4af37);
}

.case-evaluation-intro > p {
    color: #667085;
    font-size: 16px;
    line-height: 1.8;
}

.evaluation-points {
    margin: 28px 0;
}

.evaluation-points div {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 14px;
    color: #333d4d;
    font-size: 14px;
    font-weight: 600;
}

.evaluation-points i {
    color: var(--accent, #d4af37);
    font-size: 18px;
}

.evaluation-phone {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: #111827;
    text-decoration: none;
}

.phone-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #111827;
    background: var(--accent, #d4af37);
}

.evaluation-phone small,
.evaluation-phone strong {
    display: block;
}

.evaluation-phone small {
    color: #7b8491;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.evaluation-phone strong {
    margin-top: 2px;
    font-size: 20px;
}


.case-form-card {
    padding: 38px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 25px 60px rgba(15,23,42,.09);
}

.form-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.form-card-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    flex: 0 0 52px;
    border-radius: 10px;
    color: #111827;
    background: var(--accent, #d4af37);
    font-size: 21px;
}

.form-card-header h3 {
    margin: 0;
    color: #111827;
    font-size: 20px;
    font-weight: 800;
}

.form-card-header p {
    margin: 4px 0 0;
    color: #7b8491;
    font-size: 13px;
}

.form-row-custom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.form-group-custom {
    margin-bottom: 18px;
}

.form-group-custom label {
    display: block;
    margin-bottom: 8px;
    color: #303846;
    font-size: 13px;
    font-weight: 800;
}

.input-wrapper {
    position: relative;
}

.input-wrapper > i {
    position: absolute;
    left: 16px;
    top: 50%;
    z-index: 2;
    color: #969eaa;
    transform: translateY(-50%);
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    border: 1px solid #dfe3e8;
    border-radius: 7px;
    outline: 0;
    background: #fafbfc;
    color: #18202d;
    transition: .25s ease;
}

.input-wrapper input {
    height: 52px;
    padding: 0 15px 0 45px;
}

.input-wrapper textarea {
    min-height: 135px;
    padding: 15px 15px 15px 45px;
    resize: vertical;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    border-color: var(--accent, #d4af37);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(241,190,40,.12);
}

.textarea-wrapper > i {
    top: 20px;
    transform: none;
}

.form-error {
    min-height: 18px;
    margin-top: 4px;
    color: #d92d20;
    font-size: 11px;
}

.btn-submit-custom {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 6px;
    background: var(--accent, #d4af37);
    color: #101722;
    font-weight: 900;
    cursor: pointer;
    transition: .3s ease;
}

.btn-submit-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(241,190,40,.22);
}

.button-loader {
    display: none;
}

.is-loading .button-loader {
    display: inline-block;
}

.is-loading .button-loader i {
    display: inline-block;
    animation: formSpin 1s linear infinite;
}

.is-loading .button-text,
.is-loading .button-arrow {
    display: none;
}

@keyframes formSpin {
    to {
        transform: rotate(360deg);
    }
}

.form-disclaimer,
.secure-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 13px 0 0;
    color: #8a929e;
    font-size: 11px;
}

.form-disclaimer i {
    color: #697386;
}

.form-status {
    margin-top: 12px;
    text-align: center;
    font-size: 13px;
}


/* =========================================================
   CONTENT
========================================================= */

.practice-content-section {
    padding: 110px 0;
    background: #fff;
}

.practice-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 80px;
    align-items: start;
}

.practice-content {
    min-width: 0;
}

.practice-content .section-heading {
    max-width: 850px;
    margin-bottom: 35px;
}

.content-intro {
    padding-left: 25px;
    border-left: 3px solid var(--accent, #d4af37);
}

.practice-content p {
    margin-bottom: 20px;
    color: #626b78;
    font-size: 16px;
    line-height: 1.85;
}

.content-block {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 20px;
    margin-top: 55px;
    padding-top: 38px;
    border-top: 1px solid #e8ebef;
}

.content-block-number {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #111827;
    background: var(--accent, #d4af37);
    font-size: 13px;
    font-weight: 900;
}

.content-block h3 {
    margin: 0 0 15px;
    color: #151b25;
    font-size: 25px;
    font-weight: 850;
}

.content-block-last {
    padding-bottom: 0;
}

.styled-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.styled-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px 15px;
    border: 1px solid #e8ebef;
    border-radius: 6px;
    background: #fafbfc;
    color: #454e5c;
    font-size: 14px;
    font-weight: 600;
}

.styled-list i {
    color: var(--accent, #d4af37);
    font-size: 18px;
}


/* =========================================================
   SIDEBAR
========================================================= */

.practice-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 12px;
    background: #f5f6f8;
}

.sidebar-contact {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: #111827;
}

.sidebar-contact::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -100px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(241,190,40,.09);
}

.sidebar-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 10px;
    color: #111827;
    background: var(--accent, #d4af37);
}

.sidebar-eyebrow,
.sidebar-small-title {
    display: block;
    margin-bottom: 8px;
    color: var(--accent, #d4af37);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.sidebar-contact h3,
.practice-links-card h3 {
    margin: 0 0 12px;
    font-size: 23px;
    font-weight: 850;
}

.sidebar-contact p {
    position: relative;
    z-index: 2;
    color: rgba(255,255,255,.68);
    font-size: 14px;
    line-height: 1.7;
}

.sidebar-phone {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
}

.sidebar-button {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 6px;
    color: #111827;
    background: var(--accent, #d4af37);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.practice-links-card {
    background: #fff;
    border: 1px solid #e5e7eb;
}

.practice-links {
    margin: 20px -30px -30px;
    padding: 0;
    list-style: none;
}

.practice-links li {
    border-top: 1px solid #e8ebef;
}

.practice-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 30px;
    color: #47505d;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: .25s ease;
}

.practice-links a span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.practice-links a > i {
    color: #a0a7b2;
    font-size: 12px;
    transition: .25s ease;
}

.practice-links a:hover,
.practice-links li.active a {
    color: #111827;
    background: #fff9e6;
}

.practice-links li.active a {
    border-left: 3px solid var(--accent, #d4af37);
}

.practice-links a:hover > i,
.practice-links li.active a > i {
    color: var(--accent, #d4af37);
    transform: translateX(3px);
}


/* =========================================================
   ACCIDENT CTA
========================================================= */

.accident-cta-section {
    position: relative;
    overflow: hidden;
    padding: 95px 0;
    background: #111827;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    opacity: .35;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 50px 50px;
}

.accident-cta-section::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(241,190,40,.09);
}

.accident-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-eyebrow {
    justify-content: center;
}

.accident-cta-content h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(35px, 5vw, 64px);
    line-height: 1.05;
    font-weight: 900;
}

.accident-cta-content h2 span {
    color: var(--accent, #d4af37);
}

.accident-cta-content p {
    max-width: 750px;
    margin: 22px auto 30px;
    color: rgba(255,255,255,.68);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-light-custom {
    color: #111827;
    background: #fff;
    border: 1px solid #fff;
}

.btn-light-custom:hover {
    color: #111827;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,.2);
}


/* =========================================================
   CTA FORM
========================================================= */

.cta-form-section {
    padding: 100px 0;
    background: #f5f6f8;
}

.cta-form-wrapper {
    padding: 50px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(15,23,42,.06);
}

.cta-form-heading {
    max-width: 650px;
    margin-bottom: 35px;
}

.cta-form-heading p {
    color: #6b7280;
    line-height: 1.8;
}

.cta-form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.cta-form input,
.cta-form textarea {
    width: 100%;
    border: 1px solid #dfe3e8;
    border-radius: 6px;
    outline: 0;
    background: #fafbfc;
    color: #111827;
}

.cta-form input {
    height: 52px;
    padding: 0 15px;
}

.cta-form textarea {
    min-height: 120px;
    padding: 15px;
    resize: vertical;
}

.cta-form input:focus,
.cta-form textarea:focus {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(241,190,40,.1);
}

.cta-submit-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-submit-row .btn-primary-custom {
    min-width: 150px;
    border: 0;
}

.secure-message {
    justify-content: flex-start;
    margin: 0;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .case-evaluation-wrapper {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .case-evaluation-intro {
        max-width: 800px;
    }

    .practice-content-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .practice-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .sidebar-card {
        margin-bottom: 0;
    }

    .cta-form-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 800px) {

    .practice-hero {
        min-height: 520px;
    }

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

    .trust-item {
        border-right: 0;
        border-bottom: 1px solid #e8ebef;
    }

    .trust-item:last-child {
        border-bottom: 0;
    }

    .case-evaluation-section,
    .practice-content-section,
    .cta-form-section {
        padding: 75px 0;
    }

    .case-form-card,
    .cta-form-wrapper {
        padding: 30px 22px;
    }

    .practice-sidebar {
        grid-template-columns: 1fr;
    }

    .styled-list {
        grid-template-columns: 1fr;
    }

    .content-block {
        grid-template-columns: 45px 1fr;
        gap: 15px;
    }

    .content-block-number {
        width: 42px;
        height: 42px;
    }
}


@media (max-width: 600px) {

    .practice-hero-content {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .hero-breadcrumb {
        font-size: 12px;
        flex-wrap: wrap;
    }

    .practice-hero h1 {
        font-size: 48px;
        letter-spacing: -1px;
    }

    .hero-actions,
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn,
    .cta-actions .btn {
        width: 100%;
    }

    .form-row-custom {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .case-form-card {
        padding: 25px 18px;
    }

    .form-card-header {
        align-items: flex-start;
    }

    .practice-content .section-heading {
        font-size: 32px;
    }

    .content-intro {
        padding-left: 17px;
    }

    .content-block {
        grid-template-columns: 1fr;
    }

    .content-block-number {
        margin-bottom: 3px;
    }

    .cta-form-wrapper {
        padding: 30px 18px;
    }

    .cta-submit-row {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-submit-row .btn-primary-custom {
        width: 100%;
    }

    .secure-message {
        justify-content: center;
    }

}
/* =========================================================
   INTERSECTION OBSERVER SCROLL ANIMATIONS
   ========================================================= */

/* Base state for animated sections */
.observe-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

/* Active state triggered when section enters viewport */
.observe-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* =========================================================
   ADVANCED INTERSECTION OBSERVER ANIMATIONS
   ========================================================= */

/* Default Base state: Fade Up */
.observe-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

/* 1. Slide Right */
.observe-section[data-animate="slide-right"] {
    transform: translateX(-50px);
}

/* 2. Slide Left */
.observe-section[data-animate="slide-left"] {
    transform: translateX(50px);
}

/* 3. Zoom In */
.observe-section[data-animate="zoom-in"] {
    transform: scale(0.9);
}

/* 4. 3D Flip Up */
.observe-section[data-animate="flip-up"] {
    transform: perspective(600px) rotateX(25deg) translateY(30px);
}

/* Active trigger state for all animation types */
.observe-section.is-visible {
    opacity: 1 !important;
    transform: translate(0) scale(1) rotateX(0deg) !important;
}
/* Real-time Field Validation Styles */
.form-group-custom .form-error {
  color: #d32f2f;
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

.input-wrapper input.is-invalid,
.input-wrapper textarea.is-invalid {
  border-color: #d32f2f !important;
}

.input-wrapper input.is-valid,
.input-wrapper textarea.is-valid {
  border-color: #2e7d32 !important;
}

/* Status Notifications */
.form-status {
  padding: 12px 16px;
  margin-top: 15px;
  border-radius: 4px;
  font-size: 0.95rem;
  display: none;
}

.form-status.status-info {
  background-color: #e3f2fd;
  color: #0c5460;
  border: 1px solid #b8daff;
}

.form-status.status-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-status.status-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Practice page main layout (article + sticky sidebar) */
.practice-main-section {
    padding: var(--section-padding) 0;
}

.practice-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 36px;
    align-items: start;
}

.practice-article {
    min-width: 0;
}

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

    .practice-sidebar {
        position: relative;
        top: auto;
    }
}