/* ============================================
   Office HUB – Homepage Styles
   Colors: Teal/Cyan accent ~#1abc9c, dark text ~#2c3e50, light bg ~#f7f9fb
   ============================================ */

:root {
  --color-primary: #1abc9c;
  --color-primary-dark: #16a085;
  --color-accent-orange: #ff6b4c;
  --color-dark: #2c3e50;
  --color-dark-soft: #3d566e;
  --color-text: #2c3e50;
  --color-text-muted: #6c757d;
  --color-bg: #ffffff;
  --color-bg-light: #f7f9fb;
  --color-bg-teal-light: #e8f6f3;
  --color-footer: #2b4e5f;
  --color-cta-light: #b1d7d2;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --radius: 8px;
  --radius-lg: 12px;
  --container-max: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
}

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

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

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  text-decoration: none;
}

.btn-dark {
  background: #1a1a1a;
  color: #fff;
}

.btn-dark:hover {
  background: #333;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid #dee2e6;
}

.btn-outline:hover {
  background: var(--color-bg-light);
  text-decoration: none;
}

.btn-soft {
  background-color: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: none;
}

.btn-soft:hover {
  background-color: #e5e7eb;
  color: #374151;
  text-decoration: none;
}

.btn-soft:active {
  transform: scale(0.98);
}

.vertical-cta.btn-soft {
  width: 100%;
  margin-top: auto;
}

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* Section titles */
.section-title {
  margin: 0 0 0.5em;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-dark);
}

.section-subtitle {
  margin: 0 0 1.5em;
  font-size: 1rem;
  color: var(--color-text-muted);
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 0.5em;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.nav-arrows {
  display: flex;
  gap: 8px;
  align-items: center;
}

.arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #d1d5db;
  background: #f8fafa;
  font-size: 1.25rem;
  cursor: pointer;
  color: #4a5568;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}

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

.text-center { text-align: center; }

/* ========== 1. Header – sticky, no gap under ========== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  margin: 0;
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 10px 0 14px;
  min-height: 58px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.site-header.has-mega {
  position: sticky;
}

.site-header .header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  gap: 24px;
}
.site-header .header-logo {
  flex-shrink: 0;
}
.site-header .header-nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 24px;
  min-width: 0;
}
.site-header .header-cta-wrap {
  flex-shrink: 0;
}

.site-header .logo {
  display: flex;
  align-items: center;
}

.site-header .logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  gap: 2px;
}

.logo-img {
  display: block;
  height: 33px;
  width: auto;
}

.logo-office {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-primary);
  font-style: italic;
}

.logo-hub {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-dark);
}

.site-header .main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-header .main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  line-height: 1.35;
}

.site-header .main-nav a:hover {
  color: var(--color-primary-dark);
}

.site-header .main-nav a.nav-link.active {
  color: var(--color-primary);
  font-weight: 600;
}

.nav-arrow {
  margin-left: 6px;
  font-size: 12px;
  opacity: 0.7;
  vertical-align: middle;
  display: inline-block;
  transition: transform 0.2s ease;
}

.nav-item-has-mega.is-open .nav-arrow {
  transform: rotate(180deg);
}

/* Temporarily hide About Us from main nav (page remains at /about.html) */
.site-header .main-nav .nav-item-about-hidden {
  display: none !important;
}

.site-header .cta.header-cta-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.site-header .btn-header-whatsapp {
  height: 40px;
  width: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 0;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.site-header .btn-header-whatsapp:hover {
  background: transparent;
  text-decoration: none;
  color: inherit;
}
.site-header .btn-header-whatsapp img {
  height: 70%;
  width: auto;
  max-height: 28px;
  object-fit: contain;
  display: block;
}
.site-header .cta .btn-header-cta {
  height: 40px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ========== Mega Menu Dropdowns (4 sections) ========== */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  padding-top: 10px;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
  transform: translateY(-10px);
  z-index: 9999;
  pointer-events: none;
}

.mega-menu.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-menu-inner {
  background: #F7F9FA;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Global: close (X) button on all dropdown/mega menus */
.dropdown-close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 32px;
  height: 32px;
  background-color: #1fb394;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  z-index: 10;
}
.dropdown-close-btn:hover {
  background-color: #179b7f;
  transform: scale(1.05);
}

.mega-menu-grid {
  display: grid;
  gap: 16px;
}

.mega-menu-grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* Industry: 3 on top row, 2 on bottom row centered */
.mega-menu-grid-industry {
  grid-template-columns: repeat(3, 1fr);
}

.mega-menu-grid-industry .mega-menu-card:nth-child(4) {
  grid-column: 2;
}

.mega-menu-grid-industry .mega-menu-card:nth-child(5) {
  grid-column: 3;
}

.mega-menu-card {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.25s ease, transform 0.2s ease, border-color 0.2s ease;
}

.mega-menu-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  border-color: var(--color-primary);
  text-decoration: none;
  color: inherit;
}

.mega-menu-card-img {
  width: 140px;
  min-width: 140px;
  height: 100px;
  flex-shrink: 0;
  display: block;
  background: var(--color-bg-light);
  border-radius: 8px 0 0 8px;
  overflow: hidden;
}

.mega-menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mega-menu-card-content {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.mega-menu-card-title {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.3;
}

.mega-menu-card-desc {
  font-size: 0.8125rem;
  color: #718096;
  line-height: 1.4;
  margin: 0;
}

.mega-menu-card-cta {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-top: 4px;
}

.mega-menu-card:hover .mega-menu-card-cta {
  color: var(--color-primary-dark);
}

/* Resources dropdown: text-only list, no thumbnails */
#mega-resources .mega-menu-card-text-only .mega-menu-card-content {
  width: 100%;
  padding: 14px 16px;
}

@media (max-width: 768px) {
  .mega-menu {
    left: 0;
    right: 0;
    padding: 0 12px 12px;
    transform: translateY(-10px);
  }

  .mega-menu.is-visible {
    transform: translateY(0);
  }

  .mega-menu-inner {
    padding: 14px;
  }

  .mega-menu-grid,
  .mega-menu-grid-cols-2,
  .mega-menu-grid-industry {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mega-menu-grid-industry .mega-menu-card:nth-child(4),
  .mega-menu-grid-industry .mega-menu-card:nth-child(5) {
    grid-column: 1;
  }

  .mega-menu-card-img {
    width: 100px;
    min-width: 100px;
    height: 80px;
  }

  .mega-menu-card-content {
    padding: 12px 14px;
  }

  .mega-menu-card-title {
    font-size: 0.9375rem;
  }

  .mega-menu-card-desc {
    font-size: 0.75rem;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.icon-link,
.phone-link,
.locale {
  color: var(--color-dark);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.icon-link:hover,
.phone-link:hover {
  color: var(--color-primary);
  text-decoration: none;
}

/* ========== 2. Hero (background image, no right circle) ========== */
.hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  background-color: #0d3f4a;
  background-image: url('../images/hero-banner.jpg');
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 80px 0;
}

/* ACC solution pages: page-specific hero backgrounds (desktop + mobile) */
.eep-hero,
.mes-hero,
.aia-hero,
.mr-hero,
.wms-hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.eep-hero {
  background-image: url('../images/erp-hero.jpg');
}

.mes-hero {
  background-image: url('../images/mes-hero.jpg');
}

.aia-hero {
  background-image: url('../images/ai-automation-hero.jpg');
}

.mr-hero {
  background-image: url('../images/multi-region-hero.jpg');
}

.wms-hero {
  background-image: url('../images/warehouse-hero.jpg');
}

 .hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
}

.hero-left {
  flex: 1;
  max-width: 100%;
}

/* ACC Landing – hero overlay: left dark, right transparent */
.hero-acc-landing {
  position: relative;
}
.hero-acc-landing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 40, 50, 0.7) 0%,
    rgba(0, 40, 50, 0.45) 40%,
    rgba(0, 0, 0, 0) 75%
  );
  pointer-events: none;
  z-index: 0;
}
.hero-acc-landing .hero-container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 20px 0 24px;
  max-width: 620px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.hero-highlight {
  font-weight: 700;
  white-space: nowrap;
}

