:root {
  --blue: #03037f;
  --blue-2: #0808a8;
  --blue-3: #1010c7;
  --ink: #0a0a12;
  --muted: #686873;
  --paper: #f6f6f8;
  --white: #fff;
  --line: #dedee6;
  --shadow: 0 22px 70px rgba(3, 3, 127, .12);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --radius: 4px;
  --header: 82px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  line-height: 1.65;
  overflow-x: hidden
}

body.menu-open {
  overflow: hidden
}

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

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

button {
  cursor: pointer
}

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

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

.narrow {
  max-width: 850px !important
}

.centered {
  text-align: center
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  background: var(--blue);
  color: #fff;
  padding: 10px 16px;
  z-index: 9999
}

.skip-link:focus {
  top: 16px
}

.page-loader {
  position: fixed;
  inset: 0;
  background: var(--blue);
  z-index: 10000;
  display: grid;
  place-items: center;
  transition: .55s cubic-bezier(.7, 0, .2, 1)
}

.page-loader span {
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, .3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .8s linear infinite
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

.topbar {
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  letter-spacing: .02em
}

.topbar-inner {
  height: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center
}

.topbar-links {
  display: flex;
  gap: 24px
}

.topbar a {
  opacity: .85
}

.topbar a:hover {
  opacity: 1
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
  transition: .3s;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .05)
}

.site-header.scrolled {
  box-shadow: 0 10px 35px rgba(0, 0, 0, .08)
}

.navbar {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px
}

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

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1
}

.brand strong {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--blue)
}

.brand small {
  font-size: 8px;
  letter-spacing: .35em;
  color: #777;
  margin-top: 5px
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 13px;
  font-weight: 600
}

.nav-menu>a {
  position: relative;
  padding: 10px 0;
  color: #363641
}

.nav-menu>a:not(.nav-cta):after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: .3s
}

.nav-menu>a:hover:after,
.nav-menu>a.active:after {
  width: 100%
}

.nav-menu>a.active {
  color: var(--blue)
}

.nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 13px 18px !important;
  border-radius: 2px;
  box-shadow: 0 9px 25px rgba(3, 3, 127, .18)
}

.nav-cta:hover {
  transform: translateY(-2px);
  background: var(--blue-2)
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 23px;
  background: var(--ink);
  margin: 5px auto;
  transition: .3s
}

.menu-toggle.open span:first-child {
  transform: translateY(7px) rotate(45deg)
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0
}

.menu-toggle.open span:last-child {
  transform: translateY(-7px) rotate(-45deg)
}

.hero {
  position: relative;
  min-height: calc(100vh - 116px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #03037f;
  color: #fff
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 40%, rgba(255, 255, 255, .12), transparent 28%), linear-gradient(110deg, #02025b 0%, #03037f 50%, #09099d 100%)
}

.hero-bg:after {
  content: "";
  position: absolute;
  right: -12%;
  top: 8%;
  width: 55vw;
  height: 55vw;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(255, 255, 255, .025), 0 0 0 180px rgba(255, 255, 255, .018)
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 90px 0 120px
}

.eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--blue);
  margin-bottom: 16px
}

.eyebrow.light {
  color: #a9a9ff
}

.hero .eyebrow {
  color: #c5c5ff
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 6.6vw, 88px);
  line-height: 1.03;
  letter-spacing: -.035em;
  max-width: 900px;
  margin: 0
}

.hero h1 em,
.page-hero h1 em,
h2 em {
  font-style: normal;
  color: #a7a7ff
}

.hero-copy {
  max-width: 670px;
  color: rgba(255, 255, 255, .75);
  font-size: 17px;
  margin: 28px 0 30px
}

.hero-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 15px 22px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  transition: .3s;
  min-height: 50px
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 30px rgba(3, 3, 127, .18)
}

.btn-primary:hover {
  background: var(--blue-2);
  transform: translateY(-3px);
  box-shadow: 0 18px 35px rgba(3, 3, 127, .25)
}

.hero .btn-primary {
  background: #fff;
  color: var(--blue)
}

.hero .btn-primary:hover {
  background: #f2f2ff
}

.btn-ghost {
  border-color: rgba(255, 255, 255, .35);
  color: #fff
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .08);
  transform: translateY(-3px)
}

