/* ==========================================================================
   Lupo Agency — Projects & Portfolio Stylesheet
   Design System tokens derived from brand-spec.md
   ========================================================================== */

:root {
  --lupo-green: #00673A;
  --lupo-green-deep: oklch(0.355 0.0875 155.63);
  --lupo-green-light: oklch(0.72 0.155 155.63);
  --lupo-green-subtle: #E6F2EC;
  --lupo-green-surface: #F2F8F5;
  --lupo-dark: #080808;
  --lupo-dark-card: #121212;
  --lupo-text-dark: #111814;
  --lupo-text-muted: #5a6660;
  --lupo-border-light: rgba(0, 0, 0, 0.08);
  --lupo-border-dark: rgba(255, 255, 255, 0.12);
  --lupo-radius-xl: 28px;
  --lupo-radius-lg: 20px;
  --lupo-radius-md: 14px;
  --lupo-radius-full: 9999px;
  --lupo-font: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================================================
   Homepage Reference Carousel Section (Matching image-1.png - Compact 1-Section View)
   ========================================================================== */

.lupo-ref-section {
  position: relative;
  background-color: var(--lupo-green-surface);
  border-radius: 24px !important;
  max-width: 1360px !important;
  width: calc(100% - 32px) !important;
  margin: 16px auto !important;
  padding: 44px 40px 34px !important;
  overflow: hidden !important;
  font-family: var(--lupo-font) !important;
  box-sizing: border-box !important;
}

@media (max-width: 991px) {
  .lupo-ref-section {
    padding: 24px 20px 24px !important;
    margin: 12px auto !important;
    width: calc(100% - 24px) !important;
    border-radius: 20px !important;
  }
}

@media (max-width: 479px) {
  .lupo-ref-section {
    padding: 20px 14px 18px !important;
    margin: 8px auto !important;
    width: calc(100% - 16px) !important;
    border-radius: 16px !important;
  }
}

.lupo-ref-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 24px;
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 991px) {
  .lupo-ref-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
  }
}

.lupo-ref-header-left {
  max-width: 620px;
}

.lupo-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background-color: #ffffff;
  border: 1px solid var(--lupo-border-light);
  border-radius: var(--lupo-radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--lupo-green);
  margin-bottom: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.lupo-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--lupo-green-subtle);
  color: var(--lupo-green);
  font-size: 10px;
}

.lupo-ref-heading {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--lupo-text-dark);
  margin: 0;
}

@media (max-width: 767px) {
  .lupo-ref-heading {
    font-size: 26px;
  }
}

.lupo-ref-header-right {
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.lupo-ref-sub {
  font-size: 13.5px;
  line-height: 1.48;
  color: var(--lupo-text-muted);
  margin: 0;
}

.lupo-ref-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background-color: var(--lupo-green);
  color: #ffffff !important;
  border-radius: var(--lupo-radius-full);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 103, 58, 0.22);
}

.lupo-ref-more-btn:hover {
  background-color: var(--lupo-green-deep);
}

.lupo-ref-more-btn .btn-arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  font-size: 12px;
}

/* ==========================================================================
   Carousel Track & Cards (Compact 1-Section Height)
   ========================================================================== */

.lupo-carousel-container {
  position: relative;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  overflow: visible;
}

.lupo-carousel-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 2px 0;
}

.lupo-carousel-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
  width: 100%;
}

@media (max-width: 767px) {
  .lupo-carousel-stage {
    gap: 12px;
  }
}

.lupo-slide-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background-color: #111;
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.16);
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  user-select: none;
}

/* Active center card: 380px height fits 1-section comfortably */
.lupo-slide-card.is-active {
  width: 66%;
  height: 380px;
  z-index: 5;
  opacity: 1;
  transform: scale(1);
  cursor: default;
}

/* Side peek cards */
.lupo-slide-card.is-side {
  width: 26%;
  height: 330px;
  opacity: 0.82;
  filter: brightness(0.92) contrast(1.04);
  transform: scale(0.96);
  z-index: 2;
}

.lupo-slide-card.is-side:hover {
  opacity: 0.95;
  filter: brightness(1) contrast(1.06);
  transform: scale(0.98);
}

@media (max-width: 991px) {
  .lupo-slide-card.is-active {
    width: 84%;
    height: 340px;
  }
  .lupo-slide-card.is-side {
    width: 20%;
    height: 300px;
  }
}

@media (max-width: 767px) {
  .lupo-slide-card.is-active {
    width: 100%;
    height: 340px;
  }
  .lupo-slide-card.is-side {
    display: none;
  }
}

.lupo-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: contrast(1.08) brightness(1.04) saturate(1.08);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.lupo-slide-card.is-active:hover .lupo-slide-img {
  transform: scale(1.02) translateZ(0);
  filter: contrast(1.1) brightness(1.06) saturate(1.1);
}

.lupo-slide-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.0) 0%,
    rgba(0, 0, 0, 0.0) 30%,
    rgba(0, 0, 0, 0.35) 65%,
    rgba(0, 0, 0, 0.9) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 28px;
  box-sizing: border-box;
  color: #ffffff;
  pointer-events: none;
}

@media (max-width: 767px) {
  .lupo-slide-scrim {
    padding: 16px 18px;
  }
}

.lupo-slide-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.lupo-slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--lupo-radius-full);
  font-size: 11.5px;
  font-weight: 500;
  color: #ffffff;
}

.lupo-slide-year {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--lupo-green-light);
  background: rgba(0, 0, 0, 0.5);
  padding: 3px 8px;
  border-radius: var(--lupo-radius-full);
  backdrop-filter: blur(8px);
}

.lupo-slide-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  pointer-events: auto;
}

@media (max-width: 767px) {
  .lupo-slide-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

.lupo-slide-info {
  max-width: 540px;
}

.lupo-slide-title {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 4px 0;
  letter-spacing: -0.015em;
}

@media (max-width: 767px) {
  .lupo-slide-title {
    font-size: 18px;
  }
}

.lupo-slide-desc {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lupo-slide-action {
  flex-shrink: 0;
}

.lupo-slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--lupo-text-dark) !important;
  border-radius: var(--lupo-radius-full);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.lupo-slide-btn:hover {
  background: #ffffff;
  color: var(--lupo-green) !important;
}

/* ==========================================================================
   Navigation Arrow Buttons (< and >)
   ========================================================================== */

.lupo-nav-btn {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #ffffff !important;
  color: #111827 !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  cursor: pointer !important;
  z-index: 30 !important;
  pointer-events: auto !important;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14) !important;
  outline: none !important;
}

.lupo-nav-btn svg {
  pointer-events: none !important;
  transition: stroke 0.2s ease !important;
}

.lupo-nav-btn.is-prev {
  left: calc(17% - 24px) !important;
  background-color: #ffffff !important;
  color: #111827 !important;
}

.lupo-nav-btn.is-next {
  right: calc(17% - 24px) !important;
  background-color: #ffffff !important;
  color: #111827 !important;
}

/* Hover: Turn Green with white arrow */
.lupo-nav-btn:hover {
  background-color: var(--lupo-green, #00673A) !important;
  color: #ffffff !important;
  border-color: var(--lupo-green, #00673A) !important;
  box-shadow: 0 6px 20px rgba(0, 103, 58, 0.35) !important;
  transform: translateY(-50%) scale(1.05) !important;
}

/* Active / Clicked: Flash Deep Green while transitioning */
.lupo-nav-btn:active,
.lupo-nav-btn.is-clicked {
  background-color: #004d2b !important;
  color: #ffffff !important;
  border-color: #004d2b !important;
  box-shadow: 0 2px 10px rgba(0, 103, 58, 0.5) !important;
  transform: translateY(-50%) scale(0.93) !important;
}

@media (max-width: 991px) {
  .lupo-nav-btn.is-prev {
    left: 10px !important;
  }
  .lupo-nav-btn.is-next {
    right: 10px !important;
  }
}

@media (max-width: 767px) {
  .lupo-nav-btn {
    width: 40px !important;
    height: 40px !important;
  }
}

/* Carousel Indicators */
.lupo-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 24px;
}

.lupo-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--lupo-radius-full);
  background: rgba(0, 0, 0, 0.18);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lupo-dot.is-active {
  width: 22px;
  background: var(--lupo-green);
}

/* ==========================================================================
   Full Projects Archive Page (projects.html)
   ========================================================================== */

.lupo-page-header {
  padding: 120px 24px 60px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 767px) {
  .lupo-page-header {
    padding: 80px 16px 40px;
  }
}

.lupo-page-title {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--lupo-text-dark);
  line-height: 1.1;
  margin: 16px 0 20px;
}

@media (max-width: 767px) {
  .lupo-page-title {
    font-size: 38px;
  }
}

.lupo-page-desc {
  font-size: 19px;
  line-height: 1.6;
  color: var(--lupo-text-muted);
  max-width: 720px;
  margin: 0 auto;
}

/* Filter Bar */
.lupo-filter-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 40px auto 50px;
  max-width: 1200px;
  padding: 0 24px;
}

.lupo-filter-pill {
  padding: 10px 22px;
  background: #ffffff;
  border: 1px solid var(--lupo-border-light);
  border-radius: var(--lupo-radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--lupo-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--lupo-font);
}

.lupo-filter-pill:hover {
  border-color: var(--lupo-green);
  color: var(--lupo-green);
}

.lupo-filter-pill.is-active {
  background: var(--lupo-green);
  border-color: var(--lupo-green);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 103, 58, 0.25);
}

/* Projects Grid */
.lupo-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1240px;
  margin: 0 auto 90px;
  padding: 0 24px;
}

@media (max-width: 991px) {
  .lupo-projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .lupo-projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 16px;
  }
}

.lupo-project-card {
  background: #ffffff;
  border: 1px solid var(--lupo-border-light);
  border-radius: var(--lupo-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.lupo-project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 103, 58, 0.3);
  box-shadow: 0 16px 36px rgba(0, 103, 58, 0.08);
}

.lupo-card-media {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #111;
}

.lupo-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lupo-project-card:hover .lupo-card-img {
  transform: scale(1.05);
}

.lupo-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(8, 8, 8, 0.7);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--lupo-radius-full);
  font-size: 12px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lupo-card-year {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(8, 8, 8, 0.7);
  backdrop-filter: blur(8px);
  color: var(--lupo-green-light);
  padding: 4px 10px;
  border-radius: var(--lupo-radius-full);
  font-size: 12px;
  font-weight: 600;
}

.lupo-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.lupo-card-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--lupo-text-dark);
  line-height: 1.35;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.lupo-card-summary {
  font-size: 14px;
  line-height: 1.55;
  color: var(--lupo-text-muted);
  margin: 0 0 18px;
  flex-grow: 1;
}

.lupo-card-metric {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--lupo-green-surface);
  border: 1px solid var(--lupo-green-subtle);
  border-radius: var(--lupo-radius-md);
  font-size: 12px;
  font-weight: 600;
  color: var(--lupo-green);
  margin-bottom: 16px;
}

.lupo-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--lupo-green);
  transition: gap 0.2s ease;
}

.lupo-project-card:hover .lupo-card-cta {
  gap: 12px;
  color: var(--lupo-green-deep);
}

/* ==========================================================================
   Project Detail Page (project-detail.html)
   ========================================================================== */

.lupo-detail-hero {
  padding: 120px 24px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.lupo-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: var(--lupo-text-muted);
  margin-bottom: 24px;
}

.lupo-breadcrumb a,
.lupo-breadcrumb span,
.lupo-breadcrumb .breadcrumb-separator,
.lupo-breadcrumb .breadcrumb-current {
  font-size: 14px !important;
  line-height: 1.5 !important;
  font-family: var(--lupo-font, 'Open Sans', sans-serif) !important;
  display: inline-flex;
  align-items: center;
}

