:root {
  --primary-color: #2d2420;
  /* Deep warm brown — 화사비아글로벌 CI */
  --accent-color: #b8896b;
  /* Rose gold */
  --accent-color-dark: #8e6b52;
  --bg-color: #ffffff;
  --text-main: #3a312c;
  --text-muted: #7a6f68;
  --nav-bg: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* New Navbar Customizations */
.navbar {
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
  transition: transform 0.4s ease-in-out, background 0.4s ease-in-out, padding 0.4s ease-in-out;
}

.transparent-nav {
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.nav-hidden {
  transform: translateY(-100%);
}

.nav-scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: var(--shadow-sm) !important;
  backdrop-filter: blur(10px);
}

.custom-toggler:focus {
  box-shadow: none;
}

/* Offcanvas Styles */
.offcanvas {
  max-width: 300px;
}

.offcanvas .nav-link {
  font-weight: 600;
  color: var(--text-main);
  transition: color 0.3s ease;
}

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

.offcanvas .dropdown-menu {
  position: static !important;
  float: none;
  background: transparent;
  border: none;
  box-shadow: none;
  padding-left: 1rem;
  margin-top: 0;
  transform: none !important;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.05em;
  color: var(--primary-color) !important;
}

.navbar-brand--logo {
  font-size: 0;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.navbar-brand-img {
  display: block;
  height: 70px;
  width: auto;
  max-width: min(260px, 60vw);
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  object-fit: contain;
  filter: brightness(0);
  /* Default black logo */
  transition: filter 0.4s ease-in-out;
}

/* White logo on dark backgrounds when transparent (index, company, brand) */
body[data-page="index"] #mainNav:not(.nav-scrolled) .navbar-brand-img,
body[data-page="company"] #mainNav:not(.nav-scrolled) .navbar-brand-img,
body[data-page="brand"] #mainNav:not(.nav-scrolled) .navbar-brand-img {
  filter: brightness(0) invert(1);
}



body[data-page="contact"] #mainNav .custom-toggler .navbar-toggler-icon,
body[data-page="product"] #mainNav .custom-toggler .navbar-toggler-icon {
  filter: none;
}

.nav-link {
  font-weight: 500;
  color: var(--text-main) !important;
  transition: color 0.2s ease;
  padding: 0.5rem 1rem !important;
}

.nav-link:hover {
  color: var(--accent-color) !important;
}

/* Utility Classes */
.section-padding {
  padding: 60px 0;
}

.bg-light-gray {
  background-color: #faf7f5;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-up.fade-up-active {
  opacity: 1;
  transform: translateY(0);
}

/* Swiper Customize */
.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-color) !important;
}

.swiper-pagination-bullet-active {
  background: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: #f1f5f9;
  overflow: hidden;
}

