/*
 * Luxury Legal / Editorial Minimal refinement layer.
 * Loaded after main.css so the visual scale can evolve without disturbing
 * booking/auth/payment behaviour or template semantics.
 */

:root {
  --container: 1160px;
  --radius-sm: 9px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --shadow-sm: 0 5px 18px rgba(13, 33, 56, .045);
  --shadow-md: 0 18px 46px rgba(13, 33, 56, .085);
  --text-body: 14px;
  --text-small: 12px;
  --text-micro: 10.5px;
  --control-height: 40px;
}

html { text-rendering: optimizeLegibility; }
body {
  font-size: var(--text-body);
  line-height: 1.72;
  letter-spacing: -.005em;
}
html[dir="rtl"] body { letter-spacing: 0; }

.container { width: min(var(--container), calc(100% - 44px)); }

/* Header: slimmer, quieter, more premium. */
.nav-wrap { min-height: 70px; gap: 22px; }
.brand { gap: 9px; }
.brand-mark,
.mini-brand {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 600;
}
.brand-copy strong { max-width: 205px; font-size: 12.5px; font-weight: 650; letter-spacing: -.015em; }
.brand-copy small { margin-top: 2px; font-size: 11px; font-weight: 400; }
.main-nav { gap: 21px; }
.main-nav > a { font-size: 11.5px; font-weight: 520; letter-spacing: .005em; }
.main-nav > a::after { bottom: -8px; height: 1px; }
.nav-actions { gap: 9px; }
.account-link, .link-button { font-size: 11.5px; font-weight: 570; }
.language-pill { min-width: 34px; height: 32px; border-radius: 9px; font-size: 11px; font-weight: 680; }
.menu-btn { width: 38px; height: 38px; border-radius: 10px; }

/* Buttons: compact, precise, not bulky. */
.btn {
  min-height: var(--control-height);
  gap: 6px;
  padding: 8px 15px;
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 620;
  letter-spacing: .002em;
}
.btn:hover { transform: translateY(-.5px); }
.btn-primary { box-shadow: 0 5px 14px rgba(13, 33, 56, .11); }
.btn-primary:hover { box-shadow: 0 8px 18px rgba(13, 33, 56, .14); }
.btn-lg { min-height: 43px; padding: 9px 17px; border-radius: 11px; font-size: 12px; }
.text-link { gap: 6px; font-size: 12px; font-weight: 620; }

.messages { top: 78px; }
.alert { max-width: 680px; padding: 10px 13px; border-radius: 11px; font-size: 11.5px; box-shadow: var(--shadow-sm); }