.btn-outline {
  border-color: var(--blue);
  color: var(--blue)
}

.btn-outline:hover {
  background: var(--blue);
  color: #fff
}

.btn-white {
  background: #fff;
  color: var(--blue)
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, .16)
}

.hero-trust {
  display: flex;
  gap: 26px;
  margin-top: 58px;
  color: rgba(255, 255, 255, .55);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .13em
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 8px
}

.hero-trust span:before {
  content: "";
  width: 5px;
  height: 5px;
  background: #9c9cff;
  border-radius: 50%
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, .55);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase
}

.scroll-cue span {
  height: 35px;
  width: 1px;
  background: rgba(255, 255, 255, .45);
  animation: scrollLine 1.8s infinite
}

@keyframes scrollLine {

  0%,
  100% {
    transform: scaleY(.5);
    transform-origin: top
  }

  50% {
    transform: scaleY(1);
    transform-origin: top
  }
}

.section {
  padding: 110px 0
}

.intro-section {
  background: #fff
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start
}

.section-heading h2,
.cta-box h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.1;
  letter-spacing: -.025em;
  margin: 0
}

.section-heading p {
  max-width: 620px;
  margin: 20px auto 0;
  color: var(--muted)
}

.lead {
  font-size: 19px;
  line-height: 1.6
}

.intro-copy {
  color: #565660;
  max-width: 570px
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  margin-top: 15px
}

.text-link span {
  transition: .3s
}

.text-link:hover span {
  transform: translate(4px, -4px)
}

.services-section {
  background: var(--paper)
}

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

.service-card {
  background: #fff;
  padding: 27px;
  min-height: 340px;
  position: relative;
  border: 1px solid #e7e7ed;
  transition: .4s;
  overflow: hidden
}

.service-card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 3px;
  background: var(--blue);
  transition: .4s
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: transparent
}

.service-card:hover:before {
  width: 100%
}

.service-no {
  font-size: 10px;
  color: #aaa;
  letter-spacing: .1em
}

.service-icon {
  font-size: 28px;
  color: var(--blue);
  margin: 42px 0 30px
}

.service-card h3 {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.2;
  margin: 0 0 12px
}

.service-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0
}

.card-arrow {
  position: absolute;
  right: 24px;
  bottom: 22px;
  color: var(--blue);
  transition: .3s
}

.service-card:hover .card-arrow {
  transform: translate(4px, -4px)
}

.center-action {
  text-align: center;
  margin-top: 38px
}

.dark-section {
  background: var(--ink);
  color: #fff
}

.dark-split {
  align-items: center
}

.principles {
  display: grid;
  gap: 25px
}

.principle {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 20px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, .12)
}

.principle b,
.step b {
  color: #9898ff;
  font-size: 11px;
  letter-spacing: .1em
}

.principle h3,
.step h3 {
  margin: 0 0 5px;
  font-size: 18px
}

.principle p,
.step p,
.dark-lead {
  color: #8f8f9b;
  margin: 0;
  font-size: 14px
}

.stats-section {
  padding: 70px 0
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.stat {
  padding: 32px 22px;
  border-right: 1px solid var(--line)
}

.stat:last-child {
  border-right: 0
}

.stat strong {
  font-family: var(--serif);
  font-size: 34px;
  color: var(--blue)
}

.stat span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700
}

.stat p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px
}

.cta-section {
  padding: 40px 0 110px
}

.cta-box {
  background: var(--blue);
  color: #fff;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px
}

.cta-box .eyebrow {
  color: #a9a9ff
}

.cta-box h2 {
  max-width: 690px
}

.cta-box p {
  color: rgba(255, 255, 255, .7)
}

.page-hero {
  background: var(--blue);
  color: #fff;
  padding: 120px 0 105px;
  position: relative;
  overflow: hidden
}

.page-hero:after {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  right: -160px;
  top: -260px;
  box-shadow: 0 0 0 80px rgba(255, 255, 255, .025)
}

.page-hero>* {
  position: relative;
  z-index: 1
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(46px, 6vw, 76px);
  line-height: 1.05;
  margin: 0;
  max-width: 850px
}

.page-hero p {
  max-width: 650px;
  color: rgba(255, 255, 255, .7);
  font-size: 16px;
  margin: 24px 0 0
}

