@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&family=Work+Sans:wght@400;500;600;700&display=swap");

:root {
  --font-default: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-primary: "Roboto", sans-serif;
  --font-secondary: "Work Sans", sans-serif;
  --color-primary: #d8b66e;
  --color-primary-hover: #f0c76d;
  --color-default: #364d59;
  --color-secondary: #52565e;
  --color-light: #f5f6f7;
  --hero-overlay: rgba(0, 0, 0, 0.56);
  --footer-overlay: rgba(0, 0, 0, 0.82);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-default);
  color: var(--color-default);
  background: #fff;
  overflow-x: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

.hidden {
  display: none !important;
}

.ui-icon {
  width: 1.25em;
  min-width: 1.25em;
  height: 1.25em;
  display: inline-grid;
  place-items: center;
  line-height: 1;
  font-weight: 800;
  font-family: var(--font-secondary);
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  max-width: 860px;
}

section {
  padding: 80px 0;
  overflow: hidden;
}

.section-bg {
  background: var(--color-light);
}

.app-loading {
  min-height: 100vh;
  display: grid;
  place-items: center;
  color: var(--color-secondary);
  font-weight: 700;
}

.app-loading.error {
  color: #b42318;
}

.link-button {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.btn-outline-light {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0;
  padding: 12px 38px;
  border-radius: 999px;
  color: #fff;
  border: 2px solid var(--color-primary);
  transition: 0.25s ease;
}

.btn-outline-light:hover {
  background: var(--color-primary);
}

.btn-primary-soft {
  background: var(--color-primary);
  color: #fff;
  padding: 11px 18px;
  border-radius: 4px;
  font-weight: 700;
}

.btn-primary-soft:hover {
  background: var(--color-primary-hover);
}

.rotate-90 {
  transform: rotate(90deg);
}

.rotate-180 {
  transform: rotate(180deg);
}

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  padding: 0 0 16px;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.is-scrolled {
  position: fixed;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 33, 93, 0.12);
  padding: 0;
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) max-content;
  align-items: flex-start;
  gap: 32px;
}

.navbar {
  min-width: 0;
  justify-self: center;
}

.header-language {
  justify-content: flex-end;
  justify-self: end;
  min-width: 88px;
  margin-top: 58px;
  transition: margin-top 0.25s ease;
}

.logo,
.footer-logo {
  border: 0;
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
}

.footer-logo img {
  width: 112px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.logo {
  flex-direction: column;
  justify-content: center;
  width: 112px;
  min-height: 130px;
  padding: 16px 14px 10px;
  background: #fff;
  border-radius: 0 0 14px 14px;
  color: var(--color-secondary);
  box-shadow: 0 18px 40px rgba(0, 33, 93, 0.16);
  transition: width 0.25s ease, min-height 0.25s ease, padding 0.25s ease, box-shadow 0.25s ease, flex-direction 0.25s ease, border-radius 0.25s ease;
}

.logo img {
  width: 70px;
  height: 84px;
  object-fit: contain;
  transition: width 0.25s ease, height 0.25s ease;
}

.logo.logo-inner {
  width: auto;
  min-height: 72px;
  margin-top: 20px;
  padding: 0 0 10px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  color: #fff;
  justify-content: flex-end;
}

.logo.logo-inner img {
  width: 60px;
  height: 68px;
  object-fit: contain;
}

.wordmark-text {
  font-family: var(--font-secondary);
  font-size: 34px;
  line-height: 1;
  font-weight: 600;
  color: currentColor;
}

.site-header.is-scrolled .logo {
  flex-direction: row;
  width: auto;
  min-height: 58px;
  padding: 8px 12px;
  gap: 9px;
  box-shadow: none;
}

.site-header.is-scrolled .logo img {
  width: 40px;
  height: 42px;
}

.site-header.is-scrolled .logo.logo-inner {
  color: var(--color-secondary);
  min-height: 50px;
  margin-top: 0;
  padding: 6px 0;
}

.site-header.is-scrolled .logo.logo-inner img {
  width: 44px;
  height: 44px;
  filter: brightness(0) saturate(100%) invert(13%) sepia(75%) saturate(1488%) hue-rotate(201deg) brightness(83%) contrast(103%);
}

.site-header.is-scrolled .logo.logo-inner .wordmark-text {
  font-size: 28px;
}

.logo-mark {
  width: 54px;
  height: 54px;
  border: 2px solid var(--color-primary);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-secondary);
  font-size: 30px;
  font-weight: 700;
}

.logo-text {
  display: grid;
  gap: 3px;
  text-align: center;
}

.logo-text strong {
  font-family: var(--font-secondary);
  font-size: 17px;
  line-height: 1;
  color: var(--color-secondary);
  letter-spacing: 0;
}

.logo-text small {
  max-width: 190px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  line-height: 1.25;
}

.logo .logo-text small {
  display: none;
}

.site-header.is-scrolled .logo-text {
  text-align: left;
}

.site-header.is-scrolled .logo-text strong {
  font-size: 20px;
}

.navbar > ul {
  margin: 0;
  padding: 58px 0 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
  transition: padding 0.25s ease;
}

.site-header.is-scrolled .navbar > ul {
  padding-top: 18px;
}

.site-header.is-scrolled .header-language {
  margin-top: 18px;
}

.navbar li {
  position: relative;
}

.navbar button {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.66);
  text-transform: uppercase;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  padding: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
  white-space: nowrap;
}

.nav-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  display: inline-block;
  margin-left: 2px;
}

.site-header.is-scrolled .navbar button {
  color: var(--color-secondary);
}

.navbar > ul > li > button::after {
  content: "";
  width: 0;
  height: 2px;
  background: var(--color-primary);
  position: absolute;
  left: 0;
  bottom: 0;
  transition: width 0.25s ease;
}

