:root {
  --black: #0c0b0a;
  --charcoal: #151412;
  --gold: #caa15c;
  --gold-bright: #e5c27c;
  --gold-dark: #8f6a34;
  --cream: #f2eee5;
  --paper: #faf8f3;
  --ink: #1a1815;
  --muted: #746f67;
  --line: rgb(202 161 92 / 26%);
  --white: #fff;
  --whatsapp: #25d366;
  --content: 1180px;
  color-scheme: light;
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

body::selection {
  color: var(--black);
  background: var(--gold-bright);
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

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

.section-pad {
  padding: 112px 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--black);
  background: var(--gold-bright);
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  color: var(--cream);
  background: rgb(12 11 10 / 95%);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 150px;
  height: auto;
}

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

.main-nav a {
  position: relative;
  padding: 11px 14px;
  color: #d8d2c7;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav a::after {
  position: absolute;
  right: 14px;
  bottom: 6px;
  left: 14px;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.main-nav .nav-contact {
  margin-left: 10px;
  border: 1px solid var(--gold-dark);
  color: var(--gold-bright);
}

.main-nav .nav-contact::after {
  display: none;
}

.main-nav .nav-contact:hover,
.main-nav .nav-contact:focus-visible {
  color: var(--black);
  background: var(--gold-bright);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--gold-dark);
  color: var(--gold-bright);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 1px;
  margin: 6px 0;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  background:
    linear-gradient(115deg, rgb(9 8 7 / 98%) 0%, rgb(21 19 17 / 95%) 52%, rgb(7 7 6 / 98%) 100%),
    repeating-linear-gradient(128deg, transparent 0 42px, rgb(255 255 255 / 2%) 43px 44px);
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: 0;
  content: "";
  pointer-events: none;
}

.hero::before {
  inset: 0;
  opacity: 0.35;
  background:
    linear-gradient(20deg, transparent 45%, rgb(202 161 92 / 8%) 46%, transparent 48%),
    linear-gradient(165deg, transparent 61%, rgb(255 255 255 / 4%) 62%, transparent 64%);
}

.hero::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent, var(--line), transparent);
}

.hero-glow {
  position: absolute;
  top: -260px;
  left: -180px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(202 161 92 / 11%), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  gap: 72px;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 70px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero h1,
.section-intro h2,
.office-copy h2,
.profile-copy h2,
.contact-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.08;
}

.hero h1 {
  max-width: 650px;
  color: var(--white);
  font-size: clamp(3.15rem, 6.3vw, 6.4rem);
  letter-spacing: -0.045em;
}