.page-hero.compact {
  padding: 90px 0 85px
}

.values-section {
  background: var(--paper)
}

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

.value-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 30px;
  min-height: 220px
}

.value-card>span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 700
}

.value-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  margin: 30px 0 8px
}

.value-card p {
  color: var(--muted);
  font-size: 13px
}

.steps {
  display: grid;
  gap: 28px
}

.step {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  padding-bottom: 25px
}

.step:last-child {
  border-bottom: 0
}

.about-intro {
  align-items: center
}

.light-panel {
  background: var(--paper)
}

.practice-list {
  border-top: 1px solid var(--line)
}

.practice-item {
  display: grid;
  grid-template-columns: 80px 1.1fr 1fr;
  gap: 35px;
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 120px
}

.practice-index {
  color: var(--blue);
  font-weight: 700;
  font-size: 12px
}

.practice-title h2 {
  font-family: var(--serif);
  font-size: 31px;
  margin: 0 0 9px
}

.practice-title p,
.practice-detail p {
  color: var(--muted);
  margin: 0;
  font-size: 14px
}

.practice-detail {
  padding-left: 25px;
  border-left: 1px solid var(--line)
}

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

.person-card {
  border: 1px solid var(--line);
  background: #fff;
  transition: .4s
}

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

.person-placeholder {
  height: 330px;
  background: linear-gradient(135deg, #02025b, #0909aa);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--serif);
  font-size: 70px;
  position: relative
}

.person-placeholder:after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%
}

.person-placeholder span {
  color: #a9a9ff
}

.person-info {
  padding: 26px
}

.person-info .eyebrow {
  margin-bottom: 7px;
  font-size: 9px
}

.person-info h3 {
  font-family: var(--serif);
  font-size: 25px;
  margin: 0
}

.person-info p {
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0 18px
}

.person-info a {
  font-size: 12px;
  color: var(--blue);
  font-weight: 700
}

.dark-lead {
  max-width: 650px;
  margin: 22px auto 0;
  font-size: 16px
}

.insight-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  margin-bottom: 35px
}

.search-box {
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  width: 280px
}

.search-box span {
  font-size: 22px;
  color: var(--blue)
}

.search-box input {
  border: 0;
  outline: 0;
  padding: 13px 0;
  width: 100%;
  background: transparent
}

.filter-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap
}

.filter-buttons button {
  border: 1px solid var(--line);
  background: #fff;
  padding: 9px 13px;
  font-size: 11px
}

.filter-buttons button.active,
.filter-buttons button:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue)
}

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

.insight-card {
  border: 1px solid var(--line);
  padding: 28px;
  min-height: 310px;
  transition: .35s
}

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

.insight-top {
  display: flex;
  justify-content: space-between;
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em
}

.insight-top b {
  color: #aaa
}

.insight-card h2 {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.2;
  margin: 55px 0 12px
}

.insight-card p {
  color: var(--muted);
  font-size: 13px
}

.legal-note {
  font-size: 12px;
  color: #888;
  margin-top: 35px
}

.empty-state {
  text-align: center;
  padding: 60px;
  color: var(--muted)
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .65);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transition: .3s
}

.modal.show {
  opacity: 1;
  visibility: visible
}

.modal-card {
  background: #fff;
  width: min(650px, 100%);
  padding: 45px;
  position: relative;
  transform: translateY(20px);
  transition: .35s
}

.modal.show .modal-card {
  transform: none
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  background: none;
  border: 0;
  font-size: 30px;
  color: #777
}

.modal-card h2 {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.15
}

.modal-card p {
  color: var(--muted)
}

.contact-grid,
.appointment-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  align-items: start
}

.contact-details h2,
.appointment-info h2 {
  font-family: var(--serif);
  font-size: 45px;
  line-height: 1.1;
  margin: 0 0 35px
}

.contact-block {
  padding: 18px 0;
  border-bottom: 1px solid var(--line)
}

.contact-block span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--blue)
}

.contact-block p,
.contact-block a {
  display: block;
  margin: 4px 0 0;
  font-size: 14px
}

.contact-block a {
  color: var(--blue);
  font-weight: 600
}

