:root {
  --black: #050505;
  --black-2: #090909;
  --panel: #0c0c0d;
  --panel-2: #111112;
  --gold: #bd7c42;
  --gold-light: #dda565;
  --gold-deep: #70401f;
  --ivory: #f1ede7;
  --muted: #aaa49d;
  --line: rgba(203, 132, 67, 0.24);
  --container: min(92vw, 1280px);
}

* { box-sizing: border-box; }
html { background: var(--black); scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ivory);
  background: var(--black);
  font-family: "DIN Next Arabic", "Noto Kufi Arabic", Tahoma, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection { color: #0b0704; background: var(--gold-light); }
.container { width: var(--container); margin-inline: auto; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
use[href="#icon-whatsapp"] { fill: currentColor; stroke: none; }

.site-header {
  position: relative;
  z-index: 20;
  height: 84px;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 3, 3, 0.97);
}
.header-inner {
  display: grid;
  width: min(96vw, 1380px);
  grid-template-columns: 170px 1fr 320px;
  grid-template-areas: "administration navigation languages";
  align-items: center;
  gap: 2.5rem;
  height: 100%;
  direction: ltr;
}
.header-tools { grid-area: administration; display: flex; align-items: center; justify-self: start; }
.header-left { grid-area: languages; display: flex; flex-direction: row-reverse; align-items: center; justify-self: end; gap: 1rem; direction: ltr; }
.language-switch { display: flex; align-items: center; gap: .42rem; padding: 0; background: transparent; }
.language-button { display: grid; place-items: center; width: 38px; height: 38px; padding: 4px; overflow: hidden; border: 1px solid rgba(221,165,101,.26); border-radius: 50%; opacity: .74; background: linear-gradient(145deg, #151515, #070707); box-shadow: inset 0 0 0 2px #080808, 0 7px 18px rgba(0,0,0,.24); line-height: 1; cursor: pointer; touch-action: manipulation; transition: opacity .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.language-button:hover { opacity: 1; transform: translateY(-1px); }
.language-button.is-active { opacity: 1; border-color: var(--gold-light); box-shadow: inset 0 0 0 2px #080808, 0 0 0 2px rgba(189,124,66,.13), 0 0 18px rgba(189,124,66,.18); }
.flag-svg { width: 100%; height: 100%; overflow: hidden; border-radius: 50%; stroke: none; }
.header-attorney-intro { display: flex; align-items: center; gap: .62rem; direction: rtl; white-space: nowrap; }
.header-attorney-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 14px rgba(221,165,101,.42); }
.header-attorney-copy { display: grid; gap: .12rem; text-align: right; }
.header-attorney-copy small { color: #c6c0b8; font-size: .66rem; font-weight: 400; line-height: 1.35; }
.header-attorney-copy strong { color: var(--gold-light); font-size: .82rem; font-weight: 600; line-height: 1.35; }
.monogram {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: start;
  width: 66px;
  height: 64px;
  color: var(--gold-light);
  direction: ltr;
  font-family: Georgia, serif;
  text-decoration: none;
}
.monogram::before,
.monogram::after {
  content: "";
  position: absolute;
  inset: 7px 3px;
  border: 1px solid var(--line);
  border-radius: 48% 48% 42% 42%;
}
.monogram::after { inset: 12px 8px; border-color: rgba(221, 165, 101, 0.12); }
.monogram svg { position: absolute; width: 50px; height: 50px; opacity: 0.32; }
.monogram span { position: relative; z-index: 1; font-size: 1.08rem; }
.main-nav { grid-area: navigation; display: flex; justify-content: center; align-self: stretch; gap: clamp(2rem, 5vw, 5rem); direction: rtl; color: #aaa49d; font-size: 0.86rem; }
.main-nav a { position: relative; display: grid; place-items: center; color: inherit; text-decoration: none; white-space: nowrap; }
.main-nav .is-active { color: var(--gold-light); }
.main-nav .is-active::after { content: ""; position: absolute; right: 0; bottom: -1px; width: 100%; height: 1px; background: var(--gold-light); box-shadow: 0 -4px 16px rgba(221,165,101,.32); }
.menu-button { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.menu-button i { display: block; height: 1px; margin: 5px 0; background: var(--gold-light); transition: transform .2s ease, opacity .2s ease; }
.menu-button.is-open i:first-child { transform: translateY(6px) rotate(45deg); }
.menu-button.is-open i:nth-child(2) { opacity: 0; }
.menu-button.is-open i:last-child { transform: translateY(-6px) rotate(-45deg); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #060606;
}
.hero-background { position: absolute; z-index: 0; inset: 0; overflow: hidden; }
.hero-background img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.78) contrast(1.05) brightness(.78); }
.hero-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,3,3,.06) 0 37%, rgba(5,5,5,.44) 50%, rgba(5,5,5,.94) 69%, rgba(5,5,5,.56) 100%),
    linear-gradient(0deg, rgba(5,5,5,.9), transparent 21%, transparent 88%, rgba(5,5,5,.18));
}
.hero-stage { position: relative; z-index: 2; min-height: 548px; }
.hero-copy {
  position: absolute;
  z-index: 4;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.25rem 0 3rem 1.5rem;
}
.eyebrow { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.35rem; }
.eyebrow > span { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 14px var(--gold); }
.eyebrow > div { display: grid; gap: .12rem; }
.eyebrow small { color: #c9c2b9; font-size: clamp(.62rem, .75vw, .7rem); font-weight: 400; line-height: 1.4; }
.eyebrow strong { color: var(--gold-light); font-size: clamp(.72rem, .9vw, .82rem); font-weight: 600; line-height: 1.4; }
.hero h1 { margin: 0; font-size: clamp(3.1rem, 5.25vw, 4.75rem); font-weight: 500; line-height: 1.08; letter-spacing: -.055em; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { margin-top: .12em; color: var(--gold-light); font-style: normal; text-shadow: 0 0 38px rgba(189,124,66,.2); }
.hero-copy > p { max-width: 540px; margin: 1.25rem 0 0; color: #bbb5ae; font-size: .93rem; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; min-height: 50px; padding: .8rem 1.45rem; font-family: inherit; font-size: .82rem; font-weight: 600; user-select: none; cursor: default; }
.button:not([aria-disabled="true"]):not(:disabled) { cursor: pointer; }
.button:disabled { opacity: .62; }
.button svg { width: 18px; height: 18px; }
.button-primary { color: #110b06; border: 1px solid var(--gold-light); background: linear-gradient(135deg, var(--gold-light), #a86130); box-shadow: 0 14px 36px rgba(161,91,39,.2); }
.button-outline { color: #d5cfc7; border: 1px solid rgba(221,165,101,.3); background: rgba(7,7,7,.52); backdrop-filter: blur(8px); }
.button-outline svg, .consultation-button svg { transform: rotate(180deg); }
.hero-visual { position: absolute; z-index: 2; inset: 0 49% 0 0; overflow: hidden; }
.lawyer-photo {
  position: absolute;
  z-index: 3;
  right: 4%;
  bottom: -7%;
  width: min(94%, 520px);
  height: auto;
  filter: saturate(.86) contrast(1.08) brightness(.94);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.hero-visual::after { content: ""; position: absolute; z-index: 4; inset: auto 0 0; height: 25%; background: linear-gradient(0deg, #050505, transparent); pointer-events: none; }

.practice {
  position: relative;
  padding: clamp(4.5rem, 7vw, 7rem) 0;
  background: radial-gradient(circle at 50% 0, rgba(189,124,66,.07), transparent 30rem), #090909;
}
.section-heading.centered { max-width: 760px; margin: 0 auto 2.8rem; text-align: center; }
.section-kicker { color: var(--gold-light); font-size: .72rem; font-weight: 600; }
.section-heading h2, .about-copy h2 { margin: .55rem 0 0; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 400; letter-spacing: -.035em; }
.section-heading p { margin: .75rem 0 0; color: #8e8983; font-size: .84rem; line-height: 1.8; }
.practice-grid { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.practice-card { position: relative; min-width: 0; overflow: hidden; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(150deg, rgba(255,255,255,.025), transparent 60%), #0a0a0b; }
.practice-media { position: relative; height: 132px; overflow: hidden; border-bottom: 1px solid rgba(203,132,67,.18); background: #111; }
.practice-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,7,7,.9), transparent 64%), linear-gradient(120deg, rgba(189,124,66,.08), transparent); }
.practice-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.55) sepia(.1) contrast(1.08) brightness(.78); transition: transform .5s ease, filter .5s ease; }
.practice-media span { position: absolute; z-index: 2; top: .8rem; left: .8rem; color: rgba(239,214,184,.7); font-family: Georgia, serif; font-size: .64rem; }
.practice-body { min-height: 176px; padding: 1.35rem 1.15rem 1.45rem; text-align: center; }
.practice-body h3 { margin: 0 0 .7rem; color: var(--gold-light); font-size: .92rem; font-weight: 500; line-height: 1.5; }
.practice-body p { margin: 0; color: #8d8882; font-size: .7rem; line-height: 1.85; }
.practice-card:hover .practice-media img { transform: scale(1.045); filter: saturate(.75) sepia(.06) contrast(1.08) brightness(.88); }

.lawyer-profile-section {
  scroll-margin-top: 84px;
  padding: clamp(4.5rem, 7vw, 7rem) 0;
  background:
    radial-gradient(circle at 18% 50%, rgba(189,124,66,.09), transparent 28rem),
    linear-gradient(180deg, #090909, #060606);
}
.lawyer-profile-card {
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr);
  align-items: stretch;
  overflow: hidden;
  direction: ltr;
  border: 1px solid var(--line);
  background: #090909;
  box-shadow: 0 30px 80px rgba(0,0,0,.32), inset 0 1px rgba(255,255,255,.015);
}
.lawyer-profile-photo {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  margin: 0;
  border-right: 1px solid var(--line);
  background: #080706;
}
.lawyer-profile-photo::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 12px;
  border: 1px solid rgba(221,165,101,.12);
  pointer-events: none;
}
.lawyer-profile-photo::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(5,5,5,.78), transparent 28%, transparent 76%, rgba(5,5,5,.16)),
    linear-gradient(90deg, rgba(112,64,31,.11), transparent 52%, rgba(5,5,5,.18));
  pointer-events: none;
}
.lawyer-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.74) sepia(.07) contrast(1.08) brightness(.82);
}
.lawyer-profile-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  direction: rtl;
  padding: clamp(2.5rem, 4.4vw, 4.6rem);
  background:
    radial-gradient(circle at 100% 0, rgba(189,124,66,.065), transparent 22rem),
    linear-gradient(145deg, rgba(189,124,66,.035), transparent 40%);
}
html[dir="ltr"] .lawyer-profile-copy { direction: ltr; }
.lawyer-profile-copy h2 {
  margin: 0;
  color: var(--gold-light);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.025em;
}
.lawyer-profile-copy h2::after {
  content: "";
  display: block;
  width: 76px;
  height: 1px;
  margin-top: 1.15rem;
  background: linear-gradient(90deg, var(--gold-light), rgba(221,165,101,0));
}
html[dir="rtl"] .lawyer-profile-copy h2::after { background: linear-gradient(270deg, var(--gold-light), rgba(221,165,101,0)); }
.lawyer-profile-text { display: grid; gap: 1.15rem; margin-top: 1.8rem; }
.lawyer-profile-text p {
  margin: 0;
  color: #b6b0a8;
  font-size: clamp(.9rem, .95vw, 1.02rem);
  line-height: 2.02;
}

.about { padding: clamp(4.5rem, 7vw, 7rem) 0; border-block: 1px solid rgba(203,132,67,.18); background: #050505; }
.about-grid { display: grid; grid-template-columns: 1.12fr .88fr; align-items: stretch; border: 1px solid var(--line); }
.office-photo { position: relative; min-height: 520px; overflow: hidden; margin: 0; border-left: 1px solid var(--line); background: #0a0a0a; }
.office-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 58%, rgba(5,5,5,.5)), linear-gradient(0deg, #050505, transparent 32%); }
.office-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.08) brightness(.8); }
.office-photo figcaption { position: absolute; z-index: 2; right: 1.8rem; bottom: 1.6rem; display: grid; gap: .25rem; padding-right: 1rem; border-right: 2px solid var(--gold-light); }
.office-photo figcaption span { color: var(--gold-light); font-size: .66rem; }
.office-photo figcaption strong { font-size: .84rem; font-weight: 400; }
.about-copy { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: clamp(2.5rem, 4.5vw, 4.8rem); text-align: center; background: linear-gradient(145deg, rgba(189,124,66,.045), transparent 42%); }
.about-copy > p { max-width: 40rem; margin: 1.2rem auto 0; color: #b6b0a8; font-size: clamp(1rem, 1.05vw, 1.12rem); line-height: 2.05; text-wrap: pretty; }
.about-copy .about-intro { margin-top: 0; color: #eee7de; font-size: clamp(1.12rem, 1.22vw, 1.28rem); font-weight: 500; line-height: 1.95; }
.about-values { display: grid; width: min(100%, 34rem); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; margin: 2rem auto 0; }
.about-values > div { display: grid; grid-template-columns: 1fr; justify-items: center; gap: .55rem; align-items: center; }
.about-values svg { width: 27px; height: 27px; color: var(--gold-light); }
.about-values span { display: grid; justify-items: center; gap: .3rem; text-align: center; }
.about-values strong { font-size: .9rem; font-weight: 500; }
.about-values small { color: #8f8981; font-size: .76rem; line-height: 1.6; }

.consultation { padding: 1.8rem 0; background: #090909; }
.consultation-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; min-height: 132px; padding: 1.3rem 1.8rem; border: 1px solid var(--line); background: linear-gradient(115deg, rgba(189,124,66,.08), transparent 48%); }
.consultation-seal { position: relative; display: grid; place-items: center; width: 84px; height: 84px; color: var(--gold-light); border: 1px solid var(--line); border-radius: 50%; box-shadow: inset 0 0 0 6px #090909, inset 0 0 0 7px rgba(221,165,101,.13); }
.consultation-seal svg { position: absolute; width: 48px; height: 48px; opacity: .25; }
.consultation-seal span { direction: ltr; font-family: Georgia, serif; font-size: .92rem; }
.consultation-inner > div:nth-child(2) > span { color: var(--gold-light); font-size: .68rem; }
.consultation h2 { margin: .35rem 0 0; font-size: clamp(1.45rem, 2.7vw, 2.15rem); font-weight: 400; }

.site-footer { border-top: 1px solid rgba(203,132,67,.16); background: #040404; }
.contact-strip { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 1.55rem; }
.contact-strip > * { display: flex; align-items: center; justify-content: center; gap: .8rem; min-height: 58px; padding-inline: 1rem; border-left: 1px solid var(--line); }
.contact-strip > *:last-child { border-left: 0; }
.contact-strip svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--gold-light); }
.contact-strip span { display: grid; gap: .25rem; color: #bdb7b0; font-size: .72rem; }
.contact-strip small { color: var(--gold); font-size: .6rem; }
.contact-strip a { color: inherit; text-decoration: none; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: rgba(221,165,101,.14); }
.contact-strip a:hover { color: var(--gold-light); }
.contact-strip-item:active { color: var(--gold-light); background: rgba(189,124,66,.055); }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; padding-block: 1rem 1.3rem; border-top: 1px solid rgba(255,255,255,.05); color: #66625d; font-size: .58rem; line-height: 1.6; }

[hidden] { display: none !important; }

.consultation-dialog,
.contact-dialog,
.request-confirmation-dialog {
  max-height: min(92vh, 780px);
  padding: 0;
  overflow: auto;
  color: var(--ivory);
  border: 1px solid rgba(221,165,101,.72);
  border-radius: 14px;
  background: #111214;
  box-shadow: 0 28px 90px rgba(0,0,0,.72), 0 0 0 1px rgba(221,165,101,.08), inset 0 0 44px rgba(189,124,66,.035);
}
.consultation-dialog { width: min(92vw, 515px); }
.appointment-dialog { width: min(92vw, 515px); }
.contact-dialog { width: min(92vw, 560px); }
.request-confirmation-dialog { width: min(90vw, 430px); overflow: hidden; }
.consultation-dialog::backdrop,
.contact-dialog::backdrop,
.request-confirmation-dialog::backdrop { background: rgba(0,0,0,.84); backdrop-filter: blur(5px); }
.consultation-modal { position: relative; padding: 1.25rem 1.9rem 1.2rem; }
.contact-modal { position: relative; padding: clamp(2rem, 5vw, 3.25rem); }
.modal-close { position: absolute; top: 1rem; left: 1.15rem; width: 36px; height: 36px; padding: 0; color: #a99783; border: 0; background: transparent; font-family: Arial, sans-serif; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.modal-close:hover { color: var(--gold-light); }
.modal-mark { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 1rem; color: var(--gold-light); border: 1px solid var(--line); border-radius: 50%; box-shadow: inset 0 0 0 7px #111214, inset 0 0 0 8px rgba(221,165,101,.12), 0 0 28px rgba(189,124,66,.12); }
.modal-mark svg { width: 39px; height: 39px; }
.consultation-modal .modal-mark { width: 68px; height: 68px; margin-bottom: .75rem; }
.consultation-modal .modal-mark svg { width: 35px; height: 35px; }
.modal-heading { text-align: center; }
.modal-heading::after { content: ""; display: block; width: 54px; height: 1px; margin: 1rem auto 0; background: var(--gold-light); box-shadow: 0 0 10px rgba(221,165,101,.36); }
.modal-heading h2 { margin: 0; color: var(--gold-light); font-size: clamp(1.55rem, 4vw, 2rem); font-weight: 600; }
.modal-heading p { margin: .65rem 0 0; color: #aaa49d; font-size: .8rem; line-height: 1.85; }
.consultation-modal .modal-heading::after { margin-top: .7rem; }
.appointment-modal .modal-heading::after { display: none; }
.consultation-modal .modal-heading h2 { font-size: clamp(1.45rem, 4vw, 1.75rem); }
.consultation-modal .modal-heading p { margin-top: .4rem; line-height: 1.65; }
.consultation-form { display: grid; margin-top: .7rem; }
.consultation-form label { margin: .55rem 0 .28rem; color: #c5beb6; font-size: .72rem; font-weight: 500; }
.form-control { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); height: 44px; min-height: 44px; overflow: visible; border: 1px solid rgba(255,255,255,.11); border-radius: 5px; background: #0e0f11; transition: border-color .2s ease, box-shadow .2s ease; }
.form-control:focus-within { border-color: rgba(221,165,101,.7); box-shadow: 0 0 0 3px rgba(189,124,66,.09); }
.form-control > svg { align-self: center; width: 46px; height: 42px; padding: 12px 13px; color: var(--gold-light); border-left: 1px solid rgba(255,255,255,.09); }
.form-control input { width: 100%; min-width: 0; height: 42px; padding: 0 .95rem; color: #eee9e2; border: 0; outline: 0; background: transparent; font-family: inherit; font-size: .78rem; }
.form-control input::placeholder { color: #69655f; }
.appointment-picker { position: relative; min-width: 0; height: 42px; }
.picker-control.is-open { z-index: 110; border-color: rgba(221,165,101,.7); box-shadow: 0 0 0 3px rgba(189,124,66,.09); }
.picker-toggle { display: flex; align-items: center; justify-content: space-between; gap: .75rem; width: 100%; height: 42px; padding: 0 .95rem; color: #69655f; border: 0; border-radius: 0; outline: 0; appearance: none; -webkit-appearance: none; background: transparent; font-family: inherit; font-size: .78rem; text-align: right; cursor: pointer; }
.appointment-picker.has-value .picker-toggle { color: #eee9e2; }
.picker-toggle:focus-visible { box-shadow: inset 0 0 0 1px rgba(221,165,101,.72); }
.picker-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picker-chevron { flex: 0 0 auto; width: 15px; height: 15px; color: #8e8982; transition: transform .18s ease; }
.appointment-picker.is-open .picker-chevron { transform: rotate(180deg); }
.picker-popover { position: absolute; z-index: 120; right: -47px; bottom: calc(100% + 7px); width: calc(100% + 47px); padding: .7rem; border: 1px solid rgba(221,165,101,.58); border-radius: 7px; background: #0b0c0e; box-shadow: 0 22px 48px rgba(0,0,0,.78), inset 0 0 28px rgba(189,124,66,.035); }
.calendar-header { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; gap: .5rem; padding-bottom: .65rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.calendar-header strong { color: #e1dbd4; font-size: .78rem; font-weight: 500; text-align: center; }
.calendar-navigation { display: grid; place-items: center; width: 34px; height: 30px; padding: 0; color: var(--gold-light); border: 1px solid rgba(221,165,101,.2); border-radius: 4px; background: rgba(189,124,66,.055); cursor: pointer; }
.calendar-navigation:disabled { opacity: .25; cursor: default; }
.calendar-navigation svg { width: 15px; height: 15px; }
#calendar-previous svg { transform: rotate(180deg); }
.calendar-weekdays,
.calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.calendar-weekdays { padding: .65rem 0 .35rem; color: #756f68; font-size: .59rem; text-align: center; }
.calendar-days button,
.calendar-empty { min-height: 34px; }
.calendar-days button { display: grid; place-items: center; padding: 0; color: #bdb7b0; border: 1px solid transparent; border-radius: 4px; background: transparent; font-family: inherit; font-size: .7rem; cursor: pointer; }
.calendar-days button:hover:not(:disabled) { color: var(--gold-light); border-color: rgba(221,165,101,.28); background: rgba(189,124,66,.08); }
.calendar-days button.is-today { border-color: rgba(221,165,101,.26); }
.calendar-days button.is-selected { color: #120b06; border-color: var(--gold-light); background: linear-gradient(135deg, var(--gold-light), #a86130); font-weight: 700; }
.calendar-days button:disabled { color: #403d39; cursor: default; }
.time-popover { max-height: 220px; overflow-y: auto; }
.time-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; direction: ltr; }
.time-slot { min-height: 36px; padding: .35rem; color: #bdb7b0; border: 1px solid rgba(255,255,255,.09); border-radius: 4px; background: #0f1012; font-family: Arial, sans-serif; font-size: .72rem; cursor: pointer; transition: color .16s ease, border-color .16s ease, background .16s ease; }
.time-slot:hover { color: var(--gold-light); border-color: rgba(221,165,101,.38); background: rgba(189,124,66,.08); }
.time-slot.is-selected { color: #120b06; border-color: var(--gold-light); background: linear-gradient(135deg, var(--gold-light), #a86130); font-weight: 700; }
.time-slot:disabled { color: #45413d; border-color: rgba(255,255,255,.045); background: #0b0c0d; cursor: default; }
.custom-select { position: relative; min-width: 0; height: 42px; }
.custom-select-toggle { display: flex; align-items: center; justify-content: space-between; gap: .75rem; width: 100%; height: 42px; padding: 0 .95rem; color: #69655f; border: 0; border-radius: 0; outline: 0; appearance: none; -webkit-appearance: none; background: transparent; font-family: inherit; font-size: .78rem; text-align: right; cursor: pointer; }
.custom-select.has-value .custom-select-toggle { color: #eee9e2; }
.custom-select-toggle:focus-visible { box-shadow: inset 0 0 0 1px rgba(221,165,101,.72); }
.custom-select-chevron { flex: 0 0 auto; width: 15px; height: 15px; color: #8e8982; transition: transform .18s ease; }
.custom-select.is-open .custom-select-chevron { transform: rotate(180deg); }
.custom-select-menu { position: absolute; z-index: 80; top: calc(100% + 6px); right: -47px; width: calc(100% + 47px); max-height: 208px; padding: 5px; overflow-y: auto; border: 1px solid rgba(221,165,101,.56); border-radius: 5px; background: #0b0c0e; box-shadow: 0 18px 38px rgba(0,0,0,.72), inset 0 0 24px rgba(189,124,66,.025); }
.custom-select-menu-short { max-height: 110px; }
.custom-select-option { display: flex; align-items: center; width: 100%; min-height: 38px; padding: .55rem .8rem; color: #c9c3bb; border: 0; border-radius: 3px; outline: 0; appearance: none; -webkit-appearance: none; background: transparent; font-family: inherit; font-size: .76rem; text-align: right; cursor: pointer; transition: color .16s ease, background .16s ease; }
.custom-select-option:hover,
.custom-select-option:focus-visible,
.custom-select-option[aria-selected="true"] { color: var(--gold-light); outline: 0; background: rgba(189,124,66,.12); }
.custom-select-option-icon { gap: .65rem; }
.custom-select-option-icon svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--gold-light); fill: none; }
.form-submit { width: 100%; margin-top: 1rem; }
.form-submit svg { transform: rotate(180deg); }
.form-status { min-height: 1.5rem; margin: .65rem 0 0; text-align: center; color: #aaa49d; font-size: .72rem; line-height: 1.6; }
.form-status.is-error { color: #e4a09a; }
.form-status.is-success { color: #c8d8aa; }
.form-note { display: flex; align-items: center; justify-content: center; gap: .45rem; margin: .65rem 0 0; color: #74706a; font-size: .61rem; line-height: 1.6; text-align: center; }
.form-note svg { flex: 0 0 auto; width: 16px; height: 16px; color: var(--gold-light); }
.contact-options { display: grid; gap: .8rem; margin-top: 1.6rem; }
.contact-option { display: grid; grid-template-columns: 52px 1fr; align-items: center; min-width: 0; padding: .85rem; color: var(--ivory); border: 1px solid rgba(255,255,255,.1); border-radius: 6px; background: linear-gradient(110deg, rgba(189,124,66,.055), transparent 55%), #0d0e10; text-decoration: none; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: rgba(221,165,101,.14); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.contact-option:hover { transform: translateY(-2px); border-color: rgba(221,165,101,.55); background-color: #111214; }
.contact-option:active { transform: scale(.985); border-color: rgba(221,165,101,.68); }
.contact-emoji { display: grid; place-items: center; width: 38px; height: 38px; font-size: 1.25rem; border: 1px solid var(--line); border-radius: 50%; background: rgba(189,124,66,.055); }
.contact-option > span:last-child { display: grid; min-width: 0; gap: .25rem; }
.contact-option small { color: var(--gold-light); font-size: .64rem; }
.contact-option strong { overflow-wrap: anywhere; color: #d7d1ca; font-size: .82rem; font-weight: 500; }

.request-confirmation-modal { padding: 2rem 2rem 1.7rem; text-align: center; }
.request-confirmation-mark { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 1.15rem; color: #17100a; border: 1px solid var(--gold-light); border-radius: 50%; background: linear-gradient(145deg, #e3ad6b, #a96635); box-shadow: 0 0 0 8px rgba(221,165,101,.055), 0 18px 45px rgba(0,0,0,.34); font-family: Arial, sans-serif; font-size: 2rem; font-weight: 700; }
.request-confirmation-copy h2 { margin: 0; color: var(--gold-light); font-size: clamp(1.45rem, 5vw, 1.85rem); font-weight: 600; }
.request-confirmation-copy h2::after { content: ""; display: block; width: 52px; height: 1px; margin: .85rem auto 0; background: var(--gold-light); box-shadow: 0 0 10px rgba(221,165,101,.35); }
.request-confirmation-copy p { margin: 1rem 0 0; color: #c7c0b8; font-size: .9rem; line-height: 1.9; }
.request-confirmation-button { width: 100%; margin-top: 1.45rem; min-height: 48px; font-family: inherit; font-size: .86rem; }

.admin-page { min-height: 100vh; background: radial-gradient(circle at 50% 0, rgba(189,124,66,.08), transparent 34rem), #060606; }
.admin-header { min-height: 82px; border-bottom: 1px solid var(--line); background: rgba(3,3,3,.96); }
.admin-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 82px; }
.admin-brand { display: flex; align-items: center; gap: .8rem; color: var(--ivory); text-decoration: none; }
.admin-brand > svg { width: 42px; height: 42px; padding: 7px; color: var(--gold-light); border: 1px solid var(--line); border-radius: 50%; }
.admin-brand span { display: grid; gap: .2rem; }
.admin-brand small { color: var(--gold-light); font-size: .62rem; }
.admin-brand strong { font-size: .88rem; font-weight: 500; }
.admin-header-title { color: #8c867f; font-size: .72rem; }
.admin-main { display: grid; min-height: calc(100vh - 82px); padding-block: clamp(2.5rem, 7vw, 5.5rem); }
.admin-login { align-self: start; width: min(100%, 470px); margin: clamp(1rem, 6vh, 4rem) auto 0; padding: clamp(2rem, 5vw, 3.4rem); border: 1px solid var(--line); background: linear-gradient(145deg, rgba(189,124,66,.055), transparent 48%), #0b0b0c; text-align: center; box-shadow: 0 24px 70px rgba(0,0,0,.36); }
.admin-seal { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 1rem; color: var(--gold-light); border: 1px solid var(--line); border-radius: 50%; }
.admin-seal svg { width: 38px; height: 38px; }
.admin-login > span, .requests-heading > span { color: var(--gold-light); font-size: .68rem; }
.admin-login h1 { margin: .45rem 0 0; font-size: clamp(1.75rem, 4vw, 2.4rem); font-weight: 500; }
.admin-login > p { margin: .7rem 0 1.5rem; color: #8d8882; font-size: .78rem; line-height: 1.7; }
.admin-login form { display: grid; gap: .75rem; text-align: right; }
.admin-login label { color: #bcb5ad; font-size: .72rem; }
.admin-login input { width: 100%; min-height: 50px; padding: .8rem 1rem; color: var(--ivory); border: 1px solid rgba(255,255,255,.12); border-radius: 4px; outline: 0; background: #0d0e10; font-family: inherit; font-size: 1rem; letter-spacing: .18em; }
.admin-login input:focus { border-color: rgba(221,165,101,.68); box-shadow: 0 0 0 3px rgba(189,124,66,.09); }
.admin-login .button { width: 100%; margin-top: .35rem; }
.admin-status { min-height: 1.3rem; margin: .7rem 0 0; color: #8d8882; font-size: .72rem; line-height: 1.6; text-align: center; }
.admin-status.is-error { color: #e4a09a; }
.admin-status.is-success { color: #c8d8aa; }
.admin-status.is-empty { padding: 2.4rem; border: 1px solid var(--line); background: #0a0a0b; color: #8d8882; }
.admin-requests { width: min(100%, 1280px); margin-inline: auto; }
.requests-heading { margin-bottom: 1.8rem; text-align: right; }
.requests-heading h1 { margin: .4rem 0 0; font-size: clamp(2rem, 5vw, 3rem); font-weight: 400; }
.requests-heading p { max-width: 700px; margin: .6rem 0 0; color: #817b74; font-size: .74rem; line-height: 1.75; }
.admin-dashboard-shell { display: grid; grid-template-columns: minmax(0, 1fr) 242px; align-items: start; gap: 1.25rem; direction: ltr; }
.admin-sidebar { grid-column: 2; position: sticky; top: 1.25rem; min-width: 0; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(155deg, rgba(189,124,66,.065), transparent 42%), #0a0a0b; box-shadow: 0 18px 55px rgba(0,0,0,.26); direction: rtl; }
.admin-sidebar-heading { display: grid; gap: .25rem; padding: 1.25rem; border-bottom: 1px solid rgba(203,132,67,.19); }
.admin-sidebar-heading span { color: var(--gold-light); font-size: .61rem; }
.admin-sidebar-heading strong { color: #e1dbd4; font-size: 1rem; font-weight: 500; }
.admin-section-nav { display: grid; gap: .35rem; padding: .65rem; }
.admin-section-nav button { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: .72rem; width: 100%; min-height: 68px; padding: .75rem .7rem; color: #928c85; border: 1px solid transparent; border-radius: 5px; background: transparent; font-family: inherit; text-align: right; cursor: pointer; transition: color .18s ease, border-color .18s ease, background .18s ease; }
.admin-section-nav button:hover { color: #d8d2ca; border-color: rgba(221,165,101,.2); background: rgba(189,124,66,.04); }
.admin-section-nav button.is-active { color: var(--ivory); border-color: rgba(221,165,101,.45); background: linear-gradient(100deg, rgba(189,124,66,.16), rgba(189,124,66,.035)); box-shadow: inset -2px 0 0 var(--gold-light); }
.admin-section-nav svg { width: 25px; height: 25px; color: var(--gold-light); fill: none; stroke: currentColor; stroke-width: 1.5; }
.admin-section-nav button > span { display: grid; gap: .2rem; min-width: 0; }
.admin-section-nav strong { font-size: .72rem; font-weight: 500; line-height: 1.5; }
.admin-section-nav small { color: #6f6a64; font-size: .56rem; line-height: 1.5; }
.admin-home-link { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; margin: .35rem .65rem .65rem; color: #8f8880; border-top: 1px solid rgba(255,255,255,.055); text-decoration: none; font-size: .64rem; }
.admin-home-link:hover { color: var(--gold-light); }
.admin-home-link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.admin-workspace { grid-column: 1; min-width: 0; direction: rtl; }
.admin-panel[hidden], .availability-field[hidden] { display: none !important; }
.admin-panel.is-active { animation: admin-panel-reveal .22s ease-out both; }
@keyframes admin-panel-reveal { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.admin-panel-heading { margin-bottom: 1rem; padding: 1.15rem 1.25rem; border: 1px solid rgba(203,132,67,.2); background: linear-gradient(135deg, rgba(189,124,66,.07), transparent 55%), #09090a; }
.admin-panel-heading span { color: var(--gold-light); font-size: .62rem; }
.admin-panel-heading h2 { margin: .3rem 0 0; color: #e2dcd5; font-size: clamp(1.35rem, 3vw, 1.75rem); font-weight: 500; }
.admin-panel-heading p { max-width: 760px; margin: .5rem 0 0; color: #817b74; font-size: .69rem; line-height: 1.8; }
.contact-settings { margin-bottom: 1.5rem; padding: 1.25rem; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(189,124,66,.045), transparent 48%), #0b0b0c; }
.contact-settings-heading { margin-bottom: 1rem; }
.contact-settings-heading span { color: var(--gold-light); font-size: .64rem; }
.contact-settings-heading h3 { margin: .3rem 0 0; font-size: 1.15rem; font-weight: 500; }
.contact-settings form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.contact-settings form > div { display: grid; gap: .4rem; min-width: 0; }
.contact-settings label, .availability-field label { color: #8d8882; font-size: .65rem; }
.contact-settings input,
.availability-field input,
.availability-field select { width: 100%; min-width: 0; min-height: 46px; padding: .7rem .8rem; color: var(--ivory); border: 1px solid rgba(255,255,255,.11); border-radius: 4px; outline: 0; background: #0d0e10; color-scheme: dark; font-family: inherit; font-size: .76rem; }
.contact-settings input:focus,
.availability-field input:focus,
.availability-field select:focus { border-color: rgba(221,165,101,.68); box-shadow: 0 0 0 3px rgba(189,124,66,.09); }
.contact-settings .button { grid-column: 1 / -1; justify-self: end; min-width: 210px; }
.contact-settings .admin-status { grid-column: 1 / -1; }
.availability-settings { padding: 1.25rem; border: 1px solid rgba(221,165,101,.3); background: linear-gradient(145deg, rgba(189,124,66,.08), transparent 44%), #0a0a0b; }
.availability-settings-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,.065); }
.availability-settings-heading > div { min-width: 0; }
.availability-settings-heading span { color: var(--gold-light); font-size: .62rem; }
.availability-settings-heading h3 { margin: .3rem 0 0; color: #dfd9d2; font-size: 1.15rem; font-weight: 500; }
.availability-settings-heading p { max-width: 680px; margin: .45rem 0 0; color: #817b74; font-size: .67rem; line-height: 1.75; }
.availability-settings-heading .availability-rule { flex: 0 0 auto; padding: .55rem .7rem; color: #bda98f; border: 1px solid rgba(221,165,101,.22); border-radius: 999px; background: rgba(189,124,66,.06); white-space: nowrap; }
.availability-form { display: grid; grid-template-columns: 1fr 1fr 1fr 1.25fr auto; align-items: end; gap: .75rem; padding: 1rem 0; }
.availability-field { display: grid; gap: .4rem; min-width: 0; }
.availability-field label span { color: #66615b; }
.availability-multi-date-field { grid-column: span 2; }
.availability-date-adder { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .45rem; }
.availability-date-adder button { min-width: 92px; padding: .6rem .75rem; color: var(--gold-light); border: 1px solid rgba(221,165,101,.34); border-radius: 4px; background: rgba(189,124,66,.07); font-family: inherit; font-size: .65rem; cursor: pointer; }
.availability-date-adder button:hover { border-color: rgba(221,165,101,.58); background: rgba(189,124,66,.13); }
.selected-availability-dates { display: flex; flex-wrap: wrap; gap: .38rem; min-height: 30px; padding-top: .15rem; }
.selected-dates-empty { align-self: center; color: #6f6963; font-size: .61rem; }
.selected-date-chip { display: inline-flex; align-items: center; gap: .42rem; min-height: 29px; padding: .28rem .55rem; color: #d8d1c9; border: 1px solid rgba(221,165,101,.24); border-radius: 999px; background: rgba(189,124,66,.055); font-size: .61rem; }
.selected-date-chip button { display: grid; place-items: center; width: 18px; height: 18px; padding: 0; color: #d9a09a; border: 0; border-radius: 50%; background: rgba(115,38,33,.15); font-family: Arial, sans-serif; font-size: .8rem; cursor: pointer; }
.availability-reason-field { grid-column: auto; }
.availability-submit { min-width: 132px; min-height: 46px; padding-inline: 1rem; }
.availability-form > .admin-status { grid-column: 1 / -1; margin: 0; text-align: right; }
.availability-list-section { padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.065); }
.availability-list-section > header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.availability-list-section h4 { margin: 0; color: #d8d2cb; font-size: .82rem; font-weight: 500; }
.availability-list-section > header span { color: #716b65; font-size: .61rem; }
.availability-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.availability-card { display: flex; align-items: center; justify-content: space-between; gap: .8rem; min-width: 0; padding: .75rem .85rem; border: 1px solid rgba(255,255,255,.085); border-radius: 5px; background: rgba(9,9,10,.72); }
.availability-card-copy { display: grid; gap: .22rem; min-width: 0; }
.availability-card-copy strong { color: #d5cec6; font-size: .7rem; font-weight: 500; line-height: 1.55; }
.availability-card-copy small { overflow-wrap: anywhere; color: #756f68; font-size: .59rem; line-height: 1.55; }
.availability-remove { flex: 0 0 auto; width: 34px; height: 34px; padding: 0; color: #d9a09a; border: 1px solid rgba(196,92,82,.3); border-radius: 50%; background: rgba(115,38,33,.1); font-family: Arial, sans-serif; font-size: 1.1rem; cursor: pointer; }
.availability-remove:hover { color: #f0b6b0; border-color: rgba(216,111,101,.58); background: rgba(115,38,33,.22); }
.availability-remove:disabled { opacity: .5; cursor: wait; }
.admin-request-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 1rem; margin-top: 1rem; }
.admin-records { min-width: 0; padding: 1.15rem; border: 1px solid rgba(203,132,67,.19); background: #080809; }
.records-heading { margin-bottom: 1rem; }
.records-heading span { color: var(--gold-light); font-size: .64rem; }
.records-heading h3 { margin: .3rem 0 0; color: #ddd7d0; font-size: 1.05rem; font-weight: 500; }
.request-list { display: grid; gap: 1rem; }
.request-card { min-width: 0; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(189,124,66,.045), transparent 45%), #0b0b0c; }
.request-card > header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1rem; border-bottom: 1px solid rgba(203,132,67,.18); }
.record-heading-meta { display: grid; gap: .3rem; min-width: 0; }
.request-card > header strong { color: var(--gold-light); font-size: .78rem; font-weight: 500; }
.request-card > header time { overflow-wrap: anywhere; color: #77726c; font-size: .61rem; }
.record-delete { flex: 0 0 auto; min-width: 64px; min-height: 32px; padding: .4rem .65rem; color: #d9a09a; border: 1px solid rgba(196,92,82,.32); border-radius: 4px; background: rgba(115,38,33,.11); font-family: inherit; font-size: .64rem; cursor: pointer; transition: border-color .18s ease, background .18s ease, color .18s ease; }
.record-delete:hover { color: #f0b6b0; border-color: rgba(216,111,101,.58); background: rgba(115,38,33,.22); }
.record-delete:disabled { opacity: .55; cursor: wait; }
.appointment-card { border-color: rgba(221,165,101,.34); background: linear-gradient(135deg, rgba(189,124,66,.075), transparent 48%), #0b0b0c; }
.request-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.request-card dl > div { display: grid; gap: .35rem; min-width: 0; padding: .9rem 1rem; border-left: 1px solid rgba(255,255,255,.055); border-bottom: 1px solid rgba(255,255,255,.055); }
.request-card dl > div:nth-child(even) { border-left: 0; }
.request-card dl > div:nth-last-child(-n+2) { border-bottom: 0; }
.appointment-card dl > div:nth-last-child(2) { border-bottom: 1px solid rgba(255,255,255,.055); }
.appointment-card dl > div:last-child { grid-column: 1 / -1; border-left: 0; border-bottom: 0; }
.request-card dt { color: #756f68; font-size: .6rem; }
.request-card dd { min-width: 0; margin: 0; overflow-wrap: anywhere; color: #d7d1ca; font-size: .76rem; line-height: 1.6; }

html[dir="ltr"] body { font-family: Arial, Helvetica, sans-serif; }
html[dir="ltr"] .main-nav { direction: ltr; }
html[dir="ltr"] .header-attorney-intro { direction: ltr; }
html[dir="ltr"] .header-attorney-copy { text-align: left; }
html[dir="ltr"] .hero-copy { text-align: left; padding-right: 1.5rem; padding-left: 0; }
html[dir="ltr"] .form-control > svg { border-right: 1px solid rgba(255,255,255,.09); border-left: 0; }
html[dir="ltr"] .custom-select-toggle,
html[dir="ltr"] .custom-select-option { text-align: left; }
html[dir="ltr"] .custom-select-menu { right: auto; left: -47px; }
html[dir="ltr"] .picker-toggle { text-align: left; }
html[dir="ltr"] .picker-popover { right: auto; left: -47px; }
html[dir="ltr"] .modal-close { right: 1.15rem; left: auto; }
html[dir="ltr"] .button-outline svg,
html[dir="ltr"] .consultation-button svg,
html[dir="ltr"] .form-submit svg { transform: none; }
html[dir="ltr"] .office-photo { border-right: 1px solid var(--line); border-left: 0; }
html[dir="ltr"] .office-photo figcaption { right: auto; left: 1.8rem; padding-right: 0; padding-left: 1rem; border-right: 0; border-left: 2px solid var(--gold-light); }
html[dir="ltr"] .about-values > div { grid-template-columns: 38px 1fr; }

@media (max-width: 1180px) {
  .header-inner { grid-template-columns: 150px 1fr 280px; gap: 1.5rem; }
  .hero-copy { width: 49%; padding-left: 1rem; }
  .hero-visual { right: 48%; left: 0; }
  .lawyer-photo { right: 1%; width: min(98%, 520px); }
  .practice-grid { grid-template-columns: repeat(3, 1fr); }
  .practice-body { min-height: 150px; }
  .availability-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .availability-multi-date-field { grid-column: span 2; }
  .availability-reason-field { grid-column: span 2; }
  .availability-submit { width: 100%; }
  .admin-request-columns { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  html,
  body { width: 100%; max-width: 100%; overflow-x: hidden; overscroll-behavior-x: none; }
  body { position: relative; touch-action: pan-y; -webkit-text-size-adjust: 100%; }
  main,
  .site-header,
  .site-footer,
  main > section { width: 100%; max-width: 100%; overflow-x: clip; }
  .container { max-width: 100%; }
  .header-inner,
  .header-left,
  .hero-stage,
  .hero-copy,
  .hero-actions,
  .practice-grid,
  .about-grid,
  .contact-strip,
  .footer-bottom { min-width: 0; }

  .hero { background: #050505; }
  .hero-background { display: none; }
  .hero-stage {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    margin-inline: 0;
  }
  .hero-visual {
    position: relative;
    order: -1;
    inset: auto;
    width: 100%;
    aspect-ratio: 1.45;
    overflow: hidden;
    border-bottom: 1px solid rgba(221,165,101,.28);
    background: #050505 url("./assets/hero-justice.webp") left center / auto 100% no-repeat;
    box-shadow: inset 0 -28px 60px rgba(0,0,0,.7);
  }
  .hero-visual::after {
    inset: 0;
    height: auto;
    background:
      linear-gradient(0deg, #050505 0, rgba(5,5,5,.78) 5%, transparent 24%),
      linear-gradient(90deg, rgba(3,3,3,.03), transparent 45%, rgba(3,3,3,.18));
  }
  .lawyer-photo {
    right: 3%;
    bottom: -5%;
    width: min(58%, 590px);
    max-width: none;
    transform: none;
    filter: saturate(.86) contrast(1.08) brightness(.95);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 94%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 94%, transparent 100%);
  }
  .hero-copy {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    margin-top: -1px;
    padding: clamp(2.8rem, 6vw, 4rem) max(4.5vw, 1.5rem) clamp(3rem, 7vw, 4.5rem);
    justify-content: flex-start;
    background:
      radial-gradient(circle at 82% 0, rgba(189,124,66,.09), transparent 18rem),
      linear-gradient(180deg, #050505, #080808 72%, #090909);
  }
  .hero-copy > p { max-width: 720px; }
  .hero-actions { max-width: 720px; }

  .lawyer-profile-card { grid-template-columns: minmax(280px, .76fr) minmax(0, 1.24fr); }
  .lawyer-profile-copy { padding: clamp(2rem, 3.7vw, 3.2rem); }
  .about-grid { width: 100%; max-width: 100%; }
  .office-photo { min-height: 0; aspect-ratio: 3 / 2; }
  .office-photo img { display: block; object-fit: contain; object-position: center; }
  .form-control input,
  .admin-login input,
  .contact-settings input,
  .availability-field input,
  .availability-field select { font-size: 16px; }
  .contact-strip a,
  .footer-bottom { overflow-wrap: anywhere; }
}

@media (max-width: 850px) {
  .site-header { height: 112px; }
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-rows: 64px 48px;
    grid-template-areas:
      "administration identity languages"
      "navigation navigation navigation";
    column-gap: 1rem;
    row-gap: 0;
  }
  .main-nav {
    display: flex;
    width: 100%;
    align-items: stretch;
    justify-content: center;
    gap: clamp(.75rem, 3vw, 1.35rem);
    border-top: 1px solid rgba(203,132,67,.16);
    font-size: .76rem;
  }
  .main-nav a { min-height: 48px; padding-inline: .15rem; }
  .main-nav .is-active::after { bottom: 0; }
  .menu-button { display: none; }
  .header-left { position: static; display: contents; transform: none; }
  .language-switch { grid-area: languages; justify-self: end; }
  .header-attorney-intro { grid-area: identity; justify-self: center; gap: .5rem; }
  .header-attorney-copy,
  html[dir="ltr"] .header-attorney-copy { text-align: center; }
  .header-attorney-copy small { font-size: .6rem; }
  .header-attorney-copy strong { font-size: .75rem; }
  .monogram { width: 55px; height: 54px; }
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .lawyer-profile-card { display: flex; flex-direction: column; }
  .lawyer-profile-photo { display: block; order: 0; width: 100%; min-height: 0; aspect-ratio: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .lawyer-profile-photo img { display: block; width: 100%; height: auto; object-fit: contain; object-position: center; }
  .lawyer-profile-copy { order: 1; }
  .about-grid { grid-template-columns: 1fr; }
  .office-photo { min-height: 0; aspect-ratio: 3 / 2; border-left: 0; border-bottom: 1px solid var(--line); }
  .consultation-inner { grid-template-columns: auto 1fr; }
  .consultation-button { grid-column: 1 / -1; width: 100%; }
  .contact-strip { grid-template-columns: 1fr 1fr; }
  .contact-strip > *:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .admin-dashboard-shell { display: block; }
  .admin-sidebar { position: static; margin-bottom: 1rem; }
  .admin-sidebar-heading { display: none; }
  .admin-section-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; }
  .admin-section-nav button { grid-template-columns: 28px minmax(0, 1fr); min-height: 62px; padding: .65rem; }
  .admin-section-nav svg { width: 22px; height: 22px; }
  .admin-home-link { min-height: 40px; }
}

@media (max-width: 560px) {
  :root { --container: min(91vw, 1280px); }
  .site-header { height: 104px; }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-rows: 58px 46px; column-gap: .8rem; row-gap: 0; }
  .language-switch { gap: .28rem; }
  .language-button { width: 32px; height: 32px; padding: 3px; }
  .header-attorney-intro { gap: .36rem; }
  .header-attorney-dot { width: 5px; height: 5px; flex-basis: 5px; }
  .header-attorney-copy { gap: .06rem; }
  .header-attorney-copy small { font-size: .53rem; line-height: 1.25; }
  .header-attorney-copy strong { font-size: .68rem; line-height: 1.25; }
  html[dir="ltr"] .header-attorney-copy small { font-size: .48rem; }
  html[dir="ltr"] .header-attorney-copy strong { font-size: .62rem; }
  .monogram { width: 47px; height: 47px; }
  .monogram svg { width: 38px; height: 38px; }
  .monogram span { font-size: .82rem; }
  .main-nav { gap: clamp(.55rem, 3.3vw, .85rem); font-size: .69rem; }
  .main-nav a { min-height: 46px; padding-inline: .1rem; }
  .hero-visual { aspect-ratio: 1.28; }
  .hero-copy { padding: 2.5rem max(4.5vw, 1.2rem) 3rem; }
  .eyebrow { font-size: .67rem; }
  .hero h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
  .hero-copy > p { font-size: .85rem; line-height: 1.9; }
  .hero-actions { display: grid; grid-template-columns: 1fr; margin-top: 1.6rem; }
  .button { width: 100%; }
  .lawyer-photo { right: 0; width: min(64%, 430px); bottom: -4%; }
  .practice-grid { grid-template-columns: 1fr; }
  .practice-card { display: grid; grid-template-columns: 42% 58%; min-height: 150px; }
  .practice-media { height: 100%; min-height: 150px; border-bottom: 0; border-left: 1px solid rgba(203,132,67,.18); }
  .practice-body { display: flex; flex-direction: column; justify-content: center; min-height: 150px; padding: 1.15rem; text-align: right; }
  .practice-body h3 { font-size: .88rem; }
  .practice-body p { font-size: .67rem; }
  .lawyer-profile-section { padding: 3.4rem 0; }
  .lawyer-profile-copy { padding: 2.2rem 1.4rem 2.5rem; }
  .lawyer-profile-copy h2 { font-size: 1.7rem; text-align: center; }
  .lawyer-profile-copy h2::after { margin-inline: auto; }
  .lawyer-profile-text { gap: 1rem; margin-top: 1.55rem; }
  .lawyer-profile-text p { font-size: .9rem; line-height: 1.95; }
  .about-grid { width: 100%; margin-right: 0; border-inline: 1px solid var(--line); }
  .office-photo { min-height: 0; aspect-ratio: 3 / 2; }
  .office-photo figcaption { right: 1rem; bottom: .9rem; }
  .about-copy { padding: 2.2rem 1.4rem; }
  .consultation-inner { grid-template-columns: 1fr; gap: 1.2rem; padding: 1.4rem; }
  .consultation-seal { width: 74px; height: 74px; }
  .consultation h2 { font-size: 1.55rem; line-height: 1.5; }
  .contact-strip { grid-template-columns: 1fr; }
  .contact-strip > * { justify-content: flex-start; border-left: 0; border-bottom: 1px solid var(--line); }
  .contact-strip > *:last-child { grid-column: auto; border-top: 0; }
  .footer-bottom { display: grid; gap: .45rem; }
  .consultation-dialog,
  .contact-dialog,
  .request-confirmation-dialog { width: 94vw; max-height: 94vh; border-radius: 10px; }
  .consultation-modal { padding: 1.2rem 1.15rem 1.1rem; }
  .contact-modal { padding: 2rem 1.15rem 1.5rem; }
  .request-confirmation-modal { padding: 1.8rem 1.25rem 1.35rem; }
  .modal-close { top: .7rem; left: .7rem; }
  .modal-mark { width: 64px; height: 64px; }
  .modal-heading p { font-size: .72rem; }
  .form-control { grid-template-columns: 42px 1fr; }
  .form-control > svg { width: 42px; padding: 12px; }
  .custom-select-menu { right: -43px; width: calc(100% + 43px); }
  html[dir="ltr"] .custom-select-menu { right: auto; left: -43px; }
  .picker-popover { right: -43px; width: calc(100% + 43px); }
  html[dir="ltr"] .picker-popover { right: auto; left: -43px; }
  .admin-header-inner { min-height: 72px; }
  .admin-header-title { display: none; }
  .admin-brand > svg { width: 38px; height: 38px; }
  .admin-main { min-height: calc(100vh - 72px); padding-block: 1.5rem 3rem; }
  .admin-login { margin-top: .5rem; padding: 2rem 1.25rem; }
  .requests-heading { margin-bottom: 1.15rem; }
  .requests-heading h1 { font-size: 1.8rem; }
  .requests-heading p { font-size: .68rem; }
  .admin-section-nav { gap: .3rem; padding: .45rem; }
  .admin-section-nav button { display: flex; min-height: 58px; justify-content: center; gap: .4rem; padding: .55rem .35rem; text-align: center; }
  .admin-section-nav button > span { display: block; }
  .admin-section-nav strong { font-size: .6rem; }
  .admin-section-nav small { display: none; }
  .admin-section-nav svg { width: 19px; height: 19px; }
  .admin-panel-heading,
  .availability-settings,
  .contact-settings,
  .admin-records { padding: 1rem; }
  .contact-settings form { grid-template-columns: 1fr; }
  .contact-settings .button { width: 100%; min-width: 0; }
  .availability-settings-heading { display: grid; gap: .8rem; }
  .availability-settings-heading .availability-rule { justify-self: start; white-space: normal; }
  .availability-form { grid-template-columns: 1fr; }
  .availability-multi-date-field { grid-column: auto; }
  .availability-reason-field { grid-column: auto; }
  .availability-list-section > header { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .availability-list { grid-template-columns: 1fr; }
  .request-card > header { gap: .55rem; }
  .request-card dl { grid-template-columns: 1fr; }
  .request-card dl > div { border-left: 0; border-bottom: 1px solid rgba(255,255,255,.055); }
  .request-card dl > div:nth-last-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.055); }
  .request-card dl > div:last-child { border-bottom: 0; }
  .appointment-card dl > div:last-child { grid-column: auto; }
}

@media (max-width: 390px) {
  .header-inner { column-gap: .45rem; }
  .language-switch { gap: .16rem; }
  .language-button { width: 27px; height: 27px; padding: 2px; }
  .header-attorney-copy small { font-size: .5rem; }
  .header-attorney-copy strong { font-size: .64rem; }
  html[dir="ltr"] .header-attorney-copy small { font-size: .46rem; }
  html[dir="ltr"] .header-attorney-copy strong { font-size: .58rem; }
  .main-nav { gap: .45rem; font-size: .66rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: reveal .75s ease-out both; }
  .lawyer-photo { animation: portrait 1s ease-out both; }
  @keyframes reveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes portrait { from { opacity: 0; } to { opacity: 1; } }
}
