:root {
  --xf-primary: var(--site-accent, #2563ff);
  --xf-primary-rgb: var(--site-accent-rgb, 37, 99, 255);
  --xf-primary-dark: color-mix(in srgb, var(--xf-primary) 78%, #111 22%);
  --xf-primary-soft: rgba(var(--xf-primary-rgb), .08);
  --xf-primary-soft-strong: rgba(var(--xf-primary-rgb), .14);
  --xf-primary-border: rgba(var(--xf-primary-rgb), .24);
  --xf-primary-shadow: rgba(var(--xf-primary-rgb), .18);
  --xf-ink: var(--site-dark, #07173c);
  --xf-muted: #66728a;
  --xf-soft: var(--site-light, #f7faff);
  --xf-card: var(--site-surface, #ffffff);
  --xf-border: #dfe7f7;
  --xf-shadow: 0 18px 45px rgba(var(--xf-primary-rgb), .09);
  --xf-radius: 10px;
}

* {
  letter-spacing: 0;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--xf-ink);
  background: #fff;
  font-size: 15px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container {
  max-width: 1168px;
}

.xf-navbar {
  min-height: 86px;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(218, 226, 246, .88);
  backdrop-filter: blur(14px);
}

.xf-logo img {
  max-width: 176px;
  max-height: 54px;
  object-fit: contain;
}

.xf-navbar .nav-link {
  color: var(--xf-ink);
  font-size: 13px;
  font-weight: 800;
  padding: 31px 17px !important;
  position: relative;
}

.xf-navbar .nav-link:hover,
.xf-navbar .nav-link.active {
  color: var(--xf-primary);
}

.xf-navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: 17px;
  right: 17px;
  bottom: 0;
  height: 3px;
  background: var(--xf-primary);
  border-radius: 999px 999px 0 0;
}

.xf-navbar .dropdown-menu {
  border: 1px solid var(--xf-border);
  border-radius: 8px;
  box-shadow: var(--xf-shadow);
  padding: 10px;
}

.xf-navbar .dropdown-item {
  border-radius: 6px;
  color: var(--xf-ink);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 12px;
}

.xf-navbar .dropdown-item:hover {
  color: var(--xf-primary);
  background: #eef4ff;
}

.xf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 22px;
  border: 1px solid var(--xf-primary);
  border-radius: 7px;
  background: var(--xf-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(37, 99, 255, .22);
  transition: .2s ease;
}

.xf-btn:hover {
  color: #fff;
  background: var(--xf-primary-dark);
  border-color: var(--xf-primary-dark);
  transform: translateY(-1px);
}

.xf-btn-light {
  background: #fff;
  color: var(--xf-ink);
  border-color: var(--xf-primary);
  box-shadow: none;
}

.xf-btn-light:hover {
  color: #fff;
}

.xf-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 0;
  background:
    radial-gradient(circle at 78% 30%, rgba(37, 99, 255, .18), transparent 25%),
    linear-gradient(180deg, #f8fbff 0%, #fff 68%, #f4f8ff 100%);
  border-bottom: 1px solid #e8effc;
}

.xf-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(37, 99, 255, .08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(37, 99, 255, .08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 75% 35%, #000 0, transparent 44%);
  pointer-events: none;
}

.xf-hero h1 {
  margin: 0;
  color: var(--xf-ink);
  font-size: clamp(38px, 5.1vw, 70px);
  line-height: 1.1;
  font-weight: 900;
}

.xf-hero h1 span {
  color: var(--xf-primary);
}

.xf-hero .lead {
  color: var(--xf-primary);
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 800;
}

.xf-hero p {
  color: #34415f;
  max-width: 560px;
}

.xf-hero-media {
  min-height: 500px;
  display: flex;
  align-items: flex-end;
}

.xf-hero-media img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  filter: drop-shadow(0 30px 55px rgba(28, 69, 150, .18));
}

.xf-hero-features {
  position: relative;
  z-index: 2;
  margin-top: 44px;
  padding: 22px 0;
}

.xf-mini-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.xf-icon-box {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--xf-primary);
  background: #edf4ff;
  font-size: 18px;
}

.xf-icon-box i {
  width: 1.18em;
  height: 1.18em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-align: center;
  transform: none;
  vertical-align: middle;
}

.xf-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
}

.xf-mini-feature h3,
.xf-mini-feature h4 {
  margin: 0;
  color: var(--xf-ink);
  font-size: 13px;
  font-weight: 900;
}

.xf-mini-feature p {
  margin: 0;
  color: var(--xf-muted);
  font-size: 12px;
  line-height: 1.35;
}

.xf-section {
  padding: 54px 0;
}

.xf-section-tight {
  padding: 38px 0;
}

.xf-soft {
  background: linear-gradient(180deg, #fff 0%, var(--xf-soft) 100%);
}

.xf-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.xf-section-head h2 {
  margin: 0;
  color: var(--xf-ink);
  font-size: clamp(23px, 2.1vw, 30px);
  line-height: 1.18;
  font-weight: 900;
}

.xf-section-head p {
  margin: 6px 0 0;
  color: var(--xf-muted);
  max-width: 560px;
}

.xf-link-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--xf-primary);
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
}

.xf-card {
  height: 100%;
  border: 1px solid var(--xf-border);
  border-radius: var(--xf-radius);
  background: var(--xf-card);
  box-shadow: var(--xf-shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.xf-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 255, .35);
  box-shadow: 0 22px 60px rgba(18, 59, 140, .13);
}

.xf-scroll-shell {
  position: relative;
}

.xf-scroll-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px 2px 18px;
}

.xf-scroll-track::-webkit-scrollbar {
  display: none;
}

.xf-scroll-item {
  flex: 0 0 calc((100% - 72px) / 4);
  min-width: 0;
  scroll-snap-align: start;
}

.xf-scroll-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--xf-border);
  border-radius: 50%;
  color: var(--xf-primary);
  background: #fff;
  box-shadow: 0 14px 34px rgba(14, 47, 119, .14);
  transform: translateY(-50%);
  transition: .2s ease;
}

.xf-scroll-btn i {
  line-height: 1;
}

.xf-scroll-btn:hover {
  color: #fff;
  background: var(--xf-primary);
  border-color: var(--xf-primary);
}

.xf-scroll-prev {
  left: -21px;
}

.xf-scroll-next {
  right: -21px;
}

.xf-service-card {
  padding: 30px 24px;
}

.xf-service-card h3 {
  margin: 18px 0 10px;
  font-size: 18px;
  font-weight: 900;
}

.xf-service-card p {
  min-height: 72px;
  color: var(--xf-muted);
  font-size: 14px;
}

.xf-card-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  align-self: flex-start;
  padding: 8px 11px;
  margin-left: -11px;
  border-radius: 8px;
  color: var(--xf-ink);
  font-weight: 900;
  font-size: 13px;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}

.xf-card-link i {
  color: var(--xf-primary);
}

.fw-black {
  font-weight: 900;
}

.xf-product-card,
.xf-logo-card {
  padding: 14px;
  text-align: center;
}