.whatsapp-btn {
  display: inline-block;
  margin-top: 22px;
  background: #101010;
  color: #fff;
  padding: 13px 18px;
  font-size: 12px
}

.form-card {
  background: var(--paper);
  padding: 35px;
  border: 1px solid #e7e7ed
}

.form-head {
  margin-bottom: 25px
}

.form-head h2 {
  font-family: var(--serif);
  font-size: 31px;
  margin: 0
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px
}

.form-grid label {
  font-size: 11px;
  font-weight: 700;
  color: #555
}

.form-grid label.full {
  grid-column: 1/-1
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 13px 14px;
  outline: 0;
  transition: .2s
}

.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(3, 3, 127, .08)
}

.form-grid textarea {
  resize: vertical
}

.consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 20px 0;
  font-size: 11px;
  color: #666
}

.consent input {
  margin-top: 3px;
  accent-color: var(--blue)
}

.btn-full {
  width: 100%
}

.map-placeholder {
  padding: 0 0 110px
}

.map-card {
  min-height: 250px;
  background: linear-gradient(135deg, #f1f1f5, #e6e6ef);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  text-align: left
}

.map-pin {
  font-size: 55px;
  color: var(--blue)
}

.map-card h2 {
  font-family: var(--serif);
  font-size: 30px;
  margin: 0
}

.map-card p {
  color: var(--muted);
  margin: 5px 0
}

.expect {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line)
}

.expect>b {
  color: var(--blue);
  font-size: 11px
}

.expect h3 {
  margin: 0 0 5px;
  font-size: 17px
}

.expect p {
  margin: 0;
  color: var(--muted);
  font-size: 13px
}

.notice {
  border-left: 3px solid var(--blue);
  background: var(--paper);
  padding: 20px;
  margin: 25px 0
}

.notice strong {
  font-family: var(--serif);
  font-size: 20px
}

.notice p {
  color: var(--muted);
  font-size: 13px
}

.faq-wrap {
  max-width: 980px
}

.faq-list {
  margin-top: 50px;
  border-top: 1px solid var(--line)
}

.faq-item {
  border-bottom: 1px solid var(--line)
}

.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  background: none;
  border: 0;
  padding: 24px 0;
  font-size: 16px;
  font-weight: 600
}

.faq-item button b {
  font-size: 24px;
  color: var(--blue);
  font-weight: 400;
  transition: .3s
}

.faq-item.open button b {
  transform: rotate(45deg)
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: .35s
}

.faq-answer p {
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 14px
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr
}

.faq-item.open .faq-answer p {
  padding: 0 45px 24px 0
}

.legal-page h2 {
  font-family: var(--serif);
  font-size: 29px;
  margin: 45px 0 10px
}

.legal-page h2:first-child {
  margin-top: 0
}

.legal-page p {
  color: #555;
  max-width: 780px
}

.footer {
  background: #05050a;
  color: #fff;
  padding: 75px 0 0
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .8fr .9fr 1fr;
  gap: 50px;
  padding-bottom: 60px
}

.footer .brand strong {
  color: #fff
}

.footer .brand small {
  color: #999
}

.footer-brand>p {
  color: #8f8f9b;
  font-size: 13px;
  max-width: 350px;
  margin: 22px 0
}

.footer h4 {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 5px 0 20px;
  color: #aaa
}

.footer-grid>div>a:not(.brand) {
  display: block;
  color: #888;
  margin: 9px 0;
  font-size: 12px
}

.footer-grid>div>a:hover {
  color: #fff
}

.footer-grid p {
  color: #888;
  font-size: 12px
}

.socials {
  display: flex;
  gap: 8px
}

.socials a {
  display: grid !important;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #333;
  color: #aaa !important;
  font-size: 11px !important
}

.socials a:hover {
  border-color: #fff
}

.footer-action {
  color: #a9a9ff !important;
  margin-top: 18px !important
}

.footer-bottom {
  border-top: 1px solid #222;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #666;
  font-size: 10px
}

.footer-bottom a {
  color: #888
}

.brand-light img {
  filter: none
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap
}

.developed-by {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #777;
  font-size: 10px;
  white-space: nowrap
}

.developer-link {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important
}

