    :root{
      --navy:#0b1736; --ink:#111827; --muted:#5b6475; --line:#d9dee8;
      --paper:#f7f5ef; --white:#ffffff; --gold:#b28a45;
    }
    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{margin:0;font-family:Georgia,"Times New Roman",serif;color:var(--ink);background:var(--paper);line-height:1.6}
    a{color:inherit;text-decoration:none}
    .top{position:sticky;top:0;z-index:10;background:rgba(247,245,239,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
    .topbar{
  background:var(--navy);
  color:#fff;
  font-family:Arial,sans-serif;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.topbar-inner{
  max-width:1180px;
  margin:0 auto;
  padding:8px 24px;
  display:flex;
  justify-content:center;
  gap:22px;
  flex-wrap:wrap;
  opacity:.92;
}
    .nav{position:relative;max-width:1180px;margin:0 auto;padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}
    .brand{display:flex;align-items:center;gap:14px}
    .mark{width:42px;height:42px;border:1px solid var(--navy);display:grid;place-items:center;color:var(--navy);font-weight:700;letter-spacing:-2px;font-family:Arial,sans-serif}
    .brand-name{font-family:Arial,sans-serif;font-weight:700;letter-spacing:.04em;font-size:14px;text-transform:uppercase;color:var(--navy)}
 .links{display:flex;gap:22px;font-family:Arial,sans-serif;font-size:14px;color:var(--navy)}
.menu-toggle{
  display:none;
  position:fixed;
  right:20px;
  top:120px;
  z-index:999999;

  width:56px;
  height:56px;

  border:2px solid var(--gold);
  background:#ffffff;
  color:var(--navy);

  font-size:30px;
  cursor:pointer;

  box-shadow:0 10px 25px rgba(0,0,0,.18);
}
.links a{
  opacity:.82;
  position:relative;
  transition:opacity .25s ease,color .25s ease;
}

.links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:1px;
  background:var(--gold);
  transition:width .25s ease;
}

.links a:hover{
  opacity:1;
  color:var(--gold);
}

.links a:hover::after{
  width:100%;
}
.lang-switch{
  font-family:Arial,sans-serif;
  font-size:12px;
  letter-spacing:.08em;
  color:var(--gold);
  padding-left:10px;
  border-left:1px solid rgba(11,23,54,.15);
}
.hero {
    background:linear-gradient(135deg,var(--paper) 0%,#fff 58%,#e9edf5 100%);
  border-bottom:1px solid var(--line);
  position:relative;
}

.hero::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:0;
  transform:translateX(-50%);
  width:72%;
  height:1px;
  background:linear-gradient(90deg,transparent,var(--gold),transparent);
  opacity:.55;
}
.hero-inner{
  max-width:1180px;
  margin:0 auto;
  padding:24px 24px 68px;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:56px;
  align-items:center;
}
    .eyebrow{font-family:Arial,sans-serif;text-transform:uppercase;letter-spacing:.18em;color:var(--gold);font-size:12px;font-weight:700}
h1{
  font-size:58px;
  line-height:1.02;
  margin:18px 0 24px;
  color:var(--navy);
  font-weight:500;
  letter-spacing:-.025em;
}
    .lead{font-size:21px;color:#2d3545;max-width:720px}
    .hero-note {
  margin-top: 18px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.76);
  letter-spacing: 0.01em;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
    .actions{margin-top:32px;display:flex;gap:14px;flex-wrap:wrap}
.btn{
  font-family:Arial,sans-serif;
  display:inline-block;
  padding:13px 20px;
  border:1px solid var(--navy);
  border-radius:2px;
  font-weight:700;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(11,23,54,.14);
}
    .btn.primary{background:var(--navy);color:#fff}.btn.secondary{background:transparent;color:var(--navy)}
    .card{background:#fff;border:1px solid var(--line);box-shadow:0 18px 45px rgba(11,23,54,.08);padding:30px}
    .card h3{margin:0 0 16px;color:var(--navy);font-size:23px}
    .quick{display:grid;gap:13px;font-family:Arial,sans-serif;color:var(--muted);font-size:15px}
    .quick strong{color:var(--ink)}
section{
  max-width:1180px;
  margin:0 auto;
  padding:72px 24px;
}
    .section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:34px}
    h2{font-size:38px;line-height:1.12;margin:0;color:var(--navy);font-weight:500}
    .section-title p{max-width:560px;margin:0;color:var(--muted);font-family:Arial,sans-serif}
    .grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.service{
  background:#fff;
  border:1px solid var(--line);
  padding:26px;
  min-height:230px;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 45px rgba(11,23,54,.08);
  border-color:rgba(178,138,69,.45);
}
    .service .num{font-family:Arial,sans-serif;color:var(--gold);font-weight:700;font-size:13px;letter-spacing:.12em}
    .service h3{color:var(--navy);font-size:22px;margin:14px 0 10px}
    .service p{color:var(--muted);font-family:Arial,sans-serif;margin:0}
.split{display:grid;grid-template-columns:.9fr 1.1fr;gap:38px;align-items:start}
   .panel{
  background:linear-gradient(145deg,var(--navy) 0%,#16264f 100%);
  color:#fff;
  padding:42px;
  border:1px solid rgba(255,255,255,.06);
  box-shadow:0 20px 55px rgba(11,23,54,.18);
}
    .panel h2{color:#fff}.panel p{color:#d9deeb;font-family:Arial,sans-serif}
    .list{display:grid;gap:14px;margin-top:20px}
    .item{border-left:3px solid var(--gold);padding-left:16px;font-family:Arial,sans-serif;color:#e9edf7}
.text-block{
  background:#fff;
  border:1px solid var(--line);
  padding:42px;
  box-shadow:0 12px 35px rgba(11,23,54,.06);
}

    .text-block p{font-family:Arial,sans-serif;color:var(--muted);margin-top:0}
    .languages{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
    .pill{font-family:Arial,sans-serif;border:1px solid var(--line);background:#fff;padding:9px 13px;color:var(--navy);font-weight:700}
    .contact{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
    .contact-inner{max-width:1180px;margin:0 auto;padding:70px 24px;display:grid;grid-template-columns:1fr 1fr;gap:34px}
    .contact-box{background:var(--paper);border:1px solid var(--line);padding:32px}
    .contact-box a{color:var(--navy);font-weight:700}
    .consult-form{
  display:grid;
  gap:14px;
}

.consult-form input,
.consult-form textarea{
  width:100%;
  border:1px solid var(--line);
  background:#fff;
  padding:14px;
  font-family:Arial,sans-serif;
  font-size:14px;
  color:var(--ink);
}

.consult-form textarea{
  min-height:140px;
  resize:vertical;
}

.consult-form input:focus,
.consult-form textarea:focus{
  outline:none;
  border-color:var(--navy);
}
    .disclaimer{font-size:13px;color:var(--muted);font-family:Arial,sans-serif;margin-top:24px}
    footer{background:var(--navy);color:#fff}
    .floating-cta{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:20;
  background:var(--navy);
  color:#fff;
  border:1px solid var(--gold);
  padding:13px 18px;
  font-family:Arial,sans-serif;
  font-size:13px;
  font-weight:700;
  letter-spacing:.04em;
  box-shadow:0 14px 35px rgba(11,23,54,.22);
}
.floating-cta:hover{
  background:#16264f;
}
    .foot{max-width:1180px;margin:0 auto;padding:34px 24px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-family:Arial,sans-serif;font-size:13px;color:#d6dced}
    .ru,.uk,.he{font-family:Arial,"Helvetica Neue",sans-serif}
    .he{direction:rtl;text-align:right}
    .lang-block{margin-top:32px;border-top:1px solid var(--line);padding-top:26px}
    @media(max-width:900px){
      .hero-inner,.split,.contact-inner{grid-template-columns:1fr}
      .grid{grid-template-columns:1fr}
      h1{font-size:42px}
      .hero-inner{
  padding:28px 20px 54px;
  gap:34px;
}

h1{
  font-size:38px;
  line-height:1.08;
  margin:14px 0 18px;
}

.lead{
  font-size:1rem;
}

.hero-trust span{
  font-size:0.72rem;
  padding:7px 10px;
}

.card{
  padding:28px;
}
.links{
  display:none;
  position:absolute;
 top:calc(100% + 10px);
  right:24px;
  background:#fff;
  border:1px solid var(--line);
  padding:18px;
  flex-direction:column;
  min-width:220px;

  z-index:999998;
  border-radius:2px;
  opacity:0;
transform:translateY(-10px);
transition:
  opacity .25s ease,
  transform .25s ease;
pointer-events:none;

  box-shadow:0 18px 45px rgba(11,23,54,.08);
}
.links.active{
  display:flex;
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}

.menu-toggle{
  display:block;
}

    }
    html{
  scroll-padding-top:120px;
}

.fade-up{
  opacity:0;
transform:translateY(32px);
  transition:
    opacity .9s ease,
    transform .9s ease;
}

.fade-up.visible{
  opacity:1;
  transform:translateY(0);
}
.hero-note {
  display: block;
  margin-top: 18px;
  font-size: 0.95rem;
  color: #4b5563;
  letter-spacing: 0.01em;
}

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

.hero-trust span {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid rgba(11, 23, 54, 0.16);
  border-radius: 999px;
  background: rgba(11, 23, 54, 0.035);
  color: #0b1736;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}  
.hero-card {
  position: relative;
}

.card-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.card-intro {
  margin: 14px 0 20px;
  color: #263244;
  font-size: 0.98rem;
  line-height: 1.55;
}
#international .split {
  align-items: stretch;
}
#international .split {
  align-items: stretch;
}
#international .text-block {
  min-height: 100%;
}
.language-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}

.language-grid .lang-block {
  margin-top: 0;
  border-top: 3px solid var(--gold);
  padding: 26px;
  background: #fff;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 35px rgba(11,23,54,.05);
}

.language-grid .lang-block h3 {
  margin-top: 0;
  color: var(--navy);
}

.language-grid .lang-block p {
  color: var(--muted);
  font-family: Arial, sans-serif;
}

@media(max-width:900px) {
  .language-grid {
    grid-template-columns: 1fr;
  }
}
@media(max-width:900px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    background: #11110f;
  }

  .top,
  .topbar,
  .nav,
  main,
  section,
  footer {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .topbar-inner {
    padding: 16px 20px;
    gap: 14px;
    flex-direction: column;
    text-align: center;
  }

  .nav {
    padding: 18px 22px;
  }

  .brand-name {
    font-size: 14px;
    line-height: 1.35;
  }

  .section-title {
    display: block;
  }

  .section-title h2 {
    font-size: 42px;
    line-height: 1.08;
    margin-bottom: 18px;
  }

  .section-title p {
    max-width: 100%;
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-inner {
    padding: 34px 22px 56px;
  }

  h1 {
    font-size: 42px;
    line-height: 1.05;
  }

  .lead {
    font-size: 1.05rem;
    line-height: 1.65;
  }

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

  .btn {
    width: 100%;
    text-align: center;
  }

  .card,
  .service,
  .panel,
  .text-block,
  .contact-box {
    padding: 30px 26px;
  }

  .floating-cta {
    left: 22px;
    right: 22px;
    bottom: 18px;
    width: auto;
    text-align: center;
  }
}

/* CSS STABILIZATION — mobile menu layer fix */
@media(max-width:900px){
  .top{
    z-index:9999;
    overflow:visible;
  }

  .nav{
    overflow:visible;
    z-index:10000;
  }

  .links{
    z-index:10001;
  }
}

/* MOBILE HERO POLISH — 2026-05-23 */
@media(max-width:900px) {
  .hero-inner {
    padding: 26px 22px 46px;
    gap: 26px;
  }

  h1 {
    font-size: 36px;
    line-height: 1.08;
    margin: 12px 0 16px;
  }

  .lead {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-note {
    margin-top: 14px;
    font-size: 0.9rem;
  }

  .hero-trust {
    gap: 8px;
    margin-top: 14px;
  }

  .hero-trust span {
    font-size: 0.68rem;
    padding: 6px 9px;
  }

  .actions {
    margin-top: 24px;
  }

  .floating-cta {
    bottom: 14px;
    font-size: 0.86rem;
    padding: 12px 18px;
  }
}

/* MOBILE FLOATING CTA POLISH — 2026-05-23 */
@media(max-width:900px) {
  .floating-cta {
    left: 28px;
    right: 28px;
    bottom: 10px;
    padding: 10px 16px;
    font-size: 0.82rem;
    border-width: 1px;
    box-shadow: 0 12px 28px rgba(11, 23, 54, 0.18);
  }

  body {
    padding-bottom: 54px;
  }
}

/* MOBILE UX — hide floating CTA on small screens — 2026-05-23 */
@media(max-width:900px) {
  .floating-cta {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}

/* ABOUT VISUAL POLISH — 2026-05-23 */
#about {
  padding-top: 54px;
}

#about .text-block h2 {
  font-size: 34px;
  line-height: 1.12;
  margin-bottom: 18px;
}

#about .text-block p {
  line-height: 1.65;
}

@media(max-width:900px) {
  #about {
    padding-top: 42px;
  }

  #about .text-block h2 {
    font-size: 30px;
  }
}

/* ABOUT MOBILE BACKGROUND FIX — 2026-05-23 */
#about {
  background: var(--paper);
}

@media(max-width:900px) {
  #about {
    background: var(--paper);
    padding-left: 22px;
    padding-right: 22px;
  }

  #about .split {
    gap: 24px;
  }
}

/* HERO ABOUT GAP POLISH — 2026-05-23 */
#about {
  padding-top: 36px;
}

@media(max-width:900px) {
  #about {
    padding-top: 42px;
  }
}

/* CONTACT CHECKLIST READABILITY FIX — 2026-05-27 */
.contact-box .list .item {
  color: var(--ink);
}

.contact-box .list {
  margin: 24px 0;
}

.contact-box .list .item {
  margin-bottom: 12px;
}

/* CONTACT DARK CHECKLIST TEST — 2026-05-27 */
.contact-box .consult-form {
  background: var(--navy);
  padding: 30px;
  border: 1px solid rgba(194, 145, 61, 0.55);
}

.contact-box .consult-form h3,
.contact-box .consult-form .item {
  color: #fff;
}

.contact-box .consult-form .btn.primary {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
  margin-top: 8px;
}

/* CONTACT CTA AND EMAIL VISIBILITY — 2026-05-27 */
.contact-box .consult-form .btn.primary {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  text-align: center;
  box-shadow: 0 14px 32px rgba(194, 145, 61, 0.22);
}

.contact-box .consult-form .btn.primary:hover {
  background: #b68232;
  border-color: #b68232;
  color: #fff;
}

.contact-box .direct-email {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: Arial, sans-serif;
  font-size: 0.92rem;
  line-height: 1.5;
}

.contact-box .direct-email a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(194, 145, 61, 0.75);
}

.contact-box .direct-email a:hover {
  color: var(--gold);
}

/* CONTACT MOBILE COMPACT POLISH — 2026-05-27 */
@media(max-width:900px) {
  .contact-box .consult-form {
    padding: 24px 22px;
  }

  .contact-box .consult-form h3 {
    font-size: 1.05rem;
    line-height: 1.35;
    margin-bottom: 18px;
  }

  .contact-box .consult-form .list {
    margin: 18px 0 22px;
  }

  .contact-box .consult-form .item {
    font-size: 0.92rem;
    line-height: 1.45;
    margin-bottom: 14px;
  }

  .contact-box .consult-form .btn.primary {
    padding: 13px 16px;
    font-size: 0.95rem;
  }

  .contact-box .direct-email {
    font-size: 0.9rem;
    margin-top: 16px;
  }
}

/* LANGUAGES MOBILE READABILITY POLISH — 2026-05-27 */
@media(max-width:900px) {
  .language-grid {
    gap: 18px;
    margin-top: 24px;
  }

  .language-grid .lang-block {
    padding: 24px 22px;
  }

  .language-grid .lang-block h3 {
    font-size: 1.15rem;
    line-height: 1.35;
    margin-bottom: 14px;
  }

  .language-grid .lang-block p {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .languages {
    gap: 8px;
  }

  .languages .pill {
    font-size: 0.8rem;
    padding: 7px 10px;
  }
}

/* LANGUAGES MOBILE TITLE CONTRAST FIX — 2026-05-27 */
@media(max-width:900px) {
  #languages .section-title h2 {
    color: #fff;
  }

  #languages .section-title p {
    color: rgba(255, 255, 255, 0.82);
  }
}