.hero-desc {
  margin-top: 16px;
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 520px;
}

.solution-box {
  max-width: 820px;
  width: 100%;
  background: #f4f6f7;
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  margin-top: 28px;
}

.solution-tabs-wrap {
  position: relative;
}

.solution-tabs {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 4px;
}

.solution-tabs::-webkit-scrollbar {
  height: 6px;
}

.solution-tabs::-webkit-scrollbar-thumb {
  background: #cfd6da;
  border-radius: 3px;
}

.solution-tab {
  padding: 8px 18px;
  border-radius: 22px;
  border: 1px solid #cfd6da;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: #2b3a42;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.solution-tab:hover {
  border-color: #22b07d;
  color: #22b07d;
}

.solution-tab.active {
  border: 2px solid #22b07d;
  color: #22b07d;
}

.solution-tab.more-btn {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.more-btn .dot {
  width: 4px;
  height: 4px;
  background: #2b3a42;
  border-radius: 50%;
  margin: 0 2px;
}

.more-btn:hover .dot {
  background: #22b07d;
}

.more-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  z-index: 20;
  min-width: 200px;
}

.more-dropdown.hidden {
  display: none !important;
}

.more-dropdown button {
  padding: 8px 18px;
  border-radius: 22px;
  border: 1px solid #cfd6da;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: #2b3a42;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.more-dropdown button:hover {
  border-color: #22b07d;
  color: #22b07d;
}

.solution-form {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.solution-input-wrap {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  height: 48px;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  padding: 0 14px;
  background: #fff;
}

.solution-input-wrap:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 188, 156, 0.12);
}

.solution-input-icon {
  margin-right: 10px;
  opacity: 0.7;
}

.solution-input-icon-right {
  margin-right: 0;
  margin-left: 10px;
}

.solution-input {
  flex: 1;
  border: 0;
  outline: 0;
  font-size: 15px;
  min-width: 0;
}

.solution-input::placeholder {
  color: #999;
}

.solution-btn {
  height: 48px;
  border-radius: 10px;
  padding: 0 24px;
  font-weight: 600;
  white-space: nowrap;
}

/* ========== 2b. Manufacturing Knowledge Hub (Authority) ========== */
.knowledge-hub {
  margin-top: 0;
  margin-bottom: 80px;
  padding: 80px 0;
  background: #f5f7f8;
}

.knowledge-hub-title {
  text-align: center;
  margin-bottom: 8px;
}

.knowledge-hub-subtext {
  text-align: center;
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  margin: 0 0 24px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.knowledge-hub-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-bottom: 32px;
}

.knowledge-hub-anchor {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

.knowledge-hub-anchor:hover {
  text-decoration: underline;
}

.knowledge-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.knowledge-hub-block {
  padding: 24px;
  border: 1px solid #eee;
  border-radius: var(--radius);
  background: #fff;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.knowledge-hub-block:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  border-color: var(--color-primary);
}

.knowledge-hub-block-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--color-dark);
}

.knowledge-hub-block-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0 0 16px;
}

.knowledge-hub-block-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