.hero-slide {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.hero-content {
  text-align: center;
  z-index: 10;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
}

.hero-desc {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
}

.hero-slide .hero-title,
.hero-slide .hero-desc,
.hero-slide .btn-primary-custom {
  opacity: 0 !important;
  transform: translateY(30px);
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.swiper-slide-active.hero-slide .hero-title {
  opacity: 1 !important;
  transform: translateY(0);
}

.swiper-slide-active.hero-slide .hero-desc {
  opacity: 1 !important;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.swiper-slide-active.hero-slide .btn-primary-custom {
  opacity: 1 !important;
  transform: translateY(0);
  transition-delay: 0.4s;
}

/* Button */
.btn-primary-custom {
  background: var(--primary-color);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary-custom:hover {
  background: var(--accent-color-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #fff;
}

.privacy-consent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.privacy-consent__checkbox {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--primary-color);
}

.privacy-consent__view {
  border: 0;
  background: transparent;
  color: var(--primary-color);
  font: inherit;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-consent__view:hover,
.privacy-consent__view:focus-visible {
  color: var(--accent-color-dark);
}

.privacy-modal-body {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.8;
  white-space: pre-line;
}

.btn-outline-primary {
  --bs-btn-color: var(--accent-color-dark);
  --bs-btn-border-color: var(--accent-color);
  --bs-btn-hover-bg: var(--accent-color);
  --bs-btn-hover-border-color: var(--accent-color);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--accent-color-dark);
  --bs-btn-active-border-color: var(--accent-color-dark);
}



/* Company Page */
.company-section {
  padding: 80px 0;
}

.history-item {
  border-left: 2px solid var(--accent-color);
  padding-left: 20px;
  margin-bottom: 30px;
  position: relative;
}

.history-item::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-color);
}

.history-year {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-color);
}

/* Footer */
footer {
  background: var(--primary-color);
  color: #fff;
  padding: 60px 0 30px;
}

.footer-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.25rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-social-link:hover {
  color: #fff;
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.footer-nav-column {
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 1.5rem;
}

.footer-nav-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 1.5rem;
  width: min(100%, 460px);
  text-align: left;
}

.footer-link-group h5 {
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
}

.footer-sitemap-list {
  flex-direction: column;
  align-items: flex-start;
}

.footer-link-list a {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.45;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link-list a:hover,
.footer-link-list a:focus-visible {
  color: #fff;
  transform: translateY(-1px);
  outline: none;
}

.footer-brand-list a {
  max-width: 100%;
}

.footer-brand-list {
  flex-direction: column;
  align-items: flex-start;
}



/* Hover Dropdown */
@media all and (min-width: 992px) {
  .navbar .dropdown-menu {
    display: none;
    margin-top: 0;
    border-radius: 0 0 8px 8px;
    border-top: none;
  }

  .navbar .nav-item:hover .nav-link {
    color: var(--accent-color) !important;
  }

  .navbar .nav-item:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Language Pill Toggle */
.language-menu {
  position: relative;
}

.language-menu__button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(45, 36, 32, 0.72);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.language-menu__button:hover,
.language-menu__button:focus-visible {
  background: var(--accent-color);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
  outline: none;
}

.language-menu__button svg {
  width: 21px;
  height: 21px;
  stroke-width: 2;
}

.language-menu__list {
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  left: auto !important;
  min-width: 128px;
  border: 1px solid rgba(45, 36, 32, 0.12);
  border-radius: 8px;
  padding: 6px;
  box-shadow: 0 16px 36px rgba(45, 36, 32, 0.14);
  margin-top: 8px !important;
}

.navbar .language-menu__list.show {
  display: block;
}

.language-menu__item {
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.language-menu__item.active,
.language-menu__item:active {
  background: var(--primary-color);
  color: #fff;
}

/* Home page sections */
.home-section {
  position: relative;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-section.home-section {
  min-height: 100vh;
  justify-content: flex-start;
}

.section-number {
  display: none;
}

.section-number--hero {
  color: #fff;
  opacity: 0.15;
}

.section-number--light {
  color: #fff;
  opacity: 0.12;
}

/* Feature cards (Section 03) */
.feature-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

/* Stat cards (Section 03) */
#section-partners.sec-03 {
  background-color: var(--sec-bg, #faf7f5);
}

#section-partners h2 {
  color: var(--text-color, #1c1c1c) !important;
  background: none;
  -webkit-text-fill-color: initial;
  font-size: 2.8rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

#section-partners p.text-muted {
  color: var(--text-color, #7a6f68) !important;
  opacity: 0.85;
}

.stats-outer-card {
  position: relative;
  background-color: #ffffff;
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(45, 36, 32, 0.06);
  margin-top: 2rem;
  overflow: hidden;

  /* Desktop Layout: 16:9 Ratio & Align Bottom */
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  padding-bottom: 2.5rem;
}

/* Dotted world-map layer. The source images are square (1024x1024) with the
   map as a centered horizontal band, so we use `cover` to fill the card cleanly
   instead of stretching the square. JS swaps the image by setting the
   --stats-map-img variable on .stats-outer-card when arrows are clicked. */
.stats-map {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--stats-map-img, url('../assets/main/world_map_europe.png'));
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  pointer-events: none;
}

/* Hide arrows + pagination on a single page (fewer than 4 stat cards) */
.stats-outer-card.hide-arrows .stats-swiper-prev,
.stats-outer-card.hide-arrows .stats-swiper-next,
.stats-outer-card.hide-arrows .stats-swiper-pagination {
  display: none !important;
}

/* Each page lays its (up to) 3 stat cards out in a single row */
#section-partners .stats-card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  width: 100%;
}

#section-partners .stat-card {
  background-color: var(--card-bg, #f0f0f0);
  border-radius: 20px;
  padding: 1.75rem 1.25rem;
  box-shadow: none;
  height: 100%;
  border: none;
  transition: transform 0.3s ease, filter 0.3s ease;
  max-width: 250px;
  margin: 0 auto;
}

#section-partners .stat-card:hover {
  transform: translateY(-4px);
  filter: brightness(0.96);
}

#section-partners .stats-swiper-wrap {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 0 4.5rem 0;
  margin-top: auto;
}

#section-partners .stats-swiper {
  overflow: hidden;
}

#section-partners .stats-swiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

#section-partners .stats-swiper .swiper-slide {
  height: auto;
  flex-shrink: 0;
}

