:root {
  --navy: #0b1730;
  --navy-2: #111f3e;
  --ink: #172036;
  --gold: #c7a462;
  --gold-soft: #ead9b1;
  --paper: #f7f4ee;
  --white: #ffffff;
  --muted: #697184;
  --line: rgba(11, 23, 48, .13);
  --shadow: 0 24px 70px rgba(11, 23, 48, .10);
  --radius: 22px;
  --container: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: var(--container); margin-inline: auto; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 9999;
  padding: 10px 14px;
  background: var(--white);
  color: var(--navy);
  border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 23, 48, .94);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
}
.header-shell { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); min-width: 0; }
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  border: 1px solid rgba(199,164,98,.7);
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: .06em;
}
.brand-text { display: grid; gap: 2px; line-height: 1.1; }
.brand-text strong { font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 600; }
.brand-text small { color: rgba(255,255,255,.63); font-size: 10px; text-transform: uppercase; letter-spacing: .14em; }

.main-nav { display: flex; align-items: center; gap: 26px; color: rgba(255,255,255,.82); font-size: 14px; }
.main-nav a { transition: color .2s ease, opacity .2s ease; }
.main-nav > a:not(.nav-cta):hover { color: var(--gold-soft); }
.nav-cta { padding: 11px 16px; border: 1px solid rgba(199,164,98,.75); color: var(--gold-soft); }
.nav-cta:hover { background: var(--gold); color: var(--navy); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; padding: 11px; }
.menu-toggle span { display: block; height: 2px; background: var(--white); margin: 5px 0; transition: transform .25s ease, opacity .25s ease; }