/* Homepage hero: editorial rather than oversized marketing. */
.hero { padding: 68px 0 58px; }
.hero::before { width: 330px; height: 330px; opacity: .78; }
.hero::after { width: 310px; height: 310px; }
.hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: 58px; }
.hero-copy { max-width: 625px; }
.hero-kicker, .eyebrow { gap: 7px; font-size: 11px; font-weight: 650; letter-spacing: .075em; }
.hero-kicker span { width: 20px; height: 1px; }
.hero h1 {
  max-width: 660px;
  margin: 14px 0 16px;
  font-size: clamp(38px, 4.2vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.032em;
}
html[dir="rtl"] .hero h1 {
  font-size: clamp(35px, 4vw, 50px);
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: -.015em;
}
.hero-lead { max-width: 570px; font-size: 13.5px; line-height: 1.9; }
.hero-actions { gap: 9px; margin-top: 23px; }
.trust-row { gap: 14px; margin-top: 22px; font-size: 11px; }
.trust-row span { gap: 5px; }
.trust-row i { width: 17px; height: 17px; font-size: 11px; }
.hero-visual-wrap { min-height: 445px; }
.hero-visual { inset: 0 14px 20px 0; border-radius: 24px 24px 70px 24px; box-shadow: 0 24px 58px rgba(13, 33, 56, .13); }
html[dir="rtl"] .hero-visual { inset: 0 0 20px 14px; border-radius: 24px 24px 24px 70px; }
.hero-note { inset-inline-start: -26px; width: min(285px, 78%); gap: 10px; padding: 13px 14px; border-radius: 13px; }
.hero-note small { font-size: 11px; font-weight: 550; }
.hero-note strong { font-size: 11.5px; font-weight: 580; line-height: 1.55; }
.note-dot { width: 10px; height: 10px; border-width: 2px; }
.privacy-note { top: 24px; padding: 7px 11px; font-size: 11px; font-weight: 620; }

.confidence-grid > div { gap: 9px; padding: 16px 22px; }
.confidence-grid strong { font-size: 16px; font-weight: 500; }
.confidence-grid span { font-size: 11px; }

/* General section rhythm and typography. */
.section { padding: 70px 0; }
.section-head { gap: 22px; margin-bottom: 26px; }
.section h2, .section-head h2 {
  margin-top: 6px;
  font-size: clamp(27px, 3.2vw, 38px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -.028em;
}
html[dir="rtl"] .section h2,
html[dir="rtl"] .section-head h2 {
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -.01em;
}
.section-head > p,
.section > .container > p { font-size: 13px; line-height: 1.85; }
.editorial-split { gap: 58px; }
.image-panel { min-height: 390px; border-radius: 20px; }
.image-panel figcaption { inset-inline: 14px; bottom: 14px; padding: 10px 12px; border-radius: 10px; font-size: 11px; font-weight: 550; }

.cards { gap: 16px; }
.card { border-radius: 15px; box-shadow: none; }
.card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(42,63,50,.07); }
.card-body { padding: 16px 17px 18px; }
.card-body h3, .card h3 { margin: 5px 0 7px; font-size: 15.5px; font-weight: 620; line-height: 1.45; }
.card-body p, .card > p { font-size: 12px; line-height: 1.8; }
.card-topline, .content-meta { font-size: 11px; font-weight: 620; }
.card-footer { gap: 10px; margin-top: 13px; padding-top: 11px; font-size: 11px; }
.service-number { top: 12px; inset-inline-end: 12px; width: 32px; height: 32px; font-size: 11px; font-weight: 600; }
.image-icon { inset-inline-start: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 10px; }
.price { margin: 12px 0; font-size: 20px; font-weight: 650; }

.process-panel { padding: 34px; border-radius: 20px; }
.process-step { padding: 22px 22px 1px; }
.process-step > span { font-size: 11px; font-weight: 600; }
.process-step h3 { margin: 11px 0 6px; font-size: 14px; font-weight: 620; }
.process-step p { font-size: 11.5px; line-height: 1.75; }
.avatar { height: 250px; font-size: 56px; }
.avatar.large { width: 108px; height: 108px; margin-bottom: 14px; font-size: 36px; }
.lawyer-card .role { font-size: 11px; font-weight: 520; }

.testimonial-grid { gap: 16px; }
.testimonial-grid blockquote { min-height: 205px; padding: 20px; border-radius: 15px; }
.testimonial-grid .quote-mark { font-size: 35px; }
.testimonial-grid blockquote > p { font-size: 12px; line-height: 1.9; }
.testimonial-grid footer { margin-top: 20px; }
.testimonial-grid footer b { font-size: 11.5px; font-weight: 620; }
.testimonial-grid footer span { font-size: 11px; }

.faq-layout { gap: 56px; }
.faq-list summary { gap: 16px; padding: 15px 0; font-size: 13px; font-weight: 600; }
.faq-list summary span { width: 23px; height: 23px; }
.faq-list details p { margin-bottom: 16px; font-size: 11.8px; line-height: 1.85; }
.final-cta { gap: 24px; padding: 32px 36px; border-radius: 20px; }
.final-cta-section { padding-top: 10px; }

/* Inner page mastheads. */
.page-hero { min-height: auto; padding: 52px 0 62px; }
.page-heading { max-width: 710px; margin-bottom: 28px; }
.page-heading h1, .page-hero h1 {
  margin: 8px 0 11px;
  font-size: clamp(31px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -.03em;
}
html[dir="rtl"] .page-heading h1,
html[dir="rtl"] .page-hero h1 {
  font-size: clamp(29px, 3.8vw, 40px);
  font-weight: 600;
  line-height: 1.48;
}
.page-heading p, .lead { max-width: 660px; font-size: 13px; line-height: 1.85; }
.back-link { margin-bottom: 16px; font-size: 11px; font-weight: 580; }

/* Panels/forms: quiet borders, fine spacing, compact controls. */
.panel, .booking-summary, .auth-card { border-radius: 15px; box-shadow: var(--shadow-sm); }
.panel { padding: 20px; }
.booking-summary { padding: 19px; }
.booking-summary h3 { font-size: 14px; font-weight: 620; }
.booking-summary > div, .detail-list > div { gap: 14px; padding: 10px 0; }
.booking-summary span, .detail-list span { font-size: 11px; }
.booking-summary b, .detail-list b { font-size: 11.5px; font-weight: 620; }
.booking-summary ul { margin-top: 13px; font-size: 11px; line-height: 1.75; }

.service-detail-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) 280px; gap: 22px; }
.detail-visual { border-radius: 18px; }
.detail-visual img { min-height: 385px; }
.service-detail-copy .rich-content { font-size: 13.2px; }
.team-banner { min-height: 330px; margin-bottom: 42px; border-radius: 20px; }
.team-banner > div { max-width: 610px; padding: 54px 42px; }
.team-heading { margin-bottom: 20px; }
.lawyer-portrait { max-height: 300px; border-radius: 14px; }
.profile-context-visual { margin-top: 22px; border-radius: 15px; }
.profile-context-visual img { height: 245px; }
.profile-context-visual figcaption { padding: 9px 11px; font-size: 11px; }

/* Authentication screens: lighter, more precise. */
.auth-section { min-height: calc(100vh - 70px); padding: 42px 20px; }
.auth-shell { width: min(960px, 100%); border-radius: 21px; box-shadow: 0 22px 60px rgba(42,63,50,.09); }
.auth-shell-compact { width: min(870px, 100%); }
.auth-intro { padding: 40px 36px; }
.auth-intro h2 { margin: 12px 0 14px; font-size: 29px; font-weight: 500; line-height: 1.2; }
html[dir="rtl"] .auth-intro h2 { font-size: 27px; font-weight: 600; line-height: 1.55; }
.auth-intro p { font-size: 12px; line-height: 1.85; }
.auth-benefits { gap: 8px; margin-top: 23px; font-size: 11px; }
.otp-explainer { grid-template-columns: 26px auto 1fr 26px auto 1fr 26px auto; gap: 7px; margin-top: 28px; font-size: 11px; }
.otp-explainer span { width: 26px; height: 26px; font-weight: 700; }
.auth-card { padding: 36px 40px; }
.auth-card-head { margin-bottom: 20px; }
.auth-card-head .mini-brand { margin-bottom: 15px; }
.auth-card h1 { margin-bottom: 6px; font-size: 27px; font-weight: 500; }
html[dir="rtl"] .auth-card h1 { font-size: 25px; font-weight: 600; }
.auth-card-head p, .auth-card > p { font-size: 11.5px; line-height: 1.75; }
.auth-links, .auth-helper, .auth-footer-note, .otp-resend { gap: 6px; margin-top: 14px; font-size: 11px; }
.auth-links a, .auth-helper a, .auth-footer-note a, .auth-back { font-weight: 600; }
.auth-helper { margin-top: 19px; padding-top: 14px; }
.auth-method-divider { gap: 9px; margin: 14px 0; font-size: 11px; font-weight: 620; }
.auth-back { margin-top: 16px; font-size: 11px; }
.otp-icon { width: 48px; height: 48px; margin-bottom: 13px; border-radius: 14px; font-size: 18px; }
.otp-input { letter-spacing: .48em; font-size: 20px !important; font-weight: 700 !important; }

