:root {
      --bg: #f4efe7;
      --bg-soft: #efe8dd;
      --paper: #fbf8f2;
      --card: #ffffff;
      --text: #141414;
      --muted: #666157;
      --line: rgba(20, 20, 20, .10);
      --gold: #b68449;
      --gold-2: #d2ad73;
      --dark: #111111;
      --navH: 88px;
      --radius: 28px;
      --shadow: 0 18px 40px rgba(0, 0, 0, .08);
    }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: calc(var(--navH) + 20px);
    }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--bg);
      color: var(--text);
      overflow-x: hidden;
    }

    h1,
    h2,
    h3,
    h4,
    .font-display {
      font-family: 'Instrument Serif', serif;
      font-weight: 400;
      letter-spacing: -.03em;
    }

    a {
      text-decoration: none;
    }

    img {
      max-width: 100%;
      display: block;
    }

    .navbar {
      background: rgba(244, 239, 231, .82);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(20, 20, 20, .08);
      transition: .3s ease;
    }

    .navbar.scrolled {
      background: rgba(251, 248, 242, .95);
      box-shadow: 0 12px 35px rgba(0, 0, 0, .06);
    }

    .navbar-brand {
      display: flex;
      align-items: center;
      gap: 12px;
      color: var(--dark);
      font-weight: 700;
    }

    .brand-logo {
      width: 52px;
      height: 52px;
      border-radius: 16px;
      background: linear-gradient(135deg, rgba(182, 132, 73, .12), rgba(255, 255, 255, .9));
      border: 1px solid rgba(20, 20, 20, .08);
      display: grid;
      place-items: center;
      overflow: hidden;
    }

    .brand-logo img {
      width: 82%;
      height: 82%;
      object-fit: contain;
    }

    .navbar-nav .nav-link {
      color: rgba(20, 20, 20, .86);
      font-weight: 500;
      margin: 0 8px;
      position: relative;
    }

    .navbar-nav .nav-link::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 2px;
      width: 0;
      height: 1px;
      background: var(--gold);
      transition: .3s ease;
    }

    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link.active::after {
      width: 100%;
    }

    .btn-main {
      border: 0;
      background: var(--dark);
      color: #fff;
      border-radius: 999px;
      padding: 14px 26px;
      font-weight: 700;
      transition: .25s ease;
    }

    .btn-main:hover {
      color: #fff;
      transform: translateY(-2px);
      background: #000;
    }

    .btn-line {
      border: 1px solid rgba(20, 20, 20, .14);
      color: var(--dark);
      background: transparent;
      border-radius: 999px;
      padding: 14px 24px;
      font-weight: 600;
      transition: .25s ease;
    }

    .btn-line:hover {
      color: var(--dark);
      transform: translateY(-2px);
      border-color: rgba(182, 132, 73, .45);
      background: rgba(182, 132, 73, .06);
    }

    .hero {
      padding: calc(var(--navH) + 34px) 0 80px;
      position: relative;
      overflow: hidden;
    }

    .hero::before {
      content: "";
      position: absolute;
      right: -180px;
      top: 140px;
      width: 520px;
      height: 520px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(182, 132, 73, .12), transparent 68%);
      pointer-events: none;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      text-transform: uppercase;
      letter-spacing: .16em;
      font-size: .78rem;
      font-weight: 700;
      color: var(--gold);
      margin-bottom: 22px;
    }

    .hero-title {
      font-size: clamp(4rem, 10vw, 9rem);
      line-height: .88;
      margin-bottom: 24px;
      max-width: 900px;
    }

    .hero-subrow {
      margin-top: 30px;
      padding-top: 24px;
      border-top: 1px solid var(--line);
    }

    .hero-text {
      color: var(--muted);
      font-size: 1.08rem;
      line-height: 1.9;
      max-width: 520px;
    }

    .hero-visual {
      position: relative;
      min-height: 680px;
    }

    .hero-photo {
      position: absolute;
      right: 0;
      top: 0;
      width: min(100%, 560px);
      height: 680px;
      border-radius: 36px;
      overflow: hidden;
      background:
        linear-gradient(180deg, rgba(17, 17, 17, .08), rgba(17, 17, 17, .16)),
        url('../material/hero-law.jpg') center/cover no-repeat;
      box-shadow: var(--shadow);
    }

    .floating-card {
      position: absolute;
      left: 0;
      bottom: 42px;
      width: 300px;
      background: rgba(255, 255, 255, .86);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(20, 20, 20, .08);
      border-radius: 28px;
      padding: 24px;
      box-shadow: 0 20px 40px rgba(0, 0, 0, .10);
    }

    .floating-card .mini {
      text-transform: uppercase;
      letter-spacing: .14em;
      font-size: .74rem;
      font-weight: 700;
      color: var(--gold);
      margin-bottom: 8px;
    }

    .floating-card h3 {
      font-size: 2.1rem;
      line-height: .95;
      margin-bottom: 10px;
    }

    .floating-card p {
      color: var(--muted);
      margin-bottom: 0;
      line-height: 1.75;
      font-size: .97rem;
    }

    .section-pad {
      padding: 110px 0;
    }

    .section-head {
      margin-bottom: 52px;
    }

    .section-kicker {
      text-transform: uppercase;
      letter-spacing: .16em;
      font-size: .78rem;
      font-weight: 700;
      color: var(--gold);
      margin-bottom: 14px;
      display: inline-block;
    }

    .section-title {
      font-size: clamp(2.8rem, 6vw, 5.4rem);
      line-height: .92;
      margin-bottom: 14px;
    }

    .section-copy {
      color: var(--muted);
      font-size: 1.04rem;
      line-height: 1.9;
      max-width: 620px;
    }

    .intro-split {
      display: grid;
      grid-template-columns: 1.2fr .8fr;
      gap: 28px;
      align-items: stretch;
    }

    .paper-card {
      background: var(--paper);
      border: 1px solid rgba(20, 20, 20, .08);
      border-radius: 32px;
      padding: 34px;
      box-shadow: var(--shadow);
      height: 100%;
    }

    .paper-card.dark {
      background: #171717;
      color: #fff;
      border-color: rgba(255, 255, 255, .05);
    }

    .paper-card.dark p,
    .paper-card.dark li,
    .paper-card.dark .muted-light {
      color: rgba(255, 255, 255, .72);
    }

    .feature-list {
      display: grid;
      gap: 16px;
      margin-top: 24px;
    }

    .feature-item {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      padding-bottom: 16px;
      border-bottom: 1px solid rgba(20, 20, 20, .08);
    }

    .feature-item:last-child {
      border-bottom: 0;
      padding-bottom: 0;
    }

    .feature-icon {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: rgba(182, 132, 73, .12);
      color: var(--gold);
      flex: 0 0 42px;
    }

    .practice-layout {
      display: grid;
      grid-template-columns: .9fr 1.1fr;
      gap: 34px;
      align-items: start;
    }

    .practice-sticky {
      position: sticky;
      top: calc(var(--navH) + 20px);
    }

    .practice-list {
      display: grid;
      gap: 16px;
    }

    .practice-item {
      background: var(--card);
      border: 1px solid rgba(20, 20, 20, .08);
      border-radius: 26px;
      padding: 24px 26px;
      transition: .25s ease;
    }

    .practice-item:hover {
      transform: translateX(6px);
      border-color: rgba(182, 132, 73, .34);
      box-shadow: var(--shadow);
    }

    .practice-item .top {
      display: flex;
      justify-content: space-between;
      gap: 18px;
      align-items: center;
      margin-bottom: 10px;
    }

    .practice-item h3 {
      font-size: 2rem;
      line-height: .95;
      margin: 0;
    }

    .practice-item p {
      color: var(--muted);
      margin: 0;
      line-height: 1.85;
    }

    .num {
      font-size: .92rem;
      font-weight: 700;
      color: var(--gold);
      letter-spacing: .08em;
      white-space: nowrap;
    }

    .metrics-band {
      padding: 26px 0;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      margin: 14px 0 0;
    }

    .metric {
      display: flex;
      gap: 16px;
      align-items: center;
    }

    .metric-value {
      font-family: 'Instrument Serif', serif;
      font-size: 4rem;
      line-height: .8;
    }

    .metric-label {
      color: var(--muted);
      line-height: 1.5;
      max-width: 180px;
    }

    .editorial-panel {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      align-items: stretch;
    }

    .editorial-image {
      min-height: 520px;
      border-radius: 32px;
      overflow: hidden;
      background:
        linear-gradient(180deg, rgba(17, 17, 17, .12), rgba(17, 17, 17, .22)),
        url('../material/hero-lawv2.jpg') center/cover no-repeat;
      box-shadow: var(--shadow);
    }

    .editorial-copy {
      padding: 8px 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .editorial-copy h2 {
      font-size: clamp(3rem, 6vw, 5.2rem);
      line-height: .92;
      margin-bottom: 18px;
    }

    .editorial-copy p {
      color: var(--muted);
      line-height: 1.95;
      margin-bottom: 16px;
      font-size: 1.04rem;
    }

    .process-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
    }

    .process-card {
      background: var(--paper);
      border: 1px solid rgba(20, 20, 20, .08);
      border-radius: 28px;
      padding: 28px;
      height: 100%;
      box-shadow: var(--shadow);
    }

    .process-no {
      font-size: .82rem;
      letter-spacing: .18em;
      color: var(--gold);
      font-weight: 800;
      margin-bottom: 14px;
    }

    .process-card h3 {
      font-size: 2rem;
      line-height: .95;
      margin-bottom: 12px;
    }

    .process-card p {
      color: var(--muted);
      line-height: 1.85;
      margin-bottom: 0;
    }

    .cta-block {
      background: #161616;
      color: #fff;
      border-radius: 36px;
      padding: 48px;
      position: relative;
      overflow: hidden;
    }

    .cta-block::before {
      content: "";
      position: absolute;
      right: -120px;
      top: -120px;
      width: 320px;
      height: 320px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(182, 132, 73, .20), transparent 70%);
    }

    .cta-block h2 {
      font-size: clamp(3rem, 6vw, 5.6rem);
      line-height: .9;
      margin-bottom: 16px;
    }

    .cta-block p {
      color: rgba(255, 255, 255, .72);
      max-width: 640px;
      line-height: 1.9;
      margin-bottom: 0;
    }

    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 22px;
    }

    .contact-box {
      background: var(--card);
      border: 1px solid rgba(20, 20, 20, .08);
      border-radius: 28px;
      padding: 28px;
      box-shadow: var(--shadow);
      height: 100%;
    }

    .contact-box h3 {
      font-size: 2.2rem;
      line-height: .95;
      margin-bottom: 18px;
    }

    .contact-row {
      display: flex;
      gap: 14px;
      align-items: flex-start;
      padding: 14px 0;
      border-bottom: 1px solid rgba(20, 20, 20, .08);
    }

    .contact-row:last-child {
      border-bottom: 0;
      padding-bottom: 0;
    }

    .contact-row i {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(182, 132, 73, .12);
      color: var(--gold);
      display: grid;
      place-items: center;
      flex: 0 0 40px;
    }

    .contact-row span,
    .contact-row a {
      color: var(--muted);
      line-height: 1.75;
      word-break: break-word;
    }

    .contact-row strong {
      display: block;
      margin-bottom: 2px;
      color: var(--dark);
    }

    .social-links {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 22px;
    }

    .social-link {
      flex: 1 1 180px;
      border: 1px solid rgba(20, 20, 20, .10);
      border-radius: 20px;
      padding: 16px 18px;
      color: var(--dark);
      display: flex;
      align-items: center;
      gap: 12px;
      background: rgba(255, 255, 255, .6);
      transition: .25s ease;
    }

    .social-link:hover {
      color: var(--dark);
      transform: translateY(-3px);
      border-color: rgba(182, 132, 73, .32);
      background: rgba(182, 132, 73, .08);
    }

    .footer {
      padding: 30px 0 40px;
      border-top: 1px solid var(--line);
      color: var(--muted);
    }

    .whatsapp-fancy {
      position: fixed;
      left: 18px;
      bottom: 18px;
      z-index: 999;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: linear-gradient(135deg, #23c45f, #18a34a);
      color: #fff;
      padding: 14px 20px;
      border-radius: 999px;
      box-shadow: 0 16px 34px rgba(20, 120, 52, .28);
      font-weight: 700;
      transition: .25s ease;
    }

    .whatsapp-fancy:hover {
      color: #fff;
      transform: translateY(-3px) scale(1.02);
    }

    @media (max-width: 1199.98px) {
      .process-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 991.98px) {
      :root {
        --navH: 78px;
      }

      .hero-visual {
        min-height: auto;
      }

      .hero-photo {
        position: relative;
        width: 100%;
        height: 540px;
      }

      .floating-card {
        position: relative;
        left: auto;
        bottom: auto;
        width: 100%;
        margin-top: -70px;
      }

      .intro-split,
      .practice-layout,
      .editorial-panel,
      .contact-grid {
        grid-template-columns: 1fr;
      }

      .practice-sticky {
        position: static;
      }
    }

    @media (max-width: 767.98px) {
      .hero-title,
      .section-title,
      .editorial-copy h2,
      .cta-block h2 {
        line-height: .95;
      }

      .section-pad {
        padding: 84px 0;
      }

      .process-grid {
        grid-template-columns: 1fr;
      }

      .btn-main,
      .btn-line {
        width: 100%;
        text-align: center;
      }

      .cta-block {
        padding: 36px 24px;
      }
    }