.navbar button:hover,
.navbar button.active,
.navbar li:hover > button {
  color: #fff;
}

.site-header.is-scrolled .navbar button:hover,
.site-header.is-scrolled .navbar button.active,
.site-header.is-scrolled .navbar li:hover > button {
  color: var(--color-primary);
}

.navbar > ul > li > button:hover::after,
.navbar > ul > li:hover > button::after,
.navbar > ul > li > button.active::after {
  width: 100%;
}

.dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  min-width: 205px;
  position: absolute;
  top: calc(100% + 22px);
  left: 0;
  background: #fff;
  box-shadow: 0 20px 40px rgba(20, 24, 31, 0.17);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.22s ease;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu button {
  color: var(--color-default);
  text-transform: none;
  width: 100%;
  padding: 10px 18px;
}

.dropdown-menu li:hover > button,
.dropdown-menu button:hover,
.dropdown-menu button:focus-visible {
  color: var(--color-primary);
  background: rgba(0, 125, 185, 0.08);
}

.dropdown-menu button.active {
  color: var(--color-primary);
  background: rgba(0, 125, 185, 0.1);
  font-weight: 700;
}

.language-menu .dropdown-menu {
  min-width: 132px;
  right: 0;
  left: auto;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 8px;
  color: rgba(255, 255, 255, 0.44);
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
}

.language-switch button {
  position: relative;
  display: inline-flex;
  align-items: center;
  border: 0;
  background: transparent;
  padding: 0 0 4px;
  color: rgba(255, 255, 255, 0.46);
  font: inherit;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.language-switch button::after {
  content: "";
  width: 0;
  height: 2px;
  background: var(--color-primary);
  position: absolute;
  left: 0;
  bottom: 0;
  transition: width 0.2s ease;
}

.language-switch button.active::after,
.language-switch button:hover::after {
  width: 100%;
}

.language-switch:hover button.active:not(:hover)::after {
  width: 0;
}

.language-switch button.active,
.language-switch button:hover {
  color: #fff;
}

.site-header.is-scrolled .language-switch {
  color: rgba(0, 33, 93, 0.36);
}

.site-header.is-scrolled .language-switch button {
  color: rgba(0, 33, 93, 0.5);
}

.site-header.is-scrolled .language-switch button.active,
.site-header.is-scrolled .language-switch button:hover {
  color: var(--color-primary);
}

.mobile-toggle {
  display: none;
  color: #fff;
  background: var(--color-primary);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 10px 26px rgba(0, 33, 93, 0.22);
}

.navbar .mobile-close {
  display: none;
  color: #fff;
  background: transparent;
  border: 0;
}

.site-header.is-scrolled .mobile-toggle {
  color: #fff;
  border-color: rgba(0, 125, 185, 0.18);
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #181b20;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: background-image 0.4s ease;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.hero-info {
  position: relative;
  z-index: 2;
  width: 100%;
  color: #fff;
  text-align: center;
}

.hero-copy {
  max-width: 720px;
  margin: 0 auto;
}

.hero h1 {
  font-family: var(--font-secondary);
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  font-weight: 600;
  margin: 0 0 22px;
}

.hero h1::after {
  content: "";
  width: 82px;
  height: 4px;
  display: block;
  margin: 22px auto 0;
  background: var(--color-primary);
}

.hero p,
.hero .rich-text {
  max-width: 680px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.83);
  font-size: 18px;
  line-height: 1.75;
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 54px;
  height: 54px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.78);
  display: grid;
  place-items: center;
  transition: 0.2s ease;
}

.hero-control:hover {
  background: rgba(255, 255, 255, 0.32);
  color: #fff;
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid.listing {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 364px));
  justify-content: start;
  align-items: start;
}

.card-grid.listing.catalog-listing {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: stretch;
}

.service-item {
  background: #fff;
  padding: 40px;
  min-height: 100%;
}

.service-icon {
  width: 58px;
  height: 58px;
  position: relative;
  margin-bottom: 44px;
  color: var(--color-secondary);
}

.service-icon::before {
  content: "";
  position: absolute;
  inset: 9px -14px -9px 14px;
  background: #eceeef;
  border-radius: 999px;
  transition: 0.25s ease;
}

.service-icon svg,
.service-icon .ui-icon {
  position: relative;
  z-index: 1;
}

.service-icon .ui-icon {
  font-size: 40px;
  width: 52px;
  height: 52px;
}

.service-item:hover .service-icon::before {
  background: var(--color-primary);
}

.service-item h3,
.feature-content h2,
.content-page h2,
.statement h3,
.quote-panel h2,
.office h2,
.blog-detail h2 {
  font-family: var(--font-primary);
  color: var(--color-secondary);
}

.service-item h3 {
  font-size: 22px;
  display: inline-block;
  margin: 0 0 18px;
  padding-bottom: 8px;
  border-bottom: 4px solid #e5e7eb;
  transition: 0.25s ease;
}

.service-item:hover h3 {
  border-color: var(--color-primary);
}

.service-item p,
.content-page p,
.statement p,
.quote-panel p,
.blog-detail p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
}

.rich-text {
  line-height: 1.75;
}

.rich-text > :first-child {
  margin-top: 0;
}

.rich-text > :last-child {
  margin-bottom: 0;
}

.rich-text p {
  margin: 0 0 12px;
}

.rich-text ul,
.rich-text ol {
  margin: 0 0 12px;
  padding-left: 22px;
}

.rich-text li {
  margin: 4px 0;
}

.rich-text a {
  color: var(--color-primary);
  font-weight: 700;
}

.service-item .rich-text,
.content-page .rich-text,
.statement .rich-text,
.quote-panel .rich-text,
.blog-detail .rich-text,
.media-body .rich-text {
  font-size: 14px;
}

.stats-item {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 100%;
  color: var(--color-primary);
}