.developer-link img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, .16);
  transition: transform .28s ease, opacity .28s ease, box-shadow .28s ease
}

.developer-link:hover img {
  transform: scale(.93);
  opacity: .9;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .25)
}

.back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 42px;
  height: 42px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--blue);
  z-index: 90;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
  transition: .3s
}

.back-top:hover {
  background: var(--blue);
  color: #fff
}

.flash {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 600;
  width: min(440px, calc(100% - 40px));
  background: #fff;
  border-left: 4px solid var(--blue);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
  animation: flashIn .4s
}

.flash.error {
  border-left-color: #9d2323
}

.flash-inner {
  padding: 15px 18px;
  display: flex;
  gap: 15px;
  justify-content: space-between;
  font-size: 13px
}

.flash button {
  border: 0;
  background: none;
  font-size: 20px;
  color: #888
}

@keyframes flashIn {
  from {
    transform: translateX(30px);
    opacity: 0
  }

  to {
    transform: none;
    opacity: 1
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2, .8, .2, 1)
}

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

.delay-1 {
  transition-delay: .08s
}

.delay-2 {
  transition-delay: .16s
}

.delay-3 {
  transition-delay: .24s
}

.delay-4 {
  transition-delay: .32s
}

@media(max-width:1000px) {
  .nav-menu {
    gap: 15px
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }

  .team-grid {
    grid-template-columns: 1fr 1fr
  }

  .insight-grid {
    grid-template-columns: 1fr 1fr
  }

  .split {
    gap: 55px
  }

  .contact-grid,
  .appointment-grid {
    gap: 45px
  }
}

@media(max-width:780px) {
  :root {
    --header: 70px
  }

  .container {
    width: min(100% - 32px, 620px)
  }

  .topbar {
    display: none
  }

  .navbar {
    height: var(--header)
  }

  .menu-toggle {
    display: block
  }

  .nav-menu {
    position: fixed;
    top: var(--header);
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    transform: translateX(100%);
    transition: .4s;
    overflow: auto
  }

  .nav-menu.open {
    transform: none
  }

  .nav-menu>a {
    font-size: 18px;
    width: 100%;
    padding: 13px 0
  }

  .nav-cta {
    text-align: center;
    margin-top: 10px
  }

  .hero {
    min-height: calc(100svh - 70px)
  }

  .hero-content {
    padding: 80px 0 100px
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 64px)
  }

  .hero-copy {
    font-size: 15px
  }

  .hero-trust {
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 40px
  }

  .scroll-cue {
    display: none
  }

  .section {
    padding: 80px 0
  }

  .split,
  .contact-grid,
  .appointment-grid {
    grid-template-columns: 1fr;
    gap: 45px
  }

  .service-grid,
  .team-grid,
  .insight-grid {
    grid-template-columns: 1fr
  }

  .values-grid {
    grid-template-columns: 1fr 1fr
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr
  }

  .stat:nth-child(2) {
    border-right: 0
  }

  .stat:nth-child(-n+2) {
    border-bottom: 1px solid var(--line)
  }

  .cta-box {
    padding: 38px 25px;
    flex-direction: column;
    align-items: flex-start
  }

  .page-hero {
    padding: 80px 0
  }

  .page-hero.compact {
    padding: 70px 0
  }

  .practice-item {
    grid-template-columns: 45px 1fr;
    gap: 15px
  }

  .practice-detail {
    grid-column: 2;
    padding-left: 0;
    border-left: 0
  }

  .insight-toolbar {
    align-items: stretch;
    flex-direction: column
  }

  .search-box {
    width: 100%
  }

  .filter-buttons {
    overflow: auto;
    flex-wrap: nowrap;
    padding-bottom: 5px
  }

  .filter-buttons button {
    white-space: nowrap
  }

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

  .footer-bottom {
    flex-direction: column
  }

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

  .form-grid label.full {
    grid-column: auto
  }

  .map-card {
    padding: 35px;
    flex-direction: column;
    text-align: center
  }

  .contact-details h2,
  .appointment-info h2 {
    font-size: 38px
  }
}