.lupo-breadcrumb a {
  color: var(--lupo-text-muted);
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.lupo-breadcrumb a:hover {
  color: var(--lupo-green);
  text-decoration: none !important;
}

.lupo-breadcrumb .breadcrumb-separator {
  color: rgba(0, 0, 0, 0.28);
  padding: 0 1px;
}

.lupo-breadcrumb .breadcrumb-current {
  color: var(--lupo-text-dark);
  font-weight: 600;
}

.lupo-detail-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--lupo-text-dark);
  margin: 0 0 20px;
}

@media (max-width: 767px) {
  .lupo-detail-title {
    font-size: 32px;
  }
}

.lupo-detail-lead {
  font-size: 20px;
  line-height: 1.6;
  color: var(--lupo-text-muted);
  max-width: 860px;
  margin: 0 0 40px;
}

/* Meta Bar */
.lupo-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 24px 32px;
  background: #ffffff;
  border: 1px solid var(--lupo-border-light);
  border-radius: var(--lupo-radius-lg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  margin-bottom: 56px;
}

@media (max-width: 767px) {
  .lupo-meta-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px;
    gap: 20px;
  }
}

.lupo-meta-item .meta-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--lupo-text-muted);
  margin-bottom: 6px;
  font-weight: 600;
}

.lupo-meta-item .meta-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--lupo-text-dark);
}

/* Hero Visual Banner */
.lupo-detail-banner {
  position: relative;
  width: 100%;
  border-radius: var(--lupo-radius-xl);
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto 72px;
  box-shadow: 0 24px 64px -12px rgba(0, 0, 0, 0.18);
}

.lupo-detail-banner img {
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: cover;
  display: block;
}

/* Metrics Highlight */
.lupo-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 80px;
}

@media (max-width: 991px) {
  .lupo-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 479px) {
  .lupo-stats-row {
    grid-template-columns: 1fr;
  }
}

.lupo-stat-box {
  background: var(--lupo-green-surface);
  border: 1px solid var(--lupo-green-subtle);
  border-radius: var(--lupo-radius-lg);
  padding: 32px 24px;
  text-align: center;
}

.lupo-stat-num {
  font-size: 44px;
  font-weight: 700;
  color: var(--lupo-green);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.lupo-stat-desc {
  font-size: 14px;
  line-height: 1.45;
  color: var(--lupo-text-dark);
  font-weight: 500;
}

/* Case Study Content */
.lupo-case-body {
  max-width: 960px;
  margin: 0 auto 80px;
  padding: 0 24px;
}

.lupo-case-section {
  margin-bottom: 60px;
}

.lupo-case-section h3 {
  font-size: 28px;
  font-weight: 600;
  color: var(--lupo-text-dark);
  margin: 0 0 16px;
  letter-spacing: -0.015em;
}

.lupo-case-section p {
  font-size: 17px;
  line-height: 1.7;
  color: #374151;
  margin: 0 0 20px;
}

/* 3 Pillars Solution */
.lupo-solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0;
}

@media (max-width: 767px) {
  .lupo-solution-grid {
    grid-template-columns: 1fr;
  }
}

.lupo-sol-card {
  background: #ffffff;
  border: 1px solid var(--lupo-border-light);
  border-radius: var(--lupo-radius-md);
  padding: 24px;
}

.lupo-sol-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--lupo-green);
  margin-bottom: 12px;
}

.lupo-sol-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--lupo-text-dark);
  margin: 0 0 10px;
}

.lupo-sol-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--lupo-text-muted);
  margin: 0;
}

/* Visual Showcase Gallery */
.lupo-gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin: 40px 0;
}

@media (max-width: 767px) {
  .lupo-gallery-grid {
    grid-template-columns: 1fr;
  }
}

.lupo-gallery-item {
  border-radius: var(--lupo-radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  background: #111;
}

.lupo-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Testimonial Feature Card */
.lupo-quote-card {
  background: var(--lupo-dark);
  color: #ffffff;
  border-radius: var(--lupo-radius-xl);
  padding: 48px;
  margin: 60px 0;
  position: relative;
  overflow: hidden;
}

@media (max-width: 767px) {
  .lupo-quote-card {
    padding: 32px 24px;
  }
}

.lupo-quote-text {
  font-size: 22px;
  line-height: 1.5;
  font-weight: 400;
  color: #ffffff;
  margin: 0 0 28px;
  font-style: italic;
}

@media (max-width: 767px) {
  .lupo-quote-text {
    font-size: 18px;
  }
}

.lupo-quote-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lupo-author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--lupo-green);
}

.lupo-author-name {
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 4px;
}

.lupo-author-title {
  font-size: 14px;
  color: var(--lupo-green-light);
}

/* Next Project Nav */
.lupo-next-project {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 36px 40px;
  background: #ffffff;
  border: 1px solid var(--lupo-border-light);
  border-radius: var(--lupo-radius-lg);
  text-decoration: none;
  color: inherit;
  margin: 60px 0;
  transition: all 0.25s ease;
}

.lupo-next-project:hover {
  border-color: var(--lupo-green);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 103, 58, 0.08);
}

.lupo-next-sub {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--lupo-text-muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.lupo-next-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--lupo-text-dark);
  margin: 0;
}

.lupo-next-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lupo-green-subtle);
  color: var(--lupo-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: transform 0.2s ease;
}

.lupo-next-project:hover .lupo-next-arrow {
  transform: translateX(4px);
  background: var(--lupo-green);
  color: #ffffff;
}

/* Shared CTA Banner */
.lupo-cta-banner {
  background: var(--lupo-dark);
  color: #ffffff;
  border-radius: 32px;
  margin: 60px 16px;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.lupo-cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 103, 58, 0.35) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.lupo-cta-heading {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .lupo-cta-heading {
    font-size: 30px;
  }
}

.lupo-cta-desc {
  font-size: 18px;
  line-height: 1.6;
  color: #d1d5db;
  max-width: 600px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 2;
}

.lupo-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--lupo-green);
  color: #ffffff !important;
  border-radius: var(--lupo-radius-full);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
  z-index: 2;
  box-shadow: 0 6px 20px rgba(0, 103, 58, 0.4);
}

.lupo-cta-btn:hover {
  background: var(--lupo-green-deep);
  /* static button */
}


/* ==========================================================================
   Lupo Global Button System: Compact, Solid, and Static (No Moving Anims)
   ========================================================================== */