.stats-item strong {
  display: block;
  color: var(--color-secondary);
  font-size: 38px;
  line-height: 1;
}

.stats-item p {
  margin: 8px 0 0;
  color: var(--color-default);
}

.feature-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 34px;
}

.feature-tabs button {
  border: 0;
  background: transparent;
  border-bottom: 4px solid #dfe2e4;
  color: var(--color-secondary);
  padding: 18px 10px;
  font-weight: 700;
  font-size: 18px;
}

.feature-tabs button.active,
.feature-tabs button:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.feature-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.feature-content h2,
.content-page h2 {
  font-size: 34px;
  margin: 0 0 22px;
  padding-bottom: 18px;
  position: relative;
}

.feature-content h2::after,
.content-page h2::after,
.get-started h2::after,
.section-title h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  background: var(--color-primary);
}

.feature-content p,
.feature-content .rich-text {
  line-height: 1.85;
  color: var(--color-secondary);
}

.feature-content img,
.content-image,
.blog-detail img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.post-item {
  background: #fff;
  box-shadow: 0 2px 22px rgba(20, 24, 31, 0.08);
  min-height: 100%;
}

.post-img {
  height: 245px;
  overflow: hidden;
  position: relative;
  background: #e9ecef;
}

.post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.post-item:hover img {
  transform: scale(1.06);
}

.post-img span {
  position: absolute;
  right: 0;
  bottom: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 700;
}

.post-content {
  padding: 28px;
}

.post-content h3 {
  margin: 0 0 14px;
  color: var(--color-secondary);
  font-size: 22px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #838893;
  font-size: 14px;
}

.post-meta svg,
.post-meta .ui-icon {
  color: var(--color-primary);
}

.post-content p,
.post-content .rich-text {
  margin: 18px 0;
  color: var(--color-secondary);
  line-height: 1.7;
  font-size: 14px;
}

.post-content hr {
  border: 0;
  border-top: 1px solid #eceef1;
  margin: 18px 0;
}

.readmore {
  color: #838893;
  font-weight: 700;
}

.readmore:hover {
  color: var(--color-primary);
}

.accordion {
  display: grid;
  gap: 12px;
}

.accordion-item {
  border: 1px solid #e4e7eb;
  background: #fff;
}

.accordion-item > button {
  width: 100%;
  border: 0;
  background: #fff;
  padding: 20px 24px;
  color: var(--color-secondary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.accordion-body.open {
  max-height: 220px;
}

.accordion-body p,
.accordion-body .rich-text {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--color-default);
  line-height: 1.75;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.get-started h2 {
  font-size: 36px;
  margin: 0 0 24px;
  padding-bottom: 22px;
  position: relative;
  color: var(--color-secondary);
}

.get-started .content p,
.get-started .content .rich-text {
  line-height: 1.85;
  color: var(--color-secondary);
}

.quote-form {
  background: #fff;
  padding: 30px;
  display: grid;
  gap: 14px;
}

.quote-form input,
.quote-form textarea,
.field input,
.field textarea,
.simple-list-row input {
  width: 100%;
  border: 1px solid #d7dbe1;
  border-radius: 0;
  padding: 12px 14px;
  color: #1f2933;
  background: #fff;
  outline: none;
}

.quote-form input:focus,
.quote-form textarea:focus,
.field input:focus,
.field textarea:focus,
.simple-list-row input:focus {
  border-color: var(--color-primary);
}

.quote-form button,
.admin-save,
.login-card button,
.array-title button,
.upload-button,
.array-item-title button,
.lead-item button,
.admin-sidebar-actions button {
  border: 0;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
}

.quote-form button {
  justify-self: center;
  background: var(--color-primary);
  color: #fff;
  padding: 11px 30px;
}

.quote-form button:hover {
  background: var(--color-primary-hover);
}

.form-alert {
  padding: 12px 14px;
  color: #fff;
  font-weight: 700;
}

.form-alert.success {
  background: #087443;
}

.form-alert.error {
  background: #b42318;
}

.breadcrumbs {
  min-height: 34vh;
  padding: 140px 0 64px;
  position: relative;
  color: #fff;
  background:
    linear-gradient(var(--hero-overlay), var(--hero-overlay)),
    var(--page-header-image, url("https://images.unsplash.com/photo-1523381294911-8d3cead13475?auto=format&fit=crop&w=1800&q=80")) center / cover;
}

.breadcrumbs h1 {
  font-family: var(--font-secondary);
  font-size: clamp(42px, 6vw, 58px);
  margin: 0 0 18px;
  font-weight: 600;
}

.breadcrumbs ol {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.breadcrumbs li + li::before {
  content: "/";
  color: #fff;
  padding-right: 10px;
}

.two-column {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}

.content-side-media {
  display: grid;
  gap: 12px;
  align-self: start;
}

.content-page-grid {
  align-items: start;
}

.lead {
  font-size: 17px !important;
  color: var(--color-secondary);
}

.text-block {
  margin-top: 26px;
}

.text-block h3 {
  color: var(--color-secondary);
  font-size: 22px;
  margin: 0 0 10px;
}

.section-media {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.section-main-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid #e3e6e9;
  background: #f2f4f7;
}

.section-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
}

.page-text-gallery {
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  margin: 24px 0 4px;
}

.side-gallery-carousel {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  gap: 12px;
  align-items: center;
}

.side-gallery-carousel.is-static {
  grid-template-columns: minmax(0, 1fr);
}

.content-bottom-gallery {
  width: min(100%, 1120px);
  margin: 58px auto 0;
}

.side-gallery-strip {
  display: flex;
  gap: 14px;
  min-width: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.side-gallery-carousel.is-static .side-gallery-strip {
  justify-content: center;
}

.side-gallery-strip figure {
  flex: 0 0 calc((100% - 56px) / 5);
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  scroll-snap-align: start;
}

.side-gallery-carousel.is-static .side-gallery-strip figure {
  flex: 0 1 calc((100% - 56px) / 5);
}

.side-gallery-strip img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.24s ease;
  background: #f2f4f7;
}

.side-gallery-nav {
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #111827;
  font-size: 48px;
  font-weight: 900;
  min-height: 96px;
  cursor: pointer;
}

.side-gallery-nav:hover {
  color: var(--color-primary);
  background: transparent;
}

.section-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #e3e6e9;
  background: #fff;
}

.gallery-thumb {
  width: 100%;
  height: 100%;
  display: grid;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: zoom-in;
}

.section-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.24s ease;
}