.section { padding: 104px 0; }
.section-dark { color: var(--white); background: var(--navy); }
.section-soft { background: var(--paper); }
.eyebrow { margin: 0 0 18px; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); }
.eyebrow.dark { color: #8a6b32; }
.eyebrow.light { color: var(--gold-soft); }
.section-heading { max-width: 680px; margin: 0 auto 54px; text-align: center; }
.section-heading.align-left { margin: 0; text-align: left; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
h2 { margin: 0; font-size: clamp(38px, 5vw, 62px); line-height: 1.02; color: var(--navy); font-weight: 500; }
.section-heading > p:last-child { margin: 18px auto 0; color: var(--muted); font-size: 17px; line-height: 1.7; }

.hero { position: relative; overflow: hidden; min-height: 710px; display: grid; align-items: center; padding: 90px 0 110px; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0/84px 84px,
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px) 0 0/84px 84px;
  pointer-events: none;
}
.hero-decor { position: absolute; border: 1px solid rgba(199,164,98,.17); border-radius: 50%; pointer-events: none; }
.hero-decor-one { width: 520px; height: 520px; right: -170px; top: -140px; }
.hero-decor-two { width: 360px; height: 360px; right: 70px; bottom: -210px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.3fr) minmax(320px,.7fr); gap: 80px; align-items: center; }
.hero h1 { margin: 0; font-size: clamp(58px, 7.4vw, 104px); line-height: .94; font-weight: 500; max-width: 800px; }
.hero h1 span { color: var(--gold-soft); display: block; }
.hero-specialties { margin: 28px 0 0; color: rgba(255,255,255,.9); text-transform: uppercase; letter-spacing: .13em; font-size: 14px; }
.hero-specialties b { margin: 0 7px; color: var(--gold); font-weight: 400; }
.hero-location { max-width: 680px; margin: 22px 0 0; color: rgba(255,255,255,.65); line-height: 1.75; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 21px; border: 1px solid transparent; font-weight: 800; font-size: 14px; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: var(--navy); }
.button-primary:hover { background: var(--gold-soft); }
.button-ghost { border-color: rgba(255,255,255,.23); color: var(--white); }
.button-ghost:hover { border-color: rgba(255,255,255,.6); }
.button-icon { font-size: 12px; }
.hero-panel { position: relative; padding: 34px; border: 1px solid rgba(199,164,98,.34); background: rgba(255,255,255,.035); box-shadow: 0 30px 80px rgba(0,0,0,.12); }
.hero-panel::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.055); pointer-events: none; }
.hero-emblem { display: flex; align-items: center; gap: 12px; color: var(--gold-soft); margin-bottom: 38px; }
.emblem-line { height: 1px; background: rgba(199,164,98,.45); flex: 1; }
.emblem-scale { font-family: Georgia, serif; font-size: 34px; }
.hero-panel > p { margin: 0 0 14px; color: rgba(255,255,255,.5); text-transform: uppercase; font-size: 11px; letter-spacing: .18em; }
.hero-practice-list { display: grid; }
.hero-practice-list span { display: grid; grid-template-columns: 44px 1fr; align-items: center; min-height: 70px; border-top: 1px solid rgba(255,255,255,.09); color: rgba(255,255,255,.35); font-size: 12px; }
.hero-practice-list strong { color: var(--white); font-family: Georgia, serif; font-size: 26px; font-weight: 500; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { position: relative; min-height: 410px; padding: 34px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(11,23,48,.04); display: flex; flex-direction: column; overflow: hidden; }
.service-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -110px; top: -110px; border-radius: 50%; border: 1px solid rgba(199,164,98,.24); }
.service-card.featured { background: var(--navy); color: var(--white); border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-10px); }
.service-number { position: absolute; top: 28px; right: 30px; color: rgba(11,23,48,.28); font-size: 12px; letter-spacing: .1em; }
.featured .service-number { color: rgba(255,255,255,.28); }
.service-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 42px; border: 1px solid rgba(199,164,98,.65); }
.service-icon svg { width: 32px; height: 32px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: 0; font-size: 31px; color: var(--navy); font-weight: 500; }
.featured h3 { color: var(--white); }
.service-card ul { margin: 20px 0 36px; padding: 0; list-style: none; color: var(--muted); line-height: 1.75; }
.featured ul { color: rgba(255,255,255,.62); }
.service-card li { position: relative; padding-left: 19px; }
.service-card li::before { content: ""; position: absolute; left: 0; top: .73em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.service-card > a { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); color: #7f612b; font-weight: 800; font-size: 13px; display: flex; justify-content: space-between; align-items: center; }
.featured > a { border-top-color: rgba(255,255,255,.12); color: var(--gold-soft); }

.matters-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.matters-copy { position: sticky; top: 120px; }
.matters-copy h2 { max-width: 430px; }
.matters-copy > p:not(.eyebrow) { max-width: 450px; color: var(--muted); line-height: 1.75; }
.text-link { display: inline-flex; gap: 12px; margin-top: 20px; color: #7f612b; font-weight: 800; }
.matter-list { border-top: 1px solid rgba(11,23,48,.16); }
.matter-item { display: grid; grid-template-columns: 50px 1fr 28px; align-items: center; min-height: 88px; border-bottom: 1px solid rgba(11,23,48,.16); }
.matter-item span { color: #9a7b44; font-size: 11px; }
.matter-item strong { font-family: Georgia, serif; font-size: clamp(22px, 2.5vw, 31px); font-weight: 500; color: var(--navy); }
.matter-item i { font-style: normal; color: #9a7b44; font-size: 20px; }

.coverage-head { display: grid; grid-template-columns: 1fr .8fr; gap: 60px; align-items: end; margin-bottom: 48px; }
.coverage-head p:last-child { margin: 0 0 5px; color: var(--muted); line-height: 1.75; }
.coverage-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.coverage-card { min-height: 180px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; transition: background .2s ease, transform .2s ease; }
.coverage-card:hover { background: var(--paper); transform: translateY(-3px); }
.coverage-card span { color: #9a7b44; font-size: 11px; }
.coverage-card strong { font-family: Georgia, serif; color: var(--navy); font-size: 24px; font-weight: 500; line-height: 1.15; }

.contact-band { padding: 78px 0; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; }
.contact-grid h2 { color: var(--white); max-width: 680px; }
.contact-grid > div > p:last-child { color: rgba(255,255,255,.55); }
.contact-action { padding-left: 46px; border-left: 1px solid rgba(255,255,255,.15); display: grid; gap: 10px; justify-items: start; }
.contact-action span { color: rgba(255,255,255,.52); font-size: 11px; text-transform: uppercase; letter-spacing: .16em; }
.contact-action strong { font-family: Georgia, serif; color: var(--gold-soft); font-size: clamp(32px,4vw,48px); font-weight: 500; }
.contact-action .button { margin-top: 8px; }

.social-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; align-items: center; }
.social-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.social-card { min-height: 130px; border: 1px solid var(--line); padding: 26px; display: flex; align-items: center; gap: 20px; background: var(--white); box-shadow: 0 16px 50px rgba(11,23,48,.04); }
.social-letter { width: 52px; height: 52px; flex: 0 0 52px; display: grid; place-items: center; background: var(--navy); color: var(--white); font-family: Georgia, serif; font-weight: 700; font-size: 28px; }
.social-letter.instagram { font-size: 31px; }
.social-card div { display: grid; gap: 5px; }
.social-card strong { color: var(--navy); font-size: 17px; }
.social-card small { color: var(--muted); }

.site-footer { background: #071024; color: rgba(255,255,255,.72); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 50px; padding-bottom: 36px; }
.footer-grid strong { display: block; font-family: Georgia, serif; color: var(--white); font-size: 22px; font-weight: 500; }
.footer-grid span { display: block; margin-bottom: 8px; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .14em; font-size: 10px; }
.footer-grid p { margin: 8px 0 0; }
.footer-grid a { color: var(--gold-soft); font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; color: rgba(255,255,255,.34); font-size: 12px; }

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #24d366;
  box-shadow: 0 15px 35px rgba(0,0,0,.18);
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.02); }
.whatsapp-float svg { width: 31px; height: 31px; fill: #fff; }

.reveal { opacity: 1; transform: none; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  :root { --container: min(100% - 32px, 760px); }
  .menu-toggle { display: block; position: relative; z-index: 1002; }
  .main-nav {
    position: fixed;
    inset: 80px 0 auto 0;
    height: calc(100vh - 80px);
    padding: 34px 24px 50px;
    background: #09152c;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transform: translateX(100%);
    transition: transform .28s ease;
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > a { padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.09); font-size: 16px; }
  .nav-cta { margin-top: 22px; text-align: center; border-bottom: 1px solid rgba(199,164,98,.75) !important; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { min-height: auto; padding: 76px 0 92px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-panel { max-width: 580px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card.featured { min-height: auto; transform: none; }
  .matters-layout { grid-template-columns: 1fr; gap: 52px; }
  .matters-copy { position: static; }
  .coverage-head { grid-template-columns: 1fr; gap: 20px; }
  .coverage-grid { grid-template-columns: repeat(2, 1fr); }
  .coverage-card:last-child { grid-column: span 2; }
  .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .contact-action { padding-left: 0; padding-top: 34px; border-left: 0; border-top: 1px solid rgba(255,255,255,.15); }
  .social-layout { grid-template-columns: 1fr; gap: 42px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  :root { --container: calc(100% - 28px); }
  .header-shell { min-height: 72px; }
  .brand-mark { width: 40px; height: 40px; flex-basis: 40px; }
  .brand-text strong { font-size: 15px; }
  .brand-text small { font-size: 8.5px; letter-spacing: .1em; }
  .main-nav { inset: 72px 0 auto 0; height: calc(100vh - 72px); }
  .section { padding: 76px 0; }
  .hero { padding: 64px 0 76px; }
  .hero h1 { font-size: clamp(50px, 15vw, 72px); }
  .hero-location { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .hero-panel { padding: 26px; }
  .service-card { padding: 28px; }
  .section-heading { margin-bottom: 38px; }
  .coverage-grid { grid-template-columns: 1fr; }
  .coverage-card, .coverage-card:last-child { grid-column: auto; min-height: 132px; }
  .matter-item { grid-template-columns: 34px 1fr 20px; min-height: 78px; }
  .social-cards { grid-template-columns: 1fr; }
  .social-card { min-height: 104px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}