.primary-button,
.secondary-button,
.hero-button a,
.nav-button-slot a:not(.lupo-nav-cta-btn),
.submit-button,
.lupo-ref-more-btn,
.lupo-slide-btn,
.lupo-cta-btn,
.projects-filter-btn {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  letter-spacing: -0.1px !important;
  border-radius: var(--lupo-radius-full, 9999px) !important;
  text-decoration: none !important;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease !important;
  transform: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

/* Eliminate large inner Webflow padding & animated sliding background */
.button-wrap {
  padding: 0 !important;
  transform: none !important;
}

.button-bg,
.secondary-button-bg {
  display: none !important;
}

/* Primary Button: Compact & Solid Lupo Green */
.primary-button,
.hero-button a,
.nav-button-slot.is-show-mobile a:not(.lupo-nav-cta-btn) {
  padding: 8px 18px !important;
  background-color: var(--lupo-green, #00673A) !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
}

.primary-button:hover,
.hero-button a:hover {
  background-color: #00542f !important;
  color: #ffffff !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Secondary Button (Navbar & Ghost CTA): Compact & Static */
.secondary-button,
.nav-button-slot a:not(.lupo-nav-cta-btn) {
  padding: 8px 18px !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
}

.secondary-button:hover,
.nav-button-slot a:not(.lupo-nav-cta-btn):hover {
  background-color: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  color: #ffffff !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Reference Carousel Button */
.lupo-ref-more-btn {
  padding: 8px 16px !important;
  gap: 8px !important;
  background-color: var(--lupo-green, #00673A) !important;
  transform: none !important;
  box-shadow: none !important;
}

.lupo-ref-more-btn:hover {
  background-color: #00542f !important;
  transform: none !important;
  box-shadow: none !important;
}

.lupo-ref-more-btn .btn-arrow-circle {
  width: 22px !important;
  height: 22px !important;
  transform: none !important;
  transition: none !important;
}

.lupo-ref-more-btn:hover .btn-arrow-circle {
  transform: none !important;
}

/* Slide Card Button */
.lupo-slide-btn {
  padding: 7px 15px !important;
  font-size: 13px !important;
  background: #ffffff !important;
  color: var(--lupo-text-dark, #111814) !important;
  transform: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.lupo-slide-btn:hover {
  background: #f0fdf4 !important;
  color: var(--lupo-green, #00673A) !important;
  transform: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

/* Bottom CTA Button */
.lupo-cta-btn {
  padding: 10px 22px !important;
  transform: none !important;
  box-shadow: none !important;
}

.lupo-cta-btn:hover {
  background: #00542f !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Submit Button in Contact Form */
.submit-button {
  padding: 10px 24px !important;
  background: var(--lupo-green, #00673A) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--lupo-radius-full, 9999px) !important;
  transform: none !important;
}

.submit-button:hover {
  background: #00542f !important;
  transform: none !important;
}

/* ==========================================================================
   Client & Partner Logo Ticker (Matching image-2.png Ribbon Layout)
   ========================================================================== */

.lupo-clients-section {
  position: relative !important;
  max-width: 1360px !important;
  width: calc(100% - 32px) !important;
  margin: 16px auto !important;
  border-radius: 24px !important;
  padding: 60px 40px 52px !important;
  background-color: var(--lupo-dark, #080808) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.lupo-clients-section .container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
}

@media (max-width: 991px) {
  .lupo-clients-section {
    padding: 46px 20px 40px !important;
    margin: 12px auto !important;
    width: calc(100% - 24px) !important;
    border-radius: 20px !important;
  }
}

@media (max-width: 767px) {
  .lupo-clients-section {
    padding: 36px 16px 30px !important;
    margin: 8px auto !important;
    width: calc(100% - 16px) !important;
    border-radius: 16px !important;
  }
}

.lupo-clients-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}

.lupo-clients-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--lupo-radius-full, 9999px);
  color: #4ade80;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-bottom: 14px;
}

.lupo-clients-heading {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.6px;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 10px;
}

@media (max-width: 767px) {
  .lupo-clients-heading {
    font-size: 24px;
  }
}

.lupo-clients-sub {
  font-size: 15px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

/* The White / Light Grey Ribbon Container matching image-2.png */
.lupo-logo-ribbon {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  background: #f5f6f8;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  padding: 18px 0;
  overflow: hidden;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.12);
  /* Side fade masks */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

@media (max-width: 767px) {
  .lupo-logo-ribbon {
    border-radius: 16px;
    padding: 14px 0;
  }
}

.lupo-marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: lupo-marquee-slide 30s linear infinite;
}

.lupo-logo-ribbon:hover .lupo-marquee-track {
  animation-play-state: paused;
}

@keyframes lupo-marquee-slide {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.lupo-marquee-group {
  display: flex;
  align-items: center;
  gap: 52px;
  padding-right: 52px;
}

@media (max-width: 767px) {
  .lupo-marquee-group {
    gap: 36px;
    padding-right: 36px;
  }
}

.lupo-logo-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #374151;
  font-family: var(--lupo-font, "Open Sans", sans-serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.2px;
  white-space: nowrap;
  user-select: none;
  transition: color 0.15s ease;
}

.lupo-logo-item:hover {
  color: #111827;
}

.lupo-logo-svg {
  flex-shrink: 0;
  display: block;
}


/* ==========================================================================
   Lupo Global Font System: Open Sans (Full Vietnamese Diacritics Support)
   ========================================================================== */

:root {
  --lupo-font: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  --_typography---font-family--instrument-sans: "Open Sans", sans-serif !important;
}

html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote,
a, em, strong, b, u, i, dl, dt, dd, ol, ul, li, form, label,
table, caption, tbody, tfoot, thead, tr, th, td, footer, header,
nav, section, button, input, textarea, select {
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* ==========================================================================
   Sticky Following Navigation Menu (Menu bám theo khi cuộn)
   ========================================================================== */

.navbar {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  width: 100% !important;
  background-color: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03) !important;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.navbar .container {
  max-width: 1360px !important;
  width: calc(100% - 32px) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 991px) {
  .navbar .container {
    width: calc(100% - 24px) !important;
  }
}

@media (max-width: 479px) {
  .navbar .container {
    width: calc(100% - 16px) !important;
  }
}

.navbar.is-scrolled {
  background-color: rgba(255, 255, 255, 0.98) !important;
  border-bottom-color: rgba(0, 0, 0, 0.09) !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07) !important;
}

.navbar-inner {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

/* ==========================================================================
   Section 2 (About Lupo): Tightened Spacing, Balanced Heights & Zero Clutter
   Fits comfortably in 1 section viewport without vertical clipping
   ========================================================================== */

.section.about {
  margin-top: 16px !important;
  margin-bottom: 16px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Remove Webflow 300vh scroll pinning and hidden text splits */
.about-scetion-wrap {
  height: auto !important;
  overflow: visible !important;
}

.section.about .container {
  max-width: 1360px !important;
  width: calc(100% - 32px) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

.section-wrapper.is-about {
  position: relative !important;
  top: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 36px 40px !important;
  border-radius: 24px !important;
  background-color: #F8F9FA !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.section-heading-wrap.is-about {
  display: grid !important;
  grid-template-columns: 180px 1fr !important;
  gap: 24px !important;
  align-items: flex-start !important;
  margin-bottom: 16px !important;
}

.available-title-wrap {
  margin: 0 !important;
  padding: 0 !important;
}

.section-details-wrap {
  margin: 0 !important;
  padding: 0 !important;
}

.about-heading {
  text-transform: none !important;
  font-size: 26px !important;
  line-height: 1.34 !important;
  font-weight: 700 !important;
  color: #111827 !important;
  letter-spacing: -0.02em !important;
  margin: 0 0 8px 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
}

.about-heading * {
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
}

/* Text "Định vị chuẩn xác..." highlighted in Lupo Brand Green from start to end of sentence */
.about-sub-statement {
  font-size: 16px !important;
  line-height: 1.45 !important;
  color: #00673A !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  margin: 0 !important;
  display: block !important;
}

/* 3 Cards: Compact Spacing & Reduced Height so Section Fits Cleanly */
.about-gird {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
  margin-top: 0px !important;
  width: 100% !important;
}

.about-card {
  width: 100% !important;
  height: 165px !important;
  min-height: 165px !important;
  padding: 22px 22px !important;
  border-radius: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  box-sizing: border-box !important;
  transform: none !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
  animation: none !important;
}

/* Card 1: 3X — Tốc độ ra mắt thị trường */
.about-card.card-1 {
  background-color: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}

.about-card.card-1 .number {
  font-size: 44px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  color: #111827 !important;
  letter-spacing: -0.02em !important;
  margin: 0 !important;
}

.about-card.card-1 .about-card-title {
  font-size: 14.5px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: #4B5563 !important;
  text-transform: none !important;
  margin: 0 !important;
  align-self: flex-start !important;
  text-align: left !important;
}

/* Card 2: 60% — Tối ưu chi phí sản xuất */
.about-card.card-2 {
  background-color: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
  flex-flow: column !important;
}

.about-card.card-2 .number {
  font-size: 44px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  color: #00673A !important;
  letter-spacing: -0.02em !important;
  margin: 0 !important;
}

.about-card.card-2 .about-card-title {
  font-size: 14.5px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: #4B5563 !important;
  text-transform: none !important;
  margin: 0 !important;
  align-self: flex-start !important;
  text-align: left !important;
}

/* Card 3: 100% — Quy trình khép kín, tinh gọn */
.about-card.card-3 {
  background-color: #181C1A !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.about-card.card-3 .number {
  font-size: 44px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  color: #FFFFFF !important;
  letter-spacing: -0.02em !important;
  margin: 0 !important;
}

.about-card.card-3 .about-card-title {
  font-size: 14.5px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  color: #E5E7EB !important;
  text-transform: none !important;
  margin: 0 !important;
  align-self: flex-start !important;
  text-align: left !important;
}

/* Responsive Breakpoints for Section 2 */
@media (max-width: 991px) {
  .section.about .container {
    width: calc(100% - 24px) !important;
  }
  .section-wrapper.is-about {
    padding: 28px 20px !important;
    border-radius: 20px !important;
  }
  .section-heading-wrap.is-about {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-bottom: 20px !important;
  }
  .about-heading {
    font-size: 24px !important;
  }
  .about-sub-statement {
    font-size: 15px !important;
  }
  .about-gird {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-top: 16px !important;
  }
  .about-card {
    height: 140px !important;
    min-height: 140px !important;
    padding: 18px 18px !important;
  }
  .about-card .number {
    font-size: 38px !important;
  }
}

@media (max-width: 479px) {
  .section.about .container {
    width: calc(100% - 16px) !important;
  }
  .section-wrapper.is-about {
    padding: 22px 16px !important;
    border-radius: 16px !important;
  }
}

/* ==========================================================================
   Hero Cover & Sizing (Section 1 Fit: 1 Viewport Section)
   ========================================================================== */

.section.hero {
  height: calc(100vh - 84px) !important;
  max-height: 820px !important;
  min-height: 560px !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

.container.is-hero {
  height: 100% !important;
  max-width: 1360px !important;
  width: calc(100% - 32px) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

.content-wrapper {
  height: 100% !important;
  width: 100% !important;
  position: relative !important;
  overflow: hidden !important;
  background-color: #07170E !important;
  background-image: none !important;
  border-radius: 24px !important;
  box-sizing: border-box !important;
}

.hero-content-wrapper {
  position: relative !important;
  z-index: 2 !important;
  height: 100% !important;
  min-height: 100% !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  padding: 36px 40px !important;
  box-sizing: border-box !important;
  background-image: none !important;
  background-color: transparent !important;
  border-radius: 24px !important;
}

.bg-video-wrapper.is-hero-cover {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
  opacity: 1 !important;
  transform: none !important;
  display: block !important;
  overflow: hidden !important;
  border-radius: 24px !important;
}

.hero-cover-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center bottom !important;
  display: block !important;
}

.hero-cover-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(
    180deg,
    rgba(10, 24, 15, 0.42) 0%,
    rgba(0, 0, 0, 0.0) 28%,
    rgba(0, 0, 0, 0.0) 52%,
    rgba(4, 16, 10, 0.65) 100%
  ) !important;
  pointer-events: none !important;
}

/* ==========================================================================
   Floating Consultation Action Button (FAB)
   Round button with lively jump/bounce animation, fixed at bottom-right corner
   ========================================================================== */

.lupo-fab-consult {
  position: fixed !important;
  bottom: 28px !important;
  right: 28px !important;
  z-index: 99999 !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  filter: drop-shadow(0 10px 24px rgba(0, 103, 58, 0.35)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.16)) !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), filter 0.28s ease !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

.lupo-fab-consult:hover {
  transform: translateY(-4px) scale(1.02) !important;
  filter: drop-shadow(0 16px 32px rgba(0, 103, 58, 0.45)) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.2)) !important;
}

.lupo-fab-consult:active {
  transform: translateY(0px) scale(0.96) !important;
  transition: transform 0.1s ease !important;
}

/* Pulsing Ping Ripple Ring behind circle */
.lupo-fab-circle-wrap {
  position: relative !important;
  width: 58px !important;
  height: 58px !important;
  flex-shrink: 0 !important;
  animation: lupoFabFloating 3.2s infinite ease-in-out !important;
}

.lupo-fab-consult:hover .lupo-fab-circle-wrap {
  animation-play-state: paused !important;
}

.lupo-fab-ping {
  position: absolute !important;
  inset: -6px !important;
  border-radius: 50% !important;
  background: rgba(0, 103, 58, 0.35) !important;
  animation: lupoFabRipple 2.2s infinite ease-out !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.lupo-fab-circle {
  position: relative !important;
  width: 58px !important;
  height: 58px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #00874C 0%, #00673A 100%) !important;
  border: 2px solid rgba(255, 255, 255, 0.35) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #FFFFFF !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 6px 16px rgba(0, 103, 58, 0.45) !important;
  z-index: 2 !important;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
}

.lupo-fab-consult:hover .lupo-fab-circle {
  background: linear-gradient(135deg, #009956 0%, #007340 100%) !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5), 0 8px 20px rgba(0, 103, 58, 0.55) !important;
}

.lupo-fab-icon {
  width: 25px !important;
  height: 25px !important;
  color: #FFFFFF !important;
}

/* Badge Pill Label "Nhận tư vấn ngay" */
.lupo-fab-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  background: rgba(17, 24, 39, 0.94) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #FFFFFF !important;
  padding: 8px 14px 8px 12px !important;
  border-radius: 9999px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
}

.lupo-fab-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #10B981 !important;
  box-shadow: 0 0 8px #10B981 !important;
}

/* Smooth Floating Keyframes */
@keyframes lupoFabFloating {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes lupoFabRipple {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .lupo-fab-consult {
    bottom: 20px !important;
    right: 20px !important;
  }
  .lupo-fab-label {
    display: none !important;
  }
}


/* Ensure Hero content & Services are 100% visible and sharp */
.hero-content-wrapper,
.hero-content-wrapper *,
.hero-heading,
.hero-text,
.available-title-wrap,
.hero-services-wrap,
.services-item,
.service-top-wrap,
.service-bottom-wrap,
.services-item *,
.section-title-wrap.service,
.section-title-wrap.project,
.section-title-wrap.client {
  visibility: visible !important;
  opacity: 1 !important;
  filter: none !important;
}

.hero-heading {
  color: #FFFFFF !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}


/* Smooth Scrolling & Sticky Navbar Offset */
html {
  scroll-behavior: auto !important; /* Webflow already animates anchor scrolling; CSS smooth scroll fights it */
}

section,
footer,
#about,
#services,
#works,
#clients,
#question,
#contact {
  scroll-margin-top: 84px !important;
}

/* ==========================================================================
   Global Navbar: Centered Menu with 1:1 Consultation CTA Button
   ========================================================================== */
.navbar-inner {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  width: 100% !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.navbar .brand {
  justify-self: start !important;
  display: flex !important;
  align-items: center !important;
}

.nav-menu-list {
  justify-self: center !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
}

.menu-list-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 36px !important;
  grid-column-gap: 36px !important;
}

.menu-button-wrapper {
  justify-self: end !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.menu-button-wrapper .nav-button-slot {
  display: block !important;
}

/* Main CTA Button: Tư vấn 1:1 */
.nav-button-slot a.lupo-nav-cta-btn,
.navbar a.lupo-nav-cta-btn,
a.lupo-nav-cta-btn,
.lupo-nav-cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 8px 18px !important;
  background-color: #00673A !important;
  color: #ffffff !important;
  font-family: var(--lupo-font, 'Open Sans', sans-serif) !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  border: 1px solid #00542f !important;
  box-shadow: 0 4px 14px rgba(0, 103, 58, 0.28) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  box-sizing: border-box !important;
}

.nav-button-slot a.lupo-nav-cta-btn:hover,
.navbar a.lupo-nav-cta-btn:hover,
a.lupo-nav-cta-btn:hover,
.lupo-nav-cta-btn:hover {
  background-color: #00542f !important;
  border-color: #004023 !important;
  box-shadow: 0 6px 20px rgba(0, 103, 58, 0.42) !important;
  transform: translateY(-1px) scale(1.02) !important;
  color: #ffffff !important;
}

.nav-button-slot a.lupo-nav-cta-btn:active,
.navbar a.lupo-nav-cta-btn:active,
a.lupo-nav-cta-btn:active,
.lupo-nav-cta-btn:active {
  transform: translateY(0) scale(0.96) !important;
  box-shadow: 0 2px 8px rgba(0, 103, 58, 0.3) !important;
}

.lupo-nav-cta-dot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background-color: #00E575 !important;
  box-shadow: 0 0 6px #00E575 !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
}

.lupo-nav-cta-text {
  color: #ffffff !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  display: inline-block !important;
  line-height: 1 !important;
}

.lupo-nav-cta-arrow {
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: transform 0.2s ease !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

.lupo-nav-cta-btn:hover .lupo-nav-cta-arrow {
  transform: translateX(3px) !important;
}

/* Nav links styling */
.nav-link {
  font-family: var(--lupo-font, 'Open Sans', sans-serif) !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  letter-spacing: -0.01em !important;
  padding: 6px 0 !important;
  transition: color 0.2s ease !important;
}

.nav-link:hover,
.nav-link.w--current {
  color: var(--lupo-green, #00673A) !important;
}

.nav-link .link-block-underline {
  background-color: var(--lupo-green, #00673A) !important;
}

@media (min-width: 992px) {
  .menu-button.w-nav-button {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .navbar-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  .nav-menu-list {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1) !important;
    padding: 24px 20px !important;
    border-radius: 0 0 16px 16px !important;
  }
  .menu-button-wrapper .lupo-nav-cta-btn {
    display: none !important;
  }
  .nav-menu-list .lupo-nav-cta-btn {
    display: inline-flex !important;
    margin-top: 8px !important;
    justify-content: center !important;
    width: 100% !important;
  }
  .menu-button.w-nav-button {
    display: flex !important;
  }
}

/* ==========================================================================
   Hero Section 4-Quadrant Layout (Matching image-9.png & Viewport-Fit)
   ========================================================================== */

/* Left Column: Top Status & Bottom Heading */
.hero-left-content {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  height: 100% !important;
  z-index: 10 !important;
  flex: 1 !important;
  max-width: 62% !important;
  box-sizing: border-box !important;
}

.available-status {
  display: flex !important;
  align-items: center !important;
  width: auto !important;
  margin-bottom: 0 !important;
}

.hero-main-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 10px !important;
  width: 100% !important;
  margin-bottom: 0 !important;
}

.hero-main-content .hero-text {
  font-family: 'Open Sans', -apple-system, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7) !important;
  max-width: 480px !important;
  margin: 0 !important;
}

.hero-heading {
  font-family: 'Open Sans', -apple-system, sans-serif !important;
  font-size: clamp(68px, 6.8vw, 108px) !important;
  font-weight: 800 !important;
  line-height: 0.95 !important;
  letter-spacing: -0.03em !important;
  color: #FFFFFF !important;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6) !important;
  margin: 0 !important;
  text-transform: none !important;
}

/* Right Column: Top Description & Bottom Service Cluster */
.hero-right-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  height: 100% !important;
  z-index: 10 !important;
  width: 100% !important;
  max-width: 330px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  grid-row-gap: 0 !important;
  grid-column-gap: 0 !important;
  transform: none !important;
  box-sizing: border-box !important;
}

.hero-text-wrap {
  display: flex !important;
  justify-content: flex-end !important;
  width: 100% !important;
  margin: 0 !important;
}

.hero-desc-badge {
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  max-width: 320px !important;
  box-shadow: none !important;
}

.hero-desc-text {
  font-family: 'Open Sans', -apple-system, sans-serif !important;
  font-size: 13.5px !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
  color: #FFFFFF !important;
  margin: 0 !important;
  text-align: right !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7), 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}

.hero-desc-text strong {
  font-weight: 700 !important;
  color: #FFFFFF !important;
}

.hero-service-block {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  width: 100% !important;
  gap: 8px !important;
  transform: none !important;
  overflow: visible !important;
  margin-bottom: 0 !important;
}

.hero-button-wrap {
  width: 100% !important;
  margin: 0 !important;
}

.hero-main-cta-btn {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background-color: var(--lupo-green, #00673A) !important;
  color: #FFFFFF !important;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 11px 20px !important;
  border-radius: 14px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(0, 103, 58, 0.35) !important;
  transition: background-color 0.15s ease, transform 0.15s ease !important;
  box-sizing: border-box !important;
}

.hero-main-cta-btn:hover {
  background-color: #00542f !important;
  color: #FFFFFF !important;
}

.hero-status-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  margin-bottom: 0 !important;
  transform: none !important;
}

.hero-availability-status {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 0 !important;
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  user-select: none !important;
  cursor: default !important;
  transition: none !important;
}

.hero-availability-status:hover {
  background: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.hero-availability-status .lupo-status-pulse {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 10px !important;
  height: 10px !important;
  flex-shrink: 0 !important;
}

.hero-availability-status .lupo-status-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background-color: #00E575 !important;
  box-shadow: 0 0 6px #00E575, 0 0 10px rgba(0, 229, 117, 0.9) !important;
  z-index: 2 !important;
  position: relative !important;
  animation: lupoSmallDotBlink 1.4s ease-in-out infinite !important;
}

.hero-availability-status .lupo-status-ring {
  display: none !important;
}

@keyframes lupoSmallDotBlink {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 6px #00E575, 0 0 10px rgba(0, 229, 117, 0.9);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.8);
    box-shadow: 0 0 2px #00E575;
  }
}

.hero-availability-status .lupo-status-text {
  font-family: 'Open Sans', -apple-system, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #FFFFFF !important;
  letter-spacing: -0.01em !important;
  white-space: nowrap !important;
  line-height: 1.3 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7), 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}

.hero-services-wrap {
  transform: none !important;
  margin-top: 0 !important;
  background-color: #FFFFFF !important;
  border-radius: 16px !important;
  padding: 12px 18px !important;
  width: 100% !important;
  max-width: 330px !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22), 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  box-sizing: border-box !important;
}

.hero-services-holder {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  text-decoration: none !important;
  gap: 8px !important;
}

.hero-service-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 4px 0 !important;
  transition: all 0.2s ease !important;
}

.hero-service-name {
  font-family: 'Open Sans', -apple-system, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #111827 !important;
  line-height: 1.3 !important;
  transition: color 0.15s ease !important;
}

.hero-services-holder:hover .hero-service-name {
  color: var(--lupo-green, #00673A) !important;
}

.hero-services-holder:hover .arrow-icon {
  transform: translateX(3px) !important;
}

.arrow-icon {
  transition: transform 0.2s ease !important;
}

.hero-service-divider {
  background-color: rgba(0, 0, 0, 0.06) !important;
  height: 1px !important;
  width: 100% !important;
}

.hero-services-holder:last-child .hero-service-divider {
  display: none !important;
}

@media (max-width: 991px) {
  .section.hero {
    height: auto !important;
    max-height: none !important;
    min-height: auto !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
  .container.is-hero {
    width: calc(100% - 24px) !important;
  }
  .content-wrapper {
    border-radius: 20px !important;
  }
  .hero-content-wrapper {
    min-height: auto !important;
    padding: 28px 20px !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 32px !important;
    border-radius: 20px !important;
  }
  .bg-video-wrapper.is-hero-cover {
    border-radius: 20px !important;
  }
  .hero-left-content {
    max-width: 100% !important;
    gap: 24px !important;
  }
  .hero-right-content {
    max-width: 100% !important;
    align-items: flex-start !important;
    gap: 20px !important;
  }
  .hero-desc-badge {
    text-align: left !important;
  }
  .hero-desc-text {
    text-align: left !important;
  }
  .hero-service-block {
    align-items: flex-start !important;
    max-width: 360px !important;
  }
}

@media (max-width: 479px) {
  .container.is-hero {
    width: calc(100% - 16px) !important;
  }
  .content-wrapper {
    border-radius: 16px !important;
  }
  .hero-content-wrapper {
    padding: 22px 16px !important;
    border-radius: 16px !important;
    gap: 24px !important;
  }
  .bg-video-wrapper.is-hero-cover {
    border-radius: 16px !important;
  }
  .hero-heading {
    font-size: 56px !important;
  }
  .hero-availability-status {
    padding: 0 !important;
  }
  .hero-availability-status .lupo-status-text {
    font-size: 12px !important;
  }
}
/* ==========================================================================
   Lupo Brand Logos (Nav & Footer)
   ========================================================================== */
.lupo-brand-logo {
  height: 26px !important;
  width: auto !important;
  max-width: 120px !important;
  object-fit: contain !important;
  display: block !important;
}

.lupo-footer-brand-logo {
  height: 28px !important;
  width: auto !important;
  max-width: 130px !important;
  object-fit: contain !important;
  display: block !important;
}

/* ==========================================================================
   Services Section Redesign — Compact, Neat & Interactive
   ========================================================================== */

.section.services {
  max-width: 1360px !important;
  width: calc(100% - 32px) !important;
  margin: 16px auto !important;
  border-radius: 24px !important;
  background-color: #0d110e !important;
  background-image: radial-gradient(circle at 80% 20%, rgba(0, 103, 58, 0.18), transparent 45%) !important;
  padding: 40px 40px 36px !important;
  overflow: hidden !important;
  font-family: var(--lupo-font) !important;
  box-sizing: border-box !important;
}

.section.services .container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
}

.section.services .section-wrapper.is-service {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  min-height: auto !important;
}

@media (max-width: 991px) {
  .section.services {
    margin: 12px auto !important;
    width: calc(100% - 24px) !important;
    padding: 28px 20px !important;
    border-radius: 20px !important;
  }
}

@media (max-width: 479px) {
  .section.services {
    margin: 8px auto !important;
    width: calc(100% - 16px) !important;
    padding: 22px 16px !important;
    border-radius: 16px !important;
  }
}

.lupo-services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 22px;
}

@media (max-width: 767px) {
  .lupo-services-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
  }
}

.lupo-services-header-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lupo-services-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  color: #00e575;
  letter-spacing: 0.02em;
}

.lupo-services-heading {
  font-size: 34px !important;
  line-height: 1.18 !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 !important;
  letter-spacing: -0.02em !important;
}

.lupo-services-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  font-size: 13px;
  color: #c5d0c8;
}

/* Service Nav Tabs (Menu bar) */
.lupo-services-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

@media (max-width: 767px) {
  .lupo-services-nav {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 8px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
}

.lupo-service-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  color: #9ca3af;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--lupo-font);
  user-select: none;
}

@media (max-width: 767px) {
  .lupo-service-nav-item {
    flex: 0 0 250px;
    scroll-snap-align: start;
    padding: 12px 14px;
  }
}

.lupo-service-nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.lupo-service-nav-item.is-active {
  background: rgba(0, 103, 58, 0.26) !important;
  border-color: #00874c !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(0, 103, 58, 0.25), inset 0 0 0 1px rgba(0, 229, 117, 0.25) !important;
}

.lupo-nav-num {
  font-size: 14px;
  font-weight: 700;
  color: #00e575;
  background: rgba(0, 229, 117, 0.12);
  border-radius: 8px;
  padding: 4px 8px;
  line-height: 1;
}

.lupo-service-nav-item:not(.is-active) .lupo-nav-num {
  color: #9ca3af;
  background: rgba(255, 255, 255, 0.06);
}

.lupo-nav-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.lupo-nav-text strong {
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #ffffff;
}

.lupo-nav-text small {
  font-size: 11.5px;
  font-weight: 400;
  color: #9ca3af;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lupo-service-nav-item.is-active .lupo-nav-text small {
  color: #d1fae5;
}

/* Service Panels Master Box */
.lupo-service-panels-wrap {
  position: relative;
  min-height: 360px;
}

.lupo-service-panel {
  display: none;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px 30px;
  backdrop-filter: blur(8px);
}

.lupo-service-panel.is-active {
  display: grid;
  animation: lupoFadeIn 0.22s ease-out forwards;
}

@media (max-width: 991px) {
  .lupo-service-panel {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 16px;
  }
}

.lupo-service-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lupo-service-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-size: 11px;
  font-weight: 600;
  color: #00e575;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.lupo-service-title {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin: 0;
}

.lupo-service-slogan {
  font-size: 14px;
  font-weight: 600;
  color: #6ee7b7;
  margin: 0;
  line-height: 1.4;
}

.lupo-service-desc {
  font-size: 13.5px;
  line-height: 1.58;
  color: #9ca3af;
  margin: 0 0 4px 0;
}

/* 5 Deliverables grid */
.lupo-service-deliverables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin-top: 4px;
  margin-bottom: 8px;
}