.gallery-thumb:hover img {
  transform: scale(1.04);
}

.section-gallery figcaption {
  padding: 7px 8px;
  color: var(--color-secondary);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.side-gallery-strip figcaption {
  padding: 8px 0 0;
  color: var(--color-secondary);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 14, 22, 0.82);
}

.lightbox-dialog {
  position: relative;
  width: min(1080px, 100%);
  min-height: min(680px, calc(100vh - 48px));
  display: grid;
  place-items: center;
}

.lightbox-dialog figure {
  width: 100%;
  margin: 0;
  display: grid;
  gap: 12px;
}

.lightbox-dialog img {
  width: 100%;
  max-height: calc(100vh - 150px);
  object-fit: contain;
  background: #101828;
}

.lightbox-dialog figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
  font-weight: 700;
}

.lightbox-dialog figcaption span {
  color: rgba(255, 255, 255, 0.72);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.lightbox-close {
  top: 0;
  right: 0;
  width: 42px;
  height: 42px;
}

.lightbox-nav {
  top: 50%;
  width: 48px;
  height: 58px;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: -70px;
}

.lightbox-next {
  right: -70px;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.statement {
  background: #fff;
  padding: 30px;
}

.statement h3 {
  margin: 0 0 12px;
}

.quote-panel {
  margin-top: 32px;
  background: #fff;
  padding: 38px;
  border-left: 4px solid var(--color-primary);
}

.quote-panel h2 {
  margin: 0 0 14px;
}

.quote-panel strong {
  display: block;
  margin-top: 18px;
  color: var(--color-secondary);
}

.media-card {
  border: 1px solid #e3e6e9;
  background: #fff;
  min-height: 100%;
  width: 100%;
}

.media-cover {
  aspect-ratio: 4 / 3;
  background: #eef0f2;
  display: grid;
  place-items: center;
  color: var(--color-secondary);
  overflow: hidden;
}

.media-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.catalog-card .media-cover {
  aspect-ratio: 210 / 297;
  background: #f8fafc;
}

.catalog-card .media-cover img {
  object-fit: contain;
}

.media-card:hover img {
  transform: scale(1.02);
}

.media-body {
  padding: 22px;
}

.media-body h3 {
  margin: 0 0 10px;
  color: var(--color-secondary);
}

.media-body p {
  margin: 0 0 16px;
  color: #667085;
  line-height: 1.6;
}

.download-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-weight: 700;
}

.quality-standards-page {
  padding: 72px 0 86px;
  background: #fff;
}

.quality-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  padding: 38px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, var(--color-secondary), #063764);
  color: #fff;
}

.quality-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: #7ed5ff;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.quality-intro h2 {
  margin: 0 0 16px;
  color: #fff;
  font-family: var(--font-primary);
  font-size: 40px;
  line-height: 1.15;
}

.quality-intro .rich-text {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.75;
}

.quality-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 52px;
}

.quality-highlight {
  padding: 22px;
  border-left: 4px solid var(--color-primary);
  background: var(--color-light);
}

.quality-highlight strong {
  display: block;
  margin-bottom: 8px;
  color: var(--color-secondary);
  font-family: var(--font-primary);
  font-size: 20px;
}

.quality-highlight span {
  color: #667085;
  line-height: 1.55;
}

.quality-section-title {
  max-width: 850px;
  margin: 0 0 24px;
}

.quality-section-title + .quality-section-title {
  margin-top: 54px;
}

.quality-section-title h2 {
  margin: 0 0 14px;
  padding-bottom: 16px;
  position: relative;
  color: var(--color-secondary);
  font-family: var(--font-primary);
  font-size: 32px;
}

.quality-section-title h2::after {
  content: "";
  width: 64px;
  height: 4px;
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--color-primary);
}

.quality-section-title .rich-text {
  margin: 0;
  color: #667085;
  line-height: 1.75;
}

.quality-logo-grid,
.quality-norm-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 54px;
}

.quality-logo-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.quality-norm-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.quality-card,
.quality-norm-card {
  border: 1px solid #e3e6e9;
  background: #fff;
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.quality-card:hover,
.quality-norm-card:hover {
  border-color: rgba(0, 125, 185, 0.36);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.quality-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  min-height: 100%;
  padding: 24px;
}

.quality-logo-frame,
.quality-norm-icon {
  display: grid;
  place-items: center;
  background: #f8fafc;
  border: 1px solid #eef0f2;
}

.quality-logo-frame {
  width: 128px;
  min-height: 104px;
  padding: 14px;
}

.quality-logo-frame img {
  max-width: 100%;
  max-height: 82px;
}

.quality-card h3,
.quality-norm-card h3 {
  margin: 0 0 10px;
  color: var(--color-secondary);
  font-family: var(--font-primary);
  font-size: 18px;
}

.quality-card .rich-text,
.quality-norm-card .rich-text {
  margin: 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.7;
}

.quality-norm-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  min-height: 100%;
  padding: 22px;
}

.quality-norm-icon {
  width: 76px;
  height: 86px;
}

.quality-norm-icon img {
  max-width: 58px;
  max-height: 68px;
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.contact-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 28px;
  align-items: stretch;
}

