/* VietValues public site - shared styles of every page (Figma design): variables, base, buttons, header and menu,
   page title band, sidebar, pagination, rich text, sticky Zalo / hotline buttons, error page and footer.
   Each menu section adds its own file after this one (Helpers/VvStylesheets.cs):
   Vvs_Home.css, Vvs_About.css, Vvs_Document.css, Vvs_News.css, Vvs_Contact.css. */
:root {
  --vv-green: #285728;
  --vv-green-dark: #1c3d1c;
  --vv-green-light: #3f7a43;
  --vv-green-night: #1a3300;
  --vv-yellow: #ffcd0a;
  --vv-yellow-hover: #f2c000;
  --vv-yellow-text: #a37d00;
  --vv-bg: #f5f7f4;
  --vv-border: #e2e8e1;
  --vv-text: #1f2a1f;
  --vv-muted: #5c6b5c;
  --vv-danger: #c0392b;
  --vv-radius: 8px;
  --vv-container: 1200px;
  --vv-font: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  --vv-icon-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25c1.13.37 2.33.57 3.6.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E");
  --vv-icon-fax: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 8H5a3 3 0 0 0-3 3v6h4v4h12v-4h4v-6a3 3 0 0 0-3-3zm-3 11H8v-5h8zm3-7a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm-1-9H6v4h12z'/%3E%3C/svg%3E");
  --vv-icon-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4-8 5-8-5V6l8 5 8-5z'/%3E%3C/svg%3E");
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--vv-font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--vv-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4 {
  line-height: 1.3;
}
main:focus {
  outline: none;
}
.vv-container {
  width: 100%;
  max-width: calc(var(--vv-container) + 40px);
  margin: 0 auto;
  padding: 0 20px;
}
.vv-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.vv-skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--vv-yellow);
  color: var(--vv-green-dark);
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
}
.vv-skip:focus {
  top: 12px;
}
:focus-visible {
  outline: 3px solid var(--vv-yellow);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.vv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.15s,
    border-color 0.15s,
    color 0.15s;
}
.vv-btn--primary {
  background: var(--vv-yellow);
  color: var(--vv-green-dark);
}
.vv-btn--primary:hover {
  background: var(--vv-yellow-hover);
}
.vv-btn--primary:disabled {
  opacity: 0.65;
  cursor: progress;
}
.vv-btn--sm {
  padding: 7px 24px;
}