.hero-lead {
  max-width: 650px;
  margin: 30px 0 0;
  color: #c8c1b5;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

.button-gold {
  color: var(--black);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  box-shadow: 0 12px 30px rgb(202 161 92 / 16%);
}

.button-gold:hover,
.button-gold:focus-visible {
  background: var(--cream);
}

.button-ghost {
  border-color: #5a5146;
  color: var(--cream);
  background: transparent;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.hero-note {
  margin: 22px 0 0;
  color: #8f887e;
  font-size: 0.86rem;
}

.hero-mark {
  position: relative;
  padding: 28px;
}

.hero-mark::before,
.hero-mark::after {
  position: absolute;
  width: 86px;
  height: 86px;
  border-color: var(--gold-dark);
  content: "";
}

.hero-mark::before {
  top: 0;
  left: 0;
  border-top: 1px solid;
  border-left: 1px solid;
}

.hero-mark::after {
  right: 0;
  bottom: 0;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.hero-mark-frame {
  overflow: hidden;
  border: 1px solid rgb(202 161 92 / 28%);
  background: var(--black);
  box-shadow: 0 30px 80px rgb(0 0 0 / 45%);
}

.hero-mark img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-details {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.hero-details > * {
  min-height: 105px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 34px;
  border-right: 1px solid var(--line);
}

.hero-details > *:last-child {
  border-right: 0;
}

.hero-details span,
.contact-list span,
.address-card span {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-details strong {
  margin-top: 5px;
  color: var(--cream);
  font-size: 0.96rem;
}

.section-intro {
  max-width: 800px;
  margin-bottom: 56px;
}

.section-intro h2,
.office-copy h2,
.profile-copy h2,
.contact-copy h2 {
  font-size: clamp(2.45rem, 4.5vw, 4.6rem);
  letter-spacing: -0.035em;
}

.section-intro > p:last-child {
  max-width: 680px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.practice {
  background: var(--paper);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.practice-card {
  position: relative;
  overflow: hidden;
  min-height: 290px;
  margin: 0;
  border: 1px solid #d9d2c6;
  background: var(--charcoal);
}

.practice-card:nth-child(-n + 3) {
  grid-column: span 4;
}

.practice-card:nth-child(n + 4) {
  grid-column: span 3;
}

.practice-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(9 8 7 / 92%) 0%, transparent 62%);
  content: "";
  pointer-events: none;
}

.practice-card img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
  filter: saturate(0.66) contrast(1.08);
  transition: filter 300ms ease, transform 500ms ease;
}

.practice-card:hover img {
  filter: saturate(0.9) contrast(1.04);
  transform: scale(1.035);
}

.practice-card figcaption {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 13px;
  color: var(--white);
}

.practice-card figcaption span {
  padding-bottom: 3px;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.practice-card figcaption strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 400;
  line-height: 1.15;
}

.office {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 82% 18%, rgb(202 161 92 / 12%), transparent 28%),
    linear-gradient(118deg, #0d0c0b, #1b1916 60%, #0a0908);
}

.office::before {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background:
    linear-gradient(24deg, transparent 38%, rgb(255 255 255 / 4%) 39%, transparent 40%),
    linear-gradient(154deg, transparent 64%, rgb(202 161 92 / 6%) 65%, transparent 66%);
  content: "";
  pointer-events: none;
}

.office-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(380px, 0.84fr);
  gap: 80px;
  align-items: center;
}

.office-photo-wrap {
  position: relative;
  padding: 26px 0 0 26px;
}

.office-photo-wrap::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 55%;
  border-top: 1px solid var(--gold-dark);
  border-left: 1px solid var(--gold-dark);
  content: "";
}

.photo-label {
  position: absolute;
  top: 0;
  right: 24px;
  z-index: 2;
  margin: 0;
  padding: 10px 14px;
  color: var(--black);
  background: var(--gold-bright);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.office-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  border: 1px solid rgb(202 161 92 / 34%);
  box-shadow: 0 30px 70px rgb(0 0 0 / 44%);
}

.photo-rule {
  width: 64%;
  height: 1px;
  margin: 25px 0 0 auto;
  background: linear-gradient(to right, transparent, var(--gold-dark));
}

.office-copy h2 {
  color: var(--white);
}

.office-lead {
  margin: 27px 0 0;
  color: #bcb5aa;
  font-size: 1.05rem;
}

.address-card {
  margin-top: 35px;
  padding: 25px 0 25px 24px;
  border-left: 2px solid var(--gold);
  font-style: normal;
}

.address-card strong {
  display: block;
  margin-top: 8px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 400;
}

.address-card p {
  margin: 5px 0 0;
  color: #a9a196;
}

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

.text-link {
  position: relative;
  padding-bottom: 5px;
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.text-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--gold-dark);
  content: "";
}

.old-address {
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid rgb(202 161 92 / 44%);
  color: #bcb4a8;
  background: rgb(202 161 92 / 5%);
  font-size: 0.88rem;
  transition: border-color 180ms ease, background 180ms ease;
}

.old-address:hover,
.old-address:focus-within {
  border-color: var(--gold);
  background: rgb(202 161 92 / 9%);
}

.old-address summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 20px;
  align-items: center;
  padding: 18px 56px 18px 20px;
  color: var(--gold-bright);
  cursor: pointer;
  list-style: none;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.old-address summary::-webkit-details-marker {
  display: none;
}

.old-address summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid var(--gold-dark);
  color: var(--gold-bright);
  content: "+";
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
}

.old-address[open] summary::after {
  content: "−";
}

.old-address summary small {
  grid-column: 1;
  color: #8f877b;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
}

.old-address-content {
  padding: 0 20px 20px;
  border-top: 1px solid rgb(202 161 92 / 18%);
}

.old-address-content img {
  width: 100%;
  margin-top: 20px;
  border: 1px solid rgb(202 161 92 / 28%);
}

.old-address-copy {
  padding: 16px 0 2px;
}

.old-address-copy > span {
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.old-address-copy p {
  margin: 6px 0 0;
  color: #c3bbb0;
  line-height: 1.5;
}

.profile {
  background: var(--cream);
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.35fr);
  gap: 95px;
  align-items: center;
}

.profile-photo-frame {
  position: relative;
  width: min(100%, 390px);
  margin-inline: auto;
  padding: 18px;
  border: 1px solid var(--gold-dark);
}

.profile-photo-frame::after {
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 70%;
  height: 70%;
  z-index: 0;
  border-right: 1px solid var(--gold-dark);
  border-bottom: 1px solid var(--gold-dark);
  content: "";
}

.profile-photo-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 0.88 / 1;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
}

.profile-copy {
  max-width: 700px;
}