@media (max-width: 580px) {
  .lupo-service-deliverables {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.lupo-deliverable-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: #e5e7eb;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 6px 10px;
}

.lupo-deliverable-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Service CTA button */
.lupo-service-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  background: #00673A;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.15s ease;
  margin-top: 4px;
}

.lupo-service-cta-btn:hover {
  background: #00874C;
  transform: translateY(-1px);
}

/* Service Media Box */
.lupo-service-media {
  position: relative;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000000;
}

@media (max-width: 991px) {
  .lupo-service-media {
    height: 220px;
  }
}

.lupo-service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.lupo-service-panel:hover .lupo-service-media img {
  transform: scale(1.02);
}

.lupo-service-media-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(14, 26, 18, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

/* Ensure clean Vietnamese sentence casing without artificial title-casing */
.hero-content-wrapper,
.hero-content-wrapper *,
.hero-availability-status,
.hero-availability-status *,
.hero-main-content,
.hero-main-content *,
.hero-right-content,
.hero-right-content *,
.hero-text,
.hero-desc-text,
.hero-service-name,
.available-title-wrap,
.available-title-wrap * {
  text-transform: none !important;
}

/* ==========================================================================
   Footer Component Harmonization (All Pages)
   ========================================================================== */
.footer {
  max-width: 1360px !important;
  width: calc(100% - 32px) !important;
  margin: 16px auto 24px !important;
  padding: 48px 40px 28px !important;
  border-radius: 24px !important;
  box-sizing: border-box !important;
  background-color: #0b0f0d !important;
  color: #ffffff !important;
  overflow: hidden !important;
}

.footer .container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
}