/* ---------- Header ---------- */
.vv-header {
  position: relative;
  z-index: 20;
  background: #fff;
}
.vv-header__top {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 96px;
}
.vv-header__brand {
  display: flex;
  align-items: center;
}
.vv-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.vv-brand__mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: var(--vv-green);
  color: var(--vv-yellow);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.vv-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.vv-brand__name {
  font-size: 26px;
  font-weight: 800;
  color: var(--vv-green);
  letter-spacing: 0.3px;
}
.vv-brand__group {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--vv-yellow-text);
  letter-spacing: 0.4px;
}
.vv-header__member {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  min-width: 132px;
  margin-left: 26px;
  padding: 2px 18px;
  border: 1px solid var(--vv-border);
  border-radius: 6px;
  position: relative;
}
.vv-header__member::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 2px;
  bottom: 2px;
  border-left: 1px solid var(--vv-border);
}
.vv-header__member img {
  width: auto;
  height: 38px;
  object-fit: contain;
}
.vv-header__slogan {
  flex: 1;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--vv-green);
}
.vv-langs {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.vv-langs__item {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 26px;
  padding: 0 8px;
  border: 1px solid #cfd6ce;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--vv-text);
  text-decoration: none;
}
.vv-langs__item:hover {
  border-color: var(--vv-green);
}
.vv-langs__item.is-active {
  background: var(--vv-green);
  border-color: var(--vv-green);
  color: var(--vv-yellow);
}

/* ---------- Main menu ---------- */
.vv-nav {
  background: var(--vv-green);
  border-bottom: 4px solid var(--vv-yellow);
}
.vv-nav__inner {
  display: flex;
  align-items: stretch;
  min-height: 52px;
}
.vv-nav__home {
  display: grid;
  place-items: center;
  width: 52px;
  background: var(--vv-yellow);
  color: var(--vv-green-dark);
}
.vv-nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  margin-left: 8px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.vv-nav__bars,
.vv-nav__bars::before,
.vv-nav__bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s;
}
.vv-nav__bars {
  position: relative;
}
.vv-nav__bars::before,
.vv-nav__bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.vv-nav__bars::before {
  top: -7px;
}
.vv-nav__bars::after {
  top: 7px;
}
.vv-nav__toggle[aria-expanded="true"] .vv-nav__bars {
  background: transparent;
}
.vv-nav__toggle[aria-expanded="true"] .vv-nav__bars::before {
  transform: translateY(7px) rotate(45deg);
}
.vv-nav__toggle[aria-expanded="true"] .vv-nav__bars::after {
  transform: translateY(-7px) rotate(-45deg);
}
.vv-menu {
  display: flex;
  margin-left: 14px;
}
.vv-menu__list {
  display: flex;
}
.vv-menu__group {
  position: relative;
}
.vv-menu__title {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 22px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.vv-menu__caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.85;
}
.vv-menu__group:hover > .vv-menu__title,
.vv-menu__group:focus-within > .vv-menu__title,
.vv-menu__group.is-active > .vv-menu__title {
  color: var(--vv-yellow);
}
.vv-menu__sub {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 280px;
  padding: 8px 0;
  background: #fff;
  border-top: 3px solid var(--vv-yellow);
  border-radius: 0 0 var(--vv-radius) var(--vv-radius);
  box-shadow: 0 14px 32px rgba(18, 40, 18, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.15s,
    transform 0.15s,
    visibility 0.15s;
}
.vv-menu__group:hover > .vv-menu__sub,
.vv-menu__group:focus-within > .vv-menu__sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.vv-menu__sub a {
  display: block;
  padding: 9px 18px;
  color: var(--vv-text);
  font-size: 14px;
  text-decoration: none;
}
.vv-menu__sub a:hover {
  background: var(--vv-bg);
  color: var(--vv-green);
}
.vv-menu__sub a.is-active {
  color: var(--vv-green);
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--vv-yellow);
}
.vv-nav__hotline {
  display: flex;
  align-items: center;
  margin-left: auto;
  color: var(--vv-yellow);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

/* ---------- Page title band ---------- */
.vv-hero {
  background: var(--vv-green-dark);
  color: #fff;
  padding: 30px 0 40px;
}
.vv-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.vv-breadcrumb li + li::before {
  content: "›";
  margin-right: 6px;
}
.vv-breadcrumb a {
  text-decoration: none;
}
.vv-breadcrumb a:hover {
  color: var(--vv-yellow);
}
.vv-breadcrumb [aria-current] {
  color: #fff;
}
.vv-hero__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}
.vv-hero__title {
  margin: 0;
  padding-left: 14px;
  border-left: 4px solid var(--vv-yellow);
  font-size: 30px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.vv-hero__note {
  margin: 0;
  color: var(--vv-yellow);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.vv-fallback {
  margin-top: 16px;
  padding: 10px 14px;
  background: #fff8dc;
  border-left: 4px solid var(--vv-yellow);
  font-size: 14px;
}

/* Detail pages (document, article) and search: compact title band, small chip (category, result kind), related list. */
.vv-hero--compact .vv-hero__title {
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.vv-hero--compact .vv-breadcrumb li:last-child {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vv-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 3px 12px;
  border: 1px solid var(--vv-border);
  border-radius: 999px;
  background: var(--vv-bg);
  color: var(--vv-green);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition:
    border-color 0.15s,
    background-color 0.15s;
}
a.vv-chip:hover {
  border-color: var(--vv-green);
  background: #fff;
}
.vv-related {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--vv-border);
}
.vv-related__list {
  display: grid;
  gap: 12px;
}
.vv-related__list a {
  display: flex;
  gap: 10px;
  color: var(--vv-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.vv-related__list a::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--vv-yellow);
}
.vv-related__list a:hover {
  color: var(--vv-green);
  text-decoration: underline;
}

/* ---------- Headings, sidebar ---------- */
.vv-heading {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 800;
  color: var(--vv-green);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.vv-heading::after {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  margin-top: 8px;
  background: var(--vv-yellow);
  border-radius: 2px;
}
.vv-with-sidebar {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 72px;
}
.vv-side-block + .vv-side-block {
  margin-top: 32px;
}
.vv-side-nav {
  display: grid;
  gap: 8px;
}
.vv-side-nav__item,
.vv-offices__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--vv-border);
  border-radius: 6px;
  background: #fff;
  color: var(--vv-text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition:
    border-color 0.15s,
    background-color 0.15s,
    color 0.15s;
}
.vv-side-nav__item::after {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.55;
}
.vv-side-nav__item:hover,
.vv-offices__item:hover {
  border-color: var(--vv-green);
  color: var(--vv-green);
}
.vv-side-nav__item.is-active,
.vv-offices__item.is-active {
  background: var(--vv-green);
  border-color: var(--vv-green);
  color: var(--vv-yellow);
  font-weight: 700;
}
.vv-select {
  width: 100%;
  height: 42px;
  padding: 0 36px 0 14px;
  border: 1px solid var(--vv-border);
  border-radius: 6px;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23285728' stroke-width='2.4'/%3E%3C/svg%3E")
    no-repeat right 12px center;
  color: var(--vv-text);
  font-size: 14px;
  appearance: none;
  cursor: pointer;
}
.vv-side-links {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  font-size: 14px;
}
.vv-consult {
  padding: 18px 20px;
  border-radius: var(--vv-radius);
  background: var(--vv-green);
  color: #fff;
  font-size: 14px;
  line-height: 1.7;
}
.vv-consult h4 {
  margin: 0 0 2px;
  color: var(--vv-yellow);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.vv-consult h4 ~ h4 {
  margin-top: 14px;
}
.vv-consult p {
  margin: 0 0 4px;
  font-weight: 600;
}

/* Icons of the admin rich text (Font Awesome classes of the old site) drawn without the icon font. */
.vv-rich .fa,
.vv-footer__office .fa {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  vertical-align: -2px;
  background: var(--vv-yellow);
  -webkit-mask: var(--vv-icon-phone) center / contain no-repeat;
  mask: var(--vv-icon-phone) center / contain no-repeat;
}
.vv-rich .fa-fax,
.vv-footer__office .fa-fax {
  -webkit-mask-image: var(--vv-icon-fax);
  mask-image: var(--vv-icon-fax);
}
.vv-rich .fa-envelope,
.vv-footer__office .fa-envelope {
  -webkit-mask-image: var(--vv-icon-mail);
  mask-image: var(--vv-icon-mail);
}
.vv-empty {
  padding: 32px;
  border: 1px dashed var(--vv-border);
  border-radius: var(--vv-radius);
  color: var(--vv-muted);
  text-align: center;
}

/* ---------- Pagination ---------- */
.vv-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}
.vv-pager__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.vv-pager__item {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border: 1px solid var(--vv-border);
  border-radius: 4px;
  color: var(--vv-text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
a.vv-pager__item:hover {
  border-color: var(--vv-green);
  color: var(--vv-green);
}
.vv-pager__item.is-current {
  background: var(--vv-green);
  border-color: var(--vv-green);
  color: #fff;
}
.vv-pager__info {
  margin: 0;
  color: var(--vv-muted);
  font-size: 13px;
}

/* Rich text written in the admin editor (page bodies, document descriptions). */
.vv-prose {
  color: var(--vv-text);
  font-size: 15px;
  line-height: 1.8;
  overflow-wrap: break-word;
}
.vv-prose > :first-child {
  margin-top: 0;
}
.vv-prose > :last-child {
  margin-bottom: 0;
}
.vv-prose p {
  margin: 0 0 16px;
}
.vv-prose h2,
.vv-prose h3,
.vv-prose h4 {
  margin: 28px 0 12px;
  color: var(--vv-green-dark);
}
.vv-prose h2 {
  font-size: 20px;
}
.vv-prose h3 {
  font-size: 17px;
}
.vv-prose h4 {
  font-size: 15px;
}
.vv-prose ul,
.vv-prose ol {
  margin: 0 0 16px;
  padding-left: 22px;
}
.vv-prose ul {
  list-style: disc;
}
.vv-prose ol {
  list-style: decimal;
}
.vv-prose li + li {
  margin-top: 6px;
}
.vv-prose li::marker {
  color: var(--vv-green);
}
.vv-prose a {
  color: var(--vv-green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.vv-prose a:hover {
  color: var(--vv-green-dark);
}
.vv-prose b,
.vv-prose strong {
  color: var(--vv-green-dark);
}
.vv-prose img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 24px 0;
  border-radius: var(--vv-radius);
}
.vv-prose table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 0 16px;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 14px;
}
.vv-prose th,
.vv-prose td {
  padding: 8px 10px;
  border: 1px solid var(--vv-border);
  vertical-align: top;
}
.vv-prose iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin: 0 0 16px;
  border: 0;
  border-radius: var(--vv-radius);
}

/* ---------- Sticky quick contact (Zalo OA + hotline), every page ---------- */
.vv-sticky {
  position: fixed;
  right: 19px;
  bottom: 80px;
  z-index: 60;
}
.vv-sticky__list {
  display: grid;
  justify-items: end;
  gap: 12px;
}
.vv-sticky__item {
  position: relative;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.vv-sticky__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.15s;
}
.vv-sticky__item--zalo .vv-sticky__icon {
  background: #0068ff;
  color: #fff;
  letter-spacing: -0.2px;
}
.vv-sticky__item--call .vv-sticky__icon {
  background: var(--vv-green);
  color: var(--vv-yellow);
  animation: vv-ring 2s ease-out infinite;
}
.vv-sticky__item:hover .vv-sticky__icon,
.vv-sticky__item:focus-visible .vv-sticky__icon {
  transform: scale(1.06);
}
.vv-sticky__label {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--vv-green-dark);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(6px, -50%);
  transition:
    opacity 0.15s,
    transform 0.15s,
    visibility 0.15s;
}
.vv-sticky__item:hover .vv-sticky__label,
.vv-sticky__item:focus-visible .vv-sticky__label {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}
@keyframes vv-ring {
  0% {
    box-shadow:
      0 0 0 0 rgba(40, 87, 40, 0.5),
      0 8px 20px rgba(0, 0, 0, 0.2);
  }
  70% {
    box-shadow:
      0 0 0 14px rgba(40, 87, 40, 0),
      0 8px 20px rgba(0, 0, 0, 0.2);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(40, 87, 40, 0),
      0 8px 20px rgba(0, 0, 0, 0.2);
  }
}

@media (max-width: 767px) {
  .vv-sticky {
    right: 22px;
    bottom: 74px;
  }
  .vv-sticky__icon {
    width: 46px;
    height: 46px;
    font-size: 12px;
  }
  .vv-sticky__icon svg {
    width: 21px;
    height: 21px;
  }
  .vv-sticky__label {
    display: none;
  }
}

@media (max-width: 575px) {
  .vv-prose {
    font-size: 14.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vv-sticky__item--call .vv-sticky__icon {
    animation: none;
  }
}

@media print {
  .vv-sticky,
  .vv-to-top {
    display: none;
  }
}

/* ---------- Error / temporary home ---------- */
.vv-error {
  padding-top: 56px;
  padding-bottom: 80px;
  text-align: center;
}
.vv-error__code {
  margin: 0;
  color: var(--vv-green);
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
}
.vv-error__text {
  margin: 16px 0 28px;
  color: var(--vv-muted);
}

/* ---------- Footer ---------- */
.vv-footer {
  position: relative;
  padding-top: 56px;
  background: var(--vv-green-dark);
  color: #d7dfd6;
  font-size: 14px;
}
.vv-footer a {
  text-decoration: none;
}
.vv-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.vv-footer__title,
.vv-footer__office > a:first-child {
  display: block;
  margin: 0 0 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.vv-footer__title::after,
.vv-footer__office > a:first-child::after {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  margin-top: 8px;
  background: var(--vv-yellow);
  border-radius: 2px;
}
.vv-footer__title--members {
  margin-top: 28px;
}
.vv-footer__office p {
  margin: 0;
  line-height: 1.9;
}
.vv-footer__links {
  display: grid;
  gap: 8px;
}
.vv-footer__links a {
  display: inline-flex;
  gap: 8px;
  line-height: 1.45;
}
.vv-footer__links a::before {
  content: "›";
  flex: none;
  color: #fff;
}
.vv-footer__clamp {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.vv-footer__links a:hover,
.vv-footer__register:hover,
.vv-footer__bottom a:hover {
  color: var(--vv-yellow);
}
.vv-tiles {
  display: grid;
  grid-template-columns: repeat(3, 76px);
  gap: 8px;
}
.vv-tiles__item {
  display: block;
  width: 76px;
  height: 76px;
  overflow: hidden;
  border-radius: 6px;
}
.vv-tiles__item.is-yellow {
  background: var(--vv-yellow);
}
.vv-tiles__item.is-green {
  background: var(--vv-green);
}
.vv-tiles__item.is-light {
  background: var(--vv-green-light);
}
.vv-tiles__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s;
}
.vv-tiles__item:hover img {
  opacity: 0.85;
}
.vv-footer__members {
  display: flex;
  align-items: center;
  gap: 18px;
}
.vv-footer__register {
  color: #fff;
  font-weight: 600;
}
.vv-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 44px;
  padding-top: 18px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #b9c6b8;
  font-size: 13px;
}
.vv-footer__bottom p {
  margin: 0;
}
.vv-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--vv-yellow);
  border-radius: 4px;
  background: var(--vv-green-dark);
  color: var(--vv-yellow);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s,
    visibility 0.2s;
}
.vv-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .vv-menu__title {
    padding: 0 14px;
    font-size: 14px;
  }
  .vv-header__slogan {
    font-size: 16px;
  }
}