#section-partners .stats-swiper-prev,
#section-partners .stats-swiper-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  margin-top: 0;
  color: #ffffff !important;
  background: rgba(74, 66, 61, 0.22) !important;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex !important;
  /* Show by default */
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  z-index: 10;
  border: none;
}

#section-partners .stats-swiper-prev:hover,
#section-partners .stats-swiper-next:hover {
  background: rgba(74, 66, 61, 0.45) !important;
  color: #ffffff !important;
  transform: translateY(-50%) scale(1.1);
}

#section-partners .stats-swiper-prev::after,
#section-partners .stats-swiper-next::after {
  font-size: 14px;
  font-weight: bold;
}

#section-partners .stats-swiper-prev {
  left: 2rem;
}

#section-partners .stats-swiper-next {
  right: 2rem;
}

#section-partners .stats-swiper-pagination {
  bottom: 0 !important;
  display: none !important;
}

@media (min-width: 768px) {

  .stats-outer-card.has-multiple-groups-pc .stats-swiper-prev,
  .stats-outer-card.has-multiple-groups-pc .stats-swiper-next {
    display: flex !important;
  }

  .stats-outer-card.has-multiple-groups-pc .stats-swiper-pagination {
    display: block !important;
  }
}

#section-partners .stats-swiper-pagination .swiper-pagination-bullet {
  background: var(--primary-color);
  opacity: 0.25;
}

#section-partners .stats-swiper-pagination .swiper-pagination-bullet-active {
  opacity: 0.8;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--card-text-color, #1c1c1c);
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.stat-label {
  color: var(--card-text-color, #4a4a4a);
  font-weight: 700;
  font-size: 0.95rem;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  #section-partners .stat-card {
    padding: 1.5rem 1rem;
    border-radius: 18px;
  }

  .stat-number {
    font-size: 2.25rem;
  }

  .stat-label {
    font-size: 0.95rem;
  }
}

/* ── Section 03 · Bottom subheading + body text ── */
.sec03-bottom-text {
  margin-top: 2rem;
  padding: 0 0.25rem;
}

.sec03-subheading {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-color, var(--primary-color));
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.sec03-body-text {
  font-size: 0.92rem;
  color: var(--text-color, var(--text-muted));
  opacity: 0.82;
  margin: 0;
  line-height: 1.7;
}

/* PC: left-align the bottom block (matches uploaded image annotation style) */
@media (min-width: 768px) {
  .sec03-bottom-text {
    text-align: left;
  }
}

/* Mobile: centered */
@media (max-width: 767.98px) {
  .sec03-bottom-text {
    text-align: center;
  }
  .sec03-subheading {
    font-size: 1.5rem;
  }
  .sec03-body-text {
    font-size: 0.88rem;
  }
}