.xf-product-card .xf-img {
  width: 100%;
  aspect-ratio: 1 / .82;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f7f9fe;
  overflow: hidden;
}

.xf-product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xf-product-card h3 {
  margin: 14px 0 4px;
  min-height: 38px;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 900;
}

.xf-price {
  color: var(--xf-primary);
  font-weight: 900;
  font-size: 13px;
}

.xf-project-card {
  overflow: hidden;
}

.xf-project-card .xf-img,
.xf-blog-card .xf-img,
.xf-detail-img {
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.xf-project-card img,
.xf-blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.xf-project-card .xf-body,
.xf-blog-card .xf-body {
  padding: 18px;
}

.xf-project-card h3,
.xf-blog-card h3 {
  color: var(--xf-ink);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
}

.xf-meta {
  color: var(--xf-muted);
  font-size: 13px;
}

.xf-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--xf-primary);
  background: #eef4ff;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
}

.xf-about {
  overflow: hidden;
  background: #fff;
}

.xf-about h2 {
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.2;
}

.xf-about-img {
  min-height: 410px;
  border-radius: 0 10px 10px 0;
  overflow: hidden;
}

.xf-about-img img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
}

.xf-check-list {
  padding: 0;
  margin: 20px 0 28px;
  list-style: none;
}

.xf-check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 8px 0;
  color: #33405f;
}

.xf-check-list i {
  margin-top: 4px;
  color: var(--xf-primary);
}

.xf-stat-card {
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
}

.xf-stat-card strong {
  color: var(--xf-ink);
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}

.xf-stat-card span {
  display: block;
  color: var(--xf-muted);
  font-size: 12px;
}

.xf-sidebar {
  position: sticky;
  top: 104px;
}

.xf-sidebar-card {
  padding: 22px;
  border: 0;
  border-radius: var(--xf-radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(13, 30, 62, .065);
}

.xf-sidebar-card h2,
.xf-sidebar-card h3 {
  margin-bottom: 16px;
  color: var(--xf-ink);
  font-size: 18px;
  font-weight: 900;
}

.xf-side-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.xf-side-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 7px;
  color: #33405f;
  background: #f7faff;
  font-weight: 800;
  font-size: 13px;
}

.xf-side-list a:hover,
.xf-side-list a.active {
  color: #fff;
  background: var(--xf-primary);
}

.xf-page-hero {
  padding: 56px 0;
  background:
    radial-gradient(circle at 82% 25%, rgba(37, 99, 255, .14), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #fff 100%);
  border-bottom: 1px solid #e8effc;
}

.xf-page-hero h1 {
  margin: 0;
  color: var(--xf-ink);
  font-size: clamp(24px, 3.6vw, 32px);
  font-weight: 900;
}

.xf-breadcrumb {
  margin-top: 14px;
}

.xf-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.xf-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--xf-muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.xf-breadcrumb li + li::before {
  content: "›";
  color: #9aa6bb;
  font-weight: 800;
}

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

.xf-breadcrumb a:hover {
  color: var(--xf-primary);
}

.xf-breadcrumb span {
  color: var(--xf-muted);
}

.xf-navbar .nav-link,
.xf-navbar .dropdown-item,
.xf-breadcrumb a,
.xf-breadcrumb span,
.xf-side-list a,
.xf-footer li a,
.xf-section-link,
.xf-link-more,
.xf-card-link {
  text-transform: capitalize;
}

.xf-footer li a[href^="mailto:"],
.xf-footer li a[href^="tel:"],
.xf-social a {
  text-transform: none;
}

.xf-content {
  color: #33405f;
  font-size: 16px;
}

.xf-content img {
  border-radius: 8px;
}

.xf-content h1,
.xf-content h2,
.xf-content h3,
.xf-content h4,
.xf-content h5 {
  color: var(--xf-ink);
  font-weight: 900;
}

.xf-content h1 {
  font-size: clamp(24px, 2.3vw, 30px);
}

.xf-content h2 {
  font-size: clamp(22px, 2vw, 27px);
}

.xf-content h3 {
  font-size: clamp(20px, 1.7vw, 24px);
}

.xf-faq {
  display: grid;
  gap: 14px;
  max-width: 1160px;
  margin: 0 auto;
}

.xf-faq-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(213, 222, 237, .92);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(13, 30, 62, .055);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.xf-faq-item::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: transparent;
  transition: background-color .18s ease;
}

.xf-faq-item:has(.accordion-button:not(.collapsed)) {
  border-color: rgba(var(--xf-primary-rgb), .22);
  box-shadow: 0 18px 42px rgba(var(--xf-primary-rgb), .08);
  background:
    linear-gradient(90deg, rgba(var(--xf-primary-rgb), .035), transparent 42%),
    #fff;
}

.xf-faq-item:has(.accordion-button:not(.collapsed))::before {
  background: var(--xf-primary);
}

.xf-faq-button {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 16px;
  min-height: 74px;
  padding: 18px 22px 18px 28px;
  color: var(--xf-ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none !important;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  text-align: left;
  transition: color .18s ease, background-color .18s ease;
}

.xf-faq-button::after {
  display: none;
}

.xf-faq-button:hover,
.xf-faq-button:focus {
  color: var(--xf-primary);
  background: rgba(var(--xf-primary-rgb), .035);
  box-shadow: none;
}

.xf-faq-button:not(.collapsed) {
  color: var(--xf-primary);
  background: rgba(var(--xf-primary-rgb), .055);
}

.xf-faq-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(213, 222, 237, .95);
  border-radius: 8px;
  color: #7a89a5;
  background: #f6f8fc;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

.xf-faq-button:not(.collapsed) .xf-faq-number {
  color: #fff;
  border-color: var(--xf-primary);
  background: var(--xf-primary);
}

.xf-faq-question {
  min-width: 0;
}

.xf-faq-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(213, 222, 237, .95);
  border-radius: 50%;
  color: var(--xf-ink);
  background: #fff;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

.xf-faq-toggle i {
  font-size: 12px;
  line-height: 1;
}

.xf-faq-toggle .fa-minus {
  display: none;
}

.xf-faq-button:not(.collapsed) .xf-faq-toggle {
  color: #fff;
  border-color: var(--xf-primary);
  background: var(--xf-primary);
}

.xf-faq-button:not(.collapsed) .xf-faq-toggle .fa-plus {
  display: none;
}

.xf-faq-button:not(.collapsed) .xf-faq-toggle .fa-minus {
  display: inline-block;
}

.xf-faq-body {
  padding: 0 22px 24px 98px;
  color: #52617d;
  font-size: 15px;
  line-height: 1.8;
}

.xf-faq-answer {
  padding-top: 18px;
  border-top: 1px solid rgba(213, 222, 237, .72);
}

.xf-detail-panel {
  padding: 28px;
  border: 0 !important;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(13, 30, 62, .065);
}

.xf-detail-panel > :last-child,
.xf-detail-panel .xf-content > :last-child {
  margin-bottom: 0;
}

.xf-form-control {
  min-height: 48px;
  border: 1px solid var(--xf-border);
  border-radius: 7px;
  padding: 12px 14px;
}

.xf-form-control:focus {
  border-color: var(--xf-primary);
  box-shadow: 0 0 0 .2rem rgba(37, 99, 255, .12);
}

.xf-pagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.xf-pagination a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--xf-border);
  border-radius: 7px;
  color: var(--xf-ink);
  font-weight: 900;
}