.knowledge-hub-block-link:hover {
  text-decoration: underline;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========== 3. (Search block removed; solution-box now inside hero) ========== */

.advanced-link {
  display: inline-block;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: -4px;
}

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

.search-social-proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--color-text-muted);
  padding-top: 8px;
  border-top: 1px solid #f0f0f0;
}

.avatars {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-left: -10px;
  border: 2px solid #fff;
  flex-shrink: 0;
}

.avatar:first-child {
  margin-left: 0;
}

.happy-clients {
  white-space: nowrap;
}

.google-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.google-rating .g {
  font-size: 14px;
  font-weight: 700;
  color: #4285f4;
}

/* ========== 4. Trusted By ========== */
/* ========== 5. Why Choose (intro) — reference layout ========== */
.why-choose-intro {
  background: #f8fafa;
  margin-bottom: 80px;
}

.why-choose-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.why-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.why-heading {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 20px;
  color: var(--color-dark);
}

.why-desc {
  font-size: 18px;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 0 24px;
  color: #5f6b7a;
}

.why-cta-primary {
  height: 48px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  padding: 0 24px;
  text-decoration: none;
}

.why-cta-secondary {
  margin: 16px 0 0;
  font-size: 15px;
}

.why-cta-secondary a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.why-cta-secondary a:hover {
  text-decoration: underline;
}

.why-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  grid-auto-rows: 1fr;
}

.feature-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-icon {
  display: block;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.feature-icon svg {
  display: block;
  width: 32px;
  height: 32px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-dark);
}

.feature-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #5f6b7a;
}

/* ========== 6. Vertical Solutions – Continuous infinite scroll (Venus / Jupiter / Nepta / Mars) ========== */
.vertical-slider {
  overflow: hidden;
  margin-top: 0;
  margin-bottom: 80px;
  padding: 80px 0;
  background: #fff;
}

.vertical-slider-head {
  margin-bottom: 48px;
}

.vertical-slider .container {
  overflow: visible;
}

.slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin: 0 -24px;
  padding: 0 24px;
  height: auto;
}

.slider-track.solutions-grid,
.slider-track {
  display: flex;
  width: max-content;
  height: auto;
  min-height: 0;
  animation: scrollLeft 30s linear infinite;
  align-items: stretch;
}

.slider-track:hover {
  animation-play-state: paused;
}

.slide {
  flex: 0 0 auto;
  margin-right: 24px;
  width: 280px;
  min-width: 280px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  border-radius: 16px;
  overflow: hidden;
}

.solution-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  min-width: 0;
}

/* 圖片區：僅上方圓角，無固定高度，不裁切 */
.image-wrapper {
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  overflow: hidden;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  position: relative;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.image-overlay {
  position: absolute;
  inset: 0;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  pointer-events: none;
}

.card-body {
  flex: 1 1 auto;
  flex-grow: 1;
  padding: 24px 24px 16px 24px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.card-body h3 {
  margin: 0 0 8px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #2d3748;
  line-height: 1.3;
}

.card-body p {
  margin: 0 0 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #2d3748;
  line-height: 1.4;
}

.vertical-desc {
  font-size: 0.8125rem !important;
  font-weight: 400 !important;
  color: #718096 !important;
  flex: 0 0 auto;
  margin-bottom: 0 !important;
}

.vertical-cta:not(.btn-soft) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  background: #14b8a6;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  margin-top: auto;
  width: 100%;
}

.vertical-cta:not(.btn-soft):hover {
  background: #0d9488;
  color: #fff;
}

/* 底部灰色區塊：維持原有設計與圓角，不變更 */
.card-footer {
  margin-top: auto;
  padding-top: 8px;
  padding-bottom: 16px;
  padding-left: 20px;
  padding-right: 20px;
  background-color: #f5f6f8;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  flex-shrink: 0;
}

.card-price {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.card-footer .vertical-cta {
  padding: 8px 18px;
  font-size: 14px;
  border-radius: 8px;
  margin: 0;
  width: auto;
  white-space: nowrap;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Solutions grid: 5 visible on large, then 4, 3, 2, 1 */
@media (min-width: 1400px) {
  .vertical-slider .slide {
    width: calc((100vw - 48px - 128px) / 5);
    min-width: 200px;
  }
}

@media (min-width: 992px) and (max-width: 1399px) {
  .vertical-slider .slide {
    width: calc((100vw - 48px - 96px) / 4);
    min-width: 220px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .vertical-slider .slide {
    width: calc((100vw - 48px - 64px) / 3);
    min-width: 220px;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .vertical-slider .slide {
    width: calc((100vw - 48px - 32px) / 2);
    min-width: 240px;
  }
}

@media (max-width: 575px) {
  .vertical-slider .slide {
    width: calc(100vw - 48px);
    min-width: 260px;
  }
}

@media (max-width: 767px) {
  .slide {
    width: 260px;
    min-width: 260px;
  }
}

/* ========== 7. Discover Workspace ========== */
.discover-workspace {
  padding: 64px 0;
  background: var(--color-bg-light);
}

.workspace-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 32px;
  align-items: stretch;
}

.workspace-type-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0;
  align-items: stretch;
  height: 100%;
}

.workspace-type-img {
  background: var(--color-bg-light);
}

.workspace-type-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 120px;
}

.workspace-type-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-height: 0;
}

.workspace-type-content h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
}

.workspace-type-content p {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--color-text-muted);
  flex: 1;
}

.workspace-type-content .link-arrow {
  margin-top: auto;
}

.link-arrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent-orange);
}

.link-arrow:hover {
  text-decoration: none;
  color: var(--color-primary-dark);
}