.field { margin-bottom: 13px; }
.field label { margin-bottom: 5px; font-size: 11px; font-weight: 600; }
.field small { margin-top: 5px; font-size: 11px; line-height: 1.55; }
.field input:not([type="checkbox"]):not([type="radio"]),
.field select,
.field textarea,
.panel input:not([type="checkbox"]):not([type="radio"]),
.panel select,
.panel textarea {
  min-height: var(--control-height);
  padding: 8px 11px;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.45;
}
.field textarea, .panel textarea { min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus,
.panel input:focus, .panel select:focus, .panel textarea:focus {
  box-shadow: 0 0 0 3px rgba(236,243,158,.36);
}
.field input[type="checkbox"], .field input[type="radio"] { width: 15px; height: 15px; }
.field ul.errorlist, .errorlist, .error, .form-errors { font-size: 11px; }
.form-errors { margin-bottom: 11px; padding: 9px 11px; border-radius: 9px; }
.optional-note { font-size: 11px; }

/* Booking: denser and easier to scan. */
.booking-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
#booking-form h3 { margin: 24px 0 11px; padding-top: 18px; font-size: 13px; font-weight: 620; }
.date-options, .slots { gap: 6px; }
.date-options button, .slot { min-width: 68px; padding: 7px 10px; border-radius: 9px; font-size: 11px; }
.slot-status { min-height: 19px; margin-bottom: 7px; font-size: 11px; }
.booking-review { margin-top: 19px; padding: 14px; border-radius: 11px; }
.booking-review dl { grid-template-columns: 105px 1fr; gap: 6px 12px; }
.booking-review dt { font-size: 11px; }
.booking-review dd { font-size: 11px; font-weight: 620; }
.payment-amount { margin: 15px 0; font-size: 29px; font-weight: 500; }
.secure-note, .muted { font-size: 11px; }
.calendar-box { margin: 15px 0; padding: 12px; border-radius: 13px; }
.calendar-head { margin-bottom: 11px; }
.calendar-head button { width: 32px; height: 32px; border-radius: 8px; }
.weekdays, .calendar-days { gap: 4px; }
.weekdays span { font-size: 11px; }
.calendar-day { min-height: 52px; border-radius: 8px; font-size: 11px; }
.calendar-legend { gap: 9px; margin-top: 10px; font-size: 11px; }

/* Dashboard/account: professional back-office density without looking cramped. */
.mini-stats, .admin-stats { gap: 10px; margin: 17px 0; }
.mini-stats > div, .admin-stats > div, .stat-card { padding: 13px 15px; border-radius: 12px; }
.mini-stats span, .admin-stats span, .stat-card span { font-size: 11px; }
.mini-stats b, .admin-stats b, .stat-card b { margin-top: 3px; font-size: 21px; font-weight: 500; }
html[dir="rtl"] .mini-stats b,
html[dir="rtl"] .admin-stats b,
html[dir="rtl"] .stat-card b { font-weight: 650; }
.dashboard-grid { grid-template-columns: 205px minmax(0, 1fr); gap: 14px; }
.account-menu { top: 90px; gap: 3px; padding: 9px; }
.account-menu a { padding: 8px 9px; border-radius: 8px; font-size: 11px; font-weight: 560; }
.appointment-detail-content { display: grid; min-width: 0; gap: 14px; }
.compact-head { margin-bottom: 11px; }
.compact-head h2 { font-size: 22px; font-weight: 560; }
.table-wrap { border-radius: 10px; }
th, td { padding: 10px 11px; font-size: 11px; }
th { font-size: 11px; font-weight: 680; }
.table-link { font-weight: 620; }
.status { padding: 4px 7px; font-size: 11px; font-weight: 620; }
.status-lg { padding: 6px 9px; font-size: 11px; }
.empty-state { gap: 6px; padding: 22px; }
.empty-state b { font-size: 13px; font-weight: 620; }
.booking-facts { gap: 8px; margin: 16px 0; }
.booking-facts > div { min-height: 70px; padding: 11px; border-radius: 10px; }
.booking-facts small { font-size: 11px; }
.appointment-title-row { gap: 14px; }
.appointment-actions { gap: 7px; margin-top: 14px; }
.payment-history { margin-top: 12px; }
.action-panel { margin-top: 15px; }
.timeline { margin: 14px 0; padding-inline-start: 18px; border-inline-start-width: 1px; }
.timeline-item { margin-bottom: 14px; }
.timeline-item::before { top: 6px; inset-inline-start: -23px; width: 8px; height: 8px; border-width: 1px; }
.management-grid, .capacity-grid, .quick-links { gap: 10px; }
.revenue-line { gap: 12px; padding: 8px 0; }

/* Private documents: compact rows and clear hierarchy. */
.document-upload-form { gap: 10px; margin: 14px 0 17px; }
.document-list { gap: 8px; }
.document-row { gap: 12px; padding: 11px 0; }
.document-row p { margin: 3px 0; font-size: 11.5px; }
.document-row small { font-size: 11px; }
.document-row .appointment-actions { gap: 6px; }

/* Reading/content pages. */
.article-page .article-cover { max-height: 460px; margin: 21px 0; border-radius: 17px; }
.content-video { display: block; width: 100%; max-height: 540px; margin: 21px 0; border-radius: 17px; background: #07121b; }
.detail-visual .content-video { margin: 0; border-radius: 0; }
.content-audio { display: grid; gap: 8px; margin: 18px 0 24px; padding: 12px 14px; border: 1px solid #dedfd5; border-radius: 13px; background: rgba(255,255,255,.72); }
.content-audio span { color: var(--green-950); font-size: 11px; font-weight: 650; }
.content-audio audio { display: block; width: 100%; }
.detail-visual .content-audio { margin: 0; border: 0; border-radius: 0; }
.article-meta, .content-meta { gap: 9px; font-size: 11px; }
.prose, .rich-content { font-size: 13.2px; line-height: 1.92; }
.prose h2, .rich-content h2 { margin-top: 28px; }
.blog-page .cards { margin-top: 21px; }
.learning-hub, .learning-latest { margin-top: 22px; }
.learning-section-cards { gap: 13px; }
.learning-section-card { padding: 16px; border-radius: 13px; }
.content-section-switch { gap: 6px; margin: 14px 0 19px; }
.content-section-switch a { padding: 6px 10px; font-size: 11px; }
.contact-visual, .about-image { border-radius: 17px; }
.contact-visual img, .about-image img { height: 330px; }
.contact-visual figcaption, .about-image figcaption { padding: 9px 11px; font-size: 11px; }
.about-layout { gap: 44px; }
.contact-choice { gap: 9px; margin: 14px 0 16px; }
.summary-kicker { margin-bottom: 13px; font-size: 11px; font-weight: 650; }
.summary-note { margin-top: 16px; padding: 10px 12px; border-radius: 10px; font-size: 11px; }
.error-page h1 { font-size: 58px; }

/* Footer: lighter visual density. */
.site-footer { padding: 46px 0 18px; }
.footer-grid { gap: 34px; }
.footer-grid h3 { margin: 10px 0 6px; font-size: 19px; font-weight: 500; }
html[dir="rtl"] .footer-grid h3 { font-weight: 600; }
.footer-grid h4 { margin-bottom: 10px; font-size: 11px; font-weight: 650; }
.footer-grid a { margin: 5px 0; font-size: 11px; }
.footer-brand p, .footer-grid p { font-size: 11px; line-height: 1.75; }
.social-links { gap: 9px; }
.footer-bottom { gap: 16px; margin-top: 34px; padding-top: 14px; font-size: 11px; }

/* Accessible keyboard treatment that stays visually subtle. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid rgba(73, 116, 74, .65);
  outline-offset: 2px;
}

@media (max-width: 1080px) {
  .main-nav { gap: 15px; }
  .main-nav > a { font-size: 11px; }
  .nav-cta { padding-inline: 11px; }
  .hero-grid { gap: 38px; }
  .service-detail-grid .booking-summary { gap: 9px; }
}

@media (max-width: 900px) {
  .container { width: min(100% - 30px, var(--container)); }
  .nav-wrap { min-height: 64px; }
  .main-nav {
    top: 64px;
    max-height: calc(100vh - 80px);
    padding: 10px;
    border-radius: 13px;
    box-shadow: 0 22px 50px rgba(32,61,46,.12);
  }
  .main-nav > a, .main-nav .link-button { padding: 9px 10px; border-radius: 8px; font-size: 11.5px; }
  .hero { padding-top: 48px; }
  .hero-grid { gap: 34px; }
  .hero-visual-wrap { min-height: 410px; }
  .section { padding: 58px 0; }
  .process-step, .process-step:first-child { padding: 17px 0; }
  .auth-intro { padding: 30px; }
  .auth-intro h2 { font-size: 26px; }
  .footer-grid { gap: 28px; }
}

@media (max-width: 640px) {
  :root { --control-height: 42px; }
  body { font-size: 13.5px; }
  .container { width: min(100% - 24px, var(--container)); }
  .brand-mark { width: 34px; height: 34px; border-radius: 9px; }
  .brand-copy strong { max-width: 130px; font-size: 11px; }
  .nav-cta { min-height: 36px; padding: 7px 9px; border-radius: 9px; font-size: 11px; }
  .language-pill { min-width: 32px; height: 32px; }
  .menu-btn { width: 36px; height: 36px; }

  .hero { padding: 38px 0 38px; }
  .hero h1 { font-size: 34px; }
  html[dir="rtl"] .hero h1 { font-size: 32px; }
  .hero-lead { font-size: 12.5px; }
  .hero-actions { gap: 8px; }
  .hero-visual-wrap { min-height: 330px; }
  .hero-visual { inset: 0 0 27px; border-radius: 20px 20px 48px 20px; }
  html[dir="rtl"] .hero-visual { inset: 0 0 27px; border-radius: 20px 20px 20px 48px; }
  .hero-note { inset-inline-start: 8px; padding: 11px 12px; }
  .privacy-note { top: 10px; inset-inline-end: 9px; }
  .confidence-grid > div { padding: 12px 3px; }

  .section { padding: 47px 0; }
  .section-head { gap: 12px; margin-bottom: 20px; }
  .section h2, .section-head h2 { font-size: 27px; }
  html[dir="rtl"] .section h2, html[dir="rtl"] .section-head h2 { font-size: 25px; }
  .card-media { height: 190px; }
  .process-panel { padding: 19px 17px; border-radius: 17px; }
  .final-cta { padding: 24px 20px; border-radius: 16px; }

  .page-hero { padding: 38px 0 46px; }
  .page-heading h1, .page-hero h1 { font-size: 31px; }
  html[dir="rtl"] .page-heading h1, html[dir="rtl"] .page-hero h1 { font-size: 29px; }
  .panel, .booking-summary { padding: 16px; border-radius: 13px; }

  .auth-section { padding: 20px 10px; }
  .auth-shell { border-radius: 17px; }
  .auth-intro { padding: 24px 21px; }
  .auth-intro h2 { font-size: 24px; }
  html[dir="rtl"] .auth-intro h2 { font-size: 23px; }
  .auth-card { padding: 27px 21px; }
  .auth-card h1 { font-size: 24px; }
  html[dir="rtl"] .auth-card h1 { font-size: 23px; }

  .booking-review dl { grid-template-columns: 82px 1fr; }
  .calendar-day { min-height: 46px; }
  .compact-head h2 { font-size: 20px; }
  .booking-facts > div { min-height: 62px; }

  .footer-grid { gap: 25px 20px; }
  .footer-bottom { gap: 4px; }
  .team-banner > div { padding: 38px 21px; }
}

/* Keep touch targets comfortable on touch devices while retaining fine desktop proportions. */
@media (pointer: coarse) {
  .btn,
  .field input:not([type="checkbox"]):not([type="radio"]),
  .field select,
  .calendar-head button,
  .language-pill,
  .menu-btn { min-height: 44px; }
  .date-options button, .slot { min-height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* === 2026 brand, typography floor, filters and account navigation === */
:root {
  --brand-navy: #0d2138;
  --brand-gold: #d3a84f;
  --text-micro: 11px;
}

html[dir="rtl"] body,
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select,
html[dir="rtl"] button {
  font-family: "Vazirmatn", "Vazir", Tahoma, Arial, sans-serif !important;
}

.brand-logo-mark { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; }
.footer-logo { width: min(230px, 100%); height: auto; display: block; margin-bottom: 10px; }

.content-filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1.8fr) repeat(3, minmax(125px, .8fr)) auto auto;
  gap: 10px;
  align-items: end;
  margin: 22px 0 12px;
  padding: 14px;
}
.content-search-field input,
.content-filter-field select { width: 100%; min-height: 40px; }
.content-filter-field label { display: block; margin-bottom: 5px; font-size: 11px; font-weight: 600; }
.filter-result-count { margin: 0 0 16px; font-size: 11.5px; color: var(--muted, #6b7774); }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

.sidebar-logout { margin-top: 5px; padding-top: 8px; border-top: 1px solid var(--line, #e4e8e5); }
.sidebar-logout button {
  width: 100%; padding: 8px 9px; border: 0; border-radius: 8px; background: transparent;
  color: #9b3c3c; text-align: inherit; font: inherit; font-size: 11.5px; font-weight: 560; cursor: pointer;
}
.sidebar-logout button:hover { background: rgba(155,60,60,.06); }
.account-form-panel h1 { margin: 6px 0 14px; font-size: clamp(28px, 3.3vw, 38px); font-weight: 560; }
.timezone-hint { display: block; margin-top: 3px; font-size: 11px; color: var(--muted, #6b7774); }

@media (max-width: 980px) {
  .content-filter-bar { grid-template-columns: 1fr 1fr; }
  .content-search-field { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .content-filter-bar { grid-template-columns: 1fr; }
  .content-search-field { grid-column: auto; }
}

/* One typographic voice across both languages and the cinematic homepage. */
html,
body,
body *,
body::before,
body::after,
body *::before,
body *::after {
  font-family: "Vazirmatn", "Vazir", Tahoma, Arial, sans-serif !important;
}

/* === Internal development payment sandbox === */
.mock-payment-page { padding-top: 34px; padding-bottom: 54px; }
.mock-payment-card { max-width: 560px; }
.mock-sandbox-badge {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 15px;
  padding: 7px 10px; border: 1px solid rgba(211,168,79,.35); border-radius: 999px;
  background: rgba(211,168,79,.08); color: #7a5d20; font-size: 11px; font-weight: 600;
}
.mock-sandbox-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-gold); box-shadow: 0 0 0 4px rgba(211,168,79,.12); }
.mock-payment-lead { margin: 7px 0 0; color: var(--muted, #6b7774); font-size: 12.5px; line-height: 1.8; }
.mock-payment-summary { margin-bottom: 16px; }
.mock-card-shell {
  margin: 18px 0; padding: 19px; min-height: 146px; border-radius: 16px;
  background: linear-gradient(145deg, #102943, #0b1d31 70%); color: #f8f4ea;
  box-shadow: 0 16px 34px rgba(12,33,56,.13); border: 1px solid rgba(255,255,255,.08);
}
.mock-card-top, .mock-card-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 11px; letter-spacing: .08em; }
.mock-card-number { margin: 31px 0 24px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 17px; letter-spacing: .08em; }
.mock-payment-actions { display: grid; gap: 9px; }
.mock-fail-button { border-color: rgba(151,62,62,.24); color: #8e3434; }
.mock-cancel-button {
  min-height: 38px; border: 0; background: transparent; color: var(--muted, #6b7774);
  font: inherit; font-size: 11.5px; font-weight: 550; cursor: pointer; border-radius: 8px;
}
.mock-cancel-button:hover { background: rgba(13,33,56,.04); color: var(--brand-navy); }
.mock-security-note { margin-top: 14px; }

/* === Lawyer directory cards === */
.team-page .lawyer-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.team-page .directory-lawyer-card {
  display: grid;
  grid-template-columns: minmax(190px, .82fr) minmax(0, 1.18fr);
  min-height: 370px;
  overflow: hidden;
  border: 1px solid #dfe1d2;
  border-radius: 20px;
  background: #fffdf8;
  box-shadow: 0 14px 38px rgba(28, 51, 40, .055);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.team-page .directory-lawyer-card:hover {
  transform: translateY(-4px);
  border-color: #c9cfad;
  box-shadow: 0 24px 56px rgba(28, 51, 40, .11);
}
.team-page .directory-lawyer-visual {
  position: relative;
  display: block;
  min-height: 370px;
  overflow: hidden;
  background: #203c31;
}
.team-page .directory-lawyer-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(9, 28, 21, .02) 42%, rgba(9, 28, 21, .76) 100%);
}
.team-page .directory-lawyer-visual > img {
  width: 100%;
  height: 100%;
  min-height: 370px;
  object-fit: cover;
  object-position: center top;
  filter: saturate(.72) contrast(1.03);
  transition: transform .55s cubic-bezier(.2, .75, .25, 1), filter .35s ease;
}
.team-page .directory-lawyer-card:hover .directory-lawyer-visual > img {
  transform: scale(1.035);
  filter: saturate(.92) contrast(1.02);
}
.team-page .directory-lawyer-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 34%, rgba(222, 229, 177, .24), transparent 34%), linear-gradient(145deg, #2b4b3d, #132c23);
}
.team-page .directory-lawyer-fallback::before,
.team-page .directory-lawyer-fallback::after {
  position: absolute;
  width: 210px;
  height: 210px;
  content: "";
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 50%;
}
.team-page .directory-lawyer-fallback::after { width: 145px; height: 145px; }
.team-page .directory-lawyer-fallback span { position: relative; z-index: 1; color: #f5f0df; font-size: 82px; font-weight: 500; }
.team-page .directory-lawyer-index {
  position: absolute;
  z-index: 2;
  top: 17px;
  inset-inline-start: 17px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  color: #fff;
  background: rgba(15, 42, 31, .22);
  backdrop-filter: blur(9px);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}
.team-page .directory-lawyer-status {
  position: absolute;
  z-index: 2;
  inset-inline: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  max-width: calc(100% - 28px);
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  color: rgba(255, 255, 255, .9);
  background: rgba(9, 28, 21, .58);
  backdrop-filter: blur(10px);
  font-size: 9.5px;
  font-weight: 650;
  line-height: 1.35;
}
.team-page .directory-lawyer-status i { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: #c3bca8; }
.team-page .directory-lawyer-status.is-available i { background: #dce888; box-shadow: 0 0 0 4px rgba(220, 232, 136, .15); }
.team-page .directory-lawyer-content { display: flex; min-width: 0; flex-direction: column; padding: 25px 24px 21px; }
.team-page .directory-lawyer-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.team-page .directory-lawyer-role {
  display: block;
  margin-bottom: 5px;
  color: #6c765c;
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: .075em;
}
html[dir="rtl"] .team-page .directory-lawyer-role { letter-spacing: 0; }
.team-page .directory-lawyer-heading h3 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 680;
  line-height: 1.35;
  letter-spacing: -.02em;
}
html[dir="rtl"] .team-page .directory-lawyer-heading h3 { line-height: 1.5; letter-spacing: 0; }
.team-page .directory-lawyer-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid #dde1c5;
  border-radius: 50%;
  color: #7b835d;
  background: #f5f4df;
  font-size: 13px;
}
.team-page .directory-lawyer-bio {
  display: -webkit-box;
  overflow: hidden;
  margin: 14px 0 16px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.82;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.team-page .directory-lawyer-practices { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 17px; }
.team-page .directory-lawyer-practices span {
  overflow: hidden;
  max-width: 100%;
  padding: 6px 9px;
  border: 1px solid #e2e3d3;
  border-radius: 999px;
  color: #536151;
  background: #faf8f0;
  font-size: 9px;
  font-weight: 650;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.team-page .directory-lawyer-facts {
  display: grid;
  grid-template-columns: minmax(82px, .75fr) minmax(0, 1.25fr);
  gap: 14px;
  margin-top: auto;
  padding: 14px 0;
  border-top: 1px solid #e4e3d8;
  border-bottom: 1px solid #e4e3d8;
}
.team-page .directory-lawyer-facts > div { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.team-page .directory-lawyer-facts > div:only-child { grid-column: 1 / -1; }
.team-page .directory-lawyer-facts strong { overflow: hidden; color: var(--green-950); font-size: 13px; font-weight: 750; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.team-page .directory-lawyer-facts strong:not(.directory-lawyer-language) { font-size: 18px; }
.team-page .directory-lawyer-facts span { color: #8a8c80; font-size: 8.5px; font-weight: 600; line-height: 1.45; text-transform: uppercase; letter-spacing: .06em; }
html[dir="rtl"] .team-page .directory-lawyer-facts span { letter-spacing: 0; }
.team-page .directory-lawyer-link { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 15px; color: var(--green-900); font-size: 10.5px; font-weight: 750; }
.team-page .directory-lawyer-link i {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #172f26;
  background: #dce888;
  font-size: 13px;
  font-style: normal;
  transition: transform .22s ease, background .22s ease;
}
.team-page .directory-lawyer-link:hover i { transform: translate(2px, -2px); background: #d0df69; }
html[dir="rtl"] .team-page .directory-lawyer-link:hover i { transform: translate(-2px, -2px); }

@media (max-width: 980px) {
  .team-page .lawyer-directory { grid-template-columns: 1fr; }
  .team-page .directory-lawyer-card { grid-template-columns: minmax(210px, .7fr) minmax(0, 1.3fr); }
}
@media (max-width: 640px) {
  .team-page .lawyer-directory { gap: 16px; }
  .team-page .directory-lawyer-card { display: block; min-height: 0; border-radius: 17px; }
  .team-page .directory-lawyer-visual,
  .team-page .directory-lawyer-visual > img { min-height: 340px; height: 340px; }
  .team-page .directory-lawyer-content { padding: 21px 19px 18px; }
  .team-page .directory-lawyer-heading h3 { font-size: 23px; }
  .team-page .directory-lawyer-bio { -webkit-line-clamp: 2; }
}

@media (prefers-reduced-motion: reduce) {
  .team-page .directory-lawyer-card,
  .team-page .directory-lawyer-visual > img,
  .team-page .directory-lawyer-link i { transition: none; }
}

/* === Rich lawyer profile === */
.lawyer-profile-page { overflow: hidden; background: #faf8f1; }
.lawyer-profile-hero { position: relative; padding: 38px 0 80px; color: #fff; background: #0d2138; }
.lawyer-profile-hero::before {
  position: absolute;
  top: -240px;
  inset-inline-end: -140px;
  width: 580px;
  height: 580px;
  content: "";
  border: 1px solid rgba(236, 215, 159, .14);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(236, 215, 159, .025), 0 0 0 180px rgba(236, 215, 159, .018);
}
.lawyer-profile-back { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 31px; color: rgba(255, 255, 255, .66); font-size: 11px; font-weight: 620; }
.lawyer-profile-back span { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; transition: background .2s ease; }
.lawyer-profile-back:hover { color: #fff; }
.lawyer-profile-back:hover span { background: rgba(255, 255, 255, .08); }
.lawyer-profile-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(330px, .82fr) minmax(0, 1.18fr); gap: clamp(48px, 7vw, 92px); align-items: center; }
.lawyer-profile-portrait { position: relative; overflow: hidden; min-height: 570px; margin: 0; border: 1px solid rgba(255, 255, 255, .14); border-radius: 3px 3px 96px 3px; background: #18344d; box-shadow: 0 34px 70px rgba(0, 0, 0, .23); }
html[dir="rtl"] .lawyer-profile-portrait { border-radius: 3px 3px 3px 96px; }
.lawyer-profile-portrait > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: saturate(.7) contrast(1.04); }
.lawyer-profile-portrait::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 58%, rgba(8, 25, 39, .82)); }
.lawyer-profile-fallback { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 36%, rgba(236, 215, 159, .22), transparent 29%), linear-gradient(145deg, #274a63, #0d2138); }
.lawyer-profile-fallback::before, .lawyer-profile-fallback::after { position: absolute; width: 350px; height: 350px; content: ""; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.lawyer-profile-fallback::after { width: 240px; height: 240px; }
.lawyer-profile-fallback span { position: relative; z-index: 1; color: #f3e5c2; font-size: 126px; font-weight: 400; }
.lawyer-profile-portrait figcaption { position: absolute; z-index: 2; inset-inline: 25px; bottom: 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: rgba(255, 255, 255, .78); font-size: 10px; font-weight: 620; text-transform: uppercase; letter-spacing: .08em; }
.lawyer-profile-portrait figcaption b { display: grid; width: 33px; height: 33px; place-items: center; border: 1px solid rgba(255, 255, 255, .24); border-radius: 50%; color: #ecd79f; font-size: 14px; }
html[dir="rtl"] .lawyer-profile-portrait figcaption { letter-spacing: 0; }
.lawyer-profile-intro { max-width: 690px; }
.lawyer-profile-availability { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 23px; padding: 8px 11px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 999px; color: rgba(255, 255, 255, .7); background: rgba(255,255,255,.035); font-size: 9.5px; font-weight: 650; text-transform: uppercase; letter-spacing: .07em; }
.lawyer-profile-availability i { width: 7px; height: 7px; border-radius: 50%; background: #aab3ba; }
.lawyer-profile-availability.is-available i { background: #dce888; box-shadow: 0 0 0 4px rgba(220,232,136,.12); }
html[dir="rtl"] .lawyer-profile-availability { letter-spacing: 0; }
.lawyer-profile-title { margin: 0 0 8px; color: #ecd79f; font-size: 12px; font-weight: 650; }
.lawyer-profile-intro h1 { margin: 0; max-width: 700px; color: #fff; font-size: clamp(45px, 5vw, 70px); font-weight: 620; line-height: 1.15; letter-spacing: -.045em; }
html[dir="rtl"] .lawyer-profile-intro h1 { font-size: clamp(40px, 4.7vw, 61px); line-height: 1.4; letter-spacing: -.015em; }
.lawyer-profile-lead { max-width: 650px; margin: 23px 0 0; color: rgba(255, 255, 255, .68); font-size: 14px; line-height: 1.95; }
.lawyer-profile-quick-facts { display: flex; flex-wrap: wrap; gap: 0; margin-top: 32px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.lawyer-profile-quick-facts > div { display: flex; min-width: 125px; max-width: 250px; flex: 1; flex-direction: column; gap: 2px; padding-inline: 20px; border-inline-end: 1px solid rgba(255,255,255,.12); }
.lawyer-profile-quick-facts > div:first-child { padding-inline-start: 0; }
.lawyer-profile-quick-facts > div:last-child { border-inline-end: 0; }
.lawyer-profile-quick-facts strong { overflow: hidden; color: #fff; font-size: 25px; font-weight: 700; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.lawyer-profile-quick-facts strong.is-text { font-size: 13px; line-height: 1.75; }
.lawyer-profile-quick-facts span { color: rgba(255,255,255,.45); font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
html[dir="rtl"] .lawyer-profile-quick-facts span { letter-spacing: 0; }
.lawyer-profile-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.lawyer-profile-hero .btn-primary { color: #0d2138; background: #ecd79f; box-shadow: none; }
.lawyer-profile-hero .btn-primary:hover { background: #f3e5c2; }
.lawyer-profile-hero .btn-secondary { color: #fff; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.04); }
.lawyer-profile-coordination { display: flex; align-items: flex-start; gap: 8px; margin: 18px 0 0; color: rgba(255,255,255,.43); font-size: 9.5px; line-height: 1.65; }
.lawyer-profile-coordination i { color: #dce888; font-style: normal; }
.lawyer-profile-body { padding: 85px 0 100px; }
.lawyer-profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(50px, 7vw, 90px); align-items: start; }
.lawyer-profile-main { min-width: 0; }
.lawyer-profile-section { padding: 0 0 65px; margin-bottom: 65px; border-bottom: 1px solid #dcddd3; }
.lawyer-profile-section:last-child { margin-bottom: 0; }
.lawyer-profile-section-head { display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 18px; align-items: start; margin-bottom: 27px; }
.lawyer-profile-section-head > span { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #d9dbc9; border-radius: 50%; color: #7f846c; font-size: 9px; font-weight: 700; }
.lawyer-profile-section-head small { display: block; margin-bottom: 5px; color: #8b8e7f; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.lawyer-profile-section-head h2 { margin: 0; color: #0d2138; font-size: clamp(27px,3vw,38px); font-weight: 650; line-height: 1.4; letter-spacing: -.025em; }
html[dir="rtl"] .lawyer-profile-section-head small { letter-spacing: 0; }
html[dir="rtl"] .lawyer-profile-section-head h2 { letter-spacing: 0; }
.lawyer-profile-prose { padding-inline-start: 64px; color: #55626e; font-size: 14px; line-height: 2.05; }
.lawyer-profile-prose p { margin: 0 0 17px; }
.lawyer-practice-grid { display: grid; gap: 10px; padding-inline-start: 64px; }
.lawyer-practice-item { display: grid; grid-template-columns: 34px minmax(0,1fr) 32px; gap: 15px; align-items: center; padding: 18px 19px; border: 1px solid #dedfd5; border-radius: 13px; background: rgba(255,255,255,.72); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.lawyer-practice-item:hover { transform: translateX(4px); border-color: #cbd0ae; background: #fff; }
html[dir="rtl"] .lawyer-practice-item:hover { transform: translateX(-4px); }
.lawyer-practice-item > span { color: #a2a28f; font-size: 9px; font-weight: 700; }
.lawyer-practice-item h3 { margin: 0; color: #17344f; font-size: 14px; font-weight: 680; }
.lawyer-practice-item p { margin: 4px 0 0; color: #7a838b; font-size: 10.5px; line-height: 1.65; }
.lawyer-practice-item > i { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; color: #17344f; background: #f3e5c2; font-size: 12px; font-style: normal; }
.lawyer-approach-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; margin-inline-start: 64px; overflow: hidden; border: 1px solid #dedfd5; border-radius: 14px; background: #dedfd5; }
.lawyer-approach-grid > div { min-height: 218px; padding: 23px 20px; background: #fffdf8; }
.lawyer-approach-grid b { color: #c3a766; font-size: 9px; }
.lawyer-approach-grid h3 { margin: 32px 0 8px; color: #17344f; font-size: 13px; font-weight: 700; }
.lawyer-approach-grid p { margin: 0; color: #737e87; font-size: 10.5px; line-height: 1.8; }
.lawyer-profile-sidebar { position: sticky; top: 105px; display: grid; gap: 18px; }
.lawyer-profile-dossier { padding: 24px; border: 1px solid #dbddd2; border-radius: 15px; background: #fff; box-shadow: 0 16px 40px rgba(13,33,56,.055); }
.lawyer-dossier-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 17px; border-bottom: 1px solid #e5e5dd; color: #17344f; font-size: 11px; font-weight: 700; }
.lawyer-dossier-head b { color: #aa9767; font-size: 9px; letter-spacing: .12em; }
.lawyer-profile-dossier dl { margin: 0; }
.lawyer-profile-dossier dl > div { display: grid; grid-template-columns: .8fr 1.2fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid #ecebe4; }
.lawyer-profile-dossier dt { color: #92978e; font-size: 9.5px; }
.lawyer-profile-dossier dd { margin: 0; text-align: end; color: #263e52; font-size: 10.5px; font-weight: 650; line-height: 1.65; }
.lawyer-dossier-note { display: flex; align-items: flex-start; gap: 11px; margin-top: 17px; padding: 13px; border-radius: 10px; color: #5d685f; background: #f4f3e7; }
.lawyer-dossier-note span { color: #a28a51; }
.lawyer-dossier-note p { margin: 0; font-size: 9.5px; line-height: 1.7; }
.lawyer-profile-cta { padding: 27px 25px; border-radius: 15px; color: #fff; background: #17344f; }
.lawyer-profile-cta .eyebrow { color: #d9c78e; font-size: 9px; }
.lawyer-profile-cta h2 { margin: 12px 0 10px; color: #fff; font-size: 21px; font-weight: 650; line-height: 1.5; }
.lawyer-profile-cta p { margin: 0 0 20px; color: rgba(255,255,255,.62); font-size: 10.5px; line-height: 1.8; }
.lawyer-profile-cta .btn { box-shadow: none; }

@media (max-width: 980px) {
  .lawyer-profile-hero-grid { grid-template-columns: minmax(280px,.75fr) minmax(0,1.25fr); gap: 45px; }
  .lawyer-profile-portrait { min-height: 500px; }
  .lawyer-profile-layout { grid-template-columns: 1fr; }
  .lawyer-profile-sidebar { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .lawyer-profile-hero { padding: 25px 0 57px; }
  .lawyer-profile-back { margin-bottom: 22px; }
  .lawyer-profile-hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .lawyer-profile-portrait { min-height: 500px; max-height: 620px; aspect-ratio: .78; }
  .lawyer-profile-intro h1 { font-size: 42px; }
  html[dir="rtl"] .lawyer-profile-intro h1 { font-size: 38px; }
  .lawyer-profile-body { padding: 58px 0 70px; }
  .lawyer-profile-section { padding-bottom: 45px; margin-bottom: 45px; }
  .lawyer-profile-prose, .lawyer-practice-grid { padding-inline-start: 0; }
  .lawyer-approach-grid { grid-template-columns: 1fr; margin-inline-start: 0; }
  .lawyer-approach-grid > div { min-height: 0; }
  .lawyer-approach-grid h3 { margin-top: 18px; }
  .lawyer-profile-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 470px) {
  .lawyer-profile-portrait { min-height: 430px; }
  .lawyer-profile-quick-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .lawyer-profile-quick-facts > div { min-width: 0; padding: 10px 13px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .lawyer-profile-quick-facts > div:nth-child(2) { border-inline-end: 0; }
  .lawyer-profile-quick-facts > div:last-child { grid-column: 1 / -1; padding-inline-start: 0; border-bottom: 0; }
  .lawyer-profile-actions { display: grid; }
  .lawyer-profile-section-head { grid-template-columns: 38px minmax(0,1fr); gap: 12px; }
  .lawyer-profile-section-head h2 { font-size: 25px; }
  .lawyer-practice-item { grid-template-columns: 26px minmax(0,1fr) 29px; gap: 10px; padding: 15px 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .lawyer-practice-item,
  .lawyer-profile-back span { transition: none; }
}