@media (max-width: 991px) {
  .footer {
    width: calc(100% - 24px) !important;
    margin: 12px auto 20px !important;
    padding: 36px 20px 24px !important;
    border-radius: 20px !important;
  }
}

@media (max-width: 479px) {
  .footer {
    width: calc(100% - 16px) !important;
    margin: 8px auto 16px !important;
    padding: 28px 16px 20px !important;
    border-radius: 16px !important;
  }
}

.footer-left-block,
.footer-right-block {
  padding-top: 24px !important;
}

.footer .contact-section-heading {
  color: #ffffff !important;
  font-family: var(--lupo-font, 'Open Sans', sans-serif) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
  font-size: 38px !important;
  line-height: 1.25 !important;
}

.footer .text-field {
  color: #ffffff !important;
  font-family: var(--lupo-font, 'Open Sans', sans-serif) !important;
}

.footer .footer-link-text {
  font-family: var(--lupo-font, 'Open Sans', sans-serif) !important;
}

/* ==========================================================================
   Footer Menu: Perfectly Centered with Even Spacing (Matching Top Navbar)
   ========================================================================== */
.footer-menu-wrapper {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  width: 100% !important;
  padding-top: 28px !important;
  padding-bottom: 28px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-sizing: border-box !important;
}

.footer-brand-block {
  justify-self: start !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.footer-menu {
  justify-self: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 36px !important;
  grid-column-gap: 36px !important;
  margin: 0 auto !important;
}

.footer .nav-link {
  font-family: var(--lupo-font, 'Open Sans', sans-serif) !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.8) !important;
  padding: 6px 0 !important;
  transition: color 0.2s ease !important;
  text-decoration: none !important;
}

.footer .nav-link:hover {
  color: #00E575 !important;
}

.social-icons-wrapper {
  justify-self: end !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

@media (max-width: 991px) {
  .footer-menu-wrapper {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    gap: 24px !important;
    text-align: center !important;
  }
  .footer-brand-block {
    justify-self: center !important;
  }
  .footer-menu {
    justify-self: center !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
  }
  .social-icons-wrapper {
    justify-self: center !important;
  }
}



/* ==========================================================================
   Flowrix Services Cloned Styles & Enhanced Fluid Accordion
   ========================================================================== */
.lupo-services-header-bar {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-end !important;
  gap: 20px !important;
  margin-bottom: 28px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.lupo-services-title-wrap {
  display: flex !important;
  align-items: baseline !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}

.lupo-services-main-title,
#services .section-title,
#services .lupo-services-heading,
.section-title-wrap.service .section-title {
  color: #FFFFFF !important;
  font-family: var(--lupo-font, 'Open Sans', sans-serif) !important;
  font-size: 38px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
  margin: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.lupo-services-tagline {
  color: #00E575 !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

.lupo-services-counter-badge {
  flex-shrink: 0 !important;
}

.services-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  padding: 24px 0 !important;
  transition: background-color 0.25s ease !important;
}
.services-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
}
.services-item:hover {
  background-color: rgba(255, 255, 255, 0.015) !important;
}

.service-top-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  height: auto !important;
  min-height: 48px !important;
  max-height: none !important;
  overflow: visible !important;
  cursor: pointer !important;
  padding: 8px 0 !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  transform: none !important;
}

.service-number-wrap,
.service-number {
  display: none !important;
}

.service-content {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  height: auto !important;
  min-height: 44px !important;
  max-height: none !important;
  overflow: visible !important;
  gap: 16px !important;
  transform: none !important;
}

.service-subtitle._01 {
  font-family: var(--lupo-font, 'Open Sans', sans-serif) !important;
  font-size: 21px !important;
  font-weight: 600 !important;
  color: #FFFFFF !important;
  letter-spacing: -0.01em !important;
  transition: color 0.2s ease !important;
  margin: 0 !important;
  line-height: 1.35 !important;
  height: auto !important;
  overflow: visible !important;
  transform: none !important;
}
.services-item.is-open .service-subtitle._01,
.services-item:hover .service-subtitle._01 {
  color: #00E575 !important;
}

/* Perfect Round Action Button matching crop-verified-services-final.png */
.service-arrow-wrap {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.25s ease !important;
  overflow: hidden !important;
  transform: none !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  margin: 0 !important;
}

.services-item:hover .service-arrow-wrap {
  background-color: rgba(0, 229, 117, 0.16) !important;
  border-color: rgba(0, 229, 117, 0.5) !important;
  transform: scale(1.05) !important;
}

.services-item.is-open .service-arrow-wrap {
  background-color: #00673A !important;
  border-color: #00E575 !important;
  box-shadow: 0 0 16px rgba(0, 229, 117, 0.45) !important;
  transform: none !important;
}
.services-item.is-open:hover .service-arrow-wrap {
  background-color: #00874C !important;
  transform: scale(1.05) !important;
}

.service-arrow-wrap .service-arrow-img,
.service-arrow-img {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  display: block !important;
  margin: auto !important;
  padding: 0 !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  transform-origin: center center !important;
}

.services-item.is-open .service-arrow-img {
  transform: rotate(90deg) !important;
}

/* Accordion Framed Card Container ("đẩy vào trong khung đấy") */
.service-bottom-wrap {
  display: none !important;
  width: 100% !important;
  margin-top: 18px !important;
  margin-bottom: 6px !important;
  padding: 26px 28px !important;
  background: rgba(255, 255, 255, 0.025) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  overflow: visible !important;
  box-sizing: border-box !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
}

.services-item.is-open .service-bottom-wrap {
  display: block !important;
  animation: lupoFadeIn 0.35s ease forwards;
}

@keyframes lupoFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Clean 3-Column Layout (Balanced Flexbox) */
.service-bottom-details {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 32px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Column 1: Description & CTA button */
.service-details-left {
  flex: 1 1 35% !important;
  min-width: 250px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 20px !important;
}

.service-desc-text {
  color: #c5d0c8 !important;
  font-size: 14.5px !important;
  line-height: 1.65 !important;
  margin: 0 !important;
  word-break: normal !important;
}

.service-cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 22px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  border-radius: 9999px !important;
  background-color: #00673A !important;
  color: #FFFFFF !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0, 103, 58, 0.3) !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
  width: auto !important;
  height: auto !important;
}
.service-cta-btn:hover {
  background-color: #00874C !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(0, 103, 58, 0.45) !important;
}

/* Column 2: Standalone Card Image */
.service-image-box {
  flex: 0 0 280px !important;
  width: 280px !important;
  height: 200px !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
  background-color: #111111 !important;
}

.service-card-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.4s ease !important;
}
.services-item:hover .service-card-img {
  transform: scale(1.03) !important;
}

/* Column 3: Bullet points with checkmarks */
.service-bullets-list {
  flex: 1 1 35% !important;
  min-width: 250px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.service-bullet-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #FFFFFF !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  white-space: normal !important;
}

.service-bullet-icon {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
}

@media (max-width: 991px) {
  .service-bottom-wrap {
    padding: 20px 18px !important;
  }
  .service-bottom-details {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 24px !important;
  }
  .service-details-left,
  .service-bullets-list {
    min-width: 100% !important;
    width: 100% !important;
  }
  .service-image-box {
    width: 100% !important;
    max-width: 380px !important;
    height: 210px !important;
  }
}

/* Lupo Services Counter Badge Pill */
.lupo-services-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 117, 0.08);
  border: 1px solid rgba(0, 229, 117, 0.28);
  padding: 6px 16px;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
}
.lupo-services-badge-pill:hover {
  background: rgba(0, 229, 117, 0.14);
  border-color: rgba(0, 229, 117, 0.45);
}
.lupo-services-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #00E575;
  box-shadow: 0 0 8px #00E575, 0 0 12px rgba(0, 229, 117, 0.6);
  display: inline-block;
  animation: lupo-badge-pulse 2s infinite ease-in-out;
}
@keyframes lupo-badge-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.lupo-services-badge-text {
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

/* 3 Gói Combo Chủ Lực (All-in-One Ecosystem) */
.lupo-combos-section {
  margin-top: 48px !important;
  padding-top: 36px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
}
.lupo-combos-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-end !important;
  margin-bottom: 24px !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
}
.lupo-combos-tag {
  color: #00E575 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  margin-bottom: 4px !important;
}
.lupo-combos-title {
  color: #FFFFFF !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  margin: 0 !important;
  letter-spacing: -0.01em !important;
}
.lupo-combos-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
}
.lupo-combo-card {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 18px !important;
  padding: 24px 22px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
}
.lupo-combo-card:hover {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(0, 229, 117, 0.35) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3) !important;
}
.lupo-combo-card.is-featured {
  background: linear-gradient(180deg, rgba(0, 103, 58, 0.25) 0%, rgba(14, 26, 18, 0.5) 100%) !important;
  border: 1px solid rgba(0, 229, 117, 0.45) !important;
  position: relative !important;
}
.lupo-combo-badge {
  display: inline-block !important;
  width: fit-content !important;
  padding: 3px 10px !important;
  background: rgba(0, 229, 117, 0.15) !important;
  border: 1px solid rgba(0, 229, 117, 0.3) !important;
  border-radius: 9999px !important;
  color: #00E575 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
  margin-bottom: 12px !important;
}
.lupo-combo-name {
  color: #FFFFFF !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  margin: 0 0 8px 0 !important;
  letter-spacing: -0.01em !important;
}
.lupo-combo-desc {
  color: #c5d0c8 !important;
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  margin: 0 0 16px 0 !important;
}
.lupo-combo-scope {
  border-top: 1px dashed rgba(255, 255, 255, 0.14) !important;
  padding-top: 14px !important;
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 12.5px !important;
  line-height: 1.5 !important;
}