/* ========== 8. Why Choose Marketplace ========== */
.why-choose-marketplace {
  background: #fff;
}

.why-split.reverse {
  direction: rtl;
}

.why-split.reverse > * {
  direction: ltr;
}

.why-visual {
  position: relative;
}

.why-visual-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 100%;
  padding: 0;
  background: transparent;
}

.why-visual-image img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
  object-fit: contain;
  object-position: center;
}

.why-content .section-label {
  color: var(--color-accent-orange);
}

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

.check-list li {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.check-list .check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.check-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.check-list p {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ========== 9. Stats + CTA ========== */
.stats-cta {
  padding: 64px 0;
  background: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* ========== 9b. Epicor Gartner Magic Quadrant Recognition (ACC only) ========== */
.acc-gartner-section {
  width: 100%;
  padding: 80px 0;
  background-image: url('/images/bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #164645;
  margin-bottom: 0;
}

.acc-gartner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.acc-gartner-headline {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 3.2vw, 1.875rem);
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  text-align: center;
  letter-spacing: -0.02em;
}

.acc-gartner-subheading {
  margin: 0;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  line-height: 1.45;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.acc-gartner-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 56px;
}

.acc-gartner-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.acc-gartner-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  object-fit: contain;
}

.acc-gartner-content-heading {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.acc-gartner-content-desc {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.acc-gartner-content-list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.acc-gartner-content-list li {
  margin-bottom: 0.5rem;
}

.acc-gartner-content-list li:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .acc-gartner-section {
    padding: 56px 0;
  }

  .acc-gartner-inner {
    padding: 0 20px;
  }

  .acc-gartner-headline {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
  }

  .acc-gartner-subheading {
    font-size: 0.9375rem;
  }

  .acc-gartner-split {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
  }

  .acc-gartner-visual {
    order: -1;
    min-height: 0;
  }

  .acc-gartner-img {
    max-width: 100%;
  }
}

/* ========== 10. Global Multi-Region ERP Deployment ========== */
.popular-locations {
  padding: 64px 0;
  background: #fff;
}

.popular-locations .section-subtitle {
  margin-top: 8px;
  margin-bottom: 32px;
}

.city-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.city-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.city-card-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 24px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.city-card-icon img {
  width: 72px;
  height: auto;
  object-fit: contain;
  display: block;
}

.city-card-content {
  padding: 0 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.city-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 8px;
  line-height: 1.3;
}

.city-card-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin: 0;
}

.city-card:hover {
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-md);
}

/* ========== 11. Premium Partners ========== */
.premium-partners {
  padding: 64px 0;
  background: var(--color-bg-light);
}

.partner-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.partner-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  padding: 0 0 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.partner-card-img {
  aspect-ratio: 16/9;
  background: var(--color-bg-light);
  flex: 0 0 auto;
}

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

.partner-logo {
  padding: 12px 16px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-dark);
}

.partner-card h3 {
  margin: 4px 16px 8px;
  font-size: 1rem;
  font-weight: 700;
}

.partner-card p {
  margin: 0 16px 16px;
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
  flex: 1;
}

.partner-card .btn {
  margin: 0 16px;
  margin-top: auto;
}

/* Video Showcase: play icon overlay and duration badge */
.video-thumb-wrap {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
}

.video-thumb-wrap:hover {
  color: inherit;
}

.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  padding-left: 4px;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.video-thumb-wrap:hover .video-play-icon {
  background: rgba(0, 0, 0, 0.85);
  transform: translate(-50%, -50%) scale(1.05);
}

.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

/* ========== 12. Earn Calculator ========== */
.earn-calculator {
  padding: 64px 0;
  background: #fff;
}

.earn-split {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 48px;
  align-items: start;
}

.highlight-amount {
  color: var(--color-accent-orange);
}

.earn-form label {
  display: block;
  margin: 16px 0 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-dark);
}

.earn-form label:first-of-type {
  margin-top: 0;
}

.input-with-icons {
  display: flex;
  align-items: center;
  border: 1px solid #dee2e6;
  border-radius: var(--radius);
  padding: 0 12px;
}

.input-with-icons .input-icon {
  padding: 0 8px;
  color: var(--color-text-muted);
}

.input-with-icons input {
  flex: 1;
  border: none;
  padding: 12px 8px;
  font-size: 15px;
  font-family: inherit;
}

.earn-form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #dee2e6;
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
}

.earn-form input[type="range"] {
  width: 100%;
  margin: 8px 0;
}

.desk-count {
  font-size: 14px;
  color: var(--color-text-muted);
}

.earn-form .btn {
  margin-top: 24px;
}

.earn-map {
  position: relative;
  min-height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-light);
}

.map-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.map-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

/* Digital Transformation Impact Calculator */
.impact-calculator .section-title.text-center {
  margin-bottom: 32px;
}

/* Clear spacing so result box does not overlap heading */
.platform-impact-engine .section-title.text-center {
  margin-bottom: 56px;
}

.platform-impact-engine .earn-split {
  margin-top: 0;
  align-items: start;
}

.platform-impact-engine .platform-impact-panel {
  margin-top: 0;
}

.impact-headline {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 8px;
}

.impact-subtitle {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0 0 24px;
}

.impact-results-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  background: var(--color-bg-light);
  padding: 32px;
}

.impact-results {
  max-width: 420px;
  width: 100%;
}

.impact-results-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 20px;
}

.impact-results-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.impact-results-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--color-dark);
  line-height: 1.45;
}

.impact-results-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.impact-results-disclaimer {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

.map-price-tag {
  position: absolute;
  background: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-dark);
  box-shadow: var(--shadow-sm);
}