@media (max-width: 767.98px) {
  .stats-outer-card {
    aspect-ratio: 3 / 4;
    height: auto;
    border-radius: 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-bottom: 2rem;
  }

  .stats-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    border-radius: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center 25%;
  }

  #section-partners .stats-swiper-wrap {
    padding: 0 3.5rem;
    margin-top: auto;
    width: 100%;
    position: relative;
    z-index: 1;
  }

  #section-partners .stats-swiper-prev,
  #section-partners .stats-swiper-next {
    width: 32px !important;
    height: 32px !important;
    display: none !important;
  }

  .stats-outer-card.has-multiple-slides-mobile .stats-swiper-prev,
  .stats-outer-card.has-multiple-slides-mobile .stats-swiper-next {
    display: flex !important;
  }

  .stats-outer-card.has-multiple-slides-mobile .stats-swiper-pagination {
    display: block !important;
  }

  #section-partners .stats-swiper-prev::after,
  #section-partners .stats-swiper-next::after {
    font-size: 11px !important;
  }

  #section-partners .stats-swiper-prev {
    left: 12px;
  }

  #section-partners .stats-swiper-next {
    right: 12px;
  }

  /* Mobile: 1 stat card per slide, ~half the previous size */
  #section-partners .stat-card {
    padding: 1.25rem 1rem;
    border-radius: 14px;
    max-width: 220px;
    margin: 0 auto;
  }

  .stat-number {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }
}

/* CTA (Section 06) */
.section-cta {
  position: relative;
  isolation: isolate;
  min-height: 60vh;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color-dark));
}

.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--home-cta-bg, url('../assets/main/sec06_bg.png')) center / cover no-repeat;
  opacity: 0.42;
}

.section-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg,
      rgba(45, 36, 32, 0.72),
      rgba(142, 107, 82, 0.68));
}

.section-cta .container {
  position: relative;
  z-index: 2;
}

/* Brand Tabs */
.brand-tabs-container {
  width: 100%;
  display: flex;
  justify-content: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.5rem 1rem;
}

.brand-tabs-container::-webkit-scrollbar {
  display: none;
}