@media (max-width: 991px) {
  .vv-header__slogan {
    display: none;
  }
  .vv-nav__toggle {
    display: inline-flex;
  }
  .vv-nav__inner {
    flex-wrap: wrap;
  }
  .vv-nav__home,
  .vv-nav__toggle,
  .vv-nav__hotline {
    min-height: 52px;
  }
  .vv-menu {
    display: none;
    order: 10;
    flex-basis: 100%;
    margin: 0;
    padding: 6px 0 14px;
  }
  .vv-menu.is-open {
    display: block;
  }
  .vv-menu__list {
    flex-direction: column;
  }
  .vv-menu__title {
    height: auto;
    padding: 12px 4px;
  }
  .vv-menu__caret {
    display: none;
  }
  .vv-menu__sub {
    position: static;
    min-width: 0;
    padding: 0 0 8px 14px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .vv-menu__sub a {
    padding: 7px 4px;
    color: rgba(255, 255, 255, 0.85);
  }
  .vv-menu__sub a:hover,
  .vv-menu__sub a.is-active {
    background: transparent;
    color: var(--vv-yellow);
    box-shadow: none;
  }
  .vv-with-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }
  .vv-sidebar {
    order: 2;
  }
  .vv-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .vv-header__top {
    min-height: 76px;
    gap: 12px;
  }
  .vv-brand__mark {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }
  .vv-brand__name {
    font-size: 20px;
  }
  .vv-header__member {
    display: none;
  }
  .vv-hero {
    padding: 22px 0 28px;
  }
  .vv-hero__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .vv-hero__title {
    font-size: 22px;
  }
  .vv-hero--compact .vv-hero__title {
    font-size: 17px;
  }
}

@media (max-width: 575px) {
  .vv-nav__hotline {
    font-size: 13px;
  }
  .vv-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