@media(max-width:480px) {
  .brand img {
    width: 42px;
    height: 42px
  }

  .brand strong {
    font-size: 17px
  }

  .brand small {
    font-size: 7px
  }

  .hero-actions .btn {
    width: 100%
  }

  .hero h1 {
    font-size: 43px
  }

  .values-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr
  }

  .stat {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line)
  }

  .stat:last-child {
    border-bottom: 0
  }

  .modal-card {
    padding: 32px 24px
  }

  .form-card {
    padding: 25px 18px
  }

  .page-hero h1 {
    font-size: 45px
  }

  .practice-title h2 {
    font-size: 25px
  }

  .practice-item {
    padding: 30px 0
  }

  .footer {
    padding-top: 55px
  }
}

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

  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important
  }

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


/* ================================================================
   Buga & Co. visual enhancements: supplied photography + motion
   ================================================================ */
.hero-home {
  isolation: isolate;
  background: #03037f
}

.hero-carousel,
.hero-overlay {
  position: absolute;
  inset: 0
}

.hero-carousel {
  z-index: 0;
  overflow: hidden
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.35s ease-in-out;
  will-change: opacity
}

.hero-slide.is-active {
  opacity: 1
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center
}

.hero-overlay {
  z-index: 1;
  background: linear-gradient(90deg, rgba(1, 1, 45, .96) 0%, rgba(3, 3, 127, .88) 44%, rgba(3, 3, 127, .48) 72%, rgba(3, 3, 127, .62) 100%)
}

.hero-content {
  z-index: 2
}

/* Image-backed inner-page banners */
.page-hero {
  background-color: var(--blue);
  background-image: linear-gradient(90deg, rgba(2, 2, 62, .92), rgba(3, 3, 127, .78)), url('../images/banners/front.jpg');
  background-size: cover;
  background-position: center 55%;
}

.page-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(3, 3, 127, .18));
  z-index: 0
}

.page-about .page-hero {
  background-image: linear-gradient(90deg, rgba(2, 2, 62, .91), rgba(3, 3, 127, .70)), url('../images/banners/office.jpg')
}

.page-practice-areas .page-hero,
.page-appointments .page-hero {
  background-image: linear-gradient(90deg, rgba(2, 2, 62, .93), rgba(3, 3, 127, .72)), url('../images/banners/boardroom.jpg')
}

.page-team .page-hero {
  background-image: linear-gradient(90deg, rgba(2, 2, 62, .93), rgba(3, 3, 127, .72)), url('../images/banners/office.jpg')
}

.page-contact .page-hero,
.page-careers .page-hero,
.page-faq .page-hero,
.page-insights .page-hero,
.page-privacy .page-hero {
  background-image: linear-gradient(90deg, rgba(2, 2, 62, .93), rgba(3, 3, 127, .72)), url('../images/banners/front.jpg')
}

/* Buttons deliberately scale slightly down on hover for a refined "zoom-out" effect */
.btn,
.nav-cta,
.whatsapp-btn {
  transform-origin: center;
  will-change: transform
}

.btn {
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), box-shadow .28s ease, background-color .28s ease, border-color .28s ease, color .28s ease
}

.btn:hover {
  transform: scale(.97) translateY(-2px)
}

.btn:active {
  transform: scale(.94)
}

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

.nav-cta:hover {
  transform: scale(.97) translateY(-1px)
}

.whatsapp-btn {
  transition: .28s ease
}

.whatsapp-btn:hover {
  transform: scale(.97) translateY(-2px)
}

/* Team portraits */
.person-card {
  overflow: hidden
}

.person-photo {
  height: 390px;
  position: relative;
  overflow: hidden;
  background: #eef0f6
}

.person-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(3, 3, 127, .18));
  pointer-events: none
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform .7s cubic-bezier(.2, .8, .2, 1), filter .7s ease
}

.person-card:nth-child(1) .person-photo img {
  object-position: center 12%
}

.person-card:nth-child(2) .person-photo img {
  object-position: center 20%
}

.person-card:nth-child(3) .person-photo img {
  object-position: center 16%
}

.person-card:hover .person-photo img {
  transform: scale(1.035)
}

.photo-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  background: rgba(3, 3, 127, .9);
  color: #fff;
  padding: 8px 11px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em
}

.person-info a {
  margin-top: 4px
}

/* Make image cards and action links feel clickable */
.service-card,
.insight-card {
  transition: transform .38s cubic-bezier(.2, .8, .2, 1), box-shadow .38s ease, border-color .38s ease
}