.brand-tabs {
  display: inline-flex;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.5rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-tab {
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.brand-tab:hover {
  color: #fff;
}

.brand-tab.active {
  background: #fff;
  color: var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) and (max-width: 1199.98px) {

  /* Tablet: 2-row button grid tabs */
  .brand-tabs-container {
    overflow-x: visible;
    padding: 0.25rem 1.5rem;
  }

  .brand-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 0.625rem;
    background: rgba(0, 0, 0, 0.25);
    padding: 0.75rem;
    border-radius: 16px;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }

  .brand-tab {
    padding: 0.5rem 0.65rem;
    border-radius: 10px;
    font-size: 0.86rem;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  .brand-tab.active {
    border-radius: 10px;
  }
}

@media (max-width: 767.98px) {

  /* Mobile: compact 2-row button grid tabs */
  .brand-tabs-container {
    overflow-x: visible;
    padding: 0.25rem 1rem;
  }

  .brand-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.25);
    padding: 0.625rem;
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .brand-tab {
    padding: 0.45rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  .brand-tab.active {
    border-radius: 10px;
  }
}

@media (min-width: 1200px) {
  .brand-horizontal-header {
    padding: 4.5rem 1.5rem 1rem;
  }

  .brand-horizontal-header .brand-horizontal-desc,
  .brand-tabs-container {
    display: none;
  }

  .brand-horizontal-header .display-5 {
    font-size: 2.25rem;
    margin-bottom: 0 !important;
  }

  .brand-horizontal-header .btn-primary-custom {
    font-size: 0.9rem;
    padding: 0.5rem 1.25rem;
  }

  .brand-horizontal-viewport {
    padding-bottom: 2rem;
  }

  .brand-horizontal-track {
    --brand-card-w: min(82vw, 1000px);
    padding-left: calc((100vw - var(--brand-card-w)) / 2);
    padding-right: calc((100vw - var(--brand-card-w)) / 2);
  }

  .brand-horizontal-card {
    width: min(82vw, 1000px);
    min-width: min(82vw, 1000px);
    height: calc(100vh - 10rem);
    min-height: calc(100vh - 10rem);
    max-height: none;
  }

  .brand-horizontal-card-img {
    min-height: 220px;
  }
}

/* Mobile Typography & Layout Optimization */
@media (max-width: 767.98px) {

  /* Navbar & Offcanvas */
  .navbar-brand-img {
    height: 2.5rem !important;
    max-width: min(220px, 55vw) !important;
  }

  .offcanvas .nav-link {
    font-size: 1.1rem !important;
  }

  /* Hero Section */
  .hero-title {
    font-size: 2.25rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.85rem !important;
  }

  .hero-desc {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    margin-bottom: 1.5rem !important;
    padding: 0 1rem;
  }

  /* Section Title Adjustment */
  .text-gradient {
    font-size: 1.75rem !important;
    line-height: 1.35 !important;
  }

  .section-padding {
    padding: 60px 0 !important;
  }

  /* Bootstrap font utility overrides on mobile */
  .display-5 {
    font-size: 2rem !important;
    line-height: 1.35 !important;
  }

  .fs-5 {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }

  /* Section 03: Feature Cards */
  .feature-card {
    padding: 1.5rem !important;
  }

  .feature-card h3 {
    font-size: 1.25rem !important;
    margin-bottom: 0.5rem !important;
  }

  .feature-card p {
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
  }



  /* Section 03: Partners/Stats — 1 card per slide, ~half size on mobile */
  #section-partners .stats-swiper-wrap {
    padding: 1rem 1rem 1.25rem;
  }

  #section-partners .stats-swiper-prev,
  #section-partners .stats-swiper-next {
    display: none;
  }

  #section-partners .stat-card {
    padding: 1rem 0.75rem !important;
  }

  .stat-number {
    font-size: 1.6rem !important;
    margin-bottom: 0.15rem !important;
  }

  .stat-label {
    font-size: 0.8rem !important;
  }

  /* Section 06: CTA Title Override */
  .section-cta h2.display-5 {
    font-size: 1.75rem !important;
    line-height: 1.4 !important;
  }

  /* Custom Buttons */
  .btn-primary-custom {
    padding: 0.65rem 1.5rem !important;
    font-size: 0.9rem !important;
  }

  .btn-outline-primary {
    font-size: 0.9rem !important;
    padding: 0.5rem 1.25rem !important;
  }

  /* Footer */
  footer {
    padding: 40px 0 20px !important;
  }

  .footer-text {
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
  }

  .footer-nav-wrap {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ── Section 04: Brand Swiper (home page) ── */
/* ── Home Brand List ── */
.brand-list-section {
  background: #fff;
  overflow: hidden;
}

.brand-list-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 4rem);
}

.brand-list-banner {
  position: relative;
  min-height: 250px;
  border-radius: 8px;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: visible;
  text-decoration: none;
  box-shadow: 0 20px 32px rgba(45, 36, 32, 0.2);
  isolation: isolate;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.brand-list-banner:hover {
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 24px 40px rgba(45, 36, 32, 0.24);
}

.brand-list-banner--jogabi {
  background: #365f31;
}

.brand-list-banner--even {
  justify-content: flex-end;
}

.brand-list-banner--burning {
  background: #c24243;
  justify-content: flex-end;
}

.brand-list-banner--exo {
  background: #e0d7d5;
  color: #2f3030;
}

.brand-list-banner--exo:hover {
  color: #2f3030;
}

.brand-list-banner--drleise {
  background: #47b7b6;
  justify-content: flex-end;
}

.brand-list-banner--upsenda {
  background: #292b28;
}

.brand-list-copy {
  position: relative;
  z-index: 2;
  width: min(50%);
  padding: clamp(2rem, 4vw, 3.3rem) clamp(2rem, 5vw, 5rem);
}

.brand-list-copy--right {
  text-align: right;
}

.brand-list-eyebrow {
  display: block;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.brand-list-copy h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
}

.brand-list-copy p {
  width: min(100%, 640px);
  margin: 1.35rem 0 0;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 500;
  line-height: 1.45;
}

.brand-list-products {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
}

.brand-list-products img {
  display: block;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.18));
  transition: transform 0.35s ease;
}