.xf-pagination a.active,
.xf-pagination a:hover {
  color: #fff;
  background: var(--xf-primary);
  border-color: var(--xf-primary);
}

.xf-brand-strip {
  border-top: 1px solid var(--xf-border);
  border-bottom: 1px solid var(--xf-border);
  background: #fff;
}

.xf-logo-card {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.xf-logo-card img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .78;
}

.xf-footer {
  padding-top: 56px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  border-top: 1px solid var(--xf-border);
}

.xf-footer-logo img {
  max-width: 327px;
  max-height: 58px;
  object-fit: contain;
}

.xf-footer p,
.xf-footer li,
.xf-footer a {
  color: #5d6881;
  font-size: 13px;
}

.xf-footer a:hover {
  color: var(--xf-primary);
}

.xf-footer h3 {
  margin-bottom: 18px;
  color: var(--xf-ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.xf-footer ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.xf-social {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.xf-social a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--xf-ink);
  background: #eef4ff;
  border-radius: 999px;
}

.xf-social a:hover {
  color: #fff;
  background: var(--xf-primary);
}

.xf-backtop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  z-index: 20;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--xf-primary);
  box-shadow: 0 12px 32px rgba(37, 99, 255, .26);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease;
}

.xf-backtop.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.xf-floating-contact {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 25;
  display: grid;
  gap: 10px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity .2s ease, transform .2s ease;
}

.xf-floating-contact.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.xf-floating-contact a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: var(--xf-primary);
  box-shadow: var(--xf-shadow);
}

.xf-floating-contact a.xf-wa {
  background: #25d366;
}

.xf-gallery-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
}

.xf-album-card,
.xf-video-card {
  display: block;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.xf-album-card:hover,
.xf-video-card:hover {
  color: inherit;
  transform: none;
}

.xf-album-cover,
.xf-video-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background: #f6f8fc;
}

.xf-album-cover img,
.xf-video-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.xf-album-card:hover .xf-album-cover img,
.xf-video-card:hover .xf-video-thumb img {
  transform: scale(1.03);
}

.xf-album-empty {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: var(--xf-muted);
  font-size: 34px;
}

.xf-album-body,
.xf-video-body {
  display: block;
  padding: 20px;
}

.xf-album-body strong,
.xf-video-body strong {
  display: block;
  color: var(--xf-ink);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
}

.xf-album-meta {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--xf-primary);
  font-size: 13px;
  font-weight: 800;
}

.xf-album-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--xf-ink);
  font-weight: 800;
}

.xf-play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xf-play-badge i {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--xf-primary);
  box-shadow: 0 18px 42px rgba(var(--xf-primary-rgb), .28);
}

.xf-empty-state {
  padding: 34px;
  border-radius: 8px;
  color: var(--xf-muted);
  background: var(--xf-light);
  text-align: center;
  font-weight: 700;
}

.xf-home-gallery-card {
  display: block;
  padding: 0;
  overflow: hidden;
}

.xf-home-gallery-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.xf-image-modal .modal-dialog {
  width: min(1180px, calc(100vw - 32px));
  max-width: min(1180px, calc(100vw - 32px));
  margin-right: auto;
  margin-left: auto;
}

.xf-image-modal .modal-content {
  overflow: hidden;
  border-radius: 8px;
  background: rgba(8, 15, 32, .96);
}

.xf-image-modal .modal-body {
  position: relative;
  min-height: min(760px, calc(100vh - 48px));
  height: calc(100vh - 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 72px !important;
  overflow: hidden;
}

.xf-image-modal .xf-modal-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 96px);
  object-fit: contain;
  border-radius: 6px;
}

.xf-image-modal .xf-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background-color: #fff;
  opacity: 1;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
}

.xf-modal-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: #fff;
  background: var(--xf-primary);
  opacity: 1;
  transform: translateY(-50%);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .24);
}

.xf-modal-nav:hover,
.xf-modal-nav:focus {
  color: #fff;
  background: var(--xf-primary);
  opacity: 1;
}

.xf-modal-prev {
  left: 18px;
}

.xf-modal-next {
  right: 18px;
}

.xf-map iframe {
  width: 100%;
  min-height: 380px;
  border: 0;
  border-radius: 8px;
}

.xf-contact-card {
  padding: 24px;
}

.xf-contact-card h3 {
  margin: 14px 0 8px;
  font-size: 17px;
  font-weight: 900;
}

.xf-article-main-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 8px;
}

.xf-detail-main-img {
  height: 430px;
  object-fit: cover;
}

.xf-product-detail-img {
  height: 520px;
}

.xf-status-alert {
  position: fixed;
  top: 102px;
  right: 20px;
  z-index: 1080;
  max-width: min(360px, calc(100vw - 40px));
  box-shadow: var(--xf-shadow);
}

.ratio iframe {
  border: 0;
  border-radius: 8px;
}

@media (max-width: 991.98px) {
  .xf-navbar {
    min-height: 72px;
  }

  .xf-navbar .nav-link {
    padding: 12px 4px !important;
  }

  .xf-navbar .nav-link.active::after {
    display: none;
  }

  .xf-hero {
    padding-top: 44px;
  }

  .xf-hero-media {
    min-height: 300px;
  }

  .xf-section-head {
    align-items: start;
    flex-direction: column;
  }

  .xf-about-img,
  .xf-about-img img {
    min-height: 280px;
    border-radius: 10px;
  }

  .xf-sidebar {
    position: static;
  }
}

@media (max-width: 575.98px) {
  body {
    font-size: 14px;
  }

  .xf-section {
    padding: 40px 0;
  }

  .xf-hero h1 {
    font-size: 34px;
  }

  .xf-hero-features {
    margin-top: 24px;
  }

  .xf-image-modal .modal-dialog {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
  }

  .xf-image-modal .modal-body {
    height: calc(100vh - 32px);
    min-height: calc(100vh - 32px);
    padding: 20px 54px !important;
  }

  .xf-image-modal .xf-modal-image {
    max-height: calc(100vh - 72px);
  }

  .xf-image-modal .xf-modal-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
  }

  .xf-modal-nav {
    width: 38px;
    height: 38px;
  }

  .xf-modal-prev {
    left: 10px;
  }

  .xf-modal-next {
    right: 10px;
  }
}

/* Reference fidelity pass: wider canvas, lighter cards, larger image-led sections. */
.container {
  max-width: 1288px;
}

.xf-navbar {
  min-height: 88px;
  background: rgba(255, 255, 255, .96);
}

.xf-logo img {
  max-width: 300px;
}

.xf-navbar .nav-link {
  font-size: 12px;
  padding: 33px 18px !important;
}