.contact-map-layout .office-grid {
  grid-template-columns: 1fr;
}

.office {
  border: 1px solid #e3e6e9;
  padding: 30px;
  min-height: 100%;
}

.office h2 {
  margin: 0 0 20px;
}

.office div {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  color: var(--color-secondary);
}

.office svg,
.office .ui-icon {
  color: var(--color-primary);
}

.contact-map {
  border: 1px solid #e3e6e9;
  background: #f2f4f7;
  min-height: 100%;
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

.blog-detail img {
  margin-bottom: 28px;
}

.blog-detail .post-meta {
  gap: 14px;
  margin-bottom: 20px;
}

.blog-detail p {
  margin-bottom: 28px;
}

.footer {
  color: #fff;
  background-color: var(--footer-bg-color, var(--color-secondary));
  background-image: none;
  background-position: bottom center;
  background-size: cover;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--footer-overlay);
}

.footer.footer-solid::before {
  display: none;
}

.footer-content {
  position: relative;
  z-index: 1;
  padding: 48px 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.05fr 0.75fr 0.75fr;
  gap: 34px;
}

.footer-showcase {
  width: min(100% - 72px, 840px);
}

.footer-group-head {
  display: grid;
  justify-items: center;
  text-align: center;
  color: #fff;
  margin-bottom: 56px;
}

.footer-group-mark {
  width: 158px;
  height: auto;
  object-fit: contain;
  transform: translateX(-18px);
}

.footer-company-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: flex-start;
  gap: 58px;
}

.footer-company {
  min-height: 0;
  padding: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.footer-company:nth-child(2) {
  background: transparent;
}

.footer-company:nth-child(3) {
  background: transparent;
}

.footer-company-logo-wrap {
  min-height: 138px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  margin-bottom: 14px;
}

.footer-company-logo {
  display: block;
  width: 150px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.entex-footer-logo {
  width: auto;
  height: 120px;
}

.encarine-footer-logo {
  width: 232px;
}

.centeks-footer-logo {
  width: auto;
  height: 120px;
}

.footer-company address {
  margin: 0 0 16px;
  color: #fff;
  font-style: normal;
  font-size: 16px;
  line-height: 1.35;
  min-height: 86px;
}

.footer-company address span {
  display: block;
}

.footer-company p {
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.45;
}

.footer-company-title {
  max-width: 245px;
  min-height: 54px;
  margin: 0 0 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  text-transform: uppercase;
}

.footer-company-title span,
.footer-company-note span {
  display: block;
}

.footer-company strong {
  color: #fff;
  font-weight: 800;
}

.footer-company-web {
  margin-top: 18px;
}

.footer-company-web a {
  color: #fff;
  text-decoration: none;
}

.footer-company-web a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-company-note {
  margin-top: 22px !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 800;
  line-height: 1.12 !important;
  text-transform: uppercase;
}

.footer-logo {
  margin-bottom: 18px;
}

.footer-logo span {
  font-family: var(--font-secondary);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.footer p,
.footer li,
.footer button {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.footer h4 {
  margin: 0 0 14px;
  color: #fff;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer button {
  border: 0;
  background: transparent;
  padding: 4px 0;
}

.footer button:hover,
.footer a:hover {
  color: #fff;
}

.social-links {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.social-links a:hover {
  background: var(--color-primary);
}

.footer-legal {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
  opacity: 0.72;
}

.footer-legal p {
  margin: 0 0 6px;
}

.footer .rich-text {
  color: rgba(255, 255, 255, 0.78);
}

.footer-credit {
  font-size: 13px;
}

.scroll-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 4px;
  background: var(--color-primary);
  color: var(--color-secondary);
  display: grid;
  place-items: center;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  background: #eef1f4;
  color: #1d2939;
}

.admin-sidebar {
  background: #101418;
  color: #fff;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 0;
  height: 100vh;
}

.admin-brand {
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.admin-brand span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid var(--color-primary);
  font-weight: 800;
  font-size: 22px;
}

.admin-brand strong,
.admin-brand small {
  display: block;
}

.admin-brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.56);
}

.admin-sidebar nav {
  display: grid;
  gap: 6px;
}

.admin-sidebar nav button,
.admin-sidebar-actions button {
  width: 100%;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  padding: 11px 12px;
  justify-content: flex-start;
  border-radius: 4px;
}

.admin-sidebar nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.admin-sidebar nav button.active,
.admin-sidebar nav button:hover,
.admin-sidebar-actions button:hover {
  background: rgba(216, 182, 110, 0.18);
  color: #fff;
}

.admin-sidebar-actions {
  margin-top: auto;
  display: grid;
  gap: 8px;
}

.admin-main {
  min-width: 0;
  padding: 26px 26px 110px;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid #dfe4ea;
  padding: 16px 18px;
  margin-bottom: 22px;
}

.admin-topbar span {
  display: block;
  color: #667085;
  font-size: 13px;
}

.admin-topbar strong {
  color: #101828;
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.notice {
  margin: 0;
  font-weight: 700;
  font-size: 14px;
}

.notice.success {
  color: #087443;
}

.notice.error {
  color: #b42318;
}

.admin-save,
.login-card button,
.array-title button {
  background: var(--color-primary);
  color: #fff;
  padding: 10px 16px;
}

.admin-save:hover,
.login-card button:hover,
.array-title button:hover {
  background: var(--color-primary-hover);
}

.admin-floating-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #dfe4ea;
  box-shadow: 0 18px 48px rgba(16, 24, 40, 0.18);
  backdrop-filter: blur(10px);
}

.admin-floating-actions button {
  border: 0;
  border-radius: 4px;
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
}

.admin-floating-save {
  background: #eef2f6;
  color: #101828;
}

.admin-floating-save:hover {
  background: #dfe7ef;
}

.admin-floating-publish {
  background: var(--color-primary);
  color: #fff;
}

.admin-floating-publish:hover {
  background: var(--color-primary-hover);
}

.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(7, 14, 22, 0.62);
}

.admin-modal {
  width: min(470px, 100%);
  display: grid;
  gap: 14px;
  border: 1px solid #dfe4ea;
  background: #fff;
  padding: 24px;
  box-shadow: 0 24px 70px rgba(16, 24, 40, 0.26);
}

.admin-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e4e7ec;
}