.service-card:hover,
.insight-card:hover {
  transform: translateY(-6px) scale(.99)
}

.text-link,
.person-info a,
.footer-grid a {
  transition: color .25s ease, transform .25s ease
}

.text-link:hover,
.person-info a:hover {
  transform: translateX(3px)
}

@media(max-width:780px) {
  .hero-overlay {
    background: linear-gradient(90deg, rgba(1, 1, 45, .94), rgba(3, 3, 127, .78)), linear-gradient(180deg, rgba(3, 3, 127, .1), rgba(3, 3, 127, .6))
  }

  .hero-slide img {
    object-position: center
  }

  .page-hero {
    background-position: center
  }

  .person-photo {
    height: 430px
  }
}

@media(max-width:480px) {
  .person-photo {
    height: 390px
  }

  .photo-badge {
    left: 13px;
    bottom: 13px
  }
}

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

  .hero-slide,
  .person-photo img,
  .btn,
  .service-card,
  .insight-card {
    transition: none !important
  }
}

/* Mobile navigation reliability fix — preserves the existing design */
@media (max-width:780px) {
  .site-header {
    z-index: 1000
  }

  .navbar {
    position: relative;
    z-index: 1001;
    min-width: 0
  }

  .brand {
    min-width: 0;
    flex: 1
  }

  .brand span {
    min-width: 0;
    overflow: hidden
  }

  .brand strong,
  .brand small {
    white-space: nowrap
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 1200;
    flex: 0 0 42px;
    padding: 0;
    visibility: visible;
    opacity: 1
  }

  .menu-toggle span {
    pointer-events: none
  }

  .nav-menu {
    z-index: 1100;
    left: auto;
    right: 0;
    top: var(--header);
    bottom: auto;
    width: 50vw;
    max-width: 50vw;
    height: calc(100dvh - var(--header));
    min-height: calc(100vh - var(--header));
    padding: 28px 24px 36px;
    background: rgba(255, 255, 255, .93);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-left: 1px solid rgba(3, 3, 127, .10);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateX(105%);
    -webkit-overflow-scrolling: touch;
    box-shadow: -16px 20px 45px rgba(0, 0, 0, .18);
    transition: transform .42s cubic-bezier(.2, .8, .2, 1), opacity .3s ease, visibility .3s ease;
  }

  .nav-menu.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0)
  }

  .nav-menu>a {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #16161f !important;
    border-bottom: 1px solid rgba(22, 22, 31, .10)
  }

  .nav-menu>a.active {
    color: var(--blue) !important
  }

  .nav-menu .nav-cta {
    display: flex;
    justify-content: center;
    color: #fff !important;
    border-bottom: 0

  } 


  body.menu-open .site-header {
    box-shadow: 0 10px 35px rgba(0, 0, 0, .12)
  }
}

@media (max-width:600px) {
  .nav-menu {
    width: 58vw;
    max-width: 58vw;
    padding: 25px 20px 32px
  }

  .nav-menu>a {
    font-size: 16px;
    padding: 13px 0
  }
}

@media (max-width:480px) {
  .navbar {
    gap: 10px
  }

  .brand img {
    width: 40px;
    height: 40px
  }

  .brand strong {
    font-size: 16px
  }

  .brand small {
    font-size: 6.5px;
    letter-spacing: .28em
  }

  .nav-menu {
    width: 62vw;
    max-width: 62vw;
    padding: 24px 18px 32px
  }

  .nav-menu>a {
    font-size: 15px;
    padding: 12px 0
  }

  .footer-bottom-right {
    align-items: flex-start;
    gap: 13px
  }
}
/* Final responsive polish: fixed site header */
html {
    scroll-padding-top: 86px;
}

.site-header,
.main-header,
header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 3000;
}

/* Final responsive polish: true device-width mobile layout */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    body {
        width: 100%;
        min-width: 0;
        margin: 0;
    }

    .container,
    .section,
    .page-hero,
    .hero,
    main,
    .main,
    footer {
        max-width: 100%;
    }

    .mobile-menu,
    .nav-menu,
    .mobile-nav,
    .site-nav {
        max-width: 100vw;
    }
}
