:root {
  --red: #d71920;
  --red-dark: #b80d14;
  --ink: #1e293b;
  --ink-secondary: #475569;
  --ink-muted: #64748b;
  --header-height: 90px;
  --container-max: 1560px;
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.2px;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid #2467b1;
  outline-offset: 4px;
}

/* Shared buttons */
.button {
  height: 56px;
  min-width: 210px;
  padding: 0 32px;
  border-radius: 8px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.4px;
  border: 1px solid var(--red);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(215, 25, 32, 0.12);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  background-size: 240% 100%;
  background-position: right bottom;
  transition: background-position 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease,
              color 0.4s ease,
              border-color 0.4s ease;
}

.button-primary {
  background-image: linear-gradient(108deg, var(--red-dark) 0%, var(--red-dark) 50%, var(--red) 50.1%, var(--red) 100%);
  color: #fff;
}

.button-outline {
  background-image: linear-gradient(108deg, var(--red) 0%, var(--red) 50%, rgba(255, 255, 255, 0.95) 50.1%, rgba(255, 255, 255, 0.95) 100%);
  color: var(--red);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.button:hover {
  background-position: left bottom;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(215, 25, 32, 0.22);
}

.button-primary:hover {
  border-color: var(--red-dark);
}

.button-outline:hover {
  color: #fff;
  border-color: var(--red);
}

.button .fas {
  font-size: 14px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.button:hover .fas {
  transform: translateX(4px);
}

@media (max-width: 1150px) {
  .button { min-width: 190px; height: 52px; font-size: 15px; }
}

@media (max-width: 760px) {
  .button { min-width: 170px; padding: 0 24px; height: 50px; font-size: 15px; }
}

@media (max-width: 420px) {
  .button { min-width: 0; width: 100%; max-width: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  height: var(--header-height);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: height 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.55s ease,
              box-shadow 0.55s ease;
}

.site-header.is-scrolled {
  height: 72px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.site-header.is-scrolled .brand img {
  height: 49px;
}

.header-scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #ff4d4f);
  z-index: 10;
  transition: width 0.2s ease-out;
  pointer-events: none;
}

.header-inner {
  width: min(92%, var(--container-max));
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.brand img {
  width: auto;
  height: 57px;
  max-width: none;
  transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 36px);
  height: 100%;
}

.nav-drawer-header,
.nav-drawer-footer,
.nav-drawer-backdrop {
  display: none;
}

.nav-drawer-body {
  display: contents;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-item-inner {
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  height: 100%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: #334155;
  position: relative;
  transition: color 0.25s ease;
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active,
.nav-item:hover > .nav-link,
.nav-item:hover > .nav-item-inner > .nav-link {
  color: var(--red);
}

.nav-link.active {
  font-weight: 600;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 14px;
  left: 50%;
  width: 0;
  height: 2.5px;
  background: var(--red);
  border-radius: 2px;
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              left 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after,
.nav-item:hover > .nav-link::after,
.nav-item:hover > .nav-item-inner > .nav-link::after {
  width: 100%;
}

/* Nav dropdown arrow indicator */
.nav-arrow {
  font-size: 11px;
  color: #94a3b8;
  margin-left: 2px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), color 0.25s ease;
}

.nav-item:hover > .nav-link .nav-arrow,
.nav-item:hover > .nav-item-inner > .nav-link .nav-arrow {
  transform: rotate(180deg);
  color: var(--red);
}

.mobile-sub-toggle {
  display: none;
}

/* ==========================================================================
   Multi-level Dropdown Menus (Level 2 & Level 3)
   ========================================================================== */
.dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 8px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 40px -6px rgba(15, 23, 42, 0.12),
              0 6px 18px -2px rgba(15, 23, 42, 0.06);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0.25s;
}

/* Level 2 Dropdown */
.dropdown-l2 {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 280px;
  transform: translateY(10px);
}

/* Hover bridge for Level 2 so cursor moving from nav link doesn't flicker */
.dropdown-l2::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
}

.nav-item:hover > .dropdown-l2,
.nav-item:focus-within > .dropdown-l2 {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Dropdown items */
.dropdown-item {
  position: relative;
  list-style: none;
  margin: 0;
}

.dropdown-item-inner {
  display: flex;
  align-items: center;
  width: 100%;
}

.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 14px 10px 16px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  position: relative;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.dropdown-link:hover,
.dropdown-item:hover > .dropdown-item-inner > .dropdown-link {
  background: #fff5f5;
  color: var(--red);
  padding-left: 19px;
}

.dropdown-link::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3px;
  height: 16px;
  background: var(--red);
  border-radius: 2px;
  opacity: 0;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.dropdown-link:hover::before,
.dropdown-item:hover > .dropdown-item-inner > .dropdown-link::before {
  transform: translateY(-50%) scaleY(1);
  opacity: 1;
}

.dropdown-text {
  flex: 1;
  white-space: nowrap;
}

.sub-arrow {
  font-size: 11px;
  color: #94a3b8;
  margin-left: 12px;
  transition: transform 0.25s ease, color 0.25s ease;
}

.dropdown-item:hover > .dropdown-item-inner > .dropdown-link .sub-arrow {
  transform: translateX(3px);
  color: var(--red);
}

/* Level 3 Dropdown */
.dropdown-l3 {
  position: absolute;
  top: -6px;
  left: calc(100% + 4px);
  min-width: 270px;
  transform: translateX(8px);
}

/* Hover bridge for Level 3 */
.dropdown-l3::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -12px;
  width: 14px;
  background: transparent;
}

.dropdown-item.has-sub-dropdown:hover > .dropdown-l3,
.dropdown-item.has-sub-dropdown:focus-within > .dropdown-l3 {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-left: 20px;
  position: relative;
  flex-shrink: 0;
}

.header-tools::before {
  content: "";
  position: absolute;
  left: 0;
  height: 24px;
  width: 1px;
  background: #e2e8f0;
}

.search-toggle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-toggle-btn:hover {
  background: #e2e8f0;
  color: var(--red);
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.search-toggle-btn:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.header-inquiry-btn {
  height: 42px;
  padding: 0 20px;
  border-radius: 24px;
  background-image: linear-gradient(108deg, var(--red-dark) 0%, var(--red-dark) 50%, var(--red) 50.1%, var(--red) 100%);
  background-size: 240% 100%;
  background-position: right bottom;
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(215, 25, 32, 0.22);
  transition: background-position 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.header-inquiry-btn:hover {
  background-position: left bottom;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(215, 25, 32, 0.32);
}

.header-inquiry-btn i {
  font-size: 12px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.header-inquiry-btn:hover i {
  transform: translateX(3px);
}

/* ==========================================================================
   Header Search Popup
   ========================================================================== */
.search-popup {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(70px, 14vh, 130px) 20px 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.search-popup.is-open {
  opacity: 1;
  visibility: visible;
}

.search-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.search-popup-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.28);
  padding: 24px 28px 26px;
  transform: translateY(-20px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-popup.is-open .search-popup-panel {
  transform: translateY(0) scale(1);
}

.search-popup-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.search-popup-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.search-popup-title i {
  color: var(--red);
}

.search-popup-close {
  background: #f1f5f9;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #64748b;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-popup-close:hover {
  background: #fee2e2;
  color: var(--red);
  transform: rotate(90deg);
}

.search-input-wrap {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 6px 6px 6px 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input-wrap:focus-within {
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(215, 25, 32, 0.1);
}

.search-input-wrap input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 16px;
  color: #0f172a;
  padding: 8px 8px 8px 0;
  min-width: 0;
}

.search-input-wrap input::placeholder {
  color: #94a3b8;
  font-size: 15px;
}

.search-submit-btn {
  background-image: linear-gradient(108deg, var(--red-dark) 0%, var(--red-dark) 50%, var(--red) 50.1%, var(--red) 100%);
  background-size: 240% 100%;
  background-position: right bottom;
  color: #fff;
  border: none;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-position 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.search-submit-btn:hover {
  background-position: left bottom;
}

/* ==========================================================================
   Inquiry Modal Popup
   ========================================================================== */
.inquiry-popup {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.inquiry-popup.is-open {
  opacity: 1;
  visibility: visible;
}

.inquiry-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.inquiry-popup-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.3);
  padding: clamp(24px, 4vw, 36px);
  transform: translateY(-20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.inquiry-popup.is-open .inquiry-popup-panel {
  transform: translateY(0) scale(1);
}

.inquiry-popup-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f1f5f9;
}

.inquiry-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef2f2;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.inquiry-header-text h3 {
  margin: 0 0 6px;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  color: #0f172a;
}

.inquiry-header-text h3 span {
  color: var(--red);
}

.inquiry-header-text p {
  margin: 0;
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.5;
}

.inquiry-popup-close {
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #64748b;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.inquiry-popup-close:hover {
  background: #fee2e2;
  color: var(--red);
  transform: rotate(90deg);
}

.inquiry-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.inquiry-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.inquiry-field.full-width {
  grid-column: 1 / -1;
}

.inquiry-field label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 4px;
}

.inquiry-field .required {
  color: var(--red);
}

.inquiry-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 0 14px;
  transition: all 0.2s ease;
}

.inquiry-input-wrap:focus-within {
  background: #fff;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.1);
}

.inquiry-input-wrap .field-icon {
  color: #94a3b8;
  font-size: 14px;
  margin-right: 10px;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.inquiry-input-wrap:focus-within .field-icon {
  color: var(--red);
}

.inquiry-input-wrap input,
.inquiry-input-wrap select {
  width: 100%;
  height: 44px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 14px;
  color: #0f172a;
  font-family: inherit;
}

.inquiry-input-wrap select {
  cursor: pointer;
}

.inquiry-input-wrap input::placeholder {
  color: #94a3b8;
}

.inquiry-input-wrap.textarea-wrap {
  align-items: flex-start;
  padding: 10px 14px;
}

.inquiry-input-wrap textarea {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 14px;
  color: #0f172a;
  font-family: inherit;
  resize: vertical;
  min-height: 72px;
  line-height: 1.5;
}

.inquiry-input-wrap textarea::placeholder {
  color: #94a3b8;
}

.inquiry-footer {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.inquiry-contact-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
}

.inquiry-contact-hint i {
  color: #10b981;
}

.inquiry-submit-btn {
  background-image: linear-gradient(108deg, var(--red-dark) 0%, var(--red-dark) 50%, var(--red) 50.1%, var(--red) 100%);
  background-size: 240% 100%;
  background-position: right bottom;
  color: #fff;
  border: none;
  height: 48px;
  padding: 0 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(215, 25, 32, 0.25);
  transition: background-position 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.inquiry-submit-btn:hover {
  background-position: left bottom;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(215, 25, 32, 0.35);
}

.inquiry-submit-btn i {
  font-size: 13px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.inquiry-submit-btn:hover i {
  transform: translateX(3px);
}

.inquiry-form-success {
  text-align: center;
  padding: 30px 10px;
}

.inquiry-form-success .success-icon {
  font-size: 48px;
  color: #10b981;
  margin-bottom: 14px;
}

.inquiry-form-success h4 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
}

.inquiry-form-success p {
  margin: 0;
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .inquiry-form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .inquiry-footer {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .inquiry-submit-btn {
    width: 100%;
    justify-content: center;
  }
  .inquiry-contact-hint {
    justify-content: center;
  }
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 19px;
  color: var(--ink);
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.menu-toggle:hover {
  background: #f1f5f9;
}

@media (max-width: 1450px) {
  .header-inner { gap: 20px; }
  .brand { flex-basis: auto; }
  .brand img, .site-header.is-scrolled .brand img { height: 48px; }
  .main-navigation { gap: 18px; }
  .nav-link { font-size: 15px; }
  .header-tools { gap: 14px; padding-left: 16px; }
}

@media (max-width: 1150px) {
  :root { --header-height: 78px; }
  .header-inner { gap: 16px; }
  .brand { flex-basis: auto; }
  .brand img, .site-header.is-scrolled .brand img { height: 41px; }
  .main-navigation { gap: 12px; }
  .nav-link { font-size: 14px; }
  .header-tools { gap: 12px; padding-left: 12px; }
}

@media (max-width: 960px) {
  :root { --header-height: 72px; }
  .header-inner { gap: 14px; }
  .brand { flex: 0 0 auto; margin-right: auto; }
  .brand img, .site-header.is-scrolled .brand img { height: 37px; }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    order: 3;
  }
  /* Backdrop Overlay for Left-side Drawer */
  .nav-drawer-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                visibility 0.35s ease;
    pointer-events: none;
  }
  .nav-drawer-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Left-side Drawer Navigation Panel */
  .main-navigation {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(340px, 86vw);
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    z-index: 1100;
    box-shadow: 12px 0 36px rgba(15, 23, 42, 0.22);
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
    max-height: none;
    gap: 0;
  }
  .main-navigation.is-open {
    transform: translateX(0);
  }

  /* Drawer Top Header */
  .nav-drawer-header {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
    flex-shrink: 0;
  }
  .nav-drawer-brand {
    display: flex;
    align-items: center;
  }
  .nav-drawer-brand img {
    width: auto;
    height: 33px;
    max-width: none;
  }
  .nav-drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f8fafc;
    color: #64748b;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
  }
  .nav-drawer-close:hover {
    background: #fee2e2;
    color: var(--red);
    transform: rotate(90deg);
  }

  /* Drawer Scrollable Body */
  .nav-drawer-body {
    width: 100%;
    box-sizing: border-box;
    display: block;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 18px 20px;
  }

  .nav-item {
    display: block;
    width: 100%;
    height: auto;
    border-bottom: 1px solid #f8fafc;
    box-sizing: border-box;
  }
  .nav-item-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: auto;
    box-sizing: border-box;
  }
  .nav-link {
    flex: 1;
    padding: 13px 8px;
    font-size: 15.5px;
    font-weight: 500;
    color: #1e293b;
    height: auto;
    box-sizing: border-box;
  }
  .nav-link.active {
    color: var(--red);
    font-weight: 600;
  }
  .nav-link::after { display: none; }
  .nav-arrow { display: none; }

  /* Mobile sub toggle buttons */
  .mobile-sub-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 13px;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease, background 0.2s ease;
  }
  .mobile-sub-toggle:hover,
  .mobile-sub-toggle:active {
    color: var(--red);
    background: rgba(215, 25, 32, 0.06);
  }
  .mobile-sub-toggle.is-open {
    transform: rotate(180deg);
    color: var(--red);
  }

  /* Reset desktop dropdown styles on mobile */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    transition: none;
    display: none;
    box-sizing: border-box;
  }
  .dropdown-menu::before { display: none; }

  .dropdown-menu.is-open {
    display: block;
  }

  /* Level 2 inside Left Drawer */
  .dropdown-l2 {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin: 4px 0 10px;
    padding: 6px 0;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .dropdown-item {
    width: 100%;
    box-sizing: border-box;
  }
  .dropdown-item-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
  }
  .dropdown-link {
    padding: 9px 14px;
    font-size: 14px;
    box-sizing: border-box;
  }
  .dropdown-link:hover,
  .dropdown-item:hover > .dropdown-item-inner > .dropdown-link {
    padding-left: 14px;
  }
  .dropdown-link::before { display: none; }
  .sub-arrow { display: none; }

  /* Level 3 inside Left Drawer */
  .dropdown-l3 {
    background: #ffffff;
    border: none;
    border-left: 2px solid var(--red);
    border-radius: 0 8px 8px 0;
    margin: 4px 10px 8px 18px;
    padding: 4px 0;
    min-width: 0;
    box-sizing: border-box;
  }
  .dropdown-l3 .dropdown-link {
    padding: 8px 12px;
    font-size: 13px;
    color: #475569;
    box-sizing: border-box;
  }
  .dropdown-l3 .dropdown-link:hover {
    color: var(--red);
  }

  /* Drawer Bottom Footer */
  .nav-drawer-footer {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px 20px;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
    flex-shrink: 0;
  }
  .nav-drawer-inquiry {
    width: 100%;
    min-width: 0;
    height: 42px;
    font-size: 14px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .nav-drawer-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
  }
  .nav-drawer-contact a {
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: color 0.2s ease;
  }
  .nav-drawer-contact a:hover {
    color: var(--red);
  }
  .nav-drawer-contact i {
    color: var(--red);
    font-size: 12px;
  }

  .header-tools::before { display: none; }
  .header-tools { padding-left: 0; gap: 10px; order: 2; }
  .search-toggle-btn { width: 38px; height: 38px; font-size: 14px; }
  .header-inquiry-btn { height: 38px; padding: 0 16px; font-size: 13px; }
}

@media (max-width: 540px) {
  .brand { flex-basis: auto; }
  .brand img, .site-header.is-scrolled .brand img { height: 31px; }
  .header-tools { gap: 8px; }
  .header-inner { gap: 8px; }
  .header-inquiry-btn { height: 36px; padding: 0 12px; font-size: 12px; }
  .search-toggle-btn { width: 36px; height: 36px; font-size: 13px; }
  .menu-toggle { width: 36px; height: 36px; font-size: 16px; }
  .search-popup-panel { padding: 18px 16px 22px; }
  .search-submit-btn { padding: 10px 14px; font-size: 14px; }
}

/* ==========================================================================
   Footer and Custom-Solution Prompt
   ========================================================================== */
.footer-quote {
  background: #f1f5f9 url('../images/cta-bg.png') center / cover no-repeat;
  padding: clamp(48px, 4.5vw, 68px) 0;
  position: relative;
  border-top: 1px solid #e2e8f0;
}

.footer-quote-inner {
  width: min(92%, var(--container-max));
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.footer-quote-copy {
  padding-left: 28px;
  position: relative;
  max-width: 860px;
}

.footer-quote-copy::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 5px;
  height: 42px;
  border-radius: 3px;
  background: var(--red);
}

.footer-quote-copy h2 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: clamp(24px, 2.2vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.2px;
}

.footer-quote-copy h2 span {
  color: var(--red);
}

.footer-quote-copy p {
  margin: 0;
  color: #475569;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.6;
  letter-spacing: 0.2px;
}

.footer-quote .button {
  flex-shrink: 0;
  min-width: 220px;
  height: 56px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.site-footer {
  position: relative;
  isolation: isolate;
  color: #e2e8f0;
  background: #0b1c2e url('../images/foot-bg.png') center / cover no-repeat;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(11, 28, 46, 0.88);
  pointer-events: none;
}

.footer-main {
  width: min(92%, var(--container-max));
  margin: auto;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1.05fr 1.25fr;
  gap: clamp(28px, 3.2vw, 48px);
  padding: 68px 0 76px;
}

.footer-logo {
  width: auto;
  max-width: none;
  height: 60px;
  margin-bottom: 22px;
}

.footer-company h2 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.3px;
  margin: 0 0 16px;
  color: #fff;
}

.footer-company h2::after {
  content: '';
  display: block;
  height: 3px;
  width: 50px;
  background: var(--red);
  margin-top: 14px;
  border-radius: 2px;
}

.footer-company p {
  font-size: 14px;
  line-height: 1.7;
  color: #94a3b8;
  margin: 0 0 24px;
  letter-spacing: 0.2px;
}

.footer-socials {
  display: flex;
  gap: 14px;
}

.footer-socials > span,
.footer-socials > a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 17px;
  color: #fff;
  transition: transform 0.2s, opacity 0.2s;
  cursor: pointer;
}

.footer-socials > span:hover,
.footer-socials > a:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.social-linkedin { background: #0078b8; }
.social-youtube { background: #d71920; }
.social-facebook { background: #0878f9; }
.social-x { border: 1px solid #475569; }

.footer-column {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 32px;
  min-width: 0;
}

.footer-column h2 {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  letter-spacing: 0.4px;
}

.footer-column h2::after {
  content: '';
  display: block;
  width: 38px;
  height: 3px;
  background: var(--red);
  margin-top: 14px;
  border-radius: 2px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 13px;
}

.footer-column li a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0.2px;
  color: #cbd5e1;
  transition: color 0.2s, transform 0.2s;
}

.footer-column li a:hover {
  color: #ff656d;
  transform: translateX(3px);
}

.footer-column li .fas {
  font-size: 11px;
  flex-shrink: 0;
  color: #64748b;
  transition: color 0.2s;
}

.footer-column li a:hover .fas {
  color: #ff656d;
}

.footer-links li a {
  justify-content: space-between;
}

.footer-contact-body {
  display: block;
}

.footer-contact address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.2px;
  color: #cbd5e1;
  overflow-wrap: anywhere;
}

.footer-contact-item a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-item a:hover {
  color: #ff656d;
}

.contact-icon {
  flex: 0 0 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.footer-contact-item:hover .contact-icon {
  transform: translateY(-2px);
  background: var(--red-dark);
  box-shadow: 0 4px 12px rgba(227, 6, 19, 0.35);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
}

.footer-bottom-inner {
  width: min(92%, var(--container-max));
  margin: auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #94a3b8;
  font-size: 13px;
  letter-spacing: 0.2px;
}

.footer-bottom p {
  margin: 0;
  line-height: 1.5;
}

.footer-bottom nav {
  display: flex;
  flex-shrink: 0;
  gap: 18px;
}

.footer-bottom nav a {
  color: #94a3b8;
  transition: color 0.2s;
}

.footer-bottom nav a:hover {
  color: #fff;
}

.footer-bottom nav a + a {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 1450px) {
  .footer-main { grid-template-columns: 1.3fr 0.85fr 1fr 1.2fr; gap: 28px; }
  .footer-column { padding-left: 24px; }
  .footer-quote-inner { gap: 28px; }
  .footer-quote .button { min-width: 200px; font-size: 15px; }
}

@media (max-width: 960px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 32px;
    padding: 50px 0 60px;
  }
  .footer-products { border-left: 0; padding-left: 0; }
  .footer-quote-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-quote { padding: 42px 0; }
  .footer-quote-copy { max-width: 100%; }
  .footer-quote .button { margin-left: 28px; }
  .footer-bottom-inner {
    padding: 20px 0;
    font-size: 13px;
  }
}

@media (max-width: 540px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    width: min(92%, var(--container-max));
  }
  .footer-column { border-left: 0; padding-left: 0; }
  .footer-column ul { gap: 14px; }
  .footer-quote-copy { padding-left: 18px; }
  .footer-quote-copy h2 { font-size: 24px; }
  .footer-quote .button { margin-left: 18px; width: auto; }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    width: min(92%, var(--container-max));
    gap: 12px;
  }
}

/* ==========================================================================
   Global Animations & Reveal Effects
   ========================================================================== */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 1.25s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.25s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 1.25s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.25s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed,
.reveal-left.is-revealed,
.reveal-right.is-revealed {
  opacity: 1;
  transform: translate(0, 0);
}

/* Staggered Grid Reveal */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-stagger.is-revealed > *:nth-child(1) { transition-delay: 0.08s; }
.reveal-stagger.is-revealed > *:nth-child(2) { transition-delay: 0.20s; }
.reveal-stagger.is-revealed > *:nth-child(3) { transition-delay: 0.32s; }
.reveal-stagger.is-revealed > *:nth-child(4) { transition-delay: 0.44s; }
.reveal-stagger.is-revealed > *:nth-child(5) { transition-delay: 0.56s; }
.reveal-stagger.is-revealed > *:nth-child(6) { transition-delay: 0.68s; }
.reveal-stagger.is-revealed > *:nth-child(7) { transition-delay: 0.80s; }
.reveal-stagger.is-revealed > *:nth-child(8) { transition-delay: 0.92s; }

.reveal-stagger.is-revealed > * {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .reveal-left,
  .reveal-right,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   Floating Action Dock & Back to Top
   ========================================================================== */
.floating-dock {
  position: fixed;
  right: 28px;
  bottom: 32px;
  z-index: 850;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.dock-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s ease,
              background 0.25s ease;
  position: relative;
  text-decoration: none;
}

.dock-btn:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.25);
}

.dock-btn i {
  font-size: 20px;
}

/* Tooltip on hover */
.dock-btn::before {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: #0f172a;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.dock-btn:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.dock-whatsapp {
  background: #25d366;
  color: #fff;
}
.dock-whatsapp:hover {
  background: #20ba5a;
}

.dock-inquiry {
  background: var(--red);
  color: #fff;
}
.dock-inquiry:hover {
  background: var(--red-dark);
}

/* Pulsing radar ring on quick inquiry */
.dock-inquiry::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(215, 25, 32, 0.65);
  animation: dockPulse 3.8s infinite;
  pointer-events: none;
}

@keyframes dockPulse {
  0% { transform: scale(0.9); opacity: 1; }
  70% { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* Back to top button with circular SVG scroll progress */
.dock-backtop {
  background: #fff;
  color: #1e293b;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.5s, background 0.35s, color 0.35s;
}

.dock-backtop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dock-backtop:hover {
  background: var(--red);
  color: #fff;
}

.dock-backtop svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}

.dock-backtop circle {
  fill: none;
  stroke: var(--red);
  stroke-width: 3;
  stroke-dasharray: 145;
  stroke-dashoffset: 145;
  transition: stroke-dashoffset 0.25s ease-out;
}

.dock-backtop:hover circle {
  stroke: #fff;
}

/* ==========================================================================
   Ripple Click Effect
   ========================================================================== */
.has-ripple {
  position: relative;
  overflow: hidden;
}

.ripple-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  transform: scale(0);
  animation: rippleAnimation 0.95s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.button-outline .ripple-circle,
.white-bg .ripple-circle {
  background: rgba(215, 25, 32, 0.25);
}

@keyframes rippleAnimation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ==========================================================================
   Video Play Button Radar Pulse Rings
   ========================================================================== */
.about-video-trigger {
  position: absolute;
  top: 54.5%;
  left: 51.1%;
  transform: translate(-50%, -50%);
  width: clamp(68px, 7vw, 92px);
  height: clamp(68px, 7vw, 92px);
  border-radius: 50%;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-video-trigger::before,
.about-video-trigger::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  animation: radarWave 4.2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  pointer-events: none;
}

.about-video-trigger::after {
  animation-delay: 2.1s;
  border-color: rgba(215, 25, 32, 0.7);
}

@keyframes radarWave {
  0% {
    transform: scale(0.85);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@media (max-width: 760px) {
  .floating-dock {
    right: 16px;
    bottom: 20px;
    gap: 10px;
  }
  .dock-btn {
    width: 44px;
    height: 44px;
  }
  .dock-btn i { font-size: 18px; }
  .dock-btn::before { display: none; }
}



/* Inquiry submission feedback */
.inquiry-form-error { color: #b42318; margin: 0 0 16px; }
.inquiry-submit-btn:disabled { opacity: .65; cursor: wait; }