.admin-modal-head span {
  display: block;
  margin-bottom: 4px;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-modal-head h2 {
  margin: 0;
  color: #101828;
  font-family: var(--font-primary);
  font-size: 24px;
}

.admin-modal-head button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #d7dbe1;
  background: #fff;
  color: #344054;
}

.admin-modal > p {
  margin: 0;
  color: #667085;
  line-height: 1.6;
}

.admin-modal input {
  border: 1px solid #d7dbe1;
  padding: 12px 14px;
}

.admin-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.admin-modal-actions button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid #d7dbe1;
  background: #fff;
  color: #344054;
  font-weight: 800;
}

.admin-modal-actions button[type="submit"] {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

.admin-modal-actions button[type="submit"]:hover {
  background: var(--color-primary-hover);
}

.admin-section {
  display: grid;
  gap: 20px;
}

.section-title {
  background: #fff;
  border: 1px solid #dfe4ea;
  padding: 24px;
}

.section-title h1 {
  margin: 0 0 16px;
  padding-bottom: 14px;
  position: relative;
  color: #101828;
  font-size: 28px;
}

.section-title p {
  margin: 0;
  color: #667085;
}

.admin-panel {
  background: #fff;
  border: 1px solid #dfe4ea;
  padding: 22px;
}

.admin-panel h3 {
  margin: 0 0 18px;
  color: #101828;
}

.translation-panel {
  display: grid;
  gap: 14px;
}

.translation-panel h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.translation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.translation-actions button {
  min-height: 50px;
  border: 1px solid rgba(0, 125, 185, 0.32);
  background: var(--color-primary);
  color: #fff;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
}

.translation-actions button span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
}

.translation-actions button:disabled {
  border-color: #d0d5dd;
  background: #f2f4f7;
  color: #667085;
  cursor: not-allowed;
}

.translation-actions button:disabled span {
  color: #667085;
}

.pages-group-list {
  display: grid;
  gap: 28px;
}

.pages-group {
  overflow: hidden;
  border: 1px solid rgba(0, 125, 185, 0.34);
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.04);
}

.pages-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(0, 125, 185, 0.24);
  background: linear-gradient(135deg, rgba(0, 125, 185, 0.14), rgba(0, 33, 93, 0.08));
}

.pages-group-title span {
  display: block;
  margin-bottom: 5px;
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.pages-group-title h2 {
  margin: 0;
  color: var(--color-secondary);
  font-family: var(--font-primary);
  font-size: 24px;
}

.pages-group-title p {
  margin: 6px 0 0;
  color: #475467;
  font-size: 13px;
  line-height: 1.5;
}

.pages-group-title strong {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid rgba(0, 125, 185, 0.22);
  background: #fff;
  color: var(--color-primary);
  font-size: 12px;
}

.pages-group-body {
  display: grid;
  gap: 18px;
  padding: 18px;
  background: #f8fbfe;
}

.page-admin-panel {
  border: 1px solid rgba(0, 125, 185, 0.2);
  box-shadow: none;
}

.media-editor-group .admin-panel,
.media-editor-group .array-editor {
  border: 1px solid rgba(0, 125, 185, 0.2);
  box-shadow: none;
}

.media-editor-group .array-editor:not(.compact-editor) {
  overflow: hidden;
  padding: 0;
}

.media-editor-group .array-editor:not(.compact-editor) > .array-title {
  margin: 0;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(0, 125, 185, 0.24);
  background: linear-gradient(135deg, rgba(0, 125, 185, 0.12), rgba(0, 33, 93, 0.07));
}

.media-editor-group .array-editor:not(.compact-editor) > .array-title h3 {
  color: var(--color-secondary);
  font-family: var(--font-primary);
  font-size: 22px;
}

.media-editor-group .array-editor:not(.compact-editor) > .array-list {
  padding: 18px;
}

.page-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 20px;
  padding: 16px 18px;
  border: 1px solid rgba(0, 125, 185, 0.18);
  background: #eef8ff;
}

.page-editor-head h3 {
  margin: 0;
}

.page-editor-meta {
  display: block;
  margin-top: 5px;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

.publish-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.publish-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-track {
  width: 46px;
  height: 24px;
  padding: 3px;
  border-radius: 999px;
  background: #d0d5dd;
  transition: background 0.2s ease;
}

.toggle-track span {
  width: 18px;
  height: 18px;
  display: block;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.24);
  transition: transform 0.2s ease;
}

.publish-toggle input:checked + .toggle-track {
  background: var(--color-primary);
}

.publish-toggle input:checked + .toggle-track span {
  transform: translateX(22px);
}

.admin-grid {
  display: grid;
  gap: 20px;
}

.admin-grid.two,
.admin-row.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-row.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-row {
  display: grid;
  gap: 16px;
}

.stack {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
  color: #344054;
  font-weight: 700;
  font-size: 13px;
}

.field textarea {
  min-height: 105px;
  resize: vertical;
  line-height: 1.6;
}

.rich-field {
  align-items: stretch;
}

.rich-editor {
  border: 1px solid #d7dbe1;
  background: #fff;
}

.rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  border-bottom: 1px solid #e4e7ec;
  background: #f8fafc;
}

.rich-toolbar button {
  min-width: 34px;
  min-height: 32px;
  border: 1px solid #d7dbe1;
  background: #fff;
  color: #344054;
  border-radius: 4px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
}

