:root {
  --navy: #0b1f3a;
  --gold: #c6a15b;
  --off-white: #eee8dc;
  --graphite: #2e3238;
  --beige: #d8ccbb;
  --surface: #ece4d8;
  --surface-deep: #d3c4b1;
  --white: #ffffff;
  --muted: #6f747c;
  --line: rgba(11, 31, 58, 0.14);
  --shadow: 0 24px 70px rgba(11, 31, 58, 0.14);
  --radius: 14px;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  background: linear-gradient(180deg, #0b1f3a 0, #0b1f3a 420px, #d8ccbb 420px, #cfc0ad 100%);
  color: var(--graphite);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.5rem, 5.6vw, 4.75rem);
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.45rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  color: #555b63;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(11, 31, 58, 0.88);
  backdrop-filter: blur(18px);
  transition: min-height 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  min-height: 70px;
  background: rgba(11, 31, 58, 0.96);
  box-shadow: 0 18px 40px rgba(11, 31, 58, 0.22);
}

.nav {
  width: min(1240px, calc(100% - 32px));
  min-height: inherit;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: max-content;
  color: var(--white);
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border: 1.5px solid rgba(198, 161, 91, 0.82);
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(247, 244, 239, 0.06), rgba(198, 161, 91, 0.05)),
    rgba(11, 31, 58, 0.62);
  box-shadow:
    inset 0 0 0 4px rgba(11, 31, 58, 0.72),
    inset 0 0 0 5px rgba(198, 161, 91, 0.18);
}

.brand-letters {
  position: relative;
  z-index: 2;
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-scales::before,
.brand-scales::after,
.brand-scales {
  position: absolute;
  content: "";
  background: var(--gold);
}

.brand-scales {
  top: 12px;
  left: 15px;
  width: 22px;
  height: 1px;
  opacity: 0.8;
}

.brand-scales::before,
.brand-scales::after {
  top: 1px;
  width: 1px;
  height: 7px;
}

.brand-scales::before {
  left: 3px;
}

.brand-scales::after {
  right: 3px;
}

.brand-mark::after {
  position: absolute;
  right: 11px;
  bottom: 11px;
  left: 11px;
  height: 1px;
  content: "";
  background: rgba(198, 161, 91, 0.62);
}

.brand-text {
  display: grid;
  gap: 1px;
  line-height: 1.05;
}

.brand-text strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.brand-text span {
  color: rgba(247, 244, 239, 0.76);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-whatsapp {
  display: none !important;
}

.nav-panel > a:not(.btn) {
  padding: 9px 13px;
  border-radius: 999px;
  color: rgba(247, 244, 239, 0.86);
  font-size: 0.94rem;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-panel > a:not(.btn):hover,
.nav-panel > a:not(.btn):focus-visible {
  background: rgba(247, 244, 239, 0.08);
  color: var(--gold);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(198, 161, 91, 0.35);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--gold);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 12px 28px rgba(198, 161, 91, 0.22);
}

.btn-outline {
  border-color: rgba(247, 244, 239, 0.42);
  color: var(--off-white);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--gold);
  background: rgba(198, 161, 91, 0.08);
}

.btn-dark {
  background: var(--navy);
  color: var(--off-white);
}

.btn-small {
  min-height: 42px;
  padding: 11px 16px;
  font-size: 0.9rem;
}

.btn-large {
  min-height: 56px;
  padding-inline: 30px;
}

.section {
  padding: 104px 0;
}

#sobre {
  padding-bottom: 54px;
}

#areas {
  padding-top: 62px;
}