.map-price-tag:nth-of-type(1) { top: 20%; left: 15%; }
.map-price-tag:nth-of-type(2) { top: 40%; left: 50%; }
.map-price-tag:nth-of-type(3) { bottom: 30%; left: 30%; }

/* ========== Platform Digital Impact Engine (index.html) ========== */
.platform-impact-engine .impact-form-actions {
  margin-top: 24px;
  text-align: center;
}

.platform-impact-engine .impact-form-actions .btn {
  margin: 0;
}

.earn-map.platform-impact-panel {
  overflow: visible;
  height: auto;
  min-height: 520px;
}

.platform-impact-panel {
  position: relative;
  min-height: 520px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-light);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  overflow: visible;
}

.platform-impact-placeholder {
  position: relative;
  display: block;
  text-align: center;
  padding: 24px;
}

.platform-impact-placeholder.platform-impact-hidden {
  display: none;
}

/* Executive summary card (default result on load) */
.platform-impact-executive {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  border-radius: 12px;
  min-height: 0;
}

.platform-impact-executive-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 32px 32px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(26, 188, 156, 0.12);
}

.platform-executive-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-primary);
}

.platform-executive-score {
  margin: 0 0 12px;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-dark);
}

.platform-executive-score-value {
  color: var(--color-primary);
}

.platform-executive-score-max {
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: 1.125rem;
}

.platform-executive-progress-wrap {
  margin-bottom: 20px;
}

.platform-executive-progress-bar {
  height: 8px;
  background: var(--color-bg-light);
  border-radius: 4px;
  overflow: hidden;
}

.platform-executive-progress-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: 4px;
  transition: width 0.5s ease-out;
}

.platform-executive-level {
  font-size: 0.9375rem;
  color: var(--color-dark);
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8ecef;
}

.platform-executive-heading {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.platform-executive-observations,
.platform-executive-impact {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.platform-executive-observations li,
.platform-executive-impact li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-dark);
}

.platform-executive-observations li::before,
.platform-executive-impact li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.platform-executive-next {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-dark);
  margin: 0;
  padding: 16px;
  background: var(--color-bg-teal-light);
  border-radius: 8px;
  border-left: 4px solid var(--color-primary);
}

.platform-impact-engine .impact-placeholder-text {
  margin: 0;
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.5;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.platform-impact-state {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  border-radius: 12px;
  overflow: visible;
  min-height: 0;
}

.platform-impact-state.platform-impact-hidden {
  display: none !important;
}

.platform-impact-state.platform-impact-visible {
  display: flex;
  opacity: 0;
  animation: platformImpactFadeIn 0.4s ease forwards;
}

@keyframes platformImpactFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.platform-impact-loading {
  flex-direction: column;
  gap: 20px;
  background: var(--color-bg-light);
}

.platform-impact-engine .impact-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e0e6e9;
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: platformImpactSpinner 0.9s linear infinite;
}

.platform-impact-engine .impact-loading-text {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-dark);
}

@keyframes platformImpactSpinner {
  to { transform: rotate(360deg); }
}

.platform-impact-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 32px 32px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.platform-gauge-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 16px;
  text-align: center;
}

.platform-gauge-wrap {
  text-align: center;
  margin-bottom: 24px;
}

.platform-gauge {
  position: relative;
  display: inline-block;
  width: 160px;
  height: 90px;
}

.platform-gauge-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.platform-gauge-bg {
  stroke: #e0e6e9;
  stroke-linecap: round;
}

.platform-gauge-fill {
  stroke: var(--color-primary);
  stroke-linecap: round;
  transition: stroke-dashoffset 0.8s ease-out;
}

.platform-gauge-value {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-dark);
}

.platform-gauge-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  margin: 8px 0 0;
  text-align: center;
}

.platform-impact-card .impact-results-title {
  margin: 0 0 16px;
  font-size: 1rem;
  text-align: center;
}

.platform-impact-card .impact-results-list {
  margin-bottom: 20px;
}

.platform-unlock-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark);
  margin: 0 0 14px;
  text-align: center;
}

.platform-email-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}

.platform-impact-email {
  width: 100%;
  max-width: 320px;
  padding: 12px 16px;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
}

.platform-impact-email:focus {
  outline: 0;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 188, 156, 0.15);
}

.platform-impact-email::placeholder {
  color: #999;
}

.platform-unlock-btn {
  width: 100%;
  max-width: 320px;
  margin-top: 4px;
}

.platform-cta-wrap {
  text-align: center;
  margin-top: 24px;
}

.platform-cta-wrap .btn {
  margin: 0;
}

.platform-impact-card-expanded .impact-results-title {
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .earn-map.platform-impact-panel,
  .platform-impact-panel {
    min-height: 480px;
    padding: 24px;
  }
  .platform-impact-card {
    padding: 24px 20px 28px;
  }
  .platform-impact-executive {
    padding: 20px 16px;
  }
  .platform-impact-executive-card {
    padding: 22px 20px 26px;
  }
  .platform-executive-score {
    font-size: 1.5rem;
  }
  .platform-executive-observations li,
  .platform-executive-impact li,
  .platform-executive-next {
    font-size: 13px;
  }
}

/* ========== 13. About Office Hub ========== */
.about-office-hub {
  padding: 64px 0;
  background: var(--color-bg-light);
}

.about-three-col {
  display: grid;
  grid-template-columns: 1fr 1fr 320px;
  gap: 48px;
  align-items: start;
}

.about-col .section-title {
  margin-bottom: 16px;
}

.about-col .lead {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--color-dark);
}

