
:root {
  --navy-950: #05101a;
  --navy-900: #071522;
  --navy-800: #0d2435;
  --navy-700: #17394f;
  --gold-500: #c6a15b;
  --gold-400: #d9ba78;
  --gold-300: #ead39f;
  --paper: #f5f1e8;
  --cream: #fbf9f4;
  --white: #ffffff;
  --ink: #13202b;
  --muted: #68737d;
  --line: rgba(7, 21, 34, 0.13);
  --shadow: 0 24px 70px rgba(5, 16, 26, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: min(1160px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

::selection {
  background: var(--gold-400);
  color: var(--navy-950);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy-950);
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 112px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--gold-400);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 38px;
  height: 1px;
  background: currentColor;
  content: "";
}

.eyebrow.dark {
  color: #8b6c35;
}

.section-heading h2,
.focus-copy h2,
.location-copy h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.15rem, 4.2vw, 4.35rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.section-heading p {
  max-width: 610px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading.centered {
  max-width: 790px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.section-heading.centered p {
  margin-inline: auto;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}

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

.button svg {
  width: 20px;
  height: 20px;
}

.button-primary {
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  box-shadow: 0 12px 34px rgba(198, 161, 91, .25);
}

.button-primary:hover {
  box-shadow: 0 16px 42px rgba(198, 161, 91, .36);
}

.button-secondary {
  border-color: rgba(255,255,255,.28);
  color: var(--white);
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(10px);
}

.button-secondary:hover {
  border-color: var(--gold-400);
  color: var(--gold-300);
}

.button-light {
  color: var(--navy-950);
  background: var(--white);
  box-shadow: 0 14px 30px rgba(5, 16, 26, .16);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  color: var(--white);
  transition: background-color .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}

.site-header.scrolled {
  background: rgba(5, 16, 26, .93);
  box-shadow: 0 10px 35px rgba(0,0,0,.18);
  backdrop-filter: blur(16px);
}

.header-shell {
  display: flex;
  width: var(--container);
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
  border-bottom: 1px solid rgba(255,255,255,.13);
}

.site-header.scrolled .header-shell {
  border-bottom-color: transparent;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid rgba(217,186,120,.55);
  border-radius: 50%;
  color: var(--gold-400);
}

.brand-mark svg {
  width: 28px;
  height: 28px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand-copy strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.04rem;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--gold-300);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav > a:not(.nav-cta) {
  position: relative;
  color: rgba(255,255,255,.82);
  font-size: .9rem;
  font-weight: 600;
}

.main-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--gold-400);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}

.main-nav > a:not(.nav-cta):hover {
  color: var(--white);
}

.main-nav > a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 10px 17px;
  border: 1px solid var(--gold-400);
  border-radius: 999px;
  color: var(--gold-300);
  font-size: .88rem;
  font-weight: 700;
  transition: background-color .22s ease, color .22s ease;
}

.nav-cta:hover {
  color: var(--navy-950);
  background: var(--gold-400);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255,255,255,.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}

/* Hero */
.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 72% 18%, rgba(45, 99, 127, .22), transparent 31%),
    radial-gradient(circle at 20% 86%, rgba(198, 161, 91, .14), transparent 34%),
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 48%, #0a1e2d 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,16,26,.3), transparent 45%);
  content: "";
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .32;
  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: 70px 70px;
  mask-image: linear-gradient(to bottom, black, transparent 95%);
}

.hero-orb {
  position: absolute;
  border: 1px solid rgba(217,186,120,.18);
  border-radius: 50%;
}

.hero-orb-one {
  top: 110px;
  right: -180px;
  width: 610px;
  height: 610px;
}

.hero-orb-two {
  right: 175px;
  bottom: -290px;
  width: 500px;
  height: 500px;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 760px;
  align-items: center;
  gap: 70px;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  padding-top: 105px;
  padding-bottom: 72px;
}