/* Universal Smooth Tactile Hold & Hover Feedback for All Buttons */
.hero-main-cta-btn,
.lupo-ref-more-btn,
.lupo-slide-btn,
.primary-button,
.secondary-button,
.submit-button {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  cursor: pointer !important;
}
.hero-main-cta-btn:active,
.lupo-ref-more-btn:active,
.lupo-slide-btn:active,
.primary-button:active,
.secondary-button:active,
.submit-button:active {
  transform: translateY(0px) scale(0.96) !important;
  transition: transform 0.1s ease !important;
}

@media (max-width: 991px) {
  .lupo-combos-grid {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 479px) {
  .service-subtitle._01 {
    font-size: 17px !important;
  }
  .service-arrow-wrap {
    width: 36px !important;
    height: 36px !important;
  }
  .service-number {
    min-width: 32px !important;
    font-size: 15px !important;
  }
  .lupo-services-main-title {
    font-size: 30px !important;
  }
}

/* Partner logo images (uploaded via CMS) */
.lupo-logo-img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}
.lupo-logo-item:hover .lupo-logo-img { opacity: 1; }


/* ==========================================================================
   Mobile navigation: closed by default, opens via the hamburger (Webflow
   adds [data-nav-menu-open] to the menu while it is open)
   ========================================================================== */
@media (min-width: 992px) {
  .nav-menu-list { display: flex !important; }
}
@media (max-width: 991px) {
  .nav-menu-list { display: none !important; }
  .nav-menu-list[data-nav-menu-open] {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: auto !important;
    max-height: calc(100vh - 80px) !important;
    overflow-y: auto !important;
    padding: 8px 20px 20px !important;
    background: #ffffff !important;
    border-radius: 0 0 18px 18px !important;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.12) !important;
    margin: 0 !important;
  }
  .menu-list-wrapper {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    grid-column-gap: 0 !important;
    width: 100% !important;
  }
  .menu-list-wrapper .link-holder {
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  }
  .menu-list-wrapper .nav-link {
    display: block !important;
    padding: 16px 4px !important;
    font-size: 17px !important;
    text-align: left !important;
  }
  .menu-list-wrapper .nav-button-slot { padding-top: 16px; }
  .menu-list-wrapper .link-block-underline { display: none !important; }
}

/* ==========================================================================
   Mobile polish (<= 767px): hero, carousel, footer
   ========================================================================== */
@media (max-width: 991px) {
  /* The header already has a "Tư vấn 1:1" button; don't repeat it in the open menu */
  .nav-menu-list .lupo-nav-cta-btn,
  .menu-list-wrapper .nav-button-slot { display: none !important; }
}

@media (max-width: 767px) {
  /* Hero: artwork on top, copy underneath on a dark fade (no text over the logo art) */
  .bg-video-wrapper.is-hero-cover {
    bottom: auto !important;
    height: 360px !important;
  }
  .hero-cover-image {
    object-position: center 35% !important;
  }
  .hero-cover-overlay {
    background: linear-gradient(
      180deg,
      rgba(10, 24, 15, 0.45) 0%,
      rgba(0, 0, 0, 0) 22%,
      rgba(7, 23, 14, 0.55) 60%,
      #07170E 97% ) !important;
  }
  .hero-left-content {
    min-height: 300px !important;
    justify-content: space-between !important;
    gap: 0 !important;
  }
  .hero-main-content { gap: 8px !important; }
  .hero-heading { font-size: 44px !important; line-height: 1 !important; }
  .hero-service-block { max-width: 100% !important; }

  /* Project carousel: keep the arrows clear of the caption */
  .lupo-nav-btn {
    top: 112px !important;
    width: 36px !important;
    height: 36px !important;
  }
  .lupo-slide-scrim {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.1) 30%,
      rgba(0, 0, 0, 0.7) 62%,
      rgba(0, 0, 0, 0.94) 100% ) !important;
  }

  /* Floating chat button must not cover the copyright line */
  .footer { padding-bottom: 96px !important; }
}

/* Hamburger + open state for pages that do not run the Webflow nav (projects, project detail) */
.lupo-burger { display: none; }
@media (max-width: 991px) {
  .lupo-burger {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .lupo-burger span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: #111;
    transition: transform .25s ease, opacity .2s ease;
  }
  .navbar.lupo-nav-open .lupo-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .navbar.lupo-nav-open .lupo-burger span:nth-child(2) { opacity: 0; }
  .navbar.lupo-nav-open .lupo-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .navbar.lupo-nav-open .nav-menu-list {
    display: block !important;
    position: absolute !important;
    top: 100% !important;
    bottom: auto !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: auto !important;
    max-height: calc(100vh - 80px) !important;
    overflow-y: auto !important;
    padding: 8px 20px 20px !important;
    margin: 0 !important;
    background: #ffffff !important;
    border-radius: 0 0 18px 18px !important;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.12) !important;
  }
}


/* ==========================================================================
   About page
   ========================================================================== */