/* MOBILE COMPACT POLISH AFTER TEXT UPDATES — 2026-05-28 */
@media(max-width:900px) {
  #services .grid {
    gap: 16px;
  }

  #services .service {
    padding: 24px 20px;
  }

  #services .service h3 {
    font-size: 1.25rem;
    line-height: 1.28;
    margin-bottom: 12px;
  }

  #services .service p {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .contact-box .consult-form {
    padding: 26px 24px;
  }

  .contact-box .consult-form h3 {
    margin-bottom: 22px;
  }

  .contact-box .consult-form .list {
    margin: 16px 0 24px;
  }

  .contact-box .consult-form .item {
    font-size: 0.96rem;
    line-height: 1.48;
    margin-bottom: 18px;
  }
}

/* MOBILE DARK SECTION TITLE CONTRAST + FOOTER STACK FIX — 2026-05-28 */
@media(max-width:900px) {
  #services .section-title h2,
  #international .section-title h2,
  #clients .section-title h2,
  #trust .section-title h2,
  #languages .section-title h2,
  #contact .section-title h2 {
    color: #fff;
  }

  #services .section-title p,
  #international .section-title p,
  #clients .section-title p,
  #trust .section-title p,
  #languages .section-title p,
  #contact .section-title p {
    color: rgba(255, 255, 255, 0.82);
  }

  footer .foot {
    grid-template-columns: 1fr;
    gap: 22px;
    text-align: left;
  }

  footer .foot > div {
    width: 100%;
  }
}