.rich-toolbar button:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.rich-input {
  min-height: 132px;
  padding: 13px 14px;
  color: #1f2933;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  outline: none;
}

.rich-input:focus {
  box-shadow: inset 0 0 0 1px var(--color-primary);
}

.rich-input p {
  margin: 0 0 10px;
}

.rich-input ul,
.rich-input ol {
  margin: 0 0 10px;
  padding-left: 22px;
}

.media-field > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.upload-button {
  background: #f2f4f7;
  color: #344054;
  padding: 0 13px;
  border: 1px solid #d7dbe1;
  min-height: 45px;
}

.upload-button input {
  display: none;
}

.simple-list {
  display: grid;
  gap: 8px;
}

.simple-list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 8px;
}

.language-row {
  grid-template-columns: minmax(0, 1fr) 96px auto 42px;
  align-items: end;
}

.language-row label {
  display: grid;
  gap: 5px;
}

.language-row label span {
  color: #344054;
  font-size: 12px;
  font-weight: 700;
}

.language-code-input {
  text-transform: uppercase;
}

.language-active-toggle {
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.language-active-toggle input {
  width: 18px;
  height: 18px;
}

.small-note {
  font-size: 12px;
}

.simple-list-row button,
.array-item-title button,
.lead-item button {
  border: 1px solid #f0b8b1;
  color: #b42318;
  background: #fff;
  border-radius: 4px;
}

.simple-list-row button {
  display: grid;
  place-items: center;
}

.array-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.array-title h3,
.array-title h4 {
  margin: 0;
}

.array-title.compact {
  margin: 4px 0 10px;
}

.array-title.compact h4 {
  color: #344054;
}

.compact-editor {
  border-top: 1px solid #e4e7ec;
  padding-top: 12px;
}

.compact-editor .compact-editor {
  border: 1px dashed #d0d5dd;
  background: #f8fafc;
  padding: 12px;
}

.array-list {
  display: grid;
  gap: 14px;
}

.array-item {
  border: 1px solid #e4e7ec;
  background: #fcfcfd;
  padding: 16px;
}

.array-item-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.array-item-title strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.array-item-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.array-item-title button,
.lead-item button {
  padding: 8px 10px;
}

.array-item-actions button[data-action="move-item"] {
  border-color: rgba(0, 125, 185, 0.28);
  color: var(--color-primary);
  background: #f0f9ff;
}

.array-item-actions button[data-action="move-item"]:hover:not(:disabled) {
  border-color: var(--color-primary);
  background: #e6f4fb;
}

.array-item-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.metric {
  background: #fff;
  border: 1px solid #dfe4ea;
  padding: 20px;
  display: grid;
  gap: 8px;
}

.metric svg,
.metric .ui-icon {
  color: var(--color-primary);
}

.metric strong {
  font-size: 30px;
  color: #101828;
}

.metric span {
  color: #667085;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.check-grid p {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #344054;
}

.check-grid svg,
.check-grid .ui-icon {
  flex: 0 0 auto;
  color: #087443;
}

.lead-list {
  display: grid;
  gap: 12px;
}

.lead-item {
  border: 1px solid #e4e7ec;
  padding: 16px;
  display: grid;
  gap: 10px;
}

.lead-item div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.lead-item span,
.lead-item small,
.muted {
  color: #667085;
}

.lead-item p {
  margin: 0;
}

.lead-item button {
  justify-self: start;
}

.json-editor {
  width: 100%;
  min-height: 64vh;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 13px;
  line-height: 1.55;
  border: 1px solid #d7dbe1;
  padding: 14px;
  margin-bottom: 14px;
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #101418;
  padding: 24px;
}

.login-card {
  width: min(420px, 100%);
  background: #fff;
  border: 1px solid #dfe4ea;
  padding: 30px;
  display: grid;
  gap: 14px;
}

.login-card .logo-mark {
  color: #101418;
}

.login-card h1 {
  margin: 0;
  color: #101828;
}

.login-card p {
  margin: 0 0 8px;
  color: #667085;
  line-height: 1.6;
}

.login-card input {
  border: 1px solid #d7dbe1;
  padding: 12px 14px;
}

@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: auto minmax(0, 1fr) max-content;
    gap: 22px;
  }

  .header-language {
    min-width: 78px;
  }

  .navbar > ul {
    gap: 18px;
  }

  .navbar button {
    font-size: 13px;
  }

  .lightbox-prev {
    left: 12px;
  }

  .lightbox-next {
    right: 12px;
  }
}