.brand-list-banner:hover .brand-list-products img {
  transform: translateY(-6px);
}

.brand-list-products--jogabi {
  right: 3%;
  bottom: -16px;
  width: 47%;
  justify-content: flex-end;
  gap: 0;
}

.brand-list-products--jogabi img {
  max-height: 230px;
  margin-left: -6%;
}

.brand-list-products--right {
  right: 5%;
  bottom: -16px;
  width: 47%;
  justify-content: flex-end;
}

.brand-list-products--right img {
  max-height: 230px;
  max-width: 100%;
}

.brand-list-products--left {
  left: 7%;
  bottom: -20px;
  width: 44%;
  justify-content: flex-start;
}

.brand-list-products--left img {
  max-height: 230px;
  max-width: 100%;
}

.brand-list-products--burning {
  left: 8%;
  bottom: -26px;
  width: 42%;
}

.brand-list-products--burning img {
  max-height: 230px;
  max-width: 100%;
}

.brand-list-products--exo {
  right: 7%;
  bottom: -10px;
  width: 47%;
  justify-content: flex-end;
  gap: 10px;
}

.brand-list-products--exo img {
  max-height: 230px;
  max-width: 100%;
}

.brand-list-products--drleise {
  left: 7%;
  bottom: -18px;
  width: 48%;
  justify-content: flex-start;
  gap: 10px;
}

.brand-list-products--drleise img {
  max-height: 230px;
  max-width: 100%;
}

.brand-list-products--upsenda {
  right: 5%;
  bottom: -20px;
  width: 47%;
  justify-content: flex-end;
  gap: 10px;
}

.brand-list-products--upsenda img {
  max-height: 230px;
  max-width: 100%;
}

@media (max-width: 991.98px) {
  .brand-list-banner {
    min-height: 220px;
  }

  .brand-list-copy {
    width: 55%;
    padding: 2rem;
  }

  .brand-list-products--jogabi,
  .brand-list-products--exo,
  .brand-list-products--upsenda {
    width: 50%;
  }

  .brand-list-products--burning,
  .brand-list-products--drleise {
    width: 50%;
  }
}

@media (max-width: 767.98px) {
  .brand-list-section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .brand-list-stack {
    gap: 2rem;
  }

  .brand-list-banner,
  .brand-list-banner--even,
  .brand-list-banner--burning,
  .brand-list-banner--drleise {
    min-height: 330px;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .brand-list-copy,
  .brand-list-copy--right {
    width: 100%;
    padding: 1.7rem;
    text-align: left;
  }

  .brand-list-copy p {
    max-width: 92%;
    margin-top: 0.8rem;
    font-size: 0.95rem;
  }

  .brand-list-products,
  .brand-list-products--right,
  .brand-list-products--left,
  .brand-list-products--jogabi,
  .brand-list-products--burning,
  .brand-list-products--exo,
  .brand-list-products--drleise,
  .brand-list-products--upsenda {
    left: 1.2rem;
    right: 1.2rem;
    bottom: -12px;
    width: auto;
    justify-content: flex-end;
  }

  .brand-list-products--left,
  .brand-list-products--burning,
  .brand-list-products--drleise {
    justify-content: flex-start;
  }

  .brand-list-products--jogabi img,
  .brand-list-products--exo img,
  .brand-list-products--drleise img,
  .brand-list-products--upsenda img {
    max-height: 140px;
  }

  .brand-list-products--burning img {
    max-height: 160px;
  }
}