.hero-copy {
  max-width: 710px;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.1rem, 6.5vw, 6.35rem);
  line-height: .97;
  letter-spacing: -.055em;
}

.hero h1 span {
  display: block;
  color: var(--gold-300);
  font-style: italic;
}

.hero-name {
  margin: 28px 0 0;
  color: var(--white);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 700;
  letter-spacing: .02em;
}

.hero-intro {
  max-width: 635px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.68);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-contact-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 38px;
  color: rgba(255,255,255,.6);
  font-size: .86rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-contact-line::before {
  width: 52px;
  height: 1px;
  background: rgba(217,186,120,.55);
  content: "";
}

.hero-contact-line a {
  color: var(--gold-300);
  font-weight: 700;
  letter-spacing: .04em;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 540px;
  place-items: center;
}

.justice-frame {
  position: relative;
  display: grid;
  width: min(100%, 470px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(217,186,120,.22);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.045), transparent 66%);
}

.justice-frame::before,
.justice-frame::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.justice-frame::before {
  inset: 26px;
  border: 1px dashed rgba(217,186,120,.18);
}

.justice-frame::after {
  inset: 56px;
  border: 1px solid rgba(255,255,255,.08);
}

.justice-emblem {
  position: relative;
  z-index: 2;
  width: 59%;
  color: var(--gold-300);
  filter: drop-shadow(0 20px 45px rgba(0,0,0,.25));
}

.primary-area-card {
  position: absolute;
  z-index: 3;
  right: -16px;
  bottom: 58px;
  display: flex;
  min-width: 155px;
  flex-direction: column;
  padding: 20px 22px;
  border-left: 3px solid var(--gold-400);
  border-radius: 5px 16px 16px 5px;
  color: var(--navy-950);
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
}

.primary-area-card span {
  color: #7b6846;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.primary-area-card strong {
  margin-top: 2px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.8rem;
}

.orbit-list {
  position: absolute;
  z-index: 4;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255,255,255,.8);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.orbit-list li {
  position: absolute;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(5,16,26,.58);
  backdrop-filter: blur(7px);
}

.orbit-list li:nth-child(1) { top: 4%; left: 18%; }
.orbit-list li:nth-child(2) { top: 19%; right: -2%; }
.orbit-list li:nth-child(3) { bottom: 10%; left: 6%; }
.orbit-list li:nth-child(4) { top: 54%; left: -9%; }
.orbit-list li:nth-child(5) { top: 4%; right: 17%; }

.scroll-cue {
  position: absolute;
  z-index: 5;
  bottom: 25px;
  left: 50%;
  width: 30px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-cue span {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold-300);
  transform: translateX(-50%);
  animation: scrollCue 1.8s infinite;
}

@keyframes scrollCue {
  0% { opacity: 0; transform: translate(-50%, 0); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 16px); }
}

/* Identity */
.identity {
  overflow: hidden;
  background: var(--paper);
}

.identity::before {
  position: absolute;
  top: 0;
  right: -100px;
  width: 430px;
  height: 100%;
  opacity: .35;
  background:
    repeating-linear-gradient(135deg, transparent 0 28px, rgba(7,21,34,.045) 28px 29px);
  content: "";
}

.identity-layout {
  position: relative;
  display: grid;
  align-items: start;
  gap: 85px;
  grid-template-columns: .9fr 1.1fr;
}

.identity-content {
  padding-top: 12px;
}

.identity-content > p {
  max-width: 670px;
  margin: 0;
  color: #35434d;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  line-height: 1.43;
}