.section-dark {
  background: var(--navy);
  color: var(--off-white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark p {
  color: var(--off-white);
}

.section-muted {
  background: linear-gradient(180deg, #d8ccbb, #cfc0ad);
}

.hero {
  position: relative;
  padding: calc(var(--header-height) + 52px) 0 58px;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(198, 161, 91, 0.12), transparent 34%),
    radial-gradient(circle at 85% 18%, rgba(198, 161, 91, 0.16), transparent 26%),
    linear-gradient(rgba(247, 244, 239, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 244, 239, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 84px 84px, 84px 84px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.58fr);
  align-items: center;
  gap: 44px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-subtitle {
  max-width: 720px;
  margin-top: 24px;
  color: rgba(247, 244, 239, 0.78);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

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

.hero-visual {
  position: relative;
  display: grid;
  gap: 24px;
  justify-items: center;
  padding: 44px 30px;
  border: 1px solid rgba(198, 161, 91, 0.36);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(247, 244, 239, 0.1), rgba(247, 244, 239, 0.025));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.18);
}

.hero-visual::before {
  position: absolute;
  inset: 16px;
  content: "";
  border: 1px solid rgba(198, 161, 91, 0.2);
  border-radius: 6px;
}

.hero-visual p {
  position: relative;
  max-width: 320px;
  color: rgba(247, 244, 239, 0.82);
  text-align: center;
}

.justice-emblem {
  position: relative;
  width: min(260px, 78vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

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

.justice-emblem::before {
  inset: 0;
  border: 1px solid rgba(198, 161, 91, 0.34);
}

.justice-emblem::after {
  inset: 26px;
  border: 1px solid rgba(198, 161, 91, 0.18);
}

.emblem-pillars {
  position: absolute;
  bottom: 48px;
  display: flex;
  gap: 16px;
}

.emblem-pillars span {
  width: 18px;
  height: 94px;
  border: 1px solid rgba(198, 161, 91, 0.44);
  background: linear-gradient(90deg, transparent, rgba(198, 161, 91, 0.16), transparent);
}

.emblem-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 152px;
  height: 152px;
}

.emblem-mark strong {
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 4rem;
  line-height: 1;
}

.scale-beam,
.scale-left,
.scale-right {
  position: absolute;
  background: var(--gold);
}

.scale-beam {
  top: 22px;
  width: 86px;
  height: 2px;
}

.scale-left,
.scale-right {
  top: 24px;
  width: 2px;
  height: 38px;
}

.scale-left {
  left: 34px;
}

.scale-right {
  right: 34px;
}

.scale-left::after,
.scale-right::after {
  position: absolute;
  left: 50%;
  bottom: -15px;
  width: 36px;
  height: 13px;
  content: "";
  border: 1px solid var(--gold);
  border-top: 0;
  border-radius: 0 0 50px 50px;
  transform: translateX(-50%);
}

.about-card {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: center;
  gap: 0;
  max-width: 1020px;
  padding: 18px;
  border: 1px solid rgba(198, 161, 91, 0.26);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(11, 31, 58, 0.05), rgba(198, 161, 91, 0.06)),
    rgba(238, 232, 220, 0.72);
  box-shadow: 0 26px 70px rgba(11, 31, 58, 0.12);
}

.portrait {
  position: relative;
  max-width: none;
}

.portrait::before {
  position: absolute;
  inset: 22px -20px -22px 20px;
  content: "";
  border: 1px solid var(--gold);
  border-radius: var(--radius);
}

.portrait img {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 32%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-copy > p {
  max-width: none;
  margin-top: 18px;
  font-size: 1.08rem;
  line-height: 1.68;
}

.about-copy {
  padding: 34px 42px;
}

.about-copy .eyebrow {
  display: inline-block;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.highlights article,
.practice-card,
.service-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(238, 232, 220, 0.84);
  box-shadow: 0 14px 38px rgba(11, 31, 58, 0.06);
}

.highlights article {
  padding: 20px 16px;
}

.highlights strong {
  display: block;
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.05;
}

.highlights span {
  display: block;
  margin-top: 8px;
  color: #626770;
  font-size: 0.92rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.practice-card {
  min-height: 268px;
  padding: 30px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.practice-card:hover {
  transform: translateY(-6px);
  border-color: rgba(198, 161, 91, 0.56);
  box-shadow: 0 22px 54px rgba(11, 31, 58, 0.12);
}

.line-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  border: 1px solid rgba(198, 161, 91, 0.5);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(198, 161, 91, 0.08);
}

.line-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.practice-card p {
  margin-top: 12px;
}

.split-grid,
.location-grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  align-items: center;
  gap: 44px;
}

.split-grid p,
.location-grid address {
  margin-top: 22px;
  font-size: 1.06rem;
}

.service-panel {
  padding: 34px;
}

.service-panel span {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-panel p {
  margin: 16px 0 26px;
}

.trust {
  padding: 92px 0;
}

.trust-inner {
  max-width: 840px;
  text-align: center;
}

.trust-inner p:last-child {
  max-width: 700px;
  margin: 22px auto 0;
  color: rgba(247, 244, 239, 0.78);
  font-size: 1.08rem;
}

address {
  color: #555b63;
  font-style: normal;
}

.location-grid .btn {
  margin-top: 0;
}

.map-placeholder {
  min-height: 330px;
  display: grid;
  place-items: center;
  padding: 28px;
  border: 1px solid rgba(198, 161, 91, 0.36);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(198, 161, 91, 0.14) 1px, transparent 1px),
    linear-gradient(rgba(198, 161, 91, 0.1) 1px, transparent 1px),
    linear-gradient(145deg, rgba(11, 31, 58, 0.96), rgba(13, 37, 68, 0.92));
  background-size: 32px 32px;
  box-shadow: var(--shadow);
}

.map-placeholder > div {
  display: grid;
  justify-items: center;
  gap: 8px;
  max-width: 290px;
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(238, 232, 220, 0.94);
  text-align: center;
}

.map-pin {
  width: 22px;
  height: 22px;
  border: 6px solid var(--gold);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.map-placeholder strong {
  color: var(--navy);
}

.map-placeholder small {
  color: #676c73;
}

.footer {
  padding: 64px 0 28px;
  background: #07172b;
  color: rgba(247, 244, 239, 0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.55fr;
  gap: 42px;
}

.footer p,
.footer a {
  color: rgba(247, 244, 239, 0.76);
}

.footer strong {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
}

.footer-brand {
  margin-bottom: 18px;
}

.legal-note {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(247, 244, 239, 0.12);
  color: rgba(247, 244, 239, 0.58);
  font-size: 0.9rem;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 18px 38px rgba(16, 85, 52, 0.34);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 46px rgba(16, 85, 52, 0.42);
}

.floating-whatsapp svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
  stroke: none;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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

@media (max-width: 1080px) {
  .nav-panel {
    gap: 14px;
  }

  .nav-panel > a:not(.btn) {
    font-size: 0.88rem;
  }

  .hero-grid,
  .about-card,
  .split-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    max-width: 560px;
  }

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

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

@media (max-width: 860px) {
  :root {
    --header-height: 74px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(4) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-panel {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: grid;
    gap: 0;
    padding: 18px 20px 24px;
    background: rgba(11, 31, 58, 0.98);
    border-top: 1px solid rgba(198, 161, 91, 0.18);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
    transform: translateY(-120%);
    transition: transform 0.25s ease;
  }

  .nav-panel.is-open {
    transform: translateY(0);
  }

  .nav-panel > a:not(.btn) {
    padding: 14px 0;
    border-bottom: 1px solid rgba(247, 244, 239, 0.08);
    font-size: 1rem;
  }

  .nav-panel .btn {
    margin-top: 18px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 54px);
  }

  .hero-visual {
    display: none;
  }

  .section {
    padding: 82px 0;
  }

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

  .practice-card {
    min-height: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 560px) {
  .container,
  .nav {
    width: min(100% - 28px, 1160px);
  }

  .brand-text strong {
    font-size: 0.95rem;
  }

  .brand-text span {
    font-size: 0.68rem;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .hero-actions,
  .hero-actions .btn,
  .service-panel .btn {
    width: 100%;
  }

  .hero-visual {
    padding: 30px 18px;
  }

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

  .portrait::before {
    inset: 14px -10px -14px 10px;
  }

  .service-panel {
    padding: 28px 22px;
  }

  .map-placeholder {
    min-height: 280px;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }
}

/* Mobile and tablet refinement pass */
.highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 30px;
  padding: 16px 18px;
  border: 1px solid rgba(198, 161, 91, 0.34);
  border-radius: var(--radius);
  background: rgba(11, 31, 58, 0.04);
  box-shadow: none;
}

.highlights article {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.highlights article:first-child {
  padding-left: 0;
}

.highlights article:not(:last-child) {
  border-right: 1px solid rgba(11, 31, 58, 0.14);
}

.highlights strong {
  display: inline;
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
}

.highlights span {
  display: inline;
  margin-top: 0;
  font-size: 0.94rem;
}

@media (max-width: 1080px) {
  :root {
    --header-height: 104px;
  }

  .site-header,
  .site-header.is-scrolled {
    min-height: var(--header-height);
  }

  .nav {
    min-height: var(--header-height);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: center;
    gap: 8px 14px;
    padding: 9px 0 10px;
  }

  .mobile-whatsapp {
    display: inline-flex !important;
    min-height: 40px;
    padding: 10px 14px;
    white-space: nowrap;
  }

  .menu-toggle {
    display: none !important;
  }

  .nav-panel,
  .nav-panel.is-open {
    position: static;
    grid-column: 1 / -1;
    display: flex;
    gap: 8px;
    width: 100%;
    padding: 0 0 3px;
    overflow-x: hidden;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    scrollbar-width: none;
  }

  .nav-panel::-webkit-scrollbar {
    display: none;
  }

  .nav-panel > a:not(.btn) {
    flex: 0 0 auto;
    padding: 7px 13px;
    border: 1px solid rgba(247, 244, 239, 0.14);
    border-radius: 18px;
    background: rgba(247, 244, 239, 0.06);
    color: rgba(247, 244, 239, 0.88);
    font-size: 0.84rem;
  }

  .nav-panel .btn {
    display: none;
  }

  body.menu-open {
    overflow: auto;
  }

  .hero {
    padding-top: calc(var(--header-height) + 34px);
    padding-bottom: 44px;
  }

  .section,
  .trust {
    padding: 64px 0;
  }

  .section-muted {
    background: linear-gradient(180deg, #d8ccbb, #cfc0ad);
  }

  .about-card {
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
    gap: 0;
  }

  .portrait {
    max-width: 260px;
  }

  .portrait::before {
    inset: 12px -10px -12px 10px;
  }

  .portrait img {
    aspect-ratio: 1;
    object-position: 50% 32%;
  }

  .about-copy > p {
    margin-top: 14px;
    font-size: 1rem;
    line-height: 1.62;
  }

  .practice-grid {
    gap: 12px;
  }

  .practice-card {
    min-height: 0;
    padding: 20px;
  }

  .line-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
  }

  .line-icon svg {
    width: 22px;
    height: 22px;
  }

  .practice-card p {
    margin-top: 8px;
    line-height: 1.5;
  }

  .split-grid,
  .location-grid {
    gap: 24px;
  }

  .service-panel {
    padding: 26px;
  }

  .map-placeholder {
    min-height: 250px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 102px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .brand-text strong {
    font-size: 0.92rem;
  }

  .brand-text span {
    font-size: 0.64rem;
  }

  .mobile-whatsapp {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 0.86rem;
  }

  .nav-panel {
    margin-inline: -14px;
    padding-inline: 14px;
    justify-content: space-between;
  }

  .hero {
    padding-top: calc(var(--header-height) + 30px);
  }

  .hero-visual {
    display: none;
  }

  .section,
  .trust {
    padding: 52px 0;
  }

  h2 {
    font-size: clamp(1.72rem, 8vw, 2.35rem);
  }

  .about-card {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 0;
    padding: 12px;
  }

  .portrait {
    max-width: 118px;
    margin-top: 0;
  }

  .portrait::before {
    display: none;
  }

  .portrait img {
    border: 2px solid rgba(198, 161, 91, 0.55);
    box-shadow: 0 12px 30px rgba(11, 31, 58, 0.16);
  }

  .about-copy .eyebrow {
    margin-bottom: 8px;
  }

  .about-copy {
    padding: 8px 0 8px 18px;
  }

  .about-copy > p {
    margin-top: 12px;
    font-size: 0.94rem;
    line-height: 1.52;
  }

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

  .practice-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0 14px;
    padding: 17px;
  }

  .practice-card .line-icon {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }

  .practice-card h3 {
    font-size: 1.08rem;
  }

  .practice-card p {
    font-size: 0.92rem;
  }

  .split-grid p,
  .location-grid address {
    margin-top: 14px;
    font-size: 0.98rem;
  }
}

@media (max-width: 420px) {
  .nav {
    width: min(100% - 22px, 1160px);
  }

  .mobile-whatsapp {
    padding-inline: 10px;
  }

  .about-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .portrait {
    max-width: 132px;
    margin: 0 auto;
  }

  .about-copy {
    padding: 0 4px 4px;
    text-align: left;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 106px;
  }

  .site-header,
  .site-header.is-scrolled {
    min-height: var(--header-height);
    border-bottom: 0;
    background: rgba(11, 31, 58, 0.9);
    box-shadow: none;
  }

  .nav {
    width: min(100% - 10px, 1160px);
    min-height: var(--header-height);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: center;
    gap: 8px 10px;
    padding: 10px 12px;
    border: 1px solid rgba(198, 161, 91, 0.32);
    border-radius: 18px;
    background: rgba(11, 31, 58, 0.92);
    box-shadow: 0 14px 36px rgba(3, 12, 24, 0.26);
  }

  .brand {
    order: 1;
    gap: 10px;
    min-width: 0;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-color: rgba(198, 161, 91, 0.82);
    box-shadow:
      inset 0 0 0 3px rgba(11, 31, 58, 0.72),
      inset 0 0 0 4px rgba(198, 161, 91, 0.18);
  }

  .brand-letters {
    font-size: 1.18rem;
  }

  .brand-text {
    display: grid;
  }

  .brand-text strong {
    font-size: 0.9rem;
  }

  .brand-text span {
    font-size: 0.62rem;
  }

  .nav-panel,
  .nav-panel.is-open {
    order: 3;
    position: static;
    display: flex;
    grid-column: 1 / -1;
    justify-content: space-around;
    gap: 2px;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .nav-panel > a:not(.btn) {
    flex: 0 1 auto;
    padding: 6px 10px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: rgba(247, 244, 239, 0.78);
    font-size: 0.78rem;
    font-weight: 800;
  }

  .nav-panel > a:not(.btn):hover,
  .nav-panel > a:not(.btn):focus-visible {
    background: rgba(247, 244, 239, 0.08);
    color: var(--off-white);
  }

  .mobile-whatsapp {
    order: 2;
    flex: 0 0 auto;
    min-height: 42px;
    padding: 10px 11px;
    gap: 7px;
    border-radius: 12px;
    font-size: 0.76rem;
    font-weight: 900;
  }

  .mobile-whatsapp::before {
    content: none;
  }

  .hero {
    padding-top: calc(var(--header-height) + 30px);
  }

  #sobre {
    padding-bottom: 34px;
  }

  #areas {
    padding-top: 38px;
  }
}

@media (max-width: 390px) {
  .nav {
    gap: 7px 8px;
    padding-inline: 10px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    box-shadow:
      inset 0 0 0 3px rgba(11, 31, 58, 0.72),
      inset 0 0 0 4px rgba(198, 161, 91, 0.14);
  }

  .brand-letters {
    font-size: 1rem;
  }

  .brand-scales {
    top: 10px;
    left: 11px;
    width: 14px;
  }

  .brand-scales::before,
  .brand-scales::after {
    height: 5px;
  }

  .brand-mark::after {
    right: 10px;
    bottom: 9px;
    left: 10px;
  }

  .nav-panel > a:not(.btn) {
    padding-inline: 8px;
    font-size: 0.72rem;
  }

  .mobile-whatsapp {
    min-height: 38px;
    padding-inline: 10px;
    font-size: 0.72rem;
  }
}