.about-col p {
  margin: 0 0 12px;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.message-col {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.message-col h3 {
  margin: 0 0 16px;
  font-size: 1.25rem;
  font-weight: 700;
}

.message-col blockquote {
  margin: 0 0 24px;
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
  border: none;
  padding: 0;
}

.president-photo {
  margin-bottom: 12px;
  border-radius: var(--radius);
  overflow: hidden;
}

.president-photo img {
  width: 100%;
  height: auto;
}

.president-name {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
}

.president-title {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

/* About ACC stat cards: enterprise-grade, two-column (icon left, text right) */
.about-three-col .stats-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-stat-card {
  background: #F8F9FA;
  padding: 20px 20px 22px;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 0;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.about-stat-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.about-stat-icon svg {
  width: 24px;
  height: 24px;
}

.about-stat-text {
  flex: 1;
  min-width: 0;
}

.about-stat-title {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 6px;
  line-height: 1.35;
}

.about-stat-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.about-stat-number {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
}

/* ========== 14. Testimonials ========== */
.testimonials {
  padding: 64px 0;
  background: #fff;
}

.google-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.google-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #4285f4;
}

.google-score {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark);
}

.stars {
  color: #f4c430;
  font-size: 1.1rem;
}

.review-count {
  font-size: 14px;
  color: var(--color-text-muted);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 12px;
}

.testimonial-avatar.v { background: #e74c3c; }
.testimonial-avatar.img { background: #3498db; }

.testimonial-name {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-date {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.testimonial-stars {
  margin: 0 0 12px;
  font-size: 13px;
  color: #f4c430;
}

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

.testimonial-text a {
  font-size: 13px;
}

/* ACC testimonials: 3 case blocks + CTA (index.html) */
.acc-testimonials .acc-testimonial-rating {
  text-align: center;
  margin-bottom: 40px;
}

.acc-testimonials .acc-testimonial-rating-main {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  margin: 0 0 4px;
}

.acc-testimonials .acc-testimonial-rating-sub {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
}

.acc-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.acc-case {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.acc-case-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-dark);
  margin: 0 0 16px;
  line-height: 1.35;
}

.acc-case-quote {
  font-size: 0.9375rem;
  color: #374151;
  line-height: 1.6;
  margin: 0 0 16px;
  padding: 0;
  border: none;
}

.acc-case-signature {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 0;
  font-style: italic;
}

.acc-testimonial-cta {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.acc-testimonial-cta-headline {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-dark);
  margin: 0 0 20px;
}

@media (max-width: 900px) {
  .acc-case-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }
}

/* ========== 15. Workspace Tips ========== */
.workspace-tips {
  padding: 64px 0;
  background: var(--color-bg-light);
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tip-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  text-decoration: none;
  color: #fff;
  display: block;
}

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

.tip-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 60%);
}

.tip-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 16px 16px;
  z-index: 1;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.tip-card:hover {
  color: #fff;
  text-decoration: none;
}

/* Insights & Resources: text-only corporate knowledge cards (no thumbnails) */
.workspace-tips .insight-card {
  display: block;
  text-decoration: none;
  color: var(--color-dark);
  background: #fff;
  border-radius: 8px;
  padding: 24px 20px;
  border: 1px solid #e8ecef;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  aspect-ratio: unset;
  overflow: visible;
}

.workspace-tips .insight-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  color: var(--color-dark);
}

.workspace-tips .insight-card-title {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-dark);
}

.workspace-tips .insight-card-summary {
  margin: 0 0 14px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.workspace-tips .insight-card-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
}

.workspace-tips .insight-card:hover .insight-card-link {
  color: var(--color-primary-dark);
}

/* ========== 16. Final CTA (Enterprise style, diagonal split) ========== */
.final-cta {
  background: #2F4F57;
  position: relative;
  overflow: hidden;
  animation: ctaFadeIn 0.6s ease-out;
}

@keyframes ctaFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.final-cta-inner {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 280px;
}

.final-cta-left {
  background: #9FBFBC;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.final-cta-title {
  margin: 0 0 12px;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.35;
}

.final-cta-desc {
  margin: 0 0 24px;
  font-size: 0.9375rem;
  color: #333;
  line-height: 1.55;
}

.btn-cta-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: #1a1a1a;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  align-self: flex-start;
}

.btn-cta-dark:hover {
  background: #333;
  color: #fff;
}

/* ========== 17. Footer (4 columns, Enterprise style) ========== */
.site-footer {
  background-image: url('/images/footer.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0;
  color: rgba(255,255,255,0.85);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer-brand .footer-logo {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 8px;
}

.footer-brand .logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.footer-partner {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}

.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  margin: 0;
  margin-top: 28px;
  max-width: 260px;
}

.footer-tagline-next {
  margin-top: 10px;
}

.footer-heading {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 16px;
}

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

.footer-list li {
  margin-bottom: 10px;
}

.footer-list a {
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
  position: relative;
}

.footer-list a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--color-primary);
  transition: width 0.2s ease;
}

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

.footer-list a:hover::after {
  width: 100%;
}

.footer-cta-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-cta-link:hover {
  color: #b1d7d2;
}