.identity-data {
  display: grid;
  gap: 18px;
  margin-top: 46px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.identity-data article {
  padding: 22px 0;
  border-top: 1px solid rgba(7,21,34,.18);
}

.identity-data span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.identity-data strong,
.identity-data a {
  font-size: 1.02rem;
  font-weight: 700;
}

.identity-data a {
  color: #8a672d;
}

/* Practice */
.practice {
  background: var(--cream);
}

.practice-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.practice-card {
  position: relative;
  min-height: 355px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.72);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.practice-card::after {
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 135px;
  height: 135px;
  border: 1px solid rgba(198,161,91,.22);
  border-radius: 50%;
  content: "";
  transition: transform .35s ease;
}

.practice-card:hover {
  border-color: rgba(198,161,91,.45);
  box-shadow: var(--shadow);
  transform: translateY(-7px);
}

.practice-card:hover::after {
  transform: scale(1.35);
}

.practice-card.featured {
  color: var(--white);
  background:
    radial-gradient(circle at 90% 10%, rgba(198,161,91,.18), transparent 35%),
    var(--navy-900);
}

.card-number {
  position: absolute;
  top: 24px;
  right: 26px;
  color: rgba(7,21,34,.17);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.6rem;
  font-weight: 700;
}

.featured .card-number {
  color: rgba(255,255,255,.13);
}

.card-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(198,161,91,.38);
  border-radius: 14px;
  color: #9b783a;
  background: rgba(198,161,91,.07);
}

.card-icon svg {
  width: 30px;
  height: 30px;
}

.featured .card-icon {
  color: var(--gold-300);
  background: rgba(255,255,255,.04);
}

.featured-label {
  display: inline-flex;
  margin-top: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--navy-950);
  background: var(--gold-300);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.practice-card h3 {
  margin: 28px 0 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
}

.featured h3 {
  margin-top: 14px;
}

.practice-card p {
  max-width: 260px;
  margin: 0;
  color: var(--muted);
}

.featured p {
  color: rgba(255,255,255,.68);
}

.practice-card a {
  position: absolute;
  z-index: 2;
  right: 30px;
  bottom: 28px;
  left: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(7,21,34,.13);
  color: #8a672d;
  font-size: .88rem;
  font-weight: 700;
}

.featured a {
  border-top-color: rgba(255,255,255,.13);
  color: var(--gold-300);
}

.practice-card a span {
  font-size: 1.2rem;
  transition: transform .2s ease;
}

.practice-card a:hover span {
  transform: translateX(5px);
}

/* Focus */
.focus {
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(5,16,26,.98), rgba(13,36,53,.96)),
    var(--navy-900);
}

.focus::before {
  position: absolute;
  inset: 0;
  opacity: .17;
  background-image:
    linear-gradient(90deg, transparent 49.8%, rgba(255,255,255,.18) 50%, transparent 50.2%),
    linear-gradient(transparent 49.8%, rgba(255,255,255,.13) 50%, transparent 50.2%);
  background-size: 88px 88px;
  content: "";
}

.focus-layout {
  position: relative;
  display: grid;
  align-items: center;
  gap: 80px;
  grid-template-columns: 1fr 1fr;
}

.focus-visual {
  position: relative;
  min-height: 400px;
  border: 1px solid rgba(217,186,120,.18);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.01));
}

.focus-index {
  position: absolute;
  top: 30px;
  left: 34px;
  color: var(--gold-300);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
}

.focus-word {
  position: absolute;
  top: 50%;
  left: 50%;
  color: rgba(255,255,255,.05);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(5rem, 11vw, 10rem);
  font-weight: 700;
  line-height: 1;
  transform: translate(-50%, -50%) rotate(-90deg);
}