.xf-btn {
  min-height: 46px;
  padding: 13px 24px;
  border-radius: 6px;
  font-size: 12px;
}

.xf-hero {
  padding: 34px 0 0;
  background:
    radial-gradient(circle at 78% 35%, rgba(37, 99, 255, .13), transparent 27%),
    linear-gradient(180deg, #f9fbff 0%, #fff 72%, #f5f8ff 100%);
}

.xf-hero .row.align-items-center {
  min-height: 560px;
}

.xf-hero h1 {
  max-width: 560px;
  font-size: clamp(48px, 4.65vw, 72px);
  line-height: 1.08;
}

.xf-hero .lead {
  max-width: 540px;
  font-size: clamp(20px, 1.55vw, 26px);
  line-height: 1.55;
}

.xf-hero p:not(.lead) {
  max-width: 560px;
  font-size: 14px;
}

.xf-hero-media {
  min-height: 555px;
  align-items: center;
  justify-content: center;
}

.xf-hero-media img {
  width: min(100%, 680px);
  max-height: 555px;
  object-fit: contain;
}

.xf-hero-features {
  margin-top: 0;
  padding: 20px 0 26px;
}

.xf-mini-feature {
  gap: 14px;
}

.xf-mini-feature .xf-icon-box,
.xf-benefit-item .xf-icon-box {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  border-radius: 12px;
}

.xf-section {
  padding: 50px 0;
}

.xf-section-tight {
  padding: 50px 0;
}

.xf-section-head {
  margin-bottom: 34px;
}

.xf-section-head.text-center {
  max-width: 760px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 8px;
}

.xf-section-head h2 {
  font-size: clamp(23px, 1.9vw, 30px);
}

.xf-section-head p {
  font-size: 14px;
}

.xf-card {
  border-color: #e3ebfa;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(14, 47, 119, .075);
}

.xf-service-card {
  min-height: 238px;
  padding: 26px 24px 24px;
}

.xf-service-icon {
  width: 50px;
  height: 50px;
  flex-basis: 50px;
  border-radius: 13px;
  font-size: 22px;
}

.xf-service-icon img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.xf-service-card h3 {
  margin-top: 20px;
  font-size: 17px;
}

.xf-service-card p {
  min-height: 48px;
  font-size: 13px;
  line-height: 1.55;
}

.xf-product-card {
  min-height: 190px;
  padding: 12px 12px 14px;
}

.xf-product-track {
  gap: 26px;
}

.xf-product-track .xf-scroll-item {
  flex-basis: calc((100% - 78px) / 4);
}

.xf-product-track .xf-product-card {
  min-height: 336px;
  padding: 22px 22px 24px;
}

.xf-product-card .xf-img {
  aspect-ratio: 1 / .78;
  background: #fbfcff;
}

.xf-product-track .xf-img {
  aspect-ratio: 1 / .76;
}

.xf-product-card img {
  object-fit: contain;
  padding: 4px;
}

.xf-product-card h3 {
  margin-top: 12px;
  min-height: 32px;
  font-size: 12px;
}

.xf-product-track .xf-product-card h3 {
  margin-top: 18px;
  min-height: 46px;
  font-size: 17px;
  line-height: 1.35;
}

.xf-price {
  font-size: 11px;
}

.xf-product-track .xf-price {
  font-size: 14px;
}

.xf-project-card img,
.xf-blog-card img {
  height: 216px;
}

.xf-project-card h3,
.xf-blog-card h3 {
  min-height: 46px;
  font-size: 17px;
}

.xf-about {
  padding: 0;
}

.xf-about .row {
  min-height: 520px;
}

.xf-about-img,
.xf-about-img img {
  min-height: 520px;
}

.xf-stat-card {
  min-height: 96px;
  padding: 20px;
}

.xf-stat-card strong {
  font-size: 24px;
}

.xf-benefit-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 26px 20px;
  box-shadow: 0 18px 42px rgba(18, 59, 140, .06);
}

.xf-benefit-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 22px;
  min-width: 0;
}

.xf-benefit-item + .xf-benefit-item {
  border-left: 1px solid var(--xf-border);
}

.xf-benefit-item strong {
  display: block;
  color: var(--xf-ink);
  font-size: 14px;
  font-weight: 900;
}

.xf-benefit-item span span {
  display: block;
  color: var(--xf-muted);
  font-size: 12px;
  line-height: 1.45;
}

.xf-brand-strip {
  padding-top: 34px !important;
  padding-bottom: 34px !important;
}

.xf-logo-card {
  height: 78px;
}

.xf-logo-track {
  gap: 18px;
  padding-bottom: 4px;
}

.xf-logo-track .xf-scroll-item {
  flex-basis: 184px;
}

.xf-logo-shell .xf-scroll-btn {
  width: 36px;
  height: 36px;
  opacity: .82;
}

.xf-footer {
  padding-top: 64px;
}

@media (max-width: 991.98px) {
  .container {
    max-width: 100%;
  }

  .xf-navbar {
    min-height: 72px;
  }

  .xf-navbar .nav-link {
    padding: 13px 8px !important;
    font-size: 15px;
  }

  .xf-hero {
    padding-top: 42px;
  }

  .xf-hero .row.align-items-center {
    min-height: 0;
  }

  .xf-hero h1 {
    font-size: clamp(34px, 9vw, 48px);
  }

  .xf-hero .lead {
    font-size: 18px;
    line-height: 1.5;
  }

  .xf-hero p:not(.lead) {
    font-size: 15px;
  }

  .xf-hero-media {
    min-height: auto;
    padding-top: 34px;
  }

  .xf-hero-media img {
    width: 100%;
    max-height: none;
  }

  .xf-benefit-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .xf-scroll-item,
  .xf-product-track .xf-scroll-item {
    flex-basis: calc((100% - 20px) / 2);
  }

  .xf-product-track {
    gap: 20px;
  }

  .xf-product-track .xf-product-card {
    min-height: 300px;
  }

  .xf-logo-track .xf-scroll-item {
    flex-basis: 168px;
  }

  .xf-scroll-prev {
    left: 6px;
  }

  .xf-scroll-next {
    right: 6px;
  }

  .xf-benefit-item:nth-child(odd) {
    border-left: 0;
  }

  .xf-benefit-item:nth-child(n+3) {
    border-top: 1px solid var(--xf-border);
  }
}