@media (max-width: 980px) {
  .card-grid.three,
  .feature-content,
  .contact-grid,
  .contact-map-layout,
  .two-column,
  .footer-grid,
  .office-grid,
  .admin-grid.two,
  .admin-row.two,
  .admin-row.three,
  .check-grid,
  .admin-metrics {
    grid-template-columns: 1fr;
  }

  .quality-intro,
  .quality-highlights {
    grid-template-columns: 1fr;
  }

  .feature-tabs {
    grid-template-columns: 1fr;
  }

  .card-grid.listing.catalog-listing {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .side-gallery-carousel {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
  }

  .side-gallery-strip figure,
  .side-gallery-carousel.is-static .side-gallery-strip figure {
    flex-basis: calc((100% - 28px) / 3);
  }

  .footer-showcase {
    width: min(100% - 28px, 720px);
  }

  .footer-company-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-company {
    min-height: 0;
    padding: 0;
  }

  .footer-company-title,
  .footer-company address {
    min-height: 0;
  }

  .footer-company-logo-wrap {
    min-height: 0;
    margin-bottom: 12px;
  }

  .footer-legal {
    width: min(100% - 28px, 720px);
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 12px 0;
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }

  .header-language {
    flex: 0 0 auto;
    width: auto;
    margin: 0 0 0 auto;
    padding: 0;
    justify-content: flex-end;
  }

  .site-header.is-scrolled .header-language {
    margin-top: 0;
  }

  .logo {
    width: auto;
    min-height: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  .logo img {
    width: 82px;
    height: auto;
    filter: brightness(0) invert(1);
  }

  .logo.logo-inner {
    width: auto;
    min-height: 58px;
    margin-top: 0;
    padding: 0;
  }

  .logo.logo-inner img {
    width: 50px;
    height: 58px;
    object-fit: contain;
  }

  .logo.logo-inner .wordmark-text {
    font-size: 28px;
  }

  .site-header.is-scrolled .logo {
    min-height: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-header.is-scrolled .logo img {
    width: 72px;
    height: auto;
    filter: none;
  }

  .site-header.is-scrolled .logo.logo-inner img {
    width: 42px;
    height: 46px;
    filter: brightness(0) saturate(100%) invert(13%) sepia(75%) saturate(1488%) hue-rotate(201deg) brightness(83%) contrast(103%);
  }

  .mobile-toggle,
  .navbar .mobile-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
  }

  .mobile-toggle {
    width: 56px;
    height: 56px;
    margin-left: 0;
    border-radius: 6px;
  }

  .mobile-toggle .ui-icon {
    width: 32px;
    min-width: 32px;
    height: 32px;
    font-size: 32px;
    line-height: 1;
  }

  .navbar .mobile-close {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
  }

  .navbar .mobile-close .ui-icon {
    width: 26px;
    min-width: 26px;
    height: 26px;
    font-size: 26px;
  }

  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(400px, 100%);
    min-height: 100vh;
    background: rgba(0, 0, 0, 0.92);
    padding: 62px 24px 24px;
    transition: right 0.25s ease;
  }

  .navbar.mobile-open {
    right: 0;
  }

  .navbar .mobile-close {
    position: absolute;
    top: 18px;
    right: 18px;
  }

  .navbar > ul {
    display: grid;
    gap: 14px;
    padding: 0;
  }

  .navbar button {
    width: 100%;
    justify-content: space-between;
    padding: 9px 0;
  }

  .language-switch {
    justify-content: flex-start;
    padding: 9px 0;
  }

  .site-header.is-scrolled .navbar button {
    color: rgba(255, 255, 255, 0.72);
  }

  .site-header.is-scrolled .navbar button:hover,
  .site-header.is-scrolled .navbar button.active,
  .site-header.is-scrolled .navbar li:hover > button {
    color: #fff;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    box-shadow: none;
    padding: 0 0 0 14px;
    display: none;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
  }

  .dropdown-menu button {
    color: rgba(255, 255, 255, 0.72);
  }

  .hero-control {
    display: none;
  }

  .hero p {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1140px);
  }

  .card-grid.listing.catalog-listing {
    gap: 12px;
  }

  .catalog-card .media-body {
    padding: 12px;
  }

  .catalog-card .media-body h3 {
    font-size: 14px;
    line-height: 1.35;
  }

  .catalog-card .media-body p,
  .catalog-card .media-body .rich-text,
  .catalog-card .download-link {
    font-size: 12px;
    line-height: 1.4;
  }

  section {
    padding: 58px 0;
  }

  .logo-text small {
    display: none;
  }

  .logo-mark {
    width: 46px;
    height: 46px;
  }

  .hero {
    min-height: 92vh;
  }

  .service-item,
  .quote-form,
  .admin-panel,
  .section-title,
  .login-card {
    padding: 22px;
  }

  .admin-main {
    padding: 16px 16px 130px;
  }

  .admin-topbar,
  .admin-actions,
  .page-editor-head,
  .lead-item div {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-floating-actions {
    right: 12px;
    left: 12px;
    bottom: 12px;
  }

  .admin-floating-actions button {
    flex: 1;
    padding: 0 10px;
  }

  .language-row {
    grid-template-columns: 1fr;
  }

  .language-active-toggle {
    justify-content: flex-start;
    min-height: auto;
  }

  .content-bottom-gallery {
    margin-top: 38px;
  }

  .side-gallery-carousel {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 8px;
  }

  .side-gallery-strip {
    gap: 10px;
  }

  .side-gallery-strip figure,
  .side-gallery-carousel.is-static .side-gallery-strip figure {
    flex-basis: calc((100% - 10px) / 2);
  }

  .side-gallery-nav {
    min-height: 72px;
    font-size: 38px;
  }

  .lightbox-backdrop {
    padding: 14px;
  }

  .lightbox-dialog {
    min-height: calc(100vh - 28px);
  }

  .lightbox-nav {
    width: 42px;
    height: 52px;
  }

  .lightbox-prev {
    left: 0;
  }

  .lightbox-next {
    right: 0;
  }

  .lightbox-dialog figcaption {
    flex-direction: column;
    gap: 4px;
  }

  .quality-standards-page {
    padding: 48px 0 64px;
  }

  .quality-intro {
    padding: 26px;
  }

  .quality-intro h2,
  .quality-section-title h2 {
    font-size: 28px;
  }

  .footer-content {
    padding: 42px 0 30px;
  }

  .footer-group-mark {
    width: 136px;
    transform: translateX(-10px);
  }

  .footer-company {
    padding: 0;
  }

  .encarine-footer-logo {
    width: 192px;
  }

  .quality-logo-grid,
  .quality-norm-grid,
  .quality-card,
  .quality-norm-card {
    grid-template-columns: 1fr;
  }

  .quality-logo-frame,
  .quality-norm-icon {
    justify-self: start;
  }

  .admin-sidebar nav {
    grid-template-columns: 1fr;
  }

  .media-field > div,
  .simple-list-row {
    grid-template-columns: 1fr;
  }
}