/* ========== ACC Footer (Venus-style design, ACC-only classes) ========== */
.acc-footer {
  background-image: url('/images/footer.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #164645;
  padding: 120px 0 48px;
  color: rgba(255, 255, 255, 0.88);
}

.acc-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.acc-footer-anchor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.acc-footer-brand {
  flex-shrink: 0;
}

.acc-footer-logo {
  display: block;
  text-decoration: none;
}

.acc-footer-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.acc-footer-partner {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin: 8px 0 0;
  line-height: 1.4;
}

.acc-footer-tagline-block {
  max-width: 480px;
}

.acc-footer-headline {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.acc-footer-subtext {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.5;
}

.acc-footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
  margin-bottom: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.acc-footer-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 20px;
}

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

.acc-footer-list li {
  margin-bottom: 12px;
}

.acc-footer-list a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.acc-footer-list a:hover {
  color: #fff;
}

.acc-footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.acc-footer-powered,
.acc-footer-copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .acc-footer {
    padding: 80px 0 40px;
  }
  .acc-footer-inner {
    padding: 0 20px;
  }
  .acc-footer-anchor {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 48px;
  }
  .acc-footer-nav {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding-top: 32px;
  }
  .acc-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 24px;
  }
}

/* ========== Subpage (Office Type) Layout ========== */
.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  padding: 0 24px 48px;
  background: linear-gradient(135deg, #1a3a52 0%, #2c5f7a 100%);
  background-size: cover;
  background-position: center;
  background-image: url('https://placehold.co/1920x400/2c5f7a/ffffff?text=Office');
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.page-hero .page-intro {
  margin: 0;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  max-width: 640px;
  line-height: 1.5;
}

.subpage-features {
  padding: 64px 0;
  background: var(--color-bg-light);
}

.subpage-features .section-title {
  text-align: center;
  margin-bottom: 40px;
}

.subpage-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.subpage-feature-card {
  background: #fff;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid #eee;
}

.subpage-feature-card h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-dark);
}

.subpage-feature-card p {
  margin: 0;
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.subpage-cta {
  padding: 56px 24px;
  text-align: center;
  background: #fff;
}

.subpage-cta .btn {
  padding: 14px 32px;
  font-size: 16px;
}

@media (max-width: 768px) {
  .subpage-features-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 260px;
    padding: 0 16px 32px;
  }
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .why-split {
    grid-template-columns: 1fr;
  }

  .why-split.reverse {
    direction: ltr;
  }

  .workspace-type-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workspace-type-card {
    grid-template-columns: 1fr;
  }

  .workspace-type-img {
    min-height: 180px;
  }

  .workspace-type-img img {
    min-height: 180px;
  }

  /* Integrated Manufacturing Technology Capabilities: mobile image height ~50% (fixed, compact) */
  .discover-workspace .workspace-type-img {
    height: 240px;
    min-height: 240px;
  }
  .discover-workspace .workspace-type-img img {
    height: 100%;
    min-height: unset;
    object-fit: cover;
  }

  .knowledge-hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .earn-split {
    grid-template-columns: 1fr;
  }

  /* ACC Landing Page only: fix Digital Maturity Score card overlapping form on mobile */
  .acc-landing-impact .platform-impact-panel {
    margin-top: 28px;
    position: relative;
  }
  .acc-landing-impact .platform-impact-state {
    position: relative;
    inset: auto;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    margin-top: 0;
  }

  .about-three-col {
    grid-template-columns: 1fr 1fr;
  }

  .about-three-col .stats-col {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
  }

  .partner-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .site-header .header-container {
    padding: 10px 16px;
    flex-wrap: wrap;
    gap: 16px;
  }

  .site-header .header-nav-center {
    padding: 0 12px;
  }

  .site-header .cta.header-cta-wrap {
    gap: 12px;
  }

  .site-header .main-nav ul {
    gap: 16px;
  }

  .hero {
    min-height: auto;
    padding: 0;
  }

  /* ACC Landing Page Hero: extra text shadow (mobile only) */
  .hero-acc-landing {
    position: relative;
  }
  .hero-acc-landing .hero-badge,
  .hero-acc-landing .hero-title,
  .hero-acc-landing .hero-desc {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  }

  .hero-container {
    flex-direction: column;
    padding: 48px 16px 56px;
    align-items: stretch;
  }

  .hero-left {
    max-width: 100%;
  }

  .hero-title {
    margin-bottom: 16px;
  }

  .solution-box {
    margin-top: 32px;
    padding: 20px 16px;
  }

  .solution-form {
    flex-direction: column;
    align-items: stretch;
  }

  .solution-btn {
    width: 100%;
  }

  .why-choose-intro {
    margin-top: 40px;
  }

  .why-choose-container {
    padding: 40px 24px;
  }

  .why-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-features-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    grid-auto-rows: auto;
  }

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

  .workspace-type-grid {
    grid-template-columns: 1fr;
  }

  .city-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .partner-cards {
    grid-template-columns: 1fr;
  }

  .about-three-col {
    grid-template-columns: 1fr;
  }

  .about-three-col .stats-col {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .tips-grid {
    grid-template-columns: 1fr;
  }

  .workspace-tips .insight-card {
    padding: 20px 16px;
  }

  .workspace-tips .insight-card-title {
    font-size: 0.9375rem;
  }

  .final-cta-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .final-cta-left {
    padding: 40px 24px;
    clip-path: none;
  }

  .final-cta-right {
    padding: 40px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: left;
  }

  .footer-brand {
    text-align: left;
  }

  .footer-tagline {
    max-width: none;
  }

  .site-footer {
    padding: 56px 0;
  }
}

@media (max-width: 480px) {
  .header-actions .locale,
  .header-actions .phone-link {
    display: none;
  }

  .city-cards {
    grid-template-columns: 1fr;
  }

  .about-three-col .stats-col {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

}

/* ========== Survey Questionnaire Modal ========== */
.survey-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s, opacity 0.3s;
}

.survey-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.survey-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(44, 62, 80, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: default;
}

.survey-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.survey-modal.is-open .survey-modal-dialog {
  transform: scale(1);
}