.profile-lead {
  max-width: 650px;
  margin: 27px 0 0;
  color: #5f5a52;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.gold-divider {
  width: 88px;
  height: 1px;
  margin-top: 35px;
  background: var(--gold);
}

.profile blockquote {
  margin: 22px 0 0;
  color: var(--gold-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-style: italic;
}

.contact {
  color: var(--cream);
  background: var(--charcoal);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(460px, 1.25fr);
  gap: 90px;
  align-items: start;
}

.contact-copy h2 {
  color: var(--white);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 490px;
  margin: 26px 0 0;
  color: #aaa297;
}

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

.contact-list > * {
  display: flex;
  flex-direction: column;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list strong {
  margin-top: 4px;
  color: var(--cream);
  font-size: 0.95rem;
}

.contact-form-wrap {
  padding: 40px;
  border: 1px solid #423b32;
  background: #191715;
  box-shadow: 0 24px 60px rgb(0 0 0 / 25%);
}

.contact-form {
  display: grid;
  gap: 22px;
}

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

.field {
  display: grid;
  gap: 8px;
}

.contact-form label {
  color: #d1c8bb;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid #554b3e;
  border-radius: 0;
  color: var(--white);
  background: transparent;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #756e64;
}

.contact-form textarea {
  min-height: 125px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  outline: 0;
}

.contact-form .button {
  width: 100%;
  margin-top: 3px;
  cursor: pointer;
}

.form-status {
  min-height: 24px;
  margin: -6px 0 0;
  color: #aca499;
  font-size: 0.85rem;
}

.site-footer {
  color: #a9a196;
  background: var(--black);
}

.footer-main {
  min-height: 190px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 35px;
  align-items: center;
}

.footer-brand img {
  width: 180px;
  height: auto;
}

.footer-main > p {
  margin: 0;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-style: italic;
  text-align: right;
}

.footer-bottom a {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: var(--gold-bright);
}

.footer-bottom {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid #2d2924;
  font-size: 0.78rem;
}

.footer-bottom p {
  margin: 0;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 35;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 2px solid var(--paper);
  border-radius: 50%;
  color: var(--white);
  background: var(--whatsapp);
  box-shadow: 0 8px 30px rgb(0 0 0 / 35%);
  font-size: 1.15rem;
  font-weight: 900;
}

@media (max-width: 1040px) {
  .main-nav a {
    padding-inline: 9px;
    font-size: 0.72rem;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr 0.9fr;
    gap: 42px;
  }

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

  .office-grid,
  .contact-grid {
    gap: 55px;
  }
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 74px;
  }

  .container {
    width: min(calc(100% - 32px), var(--content));
  }

  .section-pad {
    padding: 82px 0;
  }

  .header-inner {
    min-height: 74px;
  }

  .brand img {
    width: 120px;
    height: auto;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--gold-dark);
    background: #11100f;
    box-shadow: 0 20px 40px rgb(0 0 0 / 42%);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px;
    font-size: 0.78rem;
    text-align: right;
  }

  .main-nav .nav-contact {
    margin: 5px 0 0;
  }

  .hero::after {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 52px;
    padding-top: 75px;
    padding-bottom: 55px;
  }

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

  .hero-mark {
    max-width: 720px;
    margin-inline: auto;
  }

  .hero-details {
    grid-template-columns: 1fr;
  }

  .hero-details > * {
    min-height: auto;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-details > *:last-child {
    border-bottom: 0;
  }

  .practice-card:nth-child(n) {
    grid-column: span 6;
  }

  .office-grid,
  .profile-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .profile-photo-frame {
    width: min(70%, 390px);
  }

  .contact-copy {
    max-width: 650px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 45px;
    padding-bottom: 45px;
  }

}

@media (max-width: 580px) {
  .section-pad {
    padding: 68px 0;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 14vw, 4.2rem);
  }

  .hero-actions {
    display: grid;
  }

  .hero-mark {
    padding: 16px;
  }

  .hero-mark::before,
  .hero-mark::after {
    width: 55px;
    height: 55px;
  }

  .section-intro h2,
  .office-copy h2,
  .profile-copy h2,
  .contact-copy h2 {
    font-size: clamp(2.25rem, 12vw, 3.4rem);
  }

  .practice-grid {
    gap: 14px;
  }

  .practice-card:nth-child(n) {
    grid-column: 1 / -1;
  }

  .practice-card,
  .practice-card img {
    min-height: 250px;
  }

  .office-photo-wrap {
    padding: 15px 0 0 15px;
  }

  .photo-label {
    right: 12px;
    font-size: 0.6rem;
  }

  .profile-photo-frame {
    width: min(88%, 390px);
  }

  .contact-form-wrap {
    padding: 27px 20px;
  }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-bottom {
    min-height: 90px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }
}

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