/* MODEL A CONTACT SAFE POLISH — 2026-05-29
   Safe version: spacing/readability only.
   No color or contrast changes.
*/

#contact {
  scroll-margin-top: 90px;
}

#contact .section-inner,
#contact .container {
  max-width: 1120px;
}

#contact p {
  line-height: 1.7;
}

#contact a {
  word-break: break-word;
}

#contact .contact-grid,
#contact .contact-cards,
#contact .contact-list {
  gap: 1rem;
}

#contact .card,
#contact .contact-card {
  padding: 1.15rem;
}

@media (max-width: 768px) {
  #contact {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  #contact .card,
  #contact .contact-card {
    padding: 1rem;
  }

  #contact p,
  #contact li {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  #contact a {
    line-height: 1.5;
  }
}


/* MODEL A MOBILE VERTICAL RHYTHM POLISH — 2026-05-29
   Safe mobile-only spacing reduction.
   No color, contrast, content or structure changes.
*/

@media (max-width: 768px) {
  section {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .section,
  .site-section {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .section-header,
  .section-intro {
    margin-bottom: 1.5rem;
  }

  .services,
  .international,
  .languages,
  .contact {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .card,
  .service-card,
  .language-card,
  .contact-card {
    margin-bottom: 1rem;
  }

  .card:last-child,
  .service-card:last-child,
  .language-card:last-child,
  .contact-card:last-child {
    margin-bottom: 0;
  }
}


/* MODEL A HEADER BRAND POLISH — 2026-05-29
   Safe header-only improvement.
   Strengthens logo and office name.
   No structure, color scheme or content changes.
*/

.mark {
  font-weight: 900;
  letter-spacing: -0.04em;
  border-width: 1.8px;
  box-shadow: inset 0 0 0 1px rgba(10, 27, 61, 0.18);
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.015em;
}

.brand-name br + * {
  font-weight: 700;
}

@media (max-width: 768px) {
  .mark {
    width: 46px;
    height: 46px;
    font-size: 1.08rem;
  }

  .brand-name {
    font-size: 1.02rem;
    line-height: 1.15;
  }
}


/* MODEL A YK MARK POLISH — 2026-05-29
   Strengthens the YK monogram only.
   No layout, text or section changes.
*/

.mark {
  background: #0b1838;
  color: #ffffff;
  border: 1.8px solid #b8924a;
  font-weight: 900;
  letter-spacing: -0.05em;
  box-shadow: 0 0 0 1px rgba(184, 146, 74, 0.18);
}


/* MODEL A BRAND TEXT HIERARCHY — 2026-05-29
   Separates attorney name from office descriptor.
   Header only.
*/

.brand-name {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  line-height: 1.05;
}

.brand-person {
  font-size: 1.03rem;
  font-weight: 900;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.brand-office {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .brand-person {
    font-size: 1.02rem;
  }

  .brand-office {
    font-size: 0.84rem;
  }
}


/* MODEL A BRAND LINE SPACING TWEAK — 2026-05-29
   Slightly increases spacing between name and office line.
   Header brand text only.
*/

.brand-name {
  gap: 0.18rem;
}

@media (max-width: 768px) {
  .brand-name {
    gap: 0.16rem;
  }
}



/* MODEL_A_LANGUAGE_ARCHITECTURE_2026-05-30 */
.nav-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.35rem;
  padding-left: 0.7rem;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.nav-lang-switch a,
.hero-language-links a,
.compact-language-links a {
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.nav-lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2rem;
  padding: 0.2rem 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav-lang-switch a:hover,
.nav-lang-switch a.active {
  border-color: rgba(218, 179, 92, 0.9);
  background: rgba(218, 179, 92, 0.16);
}

.hero-language-panel {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(218, 179, 92, 0.5);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.07);
}

.hero-language-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-language-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hero-language-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.55rem;
  padding: 0.42rem 0.58rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-language-links a:hover,
.hero-language-links a.active {
  border-color: rgba(218, 179, 92, 0.95);
  background: rgba(218, 179, 92, 0.18);
  transform: translateY(-1px);
}

.languages-compact {
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
}

.compact-language-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.compact-language-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(11, 23, 54, 0.18);
  border-radius: 999px;
  color: inherit;
  font-weight: 700;
}

.compact-language-links a:hover,
.compact-language-links a.active {
  border-color: rgba(163, 119, 31, 0.75);
  background: rgba(218, 179, 92, 0.13);
  transform: translateY(-1px);
}

@media (max-width: 860px) {
  .nav-lang-switch {
    margin: 0.7rem 0 0;
    padding: 0.75rem 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hero-language-panel {
    display: flex;
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }
}


/* MODEL_A_LANGUAGES_COMPACT_CONTRAST_FIX_2026-05-30 */
.languages-compact .compact-language-links a {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(218, 179, 92, 0.58);
  background: rgba(255, 255, 255, 0.045);
}

.languages-compact .compact-language-links a:hover,
.languages-compact .compact-language-links a.active {
  color: #ffffff;
  border-color: rgba(218, 179, 92, 0.96);
  background: rgba(218, 179, 92, 0.18);
}


/* MODEL_A_FINAL_HEADER_LANGUAGE_POLISH_2026-05-30 */

/* Slightly stronger visual hierarchy for the office name */
.brand-text strong,
.brand-copy strong,
.brand-name,
.brand .name {
  font-size: 1.08em;
  letter-spacing: 0.025em;
}

/* Keep the mobile menu button optically centered inside the header strip */
.menu-toggle {
  align-self: center;
  margin-top: auto;
  margin-bottom: auto;
}

/* Desktop: use the navigation language switch only */
.hero-language-panel {
  display: none;
}

/* Desktop navigation language switch: keep all options visually balanced */
.nav-lang-switch a {
  color: inherit;
  opacity: 0.92;
}

.nav-lang-switch a.active {
  opacity: 1;
}

/* Mobile: use the Hero language selector as the primary language entry point */
@media (max-width: 860px) {
  .nav-lang-switch {
    display: none;
  }

  .hero-language-panel {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.62rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 0.78rem 0.88rem;
    border: 1px solid rgba(186, 139, 49, 0.62);
    border-radius: 0.85rem;
    background: rgba(218, 179, 92, 0.085);
  }

  .hero-language-label {
    color: #0b1736;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
  }

  .hero-language-links {
    gap: 0.48rem;
  }

  .hero-language-links a {
    min-width: 2.65rem;
    padding: 0.44rem 0.62rem;
    border-color: rgba(11, 23, 54, 0.3);
    background: rgba(255, 255, 255, 0.62);
    color: #0b1736;
  }

  .hero-language-links a:hover,
  .hero-language-links a.active {
    border-color: rgba(186, 139, 49, 0.92);
    background: #0b1736;
    color: #ffffff;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}


/* MODEL_A_BRAND_MENU_REAL_FIX_2026-05-30 */

/* Make the principal office name clearly more visible.
   Use several selectors because the current markup may vary between snapshots. */
.brand-text strong:first-child,
.brand-copy strong:first-child,
.brand-name,
.brand .name,
.logo-text strong:first-child,
.nav-brand strong:first-child,
header .brand strong:first-child {
  display: block;
  font-size: 1.18em !important;
  line-height: 1.05 !important;
  letter-spacing: 0.035em !important;
}

/* Preserve a clear secondary level for LAW OFFICE & NOTARY */
.brand-text span,
.brand-copy span,
.brand-subtitle,
.brand .subtitle,
.logo-text span,
.nav-brand span {
  display: block;
  margin-top: 0.2rem;
  line-height: 1.15;
}

/* Mobile header: center menu button inside the full visible strip */
@media (max-width: 860px) {
  .nav-inner,
  .header-inner,
  .site-header-inner,
  header nav > div {
    align-items: center !important;
  }

  .menu-toggle {
    position: relative !important;
    top: 0 !important;
    bottom: auto !important;
    align-self: center !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    transform: none !important;
  }
}


/* MODEL_A_BRAND_TWO_LINES_FIX_2026-05-30 */

/* Exact brand structure:
   YURY KANEVSKY
   LAW OFFICE & NOTARY */
.brand-name {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 0.18rem !important;
  line-height: 1 !important;
}

.brand-person {
  display: block !important;
  margin: 0 !important;
  font-size: 1rem !important;
  line-height: 1.02 !important;
  font-weight: 800 !important;
  letter-spacing: 0.045em !important;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-office {
  display: block !important;
  margin: 0 !important;
  font-size: 0.72rem !important;
  line-height: 1.05 !important;
  font-weight: 700 !important;
  letter-spacing: 0.045em !important;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .brand-person {
    font-size: 0.98rem !important;
  }

  .brand-office {
    font-size: 0.7rem !important;
  }
}


/* MODEL_A_CARD_DEPTH_ENRICHMENT_2026-05-30 */

/* Enrich light cards without making the site flashy */
.card,
.service,
.text-block {
  box-shadow:
    0 14px 34px rgba(11, 23, 54, 0.065),
    0 4px 14px rgba(194, 145, 61, 0.06);
  border-color: rgba(11, 23, 54, 0.12);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

/* Slight premium separation for trust cards */
#trust .service,
#services .service,
#international .text-block,
#clients .text-block {
  box-shadow:
    0 16px 38px rgba(11, 23, 54, 0.075),
    0 6px 18px rgba(194, 145, 61, 0.07);
}

/* Desktop hover only: cards should gently lift and feel alive */
@media (min-width: 861px) {
  .card:hover,
  .service:hover,
  .text-block:hover {
    transform: translateY(-4px);
    border-color: rgba(186, 139, 49, 0.42);
    box-shadow:
      0 22px 52px rgba(11, 23, 54, 0.11),
      0 10px 24px rgba(194, 145, 61, 0.12);
  }
}

/* Keep mobile calm and stable */
@media (max-width: 860px) {
  .card,
  .service,
  .text-block {
    box-shadow:
      0 10px 24px rgba(11, 23, 54, 0.06),
      0 3px 10px rgba(194, 145, 61, 0.05);
  }
}


/* MODEL_A_DESKTOP_LOWER_LANGUAGES_HIDE_2026-05-30 */

/* Desktop already has the primary language selector in the header.
   Keep the lower section clean and concise. */
@media (min-width: 861px) {
  .languages-compact .compact-language-links {
    display: none;
  }
}

/* Mobile keeps the secondary language access point. */
@media (max-width: 860px) {
  .languages-compact .compact-language-links {
    display: flex;
  }
}


/* MODEL_A_MOBILE_RU_UA_OVERFLOW_AND_LANGUAGE_FONT_FIX_2026-05-30 */

/* Language controls: remove inherited serif styling in every language version */
.hero-language-label,
.hero-language-links a,
.compact-language-links a {
  font-family: Arial, Helvetica, sans-serif !important;
  font-style: normal !important;
  letter-spacing: 0.01em;
}

.hero-language-links a,
.compact-language-links a {
  font-weight: 700 !important;
}

/* Mobile RU / UA: protect narrow screens from text inflation and horizontal overflow */
@media (max-width: 860px) {
  html[lang="ru"],
  html[lang="uk"] {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden;
  }

  html[lang="ru"] body,
  html[lang="uk"] body {
    overflow-x: hidden;
  }

  html[lang="ru"] main,
  html[lang="ru"] section,
  html[lang="ru"] .hero,
  html[lang="ru"] .hero-copy,
  html[lang="ru"] .hero-card,
  html[lang="ru"] .split,
  html[lang="ru"] .section-title,
  html[lang="ru"] .services-grid,
  html[lang="ru"] .service,
  html[lang="ru"] .card,
  html[lang="ru"] .panel,
  html[lang="ru"] .text-block,
  html[lang="ru"] .contact-inner,
  html[lang="ru"] .contact-card,
  html[lang="uk"] main,
  html[lang="uk"] section,
  html[lang="uk"] .hero,
  html[lang="uk"] .hero-copy,
  html[lang="uk"] .hero-card,
  html[lang="uk"] .split,
  html[lang="uk"] .section-title,
  html[lang="uk"] .services-grid,
  html[lang="uk"] .service,
  html[lang="uk"] .card,
  html[lang="uk"] .panel,
  html[lang="uk"] .text-block,
  html[lang="uk"] .contact-inner,
  html[lang="uk"] .contact-card {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  html[lang="ru"] h1,
  html[lang="uk"] h1 {
    font-size: clamp(2rem, 8.5vw, 2.85rem) !important;
    line-height: 1.08 !important;
    overflow-wrap: break-word;
  }

  html[lang="ru"] h2,
  html[lang="uk"] h2 {
    font-size: clamp(1.65rem, 7vw, 2.2rem) !important;
    line-height: 1.14 !important;
    overflow-wrap: break-word;
  }

  html[lang="ru"] h3,
  html[lang="uk"] h3 {
    font-size: clamp(1.25rem, 5.4vw, 1.65rem) !important;
    line-height: 1.22 !important;
    overflow-wrap: break-word;
  }

  html[lang="ru"] p,
  html[lang="ru"] li,
  html[lang="ru"] .item,
  html[lang="uk"] p,
  html[lang="uk"] li,
  html[lang="uk"] .item {
    max-width: 100% !important;
    font-size: 1rem !important;
    line-height: 1.58 !important;
    overflow-wrap: break-word;
    word-break: normal;
  }

  html[lang="ru"] .panel,
  html[lang="ru"] .text-block,
  html[lang="ru"] .service,
  html[lang="ru"] .card,
  html[lang="ru"] .contact-card,
  html[lang="uk"] .panel,
  html[lang="uk"] .text-block,
  html[lang="uk"] .service,
  html[lang="uk"] .card,
  html[lang="uk"] .contact-card {
    width: 100% !important;
    padding: 1.35rem !important;
  }

  html[lang="ru"] .split,
  html[lang="ru"] .services-grid,
  html[lang="ru"] .contact-inner,
  html[lang="uk"] .split,
  html[lang="uk"] .services-grid,
  html[lang="uk"] .contact-inner {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html[lang="ru"] .compact-language-links,
  html[lang="uk"] .compact-language-links {
    gap: 0.65rem !important;
    flex-wrap: wrap !important;
  }

  html[lang="ru"] .compact-language-links a,
  html[lang="uk"] .compact-language-links a {
    font-size: 0.95rem !important;
    line-height: 1.1 !important;
  }
}


/* WEBSITE_2_1_MULTILINGUAL_WHATSAPP_CTA_2026-05-30 */

/* Free WhatsApp consultation channel */
.whatsapp-btn {
  border-color: #1f7a5a !important;
  background: #1f7a5a !important;
  color: #ffffff !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 700 !important;
}

.whatsapp-btn:hover {
  border-color: #195f47 !important;
  background: #195f47 !important;
  color: #ffffff !important;
}

.whatsapp-floating {
  border-color: #1f7a5a !important;
  background: #1f7a5a !important;
  color: #ffffff !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 700 !important;
}

.whatsapp-floating:hover {
  border-color: #195f47 !important;
  background: #195f47 !important;
  color: #ffffff !important;
}

/* Let Hero buttons wrap cleanly when WhatsApp is added */
.actions {
  flex-wrap: wrap;
}


/* WEBSITE_2_2_GA4_CONSENT_BANNER_2026-05-30 */
.cookie-consent {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 9999;
  display: flex;
  justify-content: center;
}

.cookie-consent__inner {
  width: min(920px, 100%);
  padding: 1rem 1.1rem;
  border: 1px solid rgba(180, 132, 44, 0.7);
  background: rgba(17, 17, 18, 0.97);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.42);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-consent__copy strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 1rem;
}

.cookie-consent__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  line-height: 1.45;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  flex: 0 0 auto;
}

.cookie-consent button {
  min-height: 42px;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.cookie-consent__accept {
  border: 1px solid #a87924;
  background: #a87924;
  color: #ffffff;
}

.cookie-consent__decline {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #ffffff;
}

html[dir="rtl"] .cookie-consent__inner {
  direction: rtl;
}

@media (max-width: 700px) {
  .cookie-consent {
    inset: auto 0.65rem 0.65rem 0.65rem;
  }

  .cookie-consent__inner {
    display: block;
    padding: 0.9rem;
  }

  .cookie-consent__actions {
    margin-top: 0.85rem;
  }
}


/* SITE_2_3_CONTACT_ACTIONS_ANCHOR */
#contact-actions {
  scroll-margin-top: 120px;
}


/* SITE_2_3_QUICK_CONTACT_ACTIONS */
.quick-contact-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.quick-contact-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  text-align: center;
  text-decoration: none;
  font-weight: 700;
}

.quick-contact-actions a:hover {
  border-color: var(--navy);
}

@media (max-width: 700px) {
  .quick-contact-actions {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 16px;
  }

  .quick-contact-actions a {
    min-height: 44px;
  }
}


/* SITE_2_3_QUICK_CONTACT_COLORS */
.quick-contact-actions a {
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 18px rgba(11, 23, 54, 0.10);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.quick-contact-actions a:nth-child(1) {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

.quick-contact-actions a:nth-child(2) {
  background: #1f7a5a;
  border-color: #1f7a5a;
  color: #ffffff;
}

.quick-contact-actions a:nth-child(3) {
  background: var(--gold);
  border-color: var(--gold);
  color: #ffffff;
}

.quick-contact-actions a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(11, 23, 54, 0.16);
  color: #ffffff;
}

.quick-contact-actions a:nth-child(1):hover {
  background: #16264f;
  border-color: #16264f;
}

.quick-contact-actions a:nth-child(2):hover {
  background: #195f47;
  border-color: #195f47;
}

.quick-contact-actions a:nth-child(3):hover {
  background: #9d7839;
  border-color: #9d7839;
}