.lupo-about-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px 40px; box-sizing: border-box; }
.lupo-about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 8px 0 64px; }
.lupo-about-stat { background: #f4f7f5; border: 1px solid rgba(0,0,0,.06); border-radius: 18px; padding: 28px; }
.lupo-about-stat b { display: block; font-size: 48px; line-height: 1; font-weight: 800; color: var(--lupo-green, #00673A); }
.lupo-about-stat span { display: block; margin-top: 12px; font-size: 15px; color: #4b5563; }
.lupo-about-section { margin-bottom: 64px; }
.lupo-about-h2 { font-size: 34px; line-height: 1.2; font-weight: 700; color: #111; margin: 0 0 12px; letter-spacing: -0.01em; }
.lupo-about-lead { max-width: 680px; font-size: 17px; line-height: 1.6; color: #4b5563; margin: 0 0 28px; }
.lupo-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.lupo-pillar { background: #07170E; color: #fff; border-radius: 20px; padding: 28px; }
.lupo-pillar-code { display: inline-block; font-size: 13px; font-weight: 700; color: #5be08f; letter-spacing: .08em; margin-bottom: 14px; }
.lupo-pillar h3 { margin: 0 0 10px; font-size: 22px; color: #fff; }
.lupo-pillar p { margin: 0; font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.78); }
.lupo-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.lupo-step { border: 1px solid rgba(0,0,0,.1); border-radius: 18px; padding: 24px; background: #fff; }
.lupo-step span { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--lupo-green, #00673A); color: #fff; font-weight: 700; margin-bottom: 14px; }
.lupo-step h3 { margin: 0 0 8px; font-size: 18px; color: #111; }
.lupo-step p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #4b5563; }
.lupo-about-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #07170E; border-radius: 24px; padding: 36px 40px; color: #fff; }
.lupo-about-cta h2 { margin: 0 0 8px; font-size: 28px; color: #fff; }
.lupo-about-cta p { margin: 0; color: rgba(255,255,255,.75); font-size: 16px; }
.lupo-about-cta-btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #07170E; border-radius: 999px; padding: 14px 26px; font-weight: 700; text-decoration: none; transition: transform .2s ease; }
.lupo-about-cta-btn:hover { transform: translateY(-2px); }
@media (max-width: 991px) {
  .lupo-steps { grid-template-columns: repeat(2, 1fr); }
  .lupo-pillars { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .lupo-about-stats { grid-template-columns: 1fr; margin-bottom: 48px; }
  .lupo-about-section { margin-bottom: 48px; }
  .lupo-about-h2 { font-size: 26px; }
  .lupo-steps { grid-template-columns: 1fr; }
  .lupo-about-cta { flex-direction: column; align-items: flex-start; padding: 28px 22px; }
  .lupo-about-cta h2 { font-size: 23px; }
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.lupo-contact-grid { max-width: 1120px; margin: 8px auto 64px; padding: 0 20px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; box-sizing: border-box; align-items: start; }
.lupo-contact-info { display: flex; flex-direction: column; gap: 14px; }
.lupo-contact-card { display: block; background: #f4f7f5; border: 1px solid rgba(0,0,0,.06); border-radius: 18px; padding: 22px 24px; text-decoration: none; color: #111; }
a.lupo-contact-card:hover { border-color: var(--lupo-green, #00673A); }
.lupo-contact-label { display: block; font-size: 13px; font-weight: 600; color: #6b7280; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.lupo-contact-card strong { font-size: 20px; font-weight: 700; color: #111; }
.lupo-contact-form { background: #07170E; border-radius: 24px; padding: 32px; box-sizing: border-box; }
.lupo-contact-form .form-block { width: 100%; }
@media (max-width: 991px) {
  .lupo-contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .lupo-contact-form { padding: 22px 18px; border-radius: 18px; }
  .lupo-contact-card strong { font-size: 18px; }
}

/* Top menu: no underline bars (the current page is shown with the brand green instead) */
.navbar .link-block-underline,
.navbar .projects-nav-active .link-block-underline {
  display: none !important;
}
.navbar .projects-nav-active .nav-link {
  color: var(--lupo-green, #00673A) !important;
}

/* Project detail: gallery adapts to however many images the CMS provides */
.lupo-gallery-auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.lupo-gallery-auto .lupo-gallery-item { height: 320px; }
.lupo-gallery-auto .lupo-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 767px) { .lupo-gallery-auto .lupo-gallery-item { height: 240px; } }

/* ==========================================================================
   Layout unification: every inner page uses the same frame as the navbar,
   the homepage sections and the footer card (1360px; 16/12/8px gutters),
   so all edges line up from top to bottom.
   ========================================================================== */
.lupo-page-header,
.lupo-projects-grid,
.lupo-about-wrap,
.lupo-contact-grid,
.lupo-detail-hero {
  width: min(1360px, calc(100% - 32px));
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.lupo-detail-banner,
.lupo-stats-row { max-width: none; }
/* long-form article column stays narrower for readability, centred */
.lupo-case-body { max-width: 960px; padding-left: 0; padding-right: 0; }
@media (max-width: 991px) {
  .lupo-page-header, .lupo-projects-grid, .lupo-about-wrap, .lupo-contact-grid, .lupo-detail-hero { width: calc(100% - 24px); }
}
@media (max-width: 479px) {
  .lupo-page-header, .lupo-projects-grid, .lupo-about-wrap, .lupo-contact-grid, .lupo-detail-hero { width: calc(100% - 16px); }
}

/* 404 page */
.lupo-404 { width: min(720px, calc(100% - 32px)); margin: 0 auto; padding: 96px 0 72px; text-align: center; }
.lupo-404-img { width: 220px; max-width: 60%; height: auto; display: block; margin: 0 auto 28px; }
.lupo-404 .lupo-page-title { margin-top: 18px; }
.lupo-404-actions { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.lupo-404-link { color: var(--lupo-green, #00673A); font-weight: 600; text-decoration: none; }
.lupo-404-link:hover { text-decoration: underline; }

@media (max-width: 991px) {
  .lupo-meta-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Partner logos: same box height, identical gap between logo edges */
.lupo-marquee-group.is-cells { gap: 72px; padding-right: 72px; }
.lupo-logo-item.is-cell { flex: 0 0 auto; width: auto; height: 64px; justify-content: center; }
.lupo-logo-item.is-cell .lupo-logo-img { max-width: none; flex: 0 0 auto; }
@media (max-width: 767px) {
  .lupo-marquee-group.is-cells { gap: 48px; padding-right: 48px; }
  .lupo-logo-item.is-cell { height: 52px; }
}

/* ==========================================================================
   News (Tin tức): homepage section, list page, article page
   ========================================================================== */
.lupo-home-news[hidden], .lupo-news-related[hidden] { display: none !important; }
.lupo-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.lupo-news-card .lupo-card-media { height: 220px; }
.lupo-news-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09); }
.lupo-news-card:hover .lupo-card-img { transform: scale(1.04); }
.lupo-news-card .lupo-card-title { font-size: 19px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lupo-news-card .lupo-card-summary { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lupo-news-date { font-size: 13px; color: var(--lupo-text-muted, #6b7280); margin-bottom: 8px; }
.lupo-news-empty { text-align: center; color: #6b7280; padding: 72px 0; margin: 0; }

.lupo-news-wrap { width: min(1360px, calc(100% - 32px)); margin: 0 auto 90px; box-sizing: border-box; }
.lupo-news-featured { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; margin-bottom: 36px; background: #fff;
  border: 1px solid var(--lupo-border-light, rgba(0,0,0,.08)); border-radius: var(--lupo-radius-lg, 20px); overflow: hidden;
  text-decoration: none; color: inherit; box-shadow: 0 4px 16px rgba(0,0,0,.04); transition: box-shadow .3s ease, transform .3s ease; }
.lupo-news-featured:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.09); }
.lupo-news-featured-media { min-height: 380px; background: #111; overflow: hidden; }
.lupo-news-featured-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.lupo-news-featured:hover .lupo-news-featured-media img { transform: scale(1.03); }
.lupo-news-featured-body { padding: 44px 44px 40px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.lupo-news-featured-title { margin: 0; font-size: 32px; line-height: 1.22; font-weight: 700; color: #111; letter-spacing: -0.01em; }
.lupo-news-featured-excerpt { margin: 0; font-size: 16px; line-height: 1.65; color: #4b5563; }
.lupo-news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 14px; color: #6b7280; }
.lupo-news-cat { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--lupo-green-surface, #eef6f1);
  color: var(--lupo-green, #00673A); font-weight: 600; font-size: 13px; }
.lupo-news-more { text-align: center; margin-top: 40px; }

/* article page */
.lupo-article { width: min(1360px, calc(100% - 32px)); margin: 0 auto; padding: 120px 0 40px; box-sizing: border-box; }
.lupo-article-head { max-width: 860px; margin: 0 auto 40px; text-align: center; }
.lupo-article-head .lupo-breadcrumb { justify-content: center; margin-bottom: 22px; }
.lupo-article-title { font-size: 44px; line-height: 1.16; font-weight: 700; color: #111; margin: 18px 0 16px; letter-spacing: -0.02em; }
.lupo-article-meta { justify-content: center; }
.lupo-article-meta span + span::before { content: "•"; margin-right: 16px; color: #c4c9cf; }
.lupo-article-draft { display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px; background: #fef3c7; color: #92400e; font-size: 13px; font-weight: 600; }
.lupo-article-cover { border-radius: var(--lupo-radius-xl, 24px); overflow: hidden; margin-bottom: 48px; box-shadow: 0 24px 64px -12px rgba(0,0,0,.18); }
.lupo-article-cover img { width: 100%; max-height: 620px; object-fit: cover; display: block; }
.lupo-article-body { max-width: 760px; margin: 0 auto; font-size: 18px; line-height: 1.8; color: #1f2937; }
.lupo-article-body p { margin: 0 0 22px; }
.lupo-article-body h2 { font-size: 28px; line-height: 1.3; margin: 44px 0 16px; color: #111; letter-spacing: -0.01em; }
.lupo-article-body h3 { font-size: 22px; line-height: 1.35; margin: 34px 0 12px; color: #111; }
.lupo-article-body ul { margin: 0 0 22px; padding-left: 22px; }
.lupo-article-body li { margin-bottom: 8px; }
.lupo-article-body li::marker { color: var(--lupo-green, #00673A); }
.lupo-article-body a { color: var(--lupo-green, #00673A); text-decoration: underline; }
.lupo-article-body figure { margin: 34px 0; }
.lupo-article-body figure img { width: 100%; border-radius: 16px; display: block; }
.lupo-article-lead { font-size: 21px; line-height: 1.65; color: #374151; font-weight: 500; }
.lupo-article-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(0,0,0,.08); }
.lupo-news-related { width: min(1360px, calc(100% - 32px)); margin: 40px auto 90px; box-sizing: border-box; }
.lupo-news-related-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }

@media (max-width: 991px) {
  .lupo-news-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .lupo-news-featured { grid-template-columns: 1fr; }
  .lupo-news-featured-media { min-height: 0; aspect-ratio: 16 / 9; }
  .lupo-news-featured-body { padding: 28px; }
  .lupo-news-featured-title { font-size: 26px; }
  .lupo-news-wrap, .lupo-article, .lupo-news-related { width: calc(100% - 24px); }
  .lupo-article-title { font-size: 36px; }
}
@media (max-width: 767px) {
  .lupo-news-grid { grid-template-columns: 1fr; }
  .lupo-article { padding-top: 96px; }
  .lupo-article-title { font-size: 29px; }
  .lupo-article-body { font-size: 17px; }
  .lupo-article-lead { font-size: 18px; }
  .lupo-article-body h2 { font-size: 23px; margin-top: 34px; }
  .lupo-article-cover { margin-bottom: 32px; border-radius: 16px; }
  .lupo-news-related-head { flex-direction: column; gap: 6px; }
}
@media (max-width: 479px) {
  .lupo-news-wrap, .lupo-article, .lupo-news-related { width: calc(100% - 16px); }
  .lupo-news-featured-body { padding: 22px 18px; }
  .lupo-news-featured-title { font-size: 23px; }
}

/* ---------- Project detail: YouTube video (lite embed) ---------- */
.lupo-detail-video { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 0 auto 72px; border-radius: var(--lupo-radius-xl); overflow: hidden; background: #07170E; }
.lupo-detail-video.is-shorts { aspect-ratio: 9 / 16; max-width: 420px; }
.lupo-detail-video iframe, .lupo-video-play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lupo-video-play { padding: 0; cursor: pointer; background: none; }
.lupo-video-play img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.lupo-video-play:hover img { transform: scale(1.03); }
.lupo-video-icon { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--lupo-green, #00E575); box-shadow: 0 10px 40px rgba(0,0,0,.35); transition: transform .25s ease; }
.lupo-video-icon::after { content: ""; position: absolute; left: 34px; top: 26px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent #07170E; }
.lupo-video-play:hover .lupo-video-icon { transform: scale(1.08); }
@media (max-width: 767px) {
  .lupo-detail-video { border-radius: 18px; }
  .lupo-video-icon { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .lupo-video-icon::after { left: 26px; top: 20px; border-width: 12px 0 12px 20px; }
}
.lupo-video-play::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,23,14,0) 55%, rgba(7,23,14,.55)); }
.lupo-video-label { position: absolute; left: 24px; bottom: 22px; padding: 8px 16px; border-radius: 999px; background: rgba(7,23,14,.72); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .01em; backdrop-filter: blur(6px); }
@media (max-width: 767px) { .lupo-video-label { left: 14px; bottom: 12px; font-size: 12px; padding: 6px 12px; } }

/* ==========================================================================
   Project detail v2 — editorial layout: title + intro / wide banner / meta row /
   [highlights | article body with inline images & videos]
   ========================================================================== */
.lpd-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px 64px; align-items: start; margin: 8px 0 40px; }
.lpd-head.is-solo { grid-template-columns: 1fr; }
.lpd-kicker { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lupo-green); margin-bottom: 14px; }
.lpd-title { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; color: var(--lupo-text-dark); margin: 0; }
.lpd-intro { font-size: 18px; line-height: 1.7; color: var(--lupo-text-muted); margin: 6px 0 0; }
.lpd-banner { border-radius: var(--lupo-radius-xl); overflow: hidden; margin-bottom: 40px; background: #dfe9e3; }
.lpd-banner img { display: block; width: 100%; aspect-ratio: 2.4 / 1; object-fit: cover; }
.lpd-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0 0 64px; padding-bottom: 32px; border-bottom: 1px solid var(--lupo-border-light); }
.lpd-meta dt { font-size: 17px; font-weight: 700; color: var(--lupo-text-dark); margin-bottom: 6px; }
.lpd-meta dd { margin: 0; font-size: 15px; line-height: 1.5; color: var(--lupo-text-muted); }

.lpd-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; margin-bottom: 80px; }
.lpd-aside { position: sticky; top: 110px; display: grid; gap: 28px; }
.lpd-highlight-label { font-size: 18px; font-weight: 600; color: var(--lupo-text-dark); line-height: 1.35; margin-bottom: 8px; }
.lpd-highlight-value { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; color: var(--lupo-green); }
.lpd-highlight-value.is-text { font-size: 20px; line-height: 1.4; }

.lpd-body { font-size: 16px; line-height: 1.8; color: #4b5563; }
.lpd-body > :first-child { margin-top: 0; }
.lpd-body h2 { font-size: 34px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; color: var(--lupo-text-dark); margin: 56px 0 18px; }
.lpd-body h3 { font-size: 22px; line-height: 1.35; font-weight: 600; color: var(--lupo-text-dark); margin: 36px 0 12px; }
.lpd-body p { margin: 0 0 18px; }
.lpd-body strong { color: var(--lupo-text-dark); }
.lpd-body a { color: var(--lupo-green); text-decoration: underline; }
.lpd-body ul { margin: 0 0 24px; padding-left: 20px; }
.lpd-body li { margin-bottom: 8px; }
.lpd-body li::marker { color: var(--lupo-text-dark); }
.lpd-body ul.lpd-steps { list-style: none; padding: 0; }
.lpd-steps li { position: relative; padding-left: 22px; margin-bottom: 22px; }
.lpd-steps li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--lupo-text-dark); }
.lpd-step-title { font-size: 17px; font-weight: 600; color: var(--lupo-text-dark); line-height: 1.5; margin-bottom: 4px; }
.lpd-steps p { margin: 0; font-size: 15px; }
.lpd-body figure { margin: 36px 0; }
.lpd-body figure img { display: block; width: 100%; border-radius: var(--lupo-radius-lg); }
.lpd-img-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 36px 0; }
.lpd-img-grid figure { margin: 0; }
.lpd-img-grid figure img { aspect-ratio: 4 / 3; object-fit: cover; }
.lpd-body .lupo-detail-video { margin: 36px 0; border-radius: var(--lupo-radius-lg); }
.lpd-body .lupo-detail-video.is-shorts { margin-left: 0; }
.lpd-label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lupo-green); margin: 56px 0 -6px; }
.lpd-label + h2 { margin-top: 14px; }
.lpd-quote { margin: 48px 0 0; padding: 32px 36px; border-radius: var(--lupo-radius-lg); background: #07170E; color: #fff; }
.lpd-quote p { font-size: 20px; line-height: 1.6; color: #fff; margin: 0 0 18px; }
.lpd-quote footer strong { display: block; color: #fff; font-size: 16px; }
.lpd-quote footer span { font-size: 14px; color: rgba(255,255,255,.65); }

@media (max-width: 991px) {
  .lpd-head { grid-template-columns: 1fr; gap: 16px; }
  .lpd-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 44px; }
  .lpd-layout { grid-template-columns: 1fr; gap: 32px; }
  .lpd-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; padding: 24px; border-radius: var(--lupo-radius-lg); background: #fff; }
  .lpd-aside:empty { display: none; }
}
@media (max-width: 767px) {
  .lpd-intro { font-size: 16px; }
  .lpd-banner { border-radius: 18px; margin-bottom: 28px; }
  .lpd-banner img { aspect-ratio: 16 / 10; }
  .lpd-meta dt { font-size: 15px; }
  .lpd-meta dd { font-size: 14px; }
  .lpd-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; padding: 20px; }
  .lpd-highlight-label { font-size: 13px; font-weight: 500; color: var(--lupo-text-muted); margin-bottom: 4px; }
  .lpd-highlight-value { font-size: 24px; }
  .lpd-highlight-value.is-text { font-size: 16px; }
  .lpd-body h2 { font-size: 26px; margin-top: 40px; }
  .lpd-img-grid { grid-template-columns: 1fr; }
  .lpd-quote { padding: 24px; }
  .lpd-quote p { font-size: 17px; }
}

/* news: source attribution for posts taken from another site */
.lupo-article-source { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap;
  margin: 36px 0 8px; padding: 18px 22px; border: 1px solid rgba(7, 23, 14, .12); border-left: 4px solid #00673A; border-radius: 12px; background: #F4F8F5; }
.lupo-article-source > div { display: flex; flex-direction: column; gap: 2px; }
.lupo-article-source-label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #6b7280; }
.lupo-article-source strong { font-size: 17px; color: #07170E; }
.lupo-article-source a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px;
  background: #07170E; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
.lupo-article-source a:hover { background: #00673A; }

/* homepage carousel: counter shown instead of dots when there are many projects */
.lupo-dots-counter { font-size: 14px; font-weight: 600; letter-spacing: .04em; color: #07170E; font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Homepage project carousel v2 (editorial card: frame, kicker / summary / counter on top,
   title + tags + client/year at the bottom). Portrait covers: sharp in the middle, blurred copy behind.
   ========================================================================== */
.lupo-sc-card.is-active { height: 500px; }
.lupo-sc-card.is-side { height: 420px; }
.lupo-sc-media { position: absolute; inset: 0; overflow: hidden; background: #0b130e; }
.lupo-sc-media .lupo-slide-img { position: relative; z-index: 1; }
.lupo-sc-blur { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover;
  filter: blur(30px) brightness(.72) saturate(1.2); transform: scale(1.05); }
.lupo-sc-card.is-portrait .lupo-slide-img { object-fit: contain; filter: drop-shadow(0 0 36px rgba(0,0,0,.55)); }
.lupo-sc-card.is-portrait.is-active:hover .lupo-slide-img { transform: scale(1.015); filter: drop-shadow(0 0 36px rgba(0,0,0,.55)); }

.lupo-sc { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: space-between;
  padding: 34px 38px; color: #fff !important; text-decoration: none !important;
  background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 48%, rgba(0,0,0,.78) 100%); }
.lupo-sc-frame { position: absolute; inset: 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 14px; pointer-events: none; }
.lupo-sc-top { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 1.25fr) auto; gap: 24px; align-items: start; }
.lupo-sc-kicker { font-size: 12.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.lupo-sc-kicker i { font-style: normal; font-size: 10px; opacity: .7; margin-right: 4px; letter-spacing: 0; }
.lupo-sc-desc { margin: 0; max-width: 400px; font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,.92);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lupo-sc-count { font-size: 13px; font-weight: 500; letter-spacing: .04em; white-space: nowrap; font-variant-numeric: tabular-nums; }

.lupo-sc-bottom { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.lupo-sc-main { min-width: 0; max-width: 620px; }
.lupo-sc-title { margin: 0 0 16px; font-size: 34px; font-weight: 600; line-height: 1.12; letter-spacing: -.025em; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lupo-sc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.lupo-sc-tags span { padding: 7px 15px; border: 1px solid rgba(255,255,255,.85); border-radius: 999px; font-size: 13px; line-height: 1.2;
  color: #fff; white-space: nowrap; background: rgba(0,0,0,.12); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lupo-sc-tags .lupo-sc-cta { background: #fff; color: #07170E; border-color: #fff; font-weight: 600; transition: background .2s ease, color .2s ease; }
.lupo-sc:hover .lupo-sc-cta { background: #00E575; border-color: #00E575; }
.lupo-sc-info { margin: 0; width: 240px; flex-shrink: 0; }
.lupo-sc-info div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; font-size: 14.5px; }
.lupo-sc-info div + div { border-top: 1px solid rgba(255,255,255,.3); }
.lupo-sc-info dt { color: rgba(255,255,255,.75); font-weight: 400; }
.lupo-sc-info dd { margin: 0; color: #fff; font-weight: 500; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.lupo-sc-side { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; padding: 22px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.75) 100%); }
.lupo-sc-side-title { color: #fff; font-size: 15px; font-weight: 600; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

@media (max-width: 991px) {
  .lupo-sc-card.is-active { height: 460px; }
  .lupo-sc-card.is-side { height: 390px; }
  .lupo-sc { padding: 30px; }
  .lupo-sc-top { grid-template-columns: 1fr auto; }
  .lupo-sc-desc { display: none; }
  /* tablet: client / year move under the title so long titles keep the full width */
  .lupo-sc-bottom { flex-direction: column; align-items: stretch; gap: 14px; }
  .lupo-sc-title { font-size: 26px; -webkit-line-clamp: 3; }
  .lupo-sc-info { width: auto; }
  .lupo-sc-info div { padding: 9px 0; }
}
@media (max-width: 767px) {
  .lupo-sc-card.is-active { height: 540px; }
  .lupo-sc { padding: 26px 24px; }
  .lupo-sc-frame { inset: 10px; border-radius: 12px; }
  .lupo-sc-bottom { flex-direction: column; align-items: stretch; gap: 14px; }
  .lupo-sc-title { font-size: 24px; margin-bottom: 12px; }
  .lupo-sc-tags span { padding: 6px 12px; font-size: 12px; }
  .lupo-sc-info { width: auto; }
  .lupo-sc-info div { padding: 9px 0; font-size: 13.5px; }
  .lupo-nav-btn { top: 50% !important; }
}

/* the card itself shows "// 03 - 38", so the counter under the carousel is redundant */
.lupo-indicators:has(.lupo-dots-counter) { display: none; }

/* ==========================================================================
   Footer: contact form + the 3 combo packages (picked package is sent with the request)
   Neutral by default; green only on hover / when picked.
   ========================================================================== */
.footer-left-block.lupo-footer-left { max-width: 660px; gap: 0; }
.lupo-footer-left .contact-section-heading { max-width: 560px; margin-bottom: 16px; }
.lupo-pk-wrap { display: flex; flex-direction: column; }
.lupo-pk-lead { margin: 0 0 32px; max-width: 520px; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.66); }
.lupo-pk-tag { margin-bottom: 12px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.lupo-pk-list { display: flex; flex-direction: column; gap: 10px; }
.lupo-pk { display: flex; gap: 14px; align-items: flex-start; width: 100%; padding: 16px 20px; text-align: left; cursor: pointer;
  font: inherit; color: #fff; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.1); border-radius: 14px;
  transition: border-color .2s ease, background-color .2s ease; }
.lupo-pk:focus-visible { outline: 2px solid #00E575; outline-offset: 2px; }
.lupo-pk:hover, .lupo-pk.is-selected { border-color: #00E575; background: rgba(0,229,117,.07); }
.lupo-pk.is-selected { background: rgba(0,229,117,.11); }
.lupo-pk-check { flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35);
  display: flex; align-items: center; justify-content: center; transition: all .2s ease; }
.lupo-pk:hover .lupo-pk-check { border-color: #00E575; }
.lupo-pk.is-selected .lupo-pk-check { border-color: #00E575; background: #00E575; }
.lupo-pk.is-selected .lupo-pk-check::after { content: ''; width: 8px; height: 4px; border: solid #07170E; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.lupo-pk-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.lupo-pk-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lupo-pk-name { font-size: 17px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; transition: color .2s ease; }
.lupo-pk:hover .lupo-pk-name, .lupo-pk.is-selected .lupo-pk-name { color: #00E575; }
.lupo-pk-badge { flex-shrink: 0; padding: 3px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.2); transition: all .2s ease; }
.lupo-pk:hover .lupo-pk-badge, .lupo-pk.is-selected .lupo-pk-badge { color: #00E575; border-color: rgba(0,229,117,.5); }
.lupo-pk-desc { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.75); }
/* keep the column about as tall as the form: the description opens on the picked package */
.lupo-pk:not(.is-selected) .lupo-pk-desc { display: none; }
.lupo-pk-scope { font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.6); }
.lupo-pk-scope strong { color: rgba(255,255,255,.85); font-weight: 600; }
@media (max-width: 991px) {
  .footer-left-block.lupo-footer-left { max-width: 100%; }
}
@media (max-width: 767px) {
  .lupo-pk { padding: 14px 16px; gap: 12px; }
  .lupo-pk-head { flex-wrap: wrap; justify-content: flex-start; gap: 6px 10px; }
  .lupo-pk-name { font-size: 16px; }
  .lupo-pk-lead { margin-bottom: 24px; font-size: 14px; }
}

/* homepage carousel: no project summary on the card (kicker left, counter right) */
.lupo-sc-top { grid-template-columns: 1fr auto; }

/* Footer layout v3: heading + intro across the top, then packages | form as two equal-height columns */
.lupo-contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 0; row-gap: 0; align-items: stretch; }
.lupo-contact-grid .lupo-footer-left { display: contents; }
.lupo-contact-head { grid-column: 1 / -1; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  padding: var(--_spacing---spacing--80, 80px) 0 40px; margin-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.lupo-contact-head .contact-section-heading { max-width: 640px; margin: 0; }
.lupo-contact-head .lupo-pk-lead { max-width: 400px; margin: 0; text-align: right; }
.lupo-contact-grid .lupo-pk-wrap { grid-column: 1; display: flex; flex-direction: column; padding: 0 60px 60px 0; }
.lupo-contact-grid .lupo-pk-list { flex: 1; }
.lupo-contact-grid .lupo-pk { flex: 1 1 0; align-items: center; }
.lupo-contact-grid .lupo-pk-check { margin-top: 0; }
.lupo-contact-grid .footer-right-block { grid-column: 2; max-width: none; padding-top: 0 !important; padding-bottom: 60px !important; }
.lupo-contact-grid .footer-form-wrapper { height: 100%; }
/* the button sits on the bottom edge, level with the last package, whichever column is taller */
.lupo-contact-grid .footer-form-wrapper .form-block { flex: 1; display: flex; flex-direction: column; margin-bottom: 0; }
.lupo-contact-grid .footer-form-wrapper .contact-from { flex: 1; }
.lupo-contact-grid .footer-form-wrapper .contact-from .primary-button { margin-top: auto; }
@media (max-width: 991px) {
  .lupo-contact-grid { grid-template-columns: minmax(0, 1fr); }
  .lupo-contact-head { flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 0; padding-bottom: 28px; margin-bottom: 28px; }
  .lupo-contact-head .lupo-pk-lead { text-align: left; }
  .lupo-contact-grid .lupo-pk-wrap { padding: 0 0 36px; }
  .lupo-contact-grid .lupo-pk { align-items: flex-start; }
  .lupo-contact-grid .lupo-pk-check { margin-top: 3px; }
  .lupo-contact-grid .footer-right-block { grid-column: 1; padding-top: 0 !important; padding-bottom: 24px !important; padding-left: 0; }
}