@media (max-width: 575.98px) {
  .xf-logo img {
    max-width: 223px;
  }

  .xf-faq {
    gap: 12px;
  }

  .xf-faq-button {
    grid-template-columns: 42px minmax(0, 1fr) 34px;
    gap: 10px;
    min-height: 64px;
    padding: 14px 14px 14px 18px;
    font-size: 14px;
  }

  .xf-faq-number {
    width: 38px;
    height: 38px;
    font-size: 12px;
  }

  .xf-faq-toggle {
    width: 32px;
    height: 32px;
  }

  .xf-faq-body {
    padding: 0 16px 20px 70px;
    font-size: 14px;
    line-height: 1.7;
  }

  .xf-hero {
    padding-top: 34px;
  }

  .xf-hero h1 {
    font-size: 34px;
    line-height: 1.12;
  }

  .xf-hero .lead {
    font-size: 17px;
  }

  .xf-hero p:not(.lead) {
    font-size: 14px;
    line-height: 1.7;
  }

  .xf-hero .d-flex {
    gap: 12px !important;
  }

  .xf-hero .xf-btn {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 14px;
  }

  .xf-service-card {
    min-height: 0;
  }

  .xf-product-card {
    min-height: 188px;
  }

  .xf-scroll-item,
  .xf-product-track .xf-scroll-item {
    flex-basis: 82%;
  }

  .xf-product-track .xf-product-card {
    min-height: 292px;
    padding: 18px;
  }

  .xf-product-track .xf-product-card h3 {
    min-height: auto;
    font-size: 16px;
  }

  .xf-logo-track .xf-scroll-item {
    flex-basis: 150px;
  }

  .xf-scroll-btn {
    width: 38px;
    height: 38px;
  }

  .xf-about .row,
  .xf-about-img,
  .xf-about-img img {
    min-height: 320px;
  }

  .xf-stat-card {
    min-height: 142px;
    padding: 16px 10px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
  }

  .xf-stat-card .xf-icon-box {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  .xf-stat-card strong {
    font-size: 25px;
    line-height: 1;
  }

  .xf-stat-card span {
    max-width: 100%;
    line-height: 1.35;
  }

  .xf-benefit-band {
    grid-template-columns: 1fr;
    padding: 8px 18px;
  }

  .xf-benefit-item {
    padding: 18px 0;
  }

  .xf-benefit-item + .xf-benefit-item {
    border-left: 0;
    border-top: 1px solid var(--xf-border);
  }
}

/* Clean polish reset: static cards, centered icons, larger products. */
:root {
  --xf-border: #e8eef9;
  --xf-shadow: none;
}

.xf-card,
.xf-sidebar-card,
.xf-contact-card,
.xf-product-card,
.xf-service-card,
.xf-project-card,
.xf-blog-card,
.xf-testimonial-card,
.xf-benefit-band,
.xf-stat-card,
.xf-logo-card {
  border: 1px solid #e8eef9;
  border-radius: 8px;
  box-shadow: none !important;
}

.xf-card,
.xf-btn,
.xf-scroll-btn,
.xf-social a,
.xf-floating-contact a,
.xf-backtop,
.xf-navbar .dropdown-item,
.xf-side-list a,
.xf-pagination a {
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, opacity .18s ease;
}

.xf-card:hover,
.xf-btn:hover,
.xf-scroll-btn:hover,
.xf-social a:hover,
.xf-floating-contact a:hover,
.xf-backtop:hover,
.xf-product-card:hover,
.xf-service-card:hover,
.xf-project-card:hover,
.xf-blog-card:hover,
.xf-testimonial-card:hover,
.xf-logo-card:hover {
  transform: none !important;
}

.xf-card:hover,
.xf-product-card:hover,
.xf-service-card:hover,
.xf-project-card:hover,
.xf-blog-card:hover,
.xf-testimonial-card:hover,
.xf-logo-card:hover {
  border-color: #d7e2f4;
  box-shadow: none !important;
}

.xf-icon-box {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.xf-icon-box i,
.xf-scroll-btn i,
.xf-btn i,
.xf-card-link i,
.xf-link-more i {
  line-height: 1;
}

.xf-icon-box i {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  margin: 0;
  font-size: .94em;
  text-align: center;
}

.xf-icon-box i::before {
  display: block;
  width: 100%;
  line-height: 1;
  text-align: center;
}

.xf-mini-feature .xf-icon-box,
.xf-benefit-item .xf-icon-box {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  font-size: 18px;
}

.xf-service-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 12px;
  font-size: 21px;
}

.xf-product-track {
  gap: 28px;
  padding: 2px 2px 22px;
}

.xf-product-track .xf-scroll-item {
  flex-basis: calc((100% - 84px) / 4);
}

.xf-product-track .xf-product-card {
  min-height: 360px;
  padding: 20px 20px 22px;
  background: #fff;
}

.xf-product-track .xf-img {
  aspect-ratio: 1 / .86;
  border-radius: 8px;
  background: #f8fbff;
}

.xf-product-track .xf-img img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  padding: 0;
  transform: scale(1.22);
  transform-origin: center;
}

.xf-product-track .xf-product-card h3 {
  margin-top: 20px;
  min-height: 44px;
  font-size: 16px;
  line-height: 1.35;
}

.xf-product-track .xf-price {
  font-size: 13px;
}

.xf-scroll-btn {
  box-shadow: none;
  border-color: #e4ebf8;
}

.xf-brand-strip {
  padding-top: 28px !important;
  padding-bottom: 28px !important;
  overflow: visible;
}

.xf-logo-track {
  gap: 18px;
  padding: 4px 2px 12px;
}

.xf-logo-track .xf-scroll-item {
  flex: 0 0 184px;
}

.xf-logo-card {
  height: 74px;
  background: #fff;
  box-shadow: none !important;
}

.xf-logo-card img {
  max-height: 42px;
}

.xf-reference-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 132px;
  gap: 12px;
  justify-content: center;
}

.xf-reference-card img {
  max-width: 150px;
  max-height: 54px;
  object-fit: contain;
}