.survey-modal-progress {
  height: 4px;
  width: 25%;
  background: var(--color-primary);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  flex-shrink: 0;
}

.survey-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #adb5bd;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s, color 0.2s;
  z-index: 1;
}

.survey-modal-close:hover {
  background: #868e96;
  color: #fff;
}

.survey-modal-content {
  padding: 32px 24px 24px;
}

.survey-modal-title {
  margin: 0 0 24px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-dark);
  text-align: center;
  line-height: 1.3;
  padding-right: 40px;
}

.survey-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.survey-options {
  display: flex;
  flex-direction: column;
  border: 1px solid #e9ecef;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}

.survey-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin: 0;
  cursor: pointer;
  border-bottom: 1px solid #e9ecef;
  transition: background 0.2s;
}

.survey-option:last-child {
  border-bottom: none;
}

.survey-option:hover {
  background: var(--color-bg-light);
}

.survey-option input[type="radio"] {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--color-primary);
  flex-shrink: 0;
}

.survey-option-text {
  font-size: 1rem;
  color: var(--color-dark);
}

.survey-modal-footer {
  display: flex;
  justify-content: flex-end;
}

.btn-survey-next {
  background: var(--color-primary);
  color: #fff;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.05s;
}

.btn-survey-next:hover {
  background: var(--color-primary-dark);
}

.btn-survey-next:active {
  transform: scale(0.98);
}

@media (max-width: 480px) {
  .survey-modal {
    padding: 12px;
    align-items: flex-end;
  }

  .survey-modal-dialog {
    max-height: 85vh;
    margin-bottom: 0;
  }

  .survey-modal-title {
    font-size: 1.15rem;
    padding-right: 0;
  }

  .survey-option {
    padding: 12px 16px;
  }
}

/* ========== ACC Mobile Menu (Venus-style slide-in panel, max-width: 768px only) ========== */
.acc-mobile-menu-btn {
  display: none;
}

@media (max-width: 768px) {
  .acc-site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid #eee;
  }
  .acc-site-header .header-container {
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    gap: 12px;
    flex-wrap: nowrap;
  }
  .acc-site-header .header-logo {
    flex-shrink: 1;
    min-width: 0;
    max-width: calc(100% - 52px);
  }
  .acc-site-header .acc-desktop-nav,
  .acc-site-header .acc-desktop-cta {
    display: none !important;
  }
  .acc-site-header .acc-mobile-menu-btn {
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    margin-left: 0;
    -webkit-tap-highlight-color: transparent;
    color: inherit;
  }
  .acc-site-header .acc-hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .acc-site-header .acc-mobile-menu-btn[aria-expanded="true"] .acc-hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .acc-site-header .acc-mobile-menu-btn[aria-expanded="true"] .acc-hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .acc-site-header .acc-mobile-menu-btn[aria-expanded="true"] .acc-hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

.acc-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10002;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.acc-drawer-overlay.is-open {
  display: block;
  opacity: 1;
}

.acc-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 80vw;
  max-width: 320px;
  height: 100vh;
  background: #fff;
  z-index: 10003;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.acc-drawer.is-open {
  transform: translateX(0);
}

@media (min-width: 769px) {
  .acc-drawer-overlay,
  .acc-drawer {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .acc-drawer-overlay {
    display: block;
    pointer-events: none;
  }
  .acc-drawer-overlay.is-open {
    pointer-events: auto;
  }
  .acc-drawer {
    display: flex;
    flex-direction: column;
  }
}

.acc-drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 28px 24px 32px;
  gap: 0;
  flex: 1;
}

.acc-drawer-accordion-item {
  border-bottom: 1px solid #eee;
}
.acc-drawer-accordion-item.nav-item-about-hidden {
  display: none !important;
}
.acc-drawer-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 0;
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: inherit;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  min-height: 48px;
  -webkit-tap-highlight-color: transparent;
  gap: 8px;
}
.acc-drawer-accordion-trigger:hover {
  color: var(--color-primary);
}
.acc-drawer-chevron {
  flex-shrink: 0;
  font-size: 12px;
  opacity: 0.7;
  transition: transform 0.25s ease;
}
.acc-drawer-accordion-item.is-open .acc-drawer-chevron {
  transform: rotate(180deg);
}
.acc-drawer-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.acc-drawer-accordion-item.is-open .acc-drawer-submenu {
  max-height: 500px;
}
.acc-drawer-submenu a {
  display: block;
  padding: 10px 0 10px 18px;
  font-size: 15px;
  font-weight: 400;
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  border: none;
  min-height: auto;
}
.acc-drawer-submenu a:hover {
  color: var(--color-primary);
}

.acc-drawer-bottom {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.acc-drawer-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.acc-drawer-whatsapp-link:hover {
  color: var(--color-primary);
}
.acc-drawer-whatsapp-icon {
  flex-shrink: 0;
  display: block;
}
.acc-drawer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 14px 20px;
  border-radius: 8px;
  border: none;
  font-size: 18px;
  font-weight: 600;
  -webkit-tap-highlight-color: transparent;
  background: var(--color-primary);
  color: #fff;
}
.acc-drawer-cta:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

body.acc-drawer-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* ========== ACC Back to Top (ACC pages only, style consistent with product pages) ========== */
.acc-back-to-top,
#accBackToTop {
  position: fixed;
  right: 24px;
  bottom: 88px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 9997;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
#accBackToTop.show,
.acc-back-to-top.show {
  display: flex;
}
#accBackToTop:hover,
.acc-back-to-top:hover {
  background: var(--color-primary-dark);
  color: #fff;
}
