/* VET-UI-02: site-wide presentation only; Bootstrap 4 and legacy JS remain unchanged. */
body.vet-modern-layout {
  --vet-green: #10846d;
  --vet-dark: #153e38;
  --vet-text: #29463f;
  --vet-muted: #6c817b;
  --vet-line: #dfece7;
  --vet-surface: #f5faf7;
  background: #f9fbfa;
  color: var(--vet-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Source Sans Pro", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-shadow: none;
}
body.vet-modern-layout a { color: #087d68; }
body.vet-modern-layout a:hover { color: #06614f; }
body.vet-modern-layout .container-fluid { max-width: 1280px; }
body.vet-modern-layout h1,
body.vet-modern-layout h2,
body.vet-modern-layout h3,
body.vet-modern-layout h4 { color: var(--vet-dark); font-weight: 700; line-height: 1.28; text-shadow: none; }
body.vet-modern-layout h1 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); border-bottom: 1px solid var(--vet-line); padding-bottom: 14px; margin-bottom: 18px; }
body.vet-modern-layout h2 { font-size: 1.5rem; }
body.vet-modern-layout .btn { border-radius: 9px; box-shadow: none; font-weight: 600; }
body.vet-modern-layout .btn.btn-primary { background: var(--vet-green); border-color: var(--vet-green); color: #fff; }
body.vet-modern-layout .btn.btn-primary:hover,
body.vet-modern-layout .btn.btn-primary:focus { background: #096653; border-color: #096653; color: #fff; }
body.vet-modern-layout .form-control,
body.vet-modern-layout select,
body.vet-modern-layout textarea { border-radius: 9px; border-color: #d2e4dc; }
body.vet-modern-layout .form-control:focus { border-color: #49ad94; box-shadow: 0 0 0 3px rgba(16,132,109,.13); }
body.vet-modern-layout :focus-visible { outline: 3px solid #ddae55; outline-offset: 2px; }
body.vet-modern-layout .vet-site-header {
  padding: 15px 25px 12px;
  margin-top: 18px !important;
  margin-bottom: 13px;
  background: #fff;
  border: 1px solid var(--vet-line);
  border-radius: 18px;
  box-shadow: 0 7px 25px rgba(25,77,62,.055);
}
body.vet-modern-layout .vet-site-header > .row { align-items: center; }
body.vet-modern-layout .vet-site-header #logo {
  width: 90px;
  height: 94px;
  margin: 0 auto 0 0 !important;
  background: url(/img/logo115.png) no-repeat center center;
  background-size: contain;
}
body.vet-modern-layout .vet-site-header .title-name {
  position: static !important;
  display: block !important;
  line-height: 1.18;
  font-size: 1.37rem;
  letter-spacing: -.02em;
  margin: 0 !important;
  padding: 4px 0 3px;
}
body.vet-modern-layout .vet-site-header .title-name strong { color: var(--vet-dark) !important; font-weight: 750; }
body.vet-modern-layout .vet-site-header .slogan {
  display: block;
  color: var(--vet-muted);
  font-size: .78rem;
  font-weight: 400;
  text-shadow: none;
  margin-top: 7px;
  max-width: 400px;
  line-height: 1.4;
}
body.vet-modern-layout .vet-site-header .vet-contact-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  text-align: right;
  min-width: 0;
}
body.vet-modern-layout .vet-site-header .phonelist {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  margin: 3px 0 0 !important;
  font-size: .92rem;
  line-height: 1.35;
}
body.vet-modern-layout .vet-site-header .phonelist a {
  color: var(--vet-dark);
  text-decoration: none;
  font-weight: 650;
}
body.vet-modern-layout .vet-site-header .phonelist > div {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  margin-top: 0 !important;
}
body.vet-modern-layout .vet-site-header .phonelist i {
  color: var(--vet-green);
  margin-right: 0 !important;
  width: 17px;
  text-align: center;
  flex: 0 0 17px;
}
body.vet-modern-layout .vet-site-header .langs { font-size: .78rem; }
body.vet-modern-layout .vet-site-header .dropdown-toggle {
  color: var(--vet-dark);
  font-weight: 700;
  border: 1px solid var(--vet-line);
  background: #f6faf8;
  padding: 5px 10px !important;
  border-radius: 8px;
}
body.vet-modern-layout .vet-site-header .dropdown-menu {
  border: 1px solid var(--vet-line);
  border-radius: 11px;
  box-shadow: 0 10px 30px rgba(22,66,55,.12);
  padding: 5px;
}
body.vet-modern-layout .vet-site-header .dropdown-item { border-radius: 6px; }
body.vet-modern-layout .vet-site-header .vet-account-links {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  column-gap: 8px;
  row-gap: 2px;
  margin: 0;
  max-width: 100%;
  color: var(--vet-muted);
  font-size: .78rem;
  line-height: 1.35;
}
body.vet-modern-layout .vet-site-header .vet-account-links > .float-right { float: none !important; }
body.vet-modern-layout .vet-site-header .vet-account-links .user-hello {
  max-width: 200px;
  min-width: 0;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
body.vet-modern-layout .vet-main-navigation {
  background: none !important;
  box-shadow: none !important;
  padding: 0 13px !important;
}
body.vet-modern-layout .vet-main-navigation .navbar {
  background: #10846d;
  border: 1px solid #0b7864;
  box-shadow: 0 6px 16px rgba(18,89,70,.12);
  border-radius: 13px;
  padding: 7px 12px;
  margin: 0;
  min-height: 52px;
  text-shadow: none;
}
body.vet-modern-layout .vet-main-navigation .navbar-nav { align-items: center; gap: 4px; }
body.vet-modern-layout .vet-main-navigation .nav-item { margin: 0; padding: 0; }
body.vet-modern-layout .vet-main-navigation .nav-link.navbar-brand {
  color: #fff !important;
  display: block;
  font-size: .94rem;
  font-weight: 650;
  line-height: 1.3;
  margin: 0 !important;
  padding: 10px 15px;
  border-radius: 9px;
  text-shadow: none;
  white-space: nowrap;
  transition: background-color .15s ease;
}
body.vet-modern-layout .vet-main-navigation .nav-link.navbar-brand:hover,
body.vet-modern-layout .vet-main-navigation .nav-link.navbar-brand:focus {
  background: rgba(255,255,255,.16);
  color: #fff !important;
}
body.vet-modern-layout .vet-main-navigation .nav-item.is-current .nav-link {
  background: rgba(255,255,255,.21);
  color: #fff !important;
}
body.vet-modern-layout .vet-main-navigation .nav-link i { opacity: .88; margin-right: 5px; }
body.vet-modern-layout .vet-main-navigation .navbar-toggler { border-color: rgba(255,255,255,.4); padding: 6px 10px; }
body.vet-modern-layout .vet-main {
  min-height: 440px;
  padding: 23px 26px 32px !important;
  margin: 16px 13px 32px;
  background: #fff;
  border: 1px solid var(--vet-line);
  border-radius: 17px;
  box-shadow: 0 5px 22px rgba(25,77,62,.045);
}
body.vet-modern-layout .vet-main .interact { border-color: #8cbfae; }
body.vet-modern-layout .vet-main .alert { border-radius: 11px; }
body.vet-modern-layout .vet-main img { max-width: 100%; height: auto; }
body.vet-modern-layout .vet-footer-shell {
  background: var(--vet-surface) !important;
  border-top: 1px solid var(--vet-line);
}
body.vet-modern-layout .vet-footer-shell footer {
  background: transparent;
  color: var(--vet-text);
  font-size: .94rem;
}
body.vet-modern-layout .vet-footer-shell footer strong { color: var(--vet-dark); }
body.vet-modern-layout .vet-footer-shell footer .social a { display: inline-block; padding: 3px; }
body.vet-modern-layout .vet-footer-shell footer small { color: var(--vet-muted); }
@media (max-width: 991.98px) {
  body.vet-modern-layout .vet-site-header { padding: 13px 18px; }
  body.vet-modern-layout .vet-main-navigation .navbar-nav { align-items: stretch; gap: 0; }
  body.vet-modern-layout .vet-main-navigation .navbar-collapse { padding-top: 9px; }
  body.vet-modern-layout .vet-main-navigation .nav-link.navbar-brand { padding: 11px 13px; }
  body.vet-modern-layout .vet-main { margin: 14px 13px 25px; }
}
@media (max-width: 575.98px) {
  body.vet-modern-layout { font-size: 15.5px; }
  body.vet-modern-layout .container-fluid { padding-left: 12px; padding-right: 12px; }
  body.vet-modern-layout .vet-site-header { margin-top: 9px !important; margin-bottom: 9px; padding: 12px 10px; border-radius: 13px; }
  body.vet-modern-layout .vet-site-header #logo { width: 68px; height: 71px; }
  body.vet-modern-layout .vet-site-header .title-name { display: block !important; font-size: 1.07rem !important; line-height: 1.22; }
  body.vet-modern-layout .vet-site-header .vet-contact-stack { gap: 4px; }
  body.vet-modern-layout .vet-site-header .phonelist { font-size: .83rem; line-height: 1.3; margin: 2px 0 !important; }
  body.vet-modern-layout .vet-site-header .dropdown { margin-top: 4px; }
  body.vet-modern-layout .vet-site-header .vet-account-links { font-size: .72rem; }
  body.vet-modern-layout .vet-site-header .vet-account-links .user-hello { max-width: 165px; }
  body.vet-modern-layout .vet-main-navigation { padding: 0 !important; }
  body.vet-modern-layout .vet-main-navigation .navbar { border-radius: 11px; }
  body.vet-modern-layout .vet-main { padding: 17px 15px 25px !important; margin: 11px 0 22px; border-radius: 12px; min-height: 260px; }
  body.vet-modern-layout h1 { font-size: 1.7rem; }
  body.vet-modern-layout h2 { font-size: 1.3rem; }
}

/* RU homepage FAQ, separate from all other languages and shared site UI. */
body.vet-modern-layout .vet-ru-faq {
  scroll-margin-top: 24px;
  margin: 22px 0 26px;
  padding: 27px clamp(16px, 3vw, 34px);
  border-radius: 17px;
  background: #f4faf7;
  border: 1px solid #d9ebe4;
  text-shadow: none;
}
body.vet-modern-layout .vet-ru-faq * { text-shadow: none; }
body.vet-modern-layout .vet-ru-faq-eyebrow {
  color: #087d68;
  font-size: .76rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}
body.vet-modern-layout .vet-ru-faq h2 {
  border: 0;
  margin: 0 0 9px;
  padding: 0;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 700;
}
body.vet-modern-layout .vet-ru-faq-heading p {
  max-width: 780px;
  color: #597168;
  font-size: .96rem;
  margin: 0 0 18px;
}
body.vet-modern-layout .vet-ru-faq-items details {
  background: #fff;
  border: 1px solid #dbe9e3;
  border-radius: 10px;
  margin-bottom: 9px;
  overflow: hidden;
}
body.vet-modern-layout .vet-ru-faq-items details[open] { border-color: #96cdb9; }
body.vet-modern-layout .vet-ru-faq-items summary {
  display: block;
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 14px 44px 14px 17px;
  font-size: 1rem;
  font-weight: 650;
  color: #1f493f;
  line-height: 1.45;
}
body.vet-modern-layout .vet-ru-faq-items summary::-webkit-details-marker { display: none; }
body.vet-modern-layout .vet-ru-faq-items summary::after {
  content: "+";
  position: absolute;
  right: 17px;
  top: 12px;
  color: #10846d;
  font-size: 1.35rem;
  line-height: 1.2;
}
body.vet-modern-layout .vet-ru-faq-items details[open] summary::after { content: "−"; }
body.vet-modern-layout .vet-ru-faq-items details p {
  padding: 0 17px 16px;
  margin: 0;
  color: #526960;
  font-size: .94rem;
  line-height: 1.6;
}
body.vet-modern-layout .vet-ru-faq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  align-items: center;
  margin-top: 18px;
}
body.vet-modern-layout .vet-ru-faq-phone { font-weight: 650; white-space: nowrap; }
body.vet-modern-layout .vet-ru-entrance-photo {
  display: block;
  width: 100%;
  height: min(45vw, 410px);
  min-height: 210px;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 13px;
  margin-top: 19px;
}
@media (max-width: 575.98px) {
  body.vet-modern-layout .vet-ru-faq { padding: 18px 13px; margin-top: 18px; }
  body.vet-modern-layout .vet-ru-faq-items summary { font-size: .96rem; padding-left: 12px; padding-right: 37px; }
  body.vet-modern-layout .vet-ru-faq-items details p { padding-left: 12px; }
  body.vet-modern-layout .vet-ru-faq-actions .btn { width: 100%; }
  body.vet-modern-layout .vet-ru-entrance-photo { height: 260px; }
}

/* Preserve the original two-line title on tablet and mobile. */
body.vet-modern-layout .vet-site-header .vet-brand-divider { display: block; }

/* VET-UI-03B: balanced desktop header, one-line brand and accessible account action. */
@media (min-width: 992px) {
  body.vet-modern-layout .vet-site-header {
    min-height: 126px;
    padding: 15px 24px;
    margin-bottom: 12px;
  }
  body.vet-modern-layout .vet-site-header > .row > .col-4 {
    flex: 0 0 132px;
    max-width: 132px;
  }
  body.vet-modern-layout .vet-site-header > .row > .col-8 {
    flex: 0 0 calc(100% - 132px);
    max-width: calc(100% - 132px);
  }
  body.vet-modern-layout .vet-site-header > .row > .col-8 > .row {
    align-items: center;
  }
  body.vet-modern-layout .vet-site-header > .row > .col-8 > .row > .col-sm-8 {
    flex: 0 0 calc(100% - 312px);
    max-width: calc(100% - 312px);
  }
  body.vet-modern-layout .vet-site-header > .row > .col-8 > .row > .col-sm-4 {
    flex: 0 0 312px;
    max-width: 312px;
  }
  body.vet-modern-layout .vet-site-header #logo {
    width: 90px;
    height: 94px;
  }
  body.vet-modern-layout .vet-site-header .title-name {
    font-size: 1.36rem;
    padding: 0;
    white-space: nowrap;
  }
  body.vet-modern-layout .vet-site-header .vet-brand-divider {
    display: inline;
    white-space: pre;
  }
  body.vet-modern-layout .vet-site-header .vet-contact-stack {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    column-gap: 10px;
    row-gap: 8px;
    text-align: right;
  }
  body.vet-modern-layout .vet-site-header .vet-contact-stack > .clearfix { display: none; }
  body.vet-modern-layout .vet-site-header .vet-contact-stack > .dropdown {
    order: 1;
  }
  body.vet-modern-layout .vet-site-header .phonelist {
    order: 3;
    flex: 0 0 100%;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    font-size: 1.06rem;
    line-height: 1.3;
    margin: 0 !important;
    white-space: nowrap;
  }
  body.vet-modern-layout .vet-site-header .vet-account-links {
    order: 2;
    padding: 5px 9px;
    border: 1px solid #d9eae2;
    background: #f3faf7;
    border-radius: 9px;
    align-self: center;
    justify-self: end;
    justify-content: flex-start;
    flex-wrap: nowrap;
    white-space: nowrap;
    font-size: .77rem;
    line-height: 1.4;
  }
  body.vet-modern-layout .vet-site-header .vet-account-links .user-hello {
    max-width: 120px;
    min-width: 0;
  }
  body.vet-modern-layout .vet-site-header .vet-account-links a {
    color: #086d5c;
    font-weight: 650;
  }
}