.xf-reference-card span {
  display: block;
  color: var(--xf-muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

@media (max-width: 991.98px) {
  .xf-product-track .xf-scroll-item {
    flex-basis: calc((100% - 22px) / 2);
  }

  .xf-product-track {
    gap: 22px;
  }

  .xf-product-track .xf-product-card {
    min-height: 332px;
  }
}

@media (max-width: 575.98px) {
  .xf-product-track .xf-scroll-item {
    flex-basis: 84%;
  }

  .xf-product-track .xf-product-card {
    min-height: 318px;
  }

  .xf-product-track .xf-img img {
    transform: scale(1.16);
  }
}

/* Neutral color pass: icons are not painted with the accent color. */
.xf-soft {
  background: linear-gradient(180deg, #fff 0%, #f8fafd 100%);
}

.xf-hero {
  background:
    radial-gradient(circle at 76% 36%, rgba(37, 99, 255, .08), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, #fff 76%, #f7faff 100%);
}

.xf-hero::before {
  background-image:
    linear-gradient(90deg, rgba(37, 99, 255, .045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(37, 99, 255, .045) 1px, transparent 1px);
}

.xf-icon-box,
.xf-mini-feature .xf-icon-box,
.xf-benefit-item .xf-icon-box,
.xf-service-icon {
  color: #0b1739;
  background: #f4f7fb;
  border: 1px solid #e9eef7;
}

.xf-card-link,
.xf-link-more {
  color: #0b1739;
}

.xf-card-link i,
.xf-link-more i,
.xf-check-list i {
  color: #0b1739;
}

.xf-badge {
  color: #10224a;
  background: #f3f6fb;
  border: 1px solid #e7edf7;
}

.xf-price {
  color: #10224a;
}

.xf-scroll-btn {
  color: #0b1739;
  background: #fff;
}

.xf-scroll-btn:hover {
  color: #0b1739;
  background: #f4f7fb;
  border-color: #dbe5f3;
}

.xf-side-list a:hover,
.xf-side-list a.active,
.xf-pagination a.active,
.xf-pagination a:hover {
  color: #fff;
  background: var(--xf-primary);
  border-color: var(--xf-primary);
}

/* Detail-page layout fix: generic cards must not force full column height. */
.xf-card {
  height: auto;
}

.xf-service-card,
.xf-product-card,
.xf-project-card,
.xf-blog-card,
.xf-testimonial-card,
.xf-logo-card,
.xf-stat-card,
.xf-contact-card {
  height: 100%;
}

.carousel.xf-card,
.xf-card.carousel,
article.xf-card,
form.xf-card {
  height: auto;
}

.xf-card.xf-service-card {
  height: 100%;
  min-height: 272px;
  display: flex;
  flex-direction: column;
}

.xf-service-card .xf-card-link {
  margin-top: auto;
}

.xf-content {
  clear: both;
  overflow-wrap: anywhere;
  font-weight: 400;
}

.xf-sidebar-card {
  border: 0 !important;
  box-shadow: 0 14px 34px rgba(13, 30, 62, .065) !important;
}

.xf-content::after {
  content: "";
  display: block;
  clear: both;
}

.xf-content p,
.xf-content li,
.xf-content td,
.xf-content th,
.xf-content span {
  color: #33405f;
  font-weight: 400 !important;
  line-height: 1.75;
}

.xf-content h1:has(p),
.xf-content h2:has(p),
.xf-content h3:has(p),
.xf-content h4:has(p),
.xf-content h5:has(p),
.xf-content h6:has(p) {
  margin: 0;
  color: #33405f;
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
}

.xf-content strong,
.xf-content b {
  font-weight: 700;
}

.xf-content iframe,
.xf-content table,
.xf-content img {
  max-width: 100%;
}

.xf-detail-media {
  display: block;
  height: auto;
}

/* Menu polish: no underline, dropdowns open on hover at desktop sizes. */
.xf-navbar .nav-link::after,
.xf-navbar .nav-link.active::after,
.xf-navbar .nav-link:hover::after {
  display: none !important;
}

@media (min-width: 992px) {
  .xf-navbar .dropdown-menu {
    display: block;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
  }

  .xf-navbar .dropdown:hover > .dropdown-menu,
  .xf-navbar .dropdown.show > .dropdown-menu,
  .xf-navbar .dropdown > .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
}

/* Dropdown caret restore without bringing back nav underline/focus box. */
.xf-navbar .nav-link:focus,
.xf-navbar .nav-link:focus-visible,
.xf-navbar .dropdown-toggle:focus,
.xf-navbar .dropdown-toggle:focus-visible {
  outline: 0 !important;
  box-shadow: none !important;
}

.xf-navbar .nav-link:not(.dropdown-toggle)::after,
.xf-navbar .nav-link:not(.dropdown-toggle).active::after,
.xf-navbar .nav-link:not(.dropdown-toggle):hover::after {
  content: none !important;
  display: none !important;
}

.xf-navbar .dropdown-toggle::after,
.xf-navbar .dropdown-toggle:hover::after,
.xf-navbar .dropdown-toggle:focus::after,
.xf-navbar .dropdown-toggle.active::after,
.xf-navbar .dropdown.show > .dropdown-toggle::after {
  content: "" !important;
  position: static !important;
  display: inline-block !important;
  width: 0 !important;
  height: 0 !important;
  margin-left: 7px !important;
  vertical-align: .12em !important;
  border-top: .28em solid currentColor !important;
  border-right: .28em solid transparent !important;
  border-bottom: 0 !important;
  border-left: .28em solid transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  opacity: .78;
  inset: auto !important;
  transform: none !important;
}

/* Carousel hover lock: hover must not move cards, controls, or media. */
.xf-detail-carousel,
.carousel.xf-card,
.xf-card.carousel {
  border: 0 !important;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(13, 30, 62, .065) !important;
  transform: none !important;
  transition: opacity .18s ease !important;
  will-change: auto;
}

.xf-detail-carousel:hover,
.carousel.xf-card:hover,
.xf-card.carousel:hover {
  transform: none !important;
  border-color: transparent !important;
  box-shadow: 0 14px 34px rgba(13, 30, 62, .065) !important;
}

.xf-detail-carousel .carousel-inner {
  border-radius: inherit;
}

.xf-detail-carousel img,
.xf-detail-carousel:hover img,
.xf-detail-carousel .carousel-control-prev,
.xf-detail-carousel .carousel-control-next,
.xf-detail-carousel .carousel-control-prev:hover,
.xf-detail-carousel .carousel-control-next:hover,
.xf-scroll-shell:hover,
.xf-scroll-track:hover,
.xf-scroll-item:hover,
.xf-scroll-item:hover > *,
.xf-product-track .xf-product-card:hover,
.xf-logo-track .xf-logo-card:hover {
  transform: none !important;
}

.xf-detail-carousel .carousel-control-prev,
.xf-detail-carousel .carousel-control-next {
  top: 0;
  bottom: 0;
  transition: opacity .18s ease !important;
}

.xf-scroll-item:hover > .xf-card,
.xf-product-track .xf-product-card:hover,
.xf-logo-track .xf-logo-card:hover {
  border-color: #e8eef9 !important;
  box-shadow: none !important;
}

/* Horizontal carousel arrows must keep their vertical centering on hover. */
.xf-scroll-btn,
.xf-scroll-btn:hover,
.xf-scroll-btn:focus,
.xf-scroll-btn:active,
.xf-scroll-shell:hover .xf-scroll-btn {
  transform: translateY(-50%) !important;
  opacity: 1 !important;
}

.xf-logo-shell .xf-scroll-btn,
.xf-logo-shell .xf-scroll-btn:hover,
.xf-logo-shell .xf-scroll-btn:focus,
.xf-logo-shell .xf-scroll-btn:active,
.xf-detail-carousel .carousel-control-prev,
.xf-detail-carousel .carousel-control-next,
.xf-detail-carousel .carousel-control-prev:hover,
.xf-detail-carousel .carousel-control-next:hover,
.xf-detail-carousel .carousel-control-prev:focus,
.xf-detail-carousel .carousel-control-next:focus {
  opacity: 1 !important;
}

.xf-scroll-btn i,
.xf-scroll-btn:hover i,
.xf-detail-carousel .carousel-control-prev-icon,
.xf-detail-carousel .carousel-control-next-icon,
.xf-detail-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.xf-detail-carousel .carousel-control-next:hover .carousel-control-next-icon {
  transform: none !important;
}

/* Unified product cards across home, product list, category and detail pages. */
.xf-product-card,
.xf-product-track .xf-product-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 20px 20px 22px;
  text-align: center;
  background: #fff;
}

.xf-product-card .xf-img,
.xf-product-track .xf-img {
  width: 100%;
  aspect-ratio: 1 / .86;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f8fbff;
  overflow: hidden;
}

.xf-product-card img,
.xf-product-track .xf-img img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  padding: 0;
  transform: none !important;
}

.xf-product-card h3,
.xf-product-track .xf-product-card h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 900;
}

.xf-product-card h3 a {
  color: inherit;
}

.xf-product-price {
  display: grid;
  gap: 3px;
  justify-items: center;
  margin-top: auto;
  padding-top: 14px;
}

.xf-product-price .xf-price,
.xf-product-track .xf-price {
  display: block;
  margin: 0;
  color: #10224a;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.xf-old-price {
  color: #8b98ad;
  font-size: 12px;
  line-height: 1.2;
}

.xf-testimonial-card {
  min-height: 260px;
  padding: 24px;
  background: #fff;
}

.xf-testimonial-track {
  gap: 28px;
  padding: 2px 2px 22px;
}

.xf-testimonial-track .xf-scroll-item {
  flex: 0 0 calc((100% - 56px) / 3);
}

.xf-testimonial-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.xf-testimonial-head img,
.xf-testimonial-avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  background: #f4f7fb;
  object-fit: cover;
  overflow: hidden;
}

.xf-testimonial-avatar {
  display: inline-grid;
  place-items: center;
  color: var(--xf-ink);
  font-weight: 900;
}

.xf-testimonial-head strong,
.xf-testimonial-head small {
  display: block;
}

.xf-testimonial-head strong {
  color: var(--xf-ink);
  font-size: 15px;
  line-height: 1.25;
  font-weight: 900;
}

.xf-testimonial-head small {
  margin-top: 3px;
  color: var(--xf-muted);
  font-size: 12px;
  line-height: 1.25;
}

.xf-testimonial-card p {
  margin: 0;
  color: var(--xf-muted);
  font-size: 14px;
  line-height: 1.75;
}

.xf-service-track {
  gap: 28px;
  padding: 2px 2px 22px;
}

.xf-service-track .xf-scroll-item {
  flex: 0 0 calc((100% - 84px) / 4);
}

.xf-service-track .xf-service-card {
  height: 100%;
  min-height: 272px;
}

.xf-project-track {
  gap: 28px;
  padding: 2px 2px 22px;
}

.xf-project-track .xf-scroll-item {
  flex: 0 0 calc((100% - 56px) / 3);
}

.xf-project-track .xf-project-card {
  height: 100%;
  min-height: 392px;
}

.xf-blog-track {
  gap: 28px;
  padding: 2px 2px 22px;
}

.xf-blog-track .xf-scroll-item {
  flex: 0 0 calc((100% - 56px) / 3);
}

.xf-blog-track .xf-blog-card {
  min-height: 420px;
}

.xf-blog-track .xf-blog-card img {
  height: 230px;
}

@media (max-width: 1199.98px) {
  .xf-service-track .xf-scroll-item,
  .xf-project-track .xf-scroll-item,
  .xf-blog-track .xf-scroll-item,
  .xf-testimonial-track .xf-scroll-item {
    flex-basis: calc((100% - 28px) / 2);
  }
}

@media (max-width: 991.98px) {
  .xf-service-track .xf-scroll-item,
  .xf-project-track .xf-scroll-item,
  .xf-blog-track .xf-scroll-item,
  .xf-testimonial-track .xf-scroll-item {
    flex-basis: 72%;
  }
}

@media (max-width: 575.98px) {
  .xf-service-track,
  .xf-project-track,
  .xf-blog-track,
  .xf-testimonial-track {
    gap: 18px;
  }

  .xf-service-track .xf-scroll-item,
  .xf-project-track .xf-scroll-item,
  .xf-blog-track .xf-scroll-item,
  .xf-testimonial-track .xf-scroll-item {
    flex-basis: 86%;
  }

  .xf-testimonial-card {
    min-height: 240px;
  }
}

@media (max-width: 575.98px) {
  .xf-product-card,
  .xf-product-track .xf-product-card {
    min-height: 318px;
    padding: 18px;
  }

  .xf-product-card h3,
  .xf-product-track .xf-product-card h3 {
    min-height: auto;
    font-size: 15px;
  }
}

/* Theme color bridge: public accents stay driven by admin color settings. */
.text-primary {
  color: var(--xf-primary) !important;
}

.bg-primary,
.btn-primary {
  background-color: var(--xf-primary) !important;
  border-color: var(--xf-primary) !important;
}

.xf-navbar .dropdown-item:hover,
.xf-badge,
.xf-card-link:hover,
.xf-side-list a,
.xf-social a:hover {
  background-color: var(--xf-primary-soft);
}

.xf-scroll-btn:hover,
.xf-scroll-btn:focus,
.xf-scroll-btn:active {
  color: #fff !important;
  background: var(--xf-primary) !important;
  background-color: var(--xf-primary) !important;
  border-color: var(--xf-primary) !important;
  opacity: 1 !important;
}

.xf-btn {
  box-shadow: 0 14px 30px rgba(var(--xf-primary-rgb), .18);
}

.xf-scroll-btn {
  box-shadow: 0 14px 34px rgba(var(--xf-primary-rgb), .11);
}

.xf-card:hover {
  border-color: var(--xf-primary-border);
}

.xf-form-control:focus {
  box-shadow: 0 0 0 .2rem rgba(var(--xf-primary-rgb), .12);
}

.xf-hero,
.xf-page-hero {
  background:
    radial-gradient(circle at 78% 34%, rgba(var(--xf-primary-rgb), .10), transparent 28%),
    linear-gradient(180deg, #fff 0%, var(--xf-soft) 100%);
  border-bottom-color: color-mix(in srgb, var(--xf-primary) 14%, #fff 86%);
}

.xf-hero::before {
  background-image:
    linear-gradient(90deg, rgba(var(--xf-primary-rgb), .045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(var(--xf-primary-rgb), .045) 1px, transparent 1px);
}

.xf-soft,
.xf-footer {
  background: linear-gradient(180deg, #fff 0%, var(--xf-soft) 100%);
}

/* Admin-driven hero slider. */
.xf-hero-carousel {
  position: relative;
  z-index: 1;
  padding-bottom: 0;
}

.xf-hero-carousel .carousel-item {
  min-height: 576px;
}

.xf-hero-carousel .carousel-item > .container {
  min-height: inherit;
}

.xf-hero-carousel .row.align-items-center {
  min-height: inherit;
}

.xf-hero-carousel h1 {
  min-height: 0;
  max-width: 680px;
  display: block;
  overflow: visible;
  font-size: clamp(31px, 2.8vw, 44px);
  line-height: 1.18;
}

.xf-hero-carousel .lead {
  min-height: 0;
  max-width: 620px;
  display: block;
  overflow: visible;
  color: var(--xf-ink);
  font-size: clamp(16px, 1.05vw, 19px);
  line-height: 1.65;
  font-weight: 400;
}

.xf-hero-media {
  width: 100%;
  height: 527px;
  min-height: 527px;
  overflow: hidden;
  border-radius: 0;
  align-items: stretch;
}

.xf-hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.xf-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  filter: none;
}

.xf-hero-carousel .carousel-indicators {
  right: auto;
  bottom: 12px;
  left: 50%;
  z-index: 3;
  gap: 8px;
  margin: 0;
  transform: translateX(-50%);
}

.xf-hero-carousel .carousel-indicators [data-bs-target] {
  width: 9px;
  height: 9px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background-color: rgba(var(--xf-primary-rgb), .28);
  opacity: 1;
}

.xf-hero-carousel .carousel-indicators .active {
  width: 28px;
  background-color: var(--xf-primary);
}

.xf-hero-control {
  top: 50%;
  bottom: auto;
  width: 44px;
  height: 44px;
  border: 1px solid #e8eef9;
  border-radius: 50%;
  background: #fff;
  opacity: 1;
  transform: translateY(-50%) !important;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, opacity .18s ease;
}

.xf-hero-control:hover,
.xf-hero-control:focus {
  background: var(--xf-primary);
  border-color: var(--xf-primary);
  opacity: 1;
  transform: translateY(-50%) !important;
}

.xf-hero-control.carousel-control-prev {
  left: 22px;
}

.xf-hero-control.carousel-control-next {
  right: 22px;
}

.xf-hero-control .carousel-control-prev-icon,
.xf-hero-control .carousel-control-next-icon {
  width: 18px;
  height: 18px;
  filter: invert(10%) sepia(22%) saturate(1798%) hue-rotate(191deg) brightness(93%) contrast(98%);
  transform: none !important;
}

.xf-hero-control:hover .carousel-control-prev-icon,
.xf-hero-control:hover .carousel-control-next-icon,
.xf-hero-control:focus .carousel-control-prev-icon,
.xf-hero-control:focus .carousel-control-next-icon {
  filter: brightness(0) invert(1);
  transform: none !important;
}

.xf-hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.xf-captcha-box {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 76px;
  min-height: 76px;
  padding: 8px 10px;
  border: 1px solid var(--xf-border);
  border-radius: 8px;
  background: #fff;
}

.xf-captcha-input {
  height: 76px;
  min-height: 76px;
}

.xf-captcha-img {
  display: block;
  width: 180px;
  max-width: calc(100% - 56px);
  height: 58px;
  border-radius: 6px;
  object-fit: cover;
}

.xf-captcha-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(var(--xf-primary-rgb), .2);
  border-radius: 50%;
  color: var(--xf-primary);
  background: rgba(var(--xf-primary-rgb), .08);
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.xf-captcha-refresh:hover,
.xf-captcha-refresh:focus {
  color: #fff;
  background: var(--xf-primary);
  border-color: var(--xf-primary);
  outline: 0;
}

@media (max-width: 991.98px) {
  .xf-hero-carousel {
    padding-bottom: 0;
  }

  .xf-hero-carousel .carousel-item {
    min-height: auto;
    padding: 42px 0 24px;
  }

  .xf-hero-carousel h1 {
    min-height: 0;
    font-size: clamp(26px, 6.2vw, 34px);
    line-height: 1.18;
  }

  .xf-hero-carousel .lead {
    min-height: 0;
    font-size: 16px;
    line-height: 1.6;
  }

  .xf-hero-media {
    height: 360px;
    min-height: 360px;
  }

  .xf-hero-media img {
    width: 100%;
    height: 100%;
    max-height: none;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    object-position: center;
  }

  .xf-hero-control {
    display: none;
  }
}

/* Fixed header: full size at top, compact after scroll. */
body {
  padding-top: 88px;
}

.xf-site-header {
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
  transition: box-shadow .18s ease, background-color .18s ease;
}

.xf-site-header .xf-navbar {
  min-height: 88px;
  padding-top: 0;
  padding-bottom: 0;
  transition: min-height .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.xf-site-header .xf-logo img,
.xf-site-header .xf-navbar .nav-link,
.xf-site-header .xf-btn,
.xf-site-header .navbar-toggler {
  transition: max-width .18s ease, max-height .18s ease, padding .18s ease, min-height .18s ease, font-size .18s ease, background-color .18s ease, border-color .18s ease;
}

.xf-site-header.is-scrolled .xf-navbar {
  min-height: 48px;
  background: rgba(255, 255, 255, .98);
  border-bottom-color: rgba(210, 218, 232, .95);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .06) !important;
}

.xf-site-header.is-scrolled .xf-logo img {
  max-width: 270px;
  max-height: 72px;
}

.xf-site-header.is-scrolled .xf-navbar .nav-link {
  padding: 14px 12px !important;
  font-size: 11px;
}

.xf-site-header.is-scrolled .xf-btn {
  min-height: 32px;
  padding: 6px 14px;
  font-size: 11px;
  box-shadow: none;
}

.xf-site-header.is-scrolled .navbar-toggler {
  padding: 5px 7px;
}

@media (max-width: 991.98px) {
  body {
    padding-top: 74px;
  }

  .xf-site-header .xf-navbar {
    min-height: 74px;
  }

  .xf-site-header.is-scrolled .xf-navbar {
    min-height: 56px;
  }

  .xf-site-header.is-scrolled .xf-logo img {
    max-width: 132px;
    max-height: 32px;
  }

  .xf-site-header .navbar-collapse {
    max-height: calc(100vh - 56px);
    overflow-y: auto;
    background: rgba(255, 255, 255, .98);
  }

  .xf-site-header .xf-navbar .nav-link,
  .xf-site-header.is-scrolled .xf-navbar .nav-link {
    padding: 12px 0 !important;
    font-size: 13px;
  }
}

@media (max-width: 767.98px) {
  .xf-page-hero {
    padding: 38px 0;
  }

  .xf-page-hero h1 {
    font-size: clamp(28px, 7.4vw, 34px);
    line-height: 1.14;
  }

  .xf-breadcrumb {
    max-width: 100%;
    overflow: hidden;
  }

  .xf-breadcrumb ol {
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .xf-breadcrumb ol::-webkit-scrollbar {
    display: none;
  }

  .xf-breadcrumb li {
    flex: 0 0 auto;
    gap: 0;
    white-space: nowrap;
    font-size: 13px;
    line-height: 1.25;
  }

  .xf-breadcrumb li + li::before {
    margin: 0 9px;
  }

  .xf-breadcrumb li:last-child {
    max-width: clamp(110px, 38vw, 150px);
    overflow: hidden;
  }

  .xf-breadcrumb li:last-child span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .xf-detail-carousel {
    background: #fff;
  }

  .xf-detail-carousel .carousel-inner,
  .xf-detail-carousel .carousel-item {
    height: auto;
  }

  .xf-detail-layout {
    --bs-gutter-x: 0;
    --bs-gutter-y: 1.5rem;
  }

  .xf-detail-main-img,
  .xf-product-detail-img,
  .xf-detail-carousel .xf-article-main-img,
  .xf-article-main-img {
    display: block;
    height: auto !important;
    max-height: none;
    object-fit: contain !important;
  }
}
