/* Marco Dumitru · 8.1.0 · Shared typography and accessible colour system. */
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-variable.woff') format('woff');
}
:root {
  --ink: #18201e;
  --inksoft: #46514b;
  --muted: #535e57;
  --gold: #79551f;
  --gold-hover: #604116;
  --gold2: #cfb278;
  --gold-light: #f3ecde;
  --linen: #f7f7f2;
  --line: #d8dcd5;
  --field-line: #7b857d;
  --white: #fff;
  --max: 1280px;
  --radius: 14px;
  --sans: Manrope, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 160px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold-hover); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
input, textarea, select { color-scheme: light; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--sans);
  line-height: 1.23;
  letter-spacing: -.035em;
  font-weight: 800;
  text-wrap: balance;
}
p { margin: 0 0 1em; }
:where(h1, h2, h3, h4, p, li, strong, small) { overflow-wrap: break-word; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
::selection { background: #e7d8b9; color: #141a16; }
[hidden] { display: none !important; }
.container { width: min(calc(100% - 80px), var(--max)); margin-inline: auto; }
.eyebrow { color: var(--gold); font-size: 14px; font-weight: 800; letter-spacing: .10em; text-transform: uppercase; }
.skip-link { position: fixed; z-index: 99999; top: -100px; left: 16px; padding: 12px 20px; background: #fff; color: var(--ink); border: 2px solid var(--gold); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* Header: generous navigation and touch targets, including language links. */
.site-header { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
.header-inner { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-logo { display: block; width: 60px; height: 60px; object-fit: contain; }
.brand-type { display: flex; flex-direction: column; }
.brand-kicker { font-size: 14px; letter-spacing: .08em; font-weight: 750; line-height: 1.6; }
.brand-person { font-size: 25px; line-height: 1.3; letter-spacing: -.04em; font-weight: 800; }
.nav-list { display: flex; align-items: center; gap: 20px; list-style: none; margin: 0; padding: 0; }
.nav-list a { display: inline-flex; align-items: center; min-height: 48px; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; position: relative; }
.nav-list a[aria-current='page'] { color: var(--gold); }
.nav-list a[aria-current='page']::after { content: ''; position: absolute; height: 3px; bottom: 0; left: 0; right: 0; background: var(--gold); border-radius: 2px; }
.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.lang-nav { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--linen); }
.lang-nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px; font-size: 14px; font-weight: 800; text-decoration: none; border-radius: 7px; color: var(--inksoft); }
.lang-nav a[aria-current='true'] { color: var(--gold-hover); background: #fff; box-shadow: 0 1px 5px #18201e12; }
.lang-nav a:hover { color: var(--gold-hover); background: #fff; }
.appointment-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 18px; border-radius: 10px; background: var(--gold); color: #fff; text-decoration: none; font-size: 15px; font-weight: 800; }
.appointment-link:hover { background: var(--gold-hover); color: #fff; }
.appointment-link > span:first-child { font-size: 22px; line-height: 1; }
.menu-button { display: none; min-width: 48px; min-height: 48px; border: 1px solid var(--field-line); border-radius: 9px; background: #fff; color: var(--ink); font-size: 23px; }
/* Introduction: the image is in its own column; text always sits on white. */
.hero-new { background: #fff; border-bottom: 1px solid var(--line); }
.hero-new-inner { min-height: 560px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: 58px; align-items: center; padding-block: 64px; }
.hero-copy { min-width: 0; }
.hero-copy .eyebrow { display: inline-block; font-size: 14px; letter-spacing: .06em; padding: 8px 14px; background: var(--gold-light); border: 1px solid #ded0b4; border-radius: 30px; margin: 0 0 24px; }
.hero-copy h1 { font-size: clamp(40px, 4.1vw, 62px); letter-spacing: -.05em; line-height: 1.14; margin: 0 0 22px; }
.hero-copy h1 span { color: var(--gold); }
.hero-gold-rule { display: block; width: 56px; height: 3px; background: var(--gold); margin-bottom: 22px; }
.hero-copy > p:not(.eyebrow) { max-width: 620px; font-size: 19px; line-height: 1.7; color: var(--inksoft); }
.hero-visual { min-width: 0; width: 100%; aspect-ratio: 1 / 1; max-height: 420px; background: #f3f0e9 url('../images/balanta-justitiei.webp') center / cover no-repeat; border: 1px solid #d7c6a5; border-radius: 24px 24px 80px 24px; box-shadow: 16px 16px 0 var(--gold-light); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-principles { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 25px; }
.hero-principles span { display: flex; align-items: center; gap: 8px; color: var(--inksoft); font-size: 14px; font-weight: 650; }
.hero-principles span::before { content: ''; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
/* Main service cards. */
.home-services { padding: 48px 0 68px; background: #fff; }
.service-intro { margin-bottom: 22px; }
.home-services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.service-tile { min-width: 0; border: 1px solid #c8cec5; border-radius: var(--radius); padding: 32px; position: relative; background: #fff; transition: border-color .18s, box-shadow .18s; }
.service-tile::before { content: ''; position: absolute; left: 32px; top: -1px; width: 64px; height: 3px; background: var(--gold); border-radius: 2px; }
.service-tile:hover, .service-tile:focus-within { border-color: var(--gold); box-shadow: 0 10px 32px #18201e09; }
.service-tile-header { display: flex; align-items: center; gap: 16px; text-decoration: none; line-height: 1.3; }
.service-tile-icon { width: 44px; height: 44px; flex-shrink: 0; color: var(--gold); }
.service-tile-icon svg { display: block; width: 100%; height: 100%; }
.service-tile-title { font-size: 26px; letter-spacing: -.035em; font-weight: 800; }
.service-tile-arrow { margin-left: auto; flex-shrink: 0; width: 46px; height: 46px; border: 1px solid #bcc5ba; border-radius: 50%; display: grid; place-items: center; font-size: 24px; background: var(--linen); }
.service-tile-header:hover .service-tile-arrow { background: var(--ink); color: #fff; border-color: var(--ink); }
.service-tile-desc { color: var(--inksoft); font-size: 16px; margin: 21px 0; }
.service-tile-list { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; }
.service-tile-list li { display: flex; align-items: baseline; gap: 12px; font-size: 16px; }
.check-gold { color: var(--gold); font-size: 18px; font-weight: 800; }
/* Areas of practice and the first contact steps. */
.am-home-discovery { background: var(--linen); padding: 76px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.am-section-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 32px; }
.am-section-top h2 { font-size: clamp(30px, 3vw, 42px); margin: 12px 0 16px; }
.am-section-top p { color: var(--inksoft); font-size: 17px; max-width: 700px; margin: 0; }
.am-text-action { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 800; color: var(--gold); flex-shrink: 0; }
.am-featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.am-featured-card { display: flex; flex-direction: column; gap: 12px; position: relative; padding: 28px; min-height: 224px; border: 1px solid #cfd5cb; border-radius: var(--radius); text-decoration: none; background: #fff; transition: border-color .18s, box-shadow .18s; }
.am-featured-card > span { color: var(--gold); font-size: 14px; font-weight: 800; letter-spacing: .08em; }
.am-featured-card strong { font-size: 21px; letter-spacing: -.025em; line-height: 1.35; padding-right: 15px; }
.am-featured-card small { font-size: 16px; color: var(--inksoft); line-height: 1.7; }
.am-featured-card b { position: absolute; top: 22px; right: 24px; color: var(--gold); font-size: 23px; font-weight: 500; }
.am-featured-card:hover { color: var(--ink); border-color: var(--gold); box-shadow: 0 6px 22px #18201e08; }
.am-journey { padding: 76px 0; }
.am-journey-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 34px 0; }
.am-journey-grid article { min-width: 0; padding: 0 25px 0 0; }
.am-journey-grid article + article { padding-left: 25px; border-left: 1px solid #c6cec2; }
.am-journey-grid article > span { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--gold-light); color: var(--gold); font-size: 15px; font-weight: 800; }
.am-journey-grid h3 { font-size: 22px; margin: 20px 0 12px; }
.am-journey-grid p { color: var(--inksoft); font-size: 16px; margin: 0; }
/* Primary and secondary actions share a reliable 52px target. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 13px 23px; border: 1px solid transparent; border-radius: 10px; text-decoration: none; font-size: 16px; font-weight: 800; line-height: 1.55; text-align: center; transition: background .18s, border-color .18s; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #303d34; color: #fff; }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-hover); color: #fff; }
.btn--outline { border-color: var(--field-line); background: #fff; color: var(--ink); }
.btn--outline:hover { background: var(--gold-light); border-color: var(--gold); color: var(--gold-hover); }
.btn[disabled] { background: #e1e5de; border-color: #899386; color: #465041; cursor: wait; }
/* Contact details and approved orientation map. */
.home-contact { padding: 64px 0; background: var(--linen); border-top: 1px solid var(--line); }
.home-contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.home-contact-details, .home-contact-line > div { min-width: 0; }
.home-contact h2 { font-size: 34px; margin: 0 0 12px; }
.home-contact-subtitle { color: var(--inksoft); font-size: 17px; margin-bottom: 28px; }
.home-contact-line { display: flex; align-items: flex-start; gap: 16px; margin: 20px 0; }
.contact-circle { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #bda575; border-radius: 50%; color: var(--gold); font-size: 20px; background: #fff; }
.home-contact-line a { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; overflow-wrap: anywhere; }
.home-contact-line .contact-phone { font-size: 28px; letter-spacing: -.03em; font-weight: 800; text-decoration: none; }
.messenger-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.messenger-line a { gap: 8px; font-size: 16px; font-weight: 700; color: var(--inksoft); text-decoration: none; white-space: nowrap; }
.messenger-icon { display: block; flex: none; width: 44px; height: 44px; max-width: none; object-fit: contain; }
.messenger-line .messenger-icon { width: 28px; height: 28px; }
.messenger-line a:hover { color: var(--gold-hover); text-decoration: underline; }
.contact-service-type { display: block; color: var(--muted); font-size: 14px; font-weight: 700; }
.contact-hours { font-size: 15px; color: var(--inksoft); margin: 24px 0 12px; }
.contact-text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 800; color: var(--gold); }
.home-map-card { border: 1px solid #bfa371; border-radius: var(--radius); overflow: hidden; background: #fff; }
.home-map-card a { display: block; line-height: 0; }
.home-map-card img { display: block; width: 100%; height: auto; }
/* Interior pages and WordPress content. */
.page-head { background: var(--linen); padding: 58px 0; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(36px, 4vw, 56px); margin: 16px 0 20px; }
.page-head p { max-width: 850px; color: var(--inksoft); font-size: 19px; margin: 0; }
.wp-content { padding: 58px 0 76px; }
.wp-content p { max-width: 940px; }
.wp-content h2 { font-size: 36px; margin: 40px 0 18px; }
.wp-content h3 { font-size: 27px; margin: 30px 0 16px; }
.wp-content h4 { font-size: 21px; }
.wp-content ul { padding-left: 25px; }
.wp-content li { margin: 9px 0; }
.wp-content .alignwide { max-width: 1160px; }
.wp-content figure { margin-inline: 0; }
.wp-content table { display: block; overflow-x: auto; border-collapse: collapse; max-width: 100%; }
.wp-content td, .wp-content th { border: 1px solid #adb7a7; padding: 12px; }
.wp-content blockquote { margin-inline: 0; padding: 20px 26px; border-left: 3px solid var(--gold); background: var(--linen); }
.end-cta { margin-top: 48px; padding: 30px; background: var(--linen); border: 1px solid var(--line); border-radius: var(--radius); }
.end-cta h2 { font-size: 29px; margin: 0 0 14px; }
.end-cta p { font-size: 17px; color: var(--inksoft); }
/* Search and expandable service directory. */
.am-catalog { padding-bottom: 24px; scroll-margin-top: 160px; }
.am-catalog-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 32px; }
.am-catalog-heading h2 { font-size: 36px; margin: 14px 0; }
.am-catalog-heading p { font-size: 17px; color: var(--inksoft); max-width: 800px; margin: 0; }
.am-catalog-heading .btn { flex-shrink: 0; }
.am-search-panel { margin: 25px 0 30px; }
.am-search-panel label { display: block; font-size: 16px; font-weight: 800; margin-bottom: 10px; }
.am-search-input { display: flex; align-items: center; max-width: 640px; border: 1px solid var(--field-line); border-radius: 10px; background: #fff; }
.am-search-input > span { font-size: 30px; padding: 0 16px; color: var(--gold); }
.am-search-input input { width: 100%; min-width: 0; min-height: 54px; padding: 14px 16px 14px 0; border: 0; border-radius: 10px; background: transparent; font-size: 17px; }
.am-search-input:focus-within { outline: 3px solid var(--gold); outline-offset: 3px; }
.am-search-input input:focus-visible { outline: 0; }
.am-search-empty { color: #8d302b; font-size: 16px; margin-top: 12px; }
.search-count { color: var(--muted); font-size: 14px; margin-top: 9px; }
.am-directory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.am-directory-item { min-width: 0; border: 1px solid #c6cec2; border-radius: 12px; background: #fff; scroll-margin-top: 160px; }
.am-directory-item[open], .am-directory-item:target { border-color: var(--gold); background: #fffdf9; }
.am-directory-item summary { display: flex; align-items: flex-start; gap: 16px; padding: 24px; list-style: none; cursor: pointer; border-radius: 12px; }
.am-directory-item summary::-webkit-details-marker { display: none; }
.am-directory-item summary:hover { background: var(--linen); }
.am-directory-index { color: var(--gold); font-size: 14px; font-weight: 800; padding-top: 3px; }
.am-directory-main { flex: 1; min-width: 0; }
.am-directory-main strong { display: block; font-size: 20px; line-height: 1.4; letter-spacing: -.025em; margin-bottom: 9px; }
.am-directory-main > span { display: block; font-size: 16px; color: var(--inksoft); line-height: 1.7; }
.am-directory-arrow { flex-shrink: 0; font-size: 24px; color: var(--gold); }
.am-directory-item[open] .am-directory-arrow { transform: rotate(45deg); }
.am-directory-body { margin: 0 24px 0 60px; padding: 20px 0; border-top: 1px solid var(--line); font-size: 16px; color: var(--inksoft); }
.am-directory-body p { margin: 0 0 14px; }
.am-directory-body a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 800; color: var(--gold); }
.am-directory-notice { padding: 22px 26px; background: var(--linen); border-left: 3px solid var(--gold); font-size: 16px; margin-top: 28px; }
/* Service explanations, steps, and FAQ. */
.am-expanded { margin: 50px 0 36px; }
.am-expanded > h2 { font-size: 36px; margin: 14px 0 20px; }
.am-extra-lead { color: var(--inksoft); font-size: 18px; }
.am-extra-block { margin: 40px 0; }
.am-extra-block > h3, .am-faq > h3 { font-size: 28px; margin: 0 0 18px; }
.am-extra-description { color: var(--inksoft); font-size: 17px; }
.am-extra-grid, .am-date-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.am-extra-card, .am-date-card { padding: 28px; min-width: 0; border: 1px solid #cbd3c5; border-radius: 12px; background: #fff; }
.am-extra-card h4, .am-date-card h4 { font-size: 21px; margin: 0 0 14px; }
.am-extra-card p, .am-date-card p { font-size: 16px; color: var(--inksoft); margin: 0; }
.am-step-num, .am-date-card > strong { display: block; color: var(--gold); font-size: 15px; font-weight: 800; margin-bottom: 14px; }
.am-extra-notice, .am-dates { padding: 28px; background: var(--linen); border-left: 3px solid var(--gold); margin-top: 30px; }
.am-extra-notice h3 { font-size: 23px; margin: 0 0 14px; }
.am-extra-notice p { font-size: 16px; color: var(--inksoft); margin: 0; }
.am-law-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; color: var(--gold); font-weight: 800; }
.am-faq { margin: 45px 0; }
.am-faq details { border-bottom: 1px solid #bcc6b6; padding: 6px 0; }
.am-faq summary { font-size: 18px; font-weight: 750; cursor: pointer; list-style-position: outside; margin-left: 20px; padding: 16px 8px; min-height: 56px; }
.am-faq details p { font-size: 17px; color: var(--inksoft); margin: 4px 0 20px 28px; max-width: 940px; }
/* Contact page. */
.contact-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; padding-block: 48px; }
.info-panel { min-width: 0; padding: 32px; border: 1px solid #c6cec1; border-radius: var(--radius); }
.info-panel h2 { font-size: 27px; margin: 0 0 26px; }
.info-group { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 22px; }
.info-group:first-of-type { border: 0; margin-top: 0; padding-top: 0; }
.info-label { display: block; color: var(--gold); font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.info-panel p { font-size: 17px; margin: 0 0 10px; }
.info-panel a { overflow-wrap: anywhere; }
.info-panel p a { display: inline-block; min-height: 44px; padding-block: 6px; }
.muted { color: var(--muted); }
.info-panel .muted { font-size: 16px; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.social-links a { display: inline-flex; flex: 1 1 150px; align-items: center; justify-content: center; gap: 10px; min-height: 64px; padding: 8px 12px; border: 1px solid var(--field-line); border-radius: 9px; font-size: 16px; font-weight: 750; line-height: 1.4; text-decoration: none; white-space: nowrap; }
.social-links a:hover { color: var(--gold-hover); border-color: var(--gold); background: var(--gold-light); }
.contact-map { padding-bottom: 56px; }
.contact-map h2 { font-size: 36px; margin: 14px 0 18px; }
.contact-map > p { font-size: 17px; color: var(--inksoft); max-width: 850px; }
.map-frame { border: 1px solid #bfa575; overflow: hidden; border-radius: var(--radius); margin-top: 26px; }
.map-frame img { display: block; width: 100%; height: auto; }
.map-caption { padding: 16px 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--inksoft); background: var(--linen); }
.contact-map > .map-warning { font-size: 16px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 24px 0; }
/* Separate enquiries: persistent labels, defined edges, and comfortable text. */
.contact-form-section { background: var(--linen); border-top: 1px solid var(--line); padding: 68px 0 76px; scroll-margin-top: 155px; }
.form-layout { display: grid; grid-template-columns: .78fr 1.22fr; align-items: start; gap: 64px; }
.form-intro { min-width: 0; }
.form-intro h2 { font-size: 39px; margin: 16px 0 24px; }
.form-intro p { color: var(--inksoft); font-size: 17px; }
.form-intro .form-caution { font-size: 15px; padding: 20px 0 0; border-top: 1px solid #bdc6b6; margin-top: 24px; }
.enquiry-switcher { min-width: 0; }
.form-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.form-tabs button { min-width: 0; min-height: 56px; padding: 14px 12px; border: 1px solid var(--field-line); border-radius: 10px; background: #fff; color: var(--inksoft); font-size: 16px; font-weight: 800; line-height: 1.5; }
.form-tabs button[aria-selected='true'] { border-color: var(--ink); background: var(--ink); color: #fff; box-shadow: inset 0 -3px var(--gold2); }
.form-tabs button:hover:not([aria-selected='true']) { background: var(--gold-light); border-color: var(--gold); color: var(--gold-hover); }
.form-panel { min-width: 0; padding: 32px; margin-bottom: 20px; border: 1px solid #c5cec0; border-radius: var(--radius); background: #fff; box-shadow: 0 12px 32px #18201e05; }
.form-panel h3 { font-size: 26px; margin: 0 0 12px; }
.form-route { color: var(--inksoft); font-size: 16px; margin: 0 0 26px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-group { min-width: 0; margin-bottom: 22px; }
.form-group label { display: block; font-size: 16px; font-weight: 750; margin-bottom: 9px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; min-width: 0; min-height: 54px; padding: 13px 15px; border: 1px solid var(--field-line); border-radius: 9px; background: #fff; color: var(--ink); font-size: 17px; line-height: 1.6; transition: border-color .18s, box-shadow .18s; }
.form-group textarea { min-height: 170px; resize: vertical; }
.form-group input:hover, .form-group textarea:hover, .form-group select:hover { border-color: var(--inksoft); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
input::placeholder, textarea::placeholder { color: #59635c; opacity: 1; }
.form-group :user-invalid { border-color: #9b342d; }
.consent { display: flex; gap: 13px; align-items: flex-start; min-height: 44px; padding-block: 8px; line-height: 1.7; font-size: 15px; color: var(--inksoft); margin: 0 0 23px; cursor: pointer; }
.consent input { appearance: auto; flex: none; width: 22px; height: 22px; min-height: 0; margin: 3px 0 0; accent-color: var(--gold); }
.consent a { color: var(--gold); }
.form-message { padding: 16px 18px; margin: 0 0 22px; border: 1px solid #638254; border-left: 4px solid #446b35; border-radius: 8px; background: #edf4e8; color: #29451d; font-size: 16px; }
.form-message--error { border-color: #aa5849; border-left-color: #9b342d; background: #fff2ec; color: #7b2923; }
.contact-form > .btn { width: 100%; }
.form-fallback { font-size: 15px; color: var(--inksoft); margin: 20px 0 0; overflow-wrap: anywhere; }
.form-fallback a { display: inline-block; min-height: 44px; padding-block: 8px; color: var(--gold); font-weight: 750; }
.hp-field { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; }
/* Footer stays legible, including legal identity and copyright. */
.site-footer { background: var(--ink); color: #fff; padding: 44px 0 28px; }
.footer-mainline { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: 28px; border-bottom: 1px solid #566257; }
.footer-wordmark { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.footer-tag { display: block; color: #e4cea3; font-size: 14px; font-weight: 700; letter-spacing: .08em; margin-top: 5px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 650; color: #f0f3eb; text-decoration: none; }
.footer-links a:hover { color: #f4d89c; text-decoration: underline; }
.footer-compact { display: flex; justify-content: space-between; gap: 32px; padding-top: 24px; color: #dce4d7; font-size: 14px; }
.footer-identity { display: flex; gap: 8px 20px; flex-wrap: wrap; align-items: center; max-width: 760px; }
.footer-idno { font-weight: 750; color: #f0d9ab; }
.footer-identity a { display: inline-flex; align-items: center; min-height: 44px; color: #f0d9ab; }
.footer-year { white-space: nowrap; }
.back-top { display: inline-flex; align-items: center; min-height: 44px; color: #f0d9ab; font-size: 14px; margin-left: 14px; }
.site-footer a:hover { color: #fff; }
/* Room for long translations without reducing navigation text sizes. */
@media (min-width: 961px) and (max-width: 1430px) {
  .header-inner { flex-wrap: wrap; gap: 0 24px; padding-top: 14px; }
  .header-actions { margin-left: auto; }
  .site-nav { width: 100%; order: 3; margin-top: 10px; border-top: 1px solid var(--line); }
  .nav-list { justify-content: center; gap: 32px; }
  .nav-list a { min-height: 48px; }
}
@media (min-width: 1431px) and (max-width: 1630px) {
  .am-language-ru .header-inner { flex-wrap: wrap; padding-top: 14px; gap: 0 24px; }
  .am-language-ru .header-actions { margin-left: auto; }
  .am-language-ru .site-nav { order: 3; width: 100%; margin-top: 10px; border-top: 1px solid var(--line); }
  .am-language-ru .nav-list { justify-content: center; gap: 32px; }
}
@media (max-width: 1100px) {
  .container { width: calc(100% - 48px); }
  .hero-new-inner { gap: 38px; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
  .hero-copy h1 { font-size: 46px; }
  .hero-visual { max-height: 360px; border-bottom-right-radius: 52px; box-shadow: 10px 10px 0 var(--gold-light); }
  .hero-actions .btn { padding-inline: 18px; }
  .service-tile { padding: 26px; }
  .service-tile-title { font-size: 24px; }
  .am-featured-card { padding: 24px; }
  .form-layout { gap: 36px; grid-template-columns: .8fr 1.2fr; }
  .home-contact-grid { gap: 36px; }
}
@media (max-width: 960px) {
  html { scroll-padding-top: 112px; }
  .header-inner { min-height: 90px; flex-wrap: wrap; gap: 12px; }
  .header-actions { margin-left: auto; gap: 10px; }
  .brand-logo { width: 52px; height: 52px; }
  .brand-person { font-size: 23px; }
  .brand-kicker { font-size: 14px; }
  .site-nav { width: 100%; order: 5; padding: 0 0 15px; max-height: calc(100dvh - 150px); overflow-y: auto; }
  .nav-list { display: block; }
  .nav-list li { border-top: 1px solid var(--line); }
  .nav-list a { display: flex; min-height: 52px; padding: 12px 8px; font-size: 17px; white-space: normal; }
  .nav-list a[aria-current='page']::after { width: 34px; bottom: 3px; right: auto; left: 8px; }
  .am-js .site-nav { display: none; }
  .am-js .site-nav.is-open { display: block; }
  .am-js .menu-button { display: inline-grid; place-items: center; }
  .am-section-top, .am-catalog-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .am-directory-grid { grid-template-columns: 1fr; }
  .am-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-form-section, .am-directory-item, .am-catalog { scroll-margin-top: 115px; }
  .form-layout { grid-template-columns: 1fr; gap: 26px; }
  .form-intro .form-caution { max-width: 720px; }
}
@media (max-width: 780px) {
  .hero-new-inner { grid-template-columns: minmax(0, 1fr); padding: 48px 0 52px; min-height: 0; gap: 0; }
  .hero-visual { display: none; }
  .hero-copy { max-width: 680px; }
  .hero-copy h1 { font-size: clamp(38px, 6.8vw, 54px); }
  .home-services-grid, .home-contact-grid, .contact-layout { grid-template-columns: 1fr; }
  .home-contact-details { max-width: 650px; }
  .home-contact-grid { gap: 32px; }
  .contact-layout { padding-block: 32px; gap: 20px; }
  .am-journey-grid { gap: 18px; }
  .am-journey-grid article { padding-right: 10px; }
  .am-journey-grid article + article { padding-left: 16px; }
  .am-journey-grid h3 { font-size: 21px; }
  .footer-mainline { align-items: flex-start; flex-direction: column; gap: 20px; }
  .footer-compact { flex-direction: column; gap: 18px; }
  .footer-year { white-space: normal; }
  .admin-bar .site-header { top: 46px; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 36px); }
  .header-inner { position: relative; min-height: 0; padding: 12px 0; gap: 10px; }
  .brand { width: calc(100% - 58px); gap: 10px; }
  .brand-logo { width: 48px; height: 48px; }
  .brand-person { font-size: 23px; }
  .brand-kicker { font-size: 14px; letter-spacing: .06em; }
  .header-actions { width: 100%; margin-left: 0; justify-content: space-between; gap: 8px; }
  .lang-nav { padding: 2px; gap: 0; }
  .lang-nav a { min-width: 44px; min-height: 44px; }
  .appointment-link { min-height: 48px; font-size: 15px; padding: 10px 14px; margin-left: auto; }
  .menu-button { position: absolute; top: 20px; right: 0; flex-shrink: 0; }
  html { scroll-padding-top: 172px; }
  .contact-form-section, .am-directory-item, .am-catalog { scroll-margin-top: 172px; }
  .hero-new-inner { padding-block: 40px; }
  .hero-copy .eyebrow { font-size: 14px; letter-spacing: .025em; padding: 7px 11px; margin-bottom: 23px; }
  .hero-copy h1 { font-size: clamp(32px, 8vw, 46px); line-height: 1.18; letter-spacing: -.045em; }
  .hero-copy > p:not(.eyebrow) { font-size: 18px; }
  .hero-actions { flex-direction: column; margin-top: 24px; }
  .hero-actions .btn { width: 100%; min-height: 54px; }
  .hero-principles { gap: 9px; flex-direction: column; margin-top: 22px; }
  .hero-principles span { font-size: 15px; }
  .home-services { padding: 36px 0 44px; }
  .service-tile { padding: 25px 22px; }
  .service-tile::before { left: 22px; }
  .service-tile-header { flex-wrap: wrap; gap: 12px; }
  .service-tile-title { flex: 1; min-width: 0; font-size: 24px; }
  .service-tile-icon { width: 34px; height: 34px; }
  .service-tile-arrow { width: 40px; height: 40px; }
  .am-home-discovery, .am-journey { padding-block: 48px; }
  .am-section-top h2 { font-size: 32px; }
  .am-featured-grid, .am-journey-grid, .am-extra-grid, .am-date-grid { grid-template-columns: 1fr; }
  .am-featured-card { min-height: 0; padding: 25px 24px; }
  .am-featured-card strong { font-size: 22px; }
  .am-journey-grid { gap: 24px; margin: 26px 0 30px; }
  .am-journey-grid article, .am-journey-grid article + article { padding: 0 0 24px; border: 0; border-bottom: 1px solid var(--line); }
  .am-journey-grid h3 { margin: 14px 0 10px; font-size: 23px; }
  .home-contact { padding-block: 44px; }
  .home-contact h2 { font-size: 30px; }
  .home-contact-line { gap: 12px; }
  .home-contact-line .contact-phone { font-size: 26px; }
  .home-contact-line a { font-size: 16px; }
  .messenger-line { gap: 10px; }
  .messenger-line a { font-size: 16px; }
  .page-head { padding-block: 38px; }
  .page-head h1 { font-size: 36px; }
  .page-head p { font-size: 18px; }
  .wp-content { padding-block: 36px 48px; }
  .wp-content h2, .am-expanded > h2, .am-catalog-heading h2 { font-size: 30px; }
  .wp-content h3, .am-extra-block > h3 { font-size: 25px; }
  .am-directory-item summary { padding: 21px 18px; gap: 12px; }
  .am-directory-main strong { font-size: 20px; }
  .am-directory-main > span { font-size: 16px; }
  .am-directory-body { margin-inline: 48px 18px; }
  .am-extra-card, .am-extra-notice, .am-dates, .end-cta { padding: 24px 22px; }
  .info-panel { padding: 26px 22px; }
  .social-links a { flex-basis: 100%; justify-content: flex-start; }
  .info-panel h2 { font-size: 26px; }
  .contact-map h2 { font-size: 31px; }
  .map-caption { padding: 14px 17px; }
  .contact-form-section { padding-block: 44px 48px; }
  .form-intro h2 { font-size: 34px; }
  .form-tabs { gap: 8px; }
  .form-tabs button { padding: 13px 9px; font-size: 16px; }
  .form-panel { padding: 26px 20px; }
  .form-panel h3 { font-size: 25px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-group input, .form-group textarea, .form-group select { font-size: 17px; }
  .consent { font-size: 15px; }
  .footer-links { gap: 8px 22px; }
  .footer-identity { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 28px); }
  .appointment-link { font-size: 14px; padding-inline: 10px; gap: 5px; }
  .service-tile-header { display: grid; grid-template-columns: 34px 1fr; }
  .service-tile-arrow { display: none; }
  .hero-copy .eyebrow { font-size: 14px; }
  .home-contact-line .contact-phone { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (forced-colors: active) {
  .btn, .appointment-link, .form-tabs button { border: 1px solid ButtonText; }
  .lang-nav a[aria-current='true'], .form-tabs button[aria-selected='true'] { outline: 2px solid Highlight; outline-offset: -3px; }
}
@media print {
  .site-header, .site-footer, .contact-form-section, .am-search-panel, .btn, .actions, .service-tile-arrow { display: none !important; }
  body { font-size: 11pt; color: #000; background: #fff; }
  .container { width: 100%; }
  .hero-visual { display: none; }
  .hero-new-inner { display: block; min-height: 0; padding-block: 16px; }
  .hero-copy h1 { font-size: 28pt; }
  .am-directory-grid, .am-extra-grid { display: block; }
  .am-directory-item, .am-extra-card { break-inside: avoid; margin: 10px 0; }
  details > .am-directory-body { display: block !important; }
  .page-head, .home-contact, .am-home-discovery { background: #fff; }
  h1, h2, h3 { break-after: avoid; }
}

/* Blog: native WordPress posts, cover images and readable article content. */
.am-blog-section { padding: 58px 0 76px; }
.am-blog-head .eyebrow { color: var(--gold); font-size: 14px; font-weight: 800; margin-bottom: 12px; }
.am-blog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.am-post-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #c6cec4; border-radius: 16px; background: #fff; }
.am-post-cover { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--linen); }
.am-post-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.am-post-card-body { padding: 28px; display: flex; flex-direction: column; align-items: flex-start; flex-grow: 1; }
.am-post-date, .am-post-byline { font-size: 16px; color: var(--inksoft); }
.am-post-card h2 { font-size: 25px; margin: 14px 0; line-height: 1.35; }
.am-post-card h2 a { text-decoration: none; }
.am-post-card h2 a:hover { text-decoration: underline; }
.am-post-card p { font-size: 17px; color: var(--inksoft); }
.am-post-card .am-text-action { margin-top: auto; }
.am-blog-empty { max-width: 800px; padding: 48px; border: 1px solid #c6cec4; border-radius: 18px; background: #fff; }
.am-blog-empty-mark { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--gold-light); color: var(--gold); font-size: 22px; font-weight: 800; letter-spacing: -.04em; }
.am-blog-empty h2 { font-size: clamp(27px,3vw,38px); margin: 24px 0 18px; }
.am-blog-empty p { max-width: 580px; color: var(--inksoft); font-size: 18px; }
.am-reading-width { max-width: 900px; }
.am-single-post .page-head h1 { font-size: clamp(34px,4vw,54px); line-height: 1.25; }
.am-single-post .page-head .am-post-byline { font-size: 16px; }
.am-single-cover { margin: 0 0 36px; }
.am-single-cover img { display: block; width: 100%; height: auto; border-radius: 14px; }
.am-single-cover figcaption, .am-article-content figcaption { color: var(--inksoft); font-size: 16px; margin-top: 10px; }
.am-article-content { font-size: 18px; line-height: 1.85; margin-bottom: 40px; }
.am-article-content img { height: auto; }
.am-article-content iframe, .am-article-content video { max-width: 100%; }
.am-article-content .alignleft { float: left; margin: 0 28px 24px 0; }
.am-article-content .alignright { float: right; margin: 0 0 24px 28px; }
.am-article-content::after { display: block; content: ''; clear: both; }
.am-pagination { margin-top: 40px; }
.am-pagination ul { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.am-pagination .page-numbers:not(ul) { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; padding: 9px 16px; border: 1px solid var(--field-line); border-radius: 9px; text-decoration: none; font-size: 16px; }
.am-pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.am-breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 16px; color: var(--inksoft); }
.am-breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.am-practice-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 64px; align-items: start; }
.am-practice-content { min-width: 0; }
.am-practice-content > :first-child { margin-top: 0; }
.am-practice-aside { margin-block: 58px; padding: 28px; border: 1px solid #c6cec4; border-radius: 16px; background: var(--linen); }
.am-practice-aside h2 { margin: 0 0 18px; font-size: 26px; }
.am-practice-aside p { font-size: 16px; color: var(--inksoft); }
.am-practice-aside .btn { width: 100%; }
.am-practice-aside > .am-text-action { margin-block: 16px; }
.am-directory-body .am-practice-detail-link { margin-right: 22px; }
.am-home-faq { padding: 64px 0; background: var(--linen); border-block: 1px solid var(--line); }
.am-home-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.am-credentials h2, .am-faq h2 { font-size: clamp(28px,3vw,36px); margin: 14px 0 22px; }
.am-credentials p:not(.eyebrow) { color: var(--inksoft); font-size: 17px; }
.am-credentials { padding-block: 12px; }
.am-faq details { border-bottom: 1px solid #c6cec4; }
.am-faq summary { cursor: pointer; min-height: 56px; padding: 16px 0; color: var(--ink); font-size: 17px; font-weight: 750; }
.am-faq details p { color: var(--inksoft); font-size: 17px; }
.am-office-address { color: var(--inksoft); font-size: 16px; margin-block: 24px; max-width: 600px; }
@media (min-width: 961px) {
 .am-language-ru .header-inner { flex-wrap: wrap; padding-top: 14px; gap: 0 24px; }
 .am-language-ru .header-actions { margin-left: auto; }
 .am-language-ru .site-nav { order: 3; width: 100%; margin-top: 10px; border-top: 1px solid var(--line); }
 .am-language-ru .nav-list { justify-content: center; gap: 32px; }
}
@media (max-width: 1100px) {
 .am-blog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .am-practice-layout { gap: 32px; grid-template-columns: minmax(0,1fr) 290px; }
 .am-home-faq-grid { gap: 36px; }
}
@media (max-width: 780px) {
 .am-practice-layout, .am-home-faq-grid { grid-template-columns: 1fr; gap: 0; }
 .am-practice-aside { margin-top: 0; }
 .am-home-faq-grid { gap: 28px; }
}
@media (max-width: 640px) {
 .am-blog-section { padding-block: 32px 48px; }
 .am-blog-grid { grid-template-columns: 1fr; gap: 24px; }
 .am-blog-empty { padding: 28px 24px; }
 .am-post-card-body { padding: 24px; }
 .am-blog-empty p, .am-article-content { font-size: 17px; }
 .am-article-content .alignleft, .am-article-content .alignright { float: none; margin: 24px 0; }
 .am-practice-aside { padding: 24px; margin-bottom: 40px; }
 .am-home-faq { padding-block: 36px; }
}

/* Nationwide introduction: full-width heading, four readable paragraphs. */
.hero-new--expanded .hero-new-inner { grid-template-columns: minmax(0,1.4fr) minmax(0,.8fr); gap: 30px 64px; padding-block: 48px 56px; }
.hero-heading { grid-column: 1 / -1; min-width: 0; }
.hero-heading .eyebrow { display: inline-block; font-size: 14px; letter-spacing: .06em; padding: 8px 14px; background: var(--gold-light); border: 1px solid #ded0b4; border-radius: 30px; margin: 0 0 22px; }
.hero-heading h1 { max-width: 1150px; font-size: clamp(34px,3.55vw,49px); letter-spacing: -.045em; line-height: 1.2; margin: 0 0 24px; }
.hero-heading h1 span { color: var(--gold); }
.hero-heading .hero-gold-rule { margin-bottom: 0; }
.hero-intro-copy p { font-size: 17px; line-height: 1.8; color: var(--inksoft); margin: 0 0 18px; max-width: 800px; }
.hero-intro-copy p:first-child { font-size: 18px; color: var(--ink); }
.hero-new--expanded .hero-visual { align-self: center; }
.am-article-content > p:first-child { font-size: 20px; line-height: 1.8; color: var(--ink); }
.am-article-sources { padding-top: 24px; margin-top: 36px; border-top: 1px solid var(--line); font-size: 16px; }
.am-article-sources h2 { font-size: 24px; }
@media (max-width: 1100px) {
 .hero-new--expanded .hero-new-inner { gap: 28px 36px; grid-template-columns: minmax(0,1.5fr) minmax(0,.7fr); }
}
@media (max-width: 780px) {
 .hero-new--expanded .hero-new-inner { grid-template-columns: minmax(0,1fr); gap: 24px; }
 .hero-heading h1 { max-width: 720px; font-size: 38px; }
}
@media (max-width: 640px) {
 .hero-new--expanded .hero-new-inner { padding-block: 32px 40px; gap: 22px; }
 .hero-heading h1 { font-size: 32px; line-height: 1.25; letter-spacing: -.04em; }
 .hero-heading .eyebrow { margin-bottom: 18px; font-size: 13px; }
 .hero-intro-copy p, .hero-intro-copy p:first-child { font-size: 17px; line-height: 1.8; }
 .am-article-content > p:first-child { font-size: 18px; }
}