.focus-line {
  position: absolute;
  top: 50%;
  right: 12%;
  left: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

.focus-copy {
  position: relative;
  z-index: 2;
}

.focus-copy p {
  max-width: 580px;
  margin: 26px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 1.18rem;
}

.focus-copy .focus-secondary {
  margin-top: 14px;
  color: rgba(255,255,255,.57);
  font-size: 1rem;
}

.focus-copy .button {
  margin-top: 34px;
}

/* Location */
.location {
  background: var(--paper);
}

.location-layout {
  display: grid;
  align-items: center;
  gap: 90px;
  grid-template-columns: 1.05fr .95fr;
}

.location-copy p {
  max-width: 590px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  color: #85652f;
  font-weight: 800;
}

.text-link span {
  transition: transform .2s ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

.location-card {
  position: relative;
  display: flex;
  min-height: 270px;
  align-items: center;
  gap: 26px;
  overflow: hidden;
  padding: 46px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0, rgba(198,161,91,.25), transparent 35%),
    var(--navy-900);
  box-shadow: var(--shadow);
}

.location-card::after {
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(217,186,120,.17);
  border-radius: 50%;
  content: "";
}

.location-pin {
  display: grid;
  width: 80px;
  height: 80px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(217,186,120,.36);
  border-radius: 50%;
  color: var(--gold-300);
}

.location-pin svg {
  width: 40px;
  height: 40px;
}

.location-card div:last-child {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.location-card span {
  color: var(--gold-300);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.location-card strong {
  margin-top: 4px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.location-card small {
  margin-top: 8px;
  color: rgba(255,255,255,.68);
  font-size: 1rem;
}

/* Contact */
.contact {
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, #9c793c 0%, #c39c54 55%, #d4b36f 100%);
}

.contact-pattern {
  position: absolute;
  inset: 0;
  opacity: .17;
  background:
    radial-gradient(circle at 10% 20%, transparent 0 70px, rgba(255,255,255,.55) 71px 72px, transparent 73px),
    radial-gradient(circle at 90% 80%, transparent 0 110px, rgba(255,255,255,.5) 111px 112px, transparent 113px);
}

.contact-layout {
  position: relative;
  display: grid;
  align-items: center;
  gap: 80px;
  grid-template-columns: 1.15fr .85fr;
}

.contact-copy .eyebrow {
  color: var(--navy-950);
}

.contact-copy h2 {
  max-width: 750px;
  color: var(--navy-950);
}

.contact-copy p {
  margin: 24px 0 0;
  color: rgba(5,16,26,.72);
  font-weight: 700;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 42px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--radius-lg);
  background: rgba(7,21,34,.94);
  box-shadow: 0 30px 70px rgba(5,16,26,.25);
}

.contact-label {
  color: var(--gold-300);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.contact-number {
  margin-top: 7px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 700;
  line-height: 1;
}

.contact-place {
  margin-top: 12px;
  color: rgba(255,255,255,.62);
}

.contact-card .button {
  width: 100%;
  margin-top: 28px;
}

/* Footer */
.site-footer {
  padding: 48px 0;
  color: rgba(255,255,255,.72);
  background: var(--navy-950);
}

.footer-grid {
  display: grid;
  align-items: center;
  gap: 35px;
  grid-template-columns: 1.2fr 1fr .8fr;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  color: var(--white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
}

.footer-brand span {
  margin-top: 4px;
  color: var(--gold-300);
  font-size: .85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.footer-links a {
  font-size: .82rem;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: var(--gold-300);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: .86rem;
}

.footer-contact a {
  margin-top: 3px;
  color: var(--gold-300);
  font-weight: 700;
}

/* Floating buttons */
.whatsapp-float {
  position: fixed;
  z-index: 70;
  right: 24px;
  bottom: 24px;
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--white);
  background: #1fa855;
  box-shadow: 0 14px 35px rgba(14, 109, 58, .35);
  font-weight: 800;
  transition: transform .25s ease, box-shadow .25s ease;
}

.whatsapp-float:hover {
  box-shadow: 0 18px 45px rgba(14, 109, 58, .46);
  transform: translateY(-4px);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
}

.back-to-top {
  position: fixed;
  z-index: 65;
  right: 28px;
  bottom: 91px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  color: var(--white);
  background: rgba(5,16,26,.9);
  box-shadow: 0 12px 30px rgba(5,16,26,.2);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Reveal: el contenido es visible por defecto para evitar pantallas en blanco.
   JavaScript agrega .reveal-pending únicamente cuando las animaciones están disponibles. */
.reveal {
  opacity: 1;
  transform: none;
}

.reveal.reveal-pending {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.reveal-pending.visible {
  opacity: 1;
  transform: translateY(0);
}

.practice-card:nth-child(2) { transition-delay: .06s; }
.practice-card:nth-child(3) { transition-delay: .12s; }
.practice-card:nth-child(4) { transition-delay: .04s; }
.practice-card:nth-child(5) { transition-delay: .1s; }
.practice-card:nth-child(6) { transition-delay: .16s; }

/* Responsive */
@media (max-width: 1020px) {
  .main-nav {
    gap: 18px;
  }

  .hero-layout {
    grid-template-columns: 1fr .8fr;
    gap: 35px;
  }

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

  .identity-layout,
  .focus-layout,
  .location-layout,
  .contact-layout {
    gap: 50px;
  }
}

@media (max-width: 820px) {
  :root {
    --container: min(100% - 30px, 720px);
  }

  .section {
    padding: 84px 0;
  }

  .menu-toggle {
    display: block;
    z-index: 102;
  }

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

  .main-nav {
    position: fixed;
    z-index: 101;
    inset: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-direction: column;
    gap: 0;
    padding: 105px 30px 40px;
    background: rgba(5,16,26,.985);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .25s ease, transform .25s ease;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav > a:not(.nav-cta) {
    padding: 16px 2px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 1.15rem;
  }

  .main-nav > a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    margin-top: 24px;
    padding: 16px 20px;
    text-align: center;
  }

  .hero {
    min-height: auto;
  }

  .hero-layout {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 145px;
    padding-bottom: 95px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy .eyebrow,
  .hero-actions,
  .hero-contact-line {
    justify-content: center;
  }

  .hero-intro {
    margin-inline: auto;
  }

  .hero-visual {
    min-height: 440px;
  }

  .justice-frame {
    width: min(92%, 430px);
  }

  .primary-area-card {
    right: 5px;
  }

  .identity-layout,
  .focus-layout,
  .location-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .identity-layout,
  .location-layout {
    gap: 40px;
  }

  .focus-layout {
    gap: 52px;
  }

  .focus-visual {
    min-height: 330px;
  }

  .contact-layout {
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-contact {
    align-items: center;
  }
}

@media (max-width: 620px) {
  .section {
    padding: 72px 0;
  }

  .brand-copy strong {
    font-size: .94rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 365px;
  }

  .justice-frame {
    width: 310px;
  }

  .primary-area-card {
    right: -1px;
    bottom: 25px;
    min-width: 130px;
    padding: 15px 17px;
  }

  .primary-area-card strong {
    font-size: 1.5rem;
  }

  .orbit-list {
    font-size: .6rem;
  }

  .orbit-list li:nth-child(2) { right: -1%; }
  .orbit-list li:nth-child(4) { left: -2%; }
  .orbit-list li:nth-child(5) { right: 9%; }

  .identity-data {
    grid-template-columns: 1fr;
  }

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

  .practice-card {
    min-height: 330px;
  }

  .location-card {
    min-height: 240px;
    align-items: flex-start;
    flex-direction: column;
    padding: 34px;
  }

  .contact-card {
    padding: 31px 24px;
  }

  .whatsapp-float {
    right: 15px;
    bottom: 15px;
    width: 56px;
    height: 56px;
    justify-content: center;
    padding: 0;
  }

  .whatsapp-float span {
    display: none;
  }

  .back-to-top {
    right: 21px;
    bottom: 82px;
  }
}

@media (max-width: 390px) {
  .brand-copy {
    display: none;
  }

  .hero-layout {
    padding-top: 125px;
  }

  .justice-frame {
    width: 275px;
  }

  .orbit-list li {
    padding: 5px 7px;
  }

  .focus-word {
    font-size: 4.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

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