/* Công Định Auto - Official Theme Stylesheet
   Modern Motorsport & Automotive Styling: Carbon Black, Slate & Electric Orange (#ff5500 / #f97316)
*/

:root {
  --primary: #ff5500;
  --primary-hover: #ea580c;
  --primary-light: #fff7ed;
  --primary-glow: rgba(255, 85, 0, 0.35);
  --dark-bg: #0b0f17;
  --dark-surface: #111827;
  --dark-card: #161f30;
  --dark-border: #232f46;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --white: #ffffff;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-800: #1e293b;
  --accent-red: #ef4444;
  --accent-green: #22c55e;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px var(--primary-glow);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ------------------- HEADER ------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(11, 15, 23, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dark-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Top bar */
.top-bar {
  background-color: #06090e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
  color: var(--text-muted);
  padding: 6px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

.top-bar a:hover {
  color: var(--primary);
}

/* Main header */
.main-header {
  padding: 14px 0;
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo img, .logo-img {
  height: 52px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
}

.logo-badge {
  background: linear-gradient(135deg, #ff5500, #b91c1c);
  color: white;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px var(--primary-glow);
  text-transform: uppercase;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .brand-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.logo-text .brand-name span {
  color: var(--primary);
}

.logo-text .brand-sub {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

/* Live Search */
.header-search {
  flex: 1;
  max-width: 420px;
  position: relative;
}

.search-box {
  display: flex;
  align-items: center;
  background-color: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: 999px;
  padding: 4px 14px;
  transition: var(--transition);
}

.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
}

.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  padding: 8px 10px;
  font-size: 14px;
}

.search-box input::placeholder {
  color: var(--text-dim);
}

.search-box button {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-box button:hover {
  color: var(--primary);
}

.search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background-color: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  max-height: 380px;
  overflow-y: auto;
  z-index: 1050;
  display: none;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.search-result-item:hover {
  background-color: var(--dark-card);
}

.search-result-item img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 4px;
}

.search-result-info h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

.search-result-info span {
  font-size: 12px;
  color: var(--primary);
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hotline-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.hotline-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 85, 0, 0.15);
  border: 1px solid rgba(255, 85, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  animation: pulse-border 2s infinite;
}

.hotline-text small {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
}

.hotline-text strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #ea580c);
  color: var(--white);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff661a, #f97316);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--dark-card);
  color: var(--text-main);
  border: 1px solid var(--dark-border);
}

.btn-secondary:hover {
  background-color: var(--dark-border);
  color: var(--white);
}

/* ------------------- NAV MENU BAR & MEGA MENU ------------------- */
.nav-bar {
  background-color: #0b101b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 1000;
}

.nav-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  min-height: 52px;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-item {
  position: relative;
  flex-shrink: 0;
}

/* Flagship "DANH MỤC SẢN PHẨM" button */
.cd-mega-trigger {
  position: static !important;
}

.cd-mega-trigger > a.nav-link,
.cd-mega-trigger > a.nav-mega-link {
  min-width: 235px;
  height: 52px;
  padding: 0 18px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(135deg, #d31018, #b30814) !important;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px 4px 0 0;
  box-shadow: 0 4px 14px rgba(211, 16, 24, 0.28);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.cd-mega-trigger > a:hover,
.cd-mega-trigger.is-open > a {
  background: linear-gradient(135deg, #b30814, #940510) !important;
  box-shadow: 0 6px 18px rgba(179, 8, 20, 0.4);
}

.a365-mega-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  display: grid;
  grid-template-columns: repeat(2, 5px);
  gap: 3px;
}

.a365-mega-icon i {
  width: 5px;
  height: 5px;
  background-color: #ffffff;
  border-radius: 1px;
  display: block;
}

.dropdown-chevron {
  width: 13px;
  height: 13px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.cd-mega-trigger:hover .dropdown-chevron,
.cd-mega-trigger.is-open .dropdown-chevron {
  transform: rotate(180deg);
}

/* Standard Nav Links */
.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background-color: rgba(255, 85, 0, 0.08);
}

/* Working Hours widget on right */
.a365-working-hours {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  white-space: nowrap;
  color: #e2e8f0;
  padding-left: 14px;
}

.a365-working-hours__icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ff3344;
  background: rgba(255, 51, 68, 0.12);
  border: 1px solid rgba(255, 51, 68, 0.25);
}

.a365-working-hours__icon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.a365-working-hours__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  line-height: 1.1;
}

.a365-working-hours__content small {
  color: #94a3b8;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.a365-working-hours__content strong {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
}

/* Mega Menu Dropdown Container & 7-Group Grid Layout */
.cd-mega-dropdown {
  position: absolute;
  top: 100%;
  left: 20px;
  right: 20px;
  width: calc(100% - 40px);
  background: #ffffff;
  border-top: 3px solid #c50818;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.28);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  pointer-events: none;
}

.cd-mega-dropdown::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.cd-mega-trigger:hover .cd-mega-dropdown,
.cd-mega-trigger.is-open .cd-mega-dropdown,
.cd-mega-dropdown:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.cd-mega-block {
  width: 100%;
  margin: 0;
  padding: 0;
}

.a365-mega__grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  padding: 16px 26px 20px;
  background: #ffffff;
  border-radius: 0 0 8px 8px;
}

.cd-mega-block .a365-group:nth-child(-n+4) {
  grid-column: span 3;
  min-height: 165px;
  border-bottom: 1px solid #e8e8e8;
}

.cd-mega-block .a365-group:nth-child(5),
.cd-mega-block .a365-group:nth-child(6) {
  grid-column: span 3;
  min-height: 205px;
}

.cd-mega-block .a365-group:nth-child(7) {
  grid-column: span 6;
  min-height: 205px;
  border-right: 0;
}

.cd-mega-block .a365-group {
  position: relative;
  min-width: 0;
  padding: 18px 24px 17px;
  border-right: 1px solid #e8e8e8;
  background: #ffffff;
  transition: background-color 0.2s ease;
}

.cd-mega-block .a365-group:nth-child(4),
.cd-mega-block .a365-group:nth-child(7) {
  border-right: 0;
}

.cd-mega-block .a365-group:hover {
  background: #fafafa;
}

.cd-mega-block .a365-group::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 24px;
  width: 28px;
  height: 3px;
  background: #c50818;
  transition: width 0.2s ease;
}

.cd-mega-block .a365-group:hover::before {
  width: 44px;
}

.cd-mega-block .a365-group__title {
  display: block;
  width: 100%;
  min-height: 31px;
  margin: 0;
  padding: 12px 0 8px;
  border: 0;
  background: transparent;
  color: #121416;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.18s ease;
}

.cd-mega-block .a365-group__title:hover {
  color: #c50818;
}

.cd-mega-block .a365-group ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.cd-mega-block .a365-group:nth-child(7) ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
}

.cd-mega-block .a365-group li {
  margin: 0;
  padding: 0;
}

.cd-mega-block .a365-group li a {
  position: relative;
  display: block;
  padding: 0 0 0 10px;
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.18s ease, padding-left 0.18s ease;
}

.cd-mega-block .a365-group li a::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: background-color 0.18s ease;
}

.cd-mega-block .a365-group li a:hover {
  padding-left: 14px;
  color: #c50818;
}

.cd-mega-block .a365-group li a:hover::before {
  background: #c50818;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}

/* ------------------- HERO SLIDER (FLATSOME / CÔNG ĐỊNH AUTO EXACT MATCH) ------------------- */
.a365-slider-section,
.a365-slider-section > .section-content,
.a365-slider-section > .section-content > .row,
.a365-slider-section .col,
.a365-slider-section .col-inner {
  margin: 0 !important;
  padding: 0 !important;
}
.a365-slider-section > .section-content > .row {
  width: 100% !important;
  max-width: 100% !important;
}
.a365-hero {
  position: relative !important;
  width: 100% !important;
  height: 680px !important;
  min-height: 680px !important;
  max-height: none !important;
  overflow: hidden !important;
  background: #e9e8e5 !important;
  font-family: 'Prompt', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}
.a365-hero__track,
.a365-slide {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
.a365-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity .75s ease, visibility .75s;
}
.a365-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.a365-slide__image {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: var(--slide-focal, center);
  transform-origin: var(--slide-focal, center);
  transform: scale(calc(var(--slide-zoom, 1) * 1.05));
  transition: transform 7s ease;
}
.a365-slide.is-active .a365-slide__image {
  transform: scale(var(--slide-zoom, 1));
}
.a365-slide__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(251,250,247,.94) 0%, rgba(251,250,247,.82) 19%, rgba(251,250,247,.3) 36%, rgba(251,250,247,.05) 51%, rgba(251,250,247,0) 64%);
}
.a365-slide__inner {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  padding-left: clamp(24px, 3.2vw, 56px);
  padding-right: 40px;
}
.a365-slide__content {
  width: min(455px, 50vw);
  padding-bottom: 30px;
  opacity: 0;
  transform: translateY(28px);
  transition: .65s .2s ease;
}
.a365-slide.is-active .a365-slide__content {
  opacity: 1;
  transform: none;
}
.a365-slide__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #b90d19 !important;
  font-family: 'Prompt', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.a365-slide__eyebrow:before {
  content: "";
  width: 34px;
  height: 2px;
  background: #b90d19;
}
.a365-hero .a365-slide h2 {
  margin: 18px 0 20px !important;
  padding: 0 !important;
  color: #17191d !important;
  font-family: 'Prompt', sans-serif !important;
  font-size: clamp(32px, 3.0vw, 43px) !important;
  text-align: left;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: -1px !important;
  text-transform: uppercase !important;
}
.a365-hero .a365-slide h1 em,
.a365-hero .a365-slide h2 em {
  color: #b90d19 !important;
  font-family: 'Prompt', sans-serif !important;
  font-size: inherit !important;
  font-style: italic !important;
  font-weight: 600 !important;
  line-height: inherit !important;
}
.a365-hero .a365-slide p {
  max-width: 455px;
  margin: 0 !important;
  padding: 0 !important;
  color: #555a61 !important;
  font-family: 'Prompt', sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.8 !important;
}
.a365-slide__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}
.a365-btn {
  min-height: 50px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  text-transform: uppercase;
  font-family: 'Prompt', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: .3px;
  transition: .2s;
  border-radius: 4px;
}
.a365-btn--primary {
  background: #b90d19;
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(185, 13, 25, .2);
  border: none;
}
.a365-btn--primary span {
  font-size: 19px;
  margin-left: 20px;
}
.a365-btn--primary:hover {
  background: #950811;
  color: #fff !important;
  transform: translateY(-2px);
}
.a365-btn--ghost {
  color: #26282c !important;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(30, 32, 36, .2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.a365-btn--ghost:hover {
  border-color: #b90d19;
  color: #b90d19 !important;
}
.a365-hero__controls {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 36px;
  width: 100%;
  padding-left: clamp(24px, 3.2vw, 56px);
  padding-right: 40px;
  display: flex;
  align-items: center;
}
.a365-hero__counter {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1e2024;
  font-family: 'Prompt', sans-serif !important;
}
.a365-hero__counter b {
  font-size: 21px;
  font-weight: 600;
}
.a365-hero__counter span {
  width: 55px;
  height: 1px;
  background: #8d8f93;
}
.a365-hero__counter small {
  font-size: 12px;
  color: #777;
}
.a365-hero__dots {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 9px !important;
  margin-left: 46px;
}
.a365-hero button {
  appearance: none !important;
  -webkit-appearance: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
.a365-hero__dots button {
  display: block !important;
  width: 28px !important;
  height: 4px !important;
  padding: 0 !important;
  border: 0 !important;
  background: #b8b9bb !important;
  cursor: pointer;
  transition: .25s;
}
.a365-hero__dots button.is-active {
  width: 54px !important;
  background: #b90d19 !important;
}
.a365-hero__arrows {
  display: flex !important;
  flex-direction: row !important;
  gap: 8px !important;
  margin-left: auto;
}
.a365-hero__arrows button {
  display: grid !important;
  place-items: center !important;
  width: 48px !important;
  height: 48px !important;
  border: 1px solid #d2d2cf !important;
  background: rgba(255, 255, 255, .9) !important;
  color: #222 !important;
  font-family: 'Prompt', sans-serif !important;
  font-size: 19px !important;
  cursor: pointer;
  transition: .2s;
}
.a365-hero__arrows button:hover {
  background: #b90d19 !important;
  border-color: #b90d19 !important;
  color: #fff !important;
}

@media (min-width: 601px) and (max-width: 900px) {
  .a365-slide__shade {
    background: linear-gradient(90deg, rgba(251,250,247,.93) 0%, rgba(251,250,247,.78) 27%, rgba(251,250,247,.2) 53%, rgba(251,250,247,0) 72%);
  }
  .a365-slide__inner {
    padding-left: 28px;
    padding-right: 28px;
  }
  .a365-slide__content {
    width: 61%;
    max-width: 470px;
  }
  .a365-hero__controls {
    padding-left: 28px;
    padding-right: 28px;
    bottom: 25px;
  }
  .a365-hero .a365-slide h2 {
    font-size: 30px !important;
    line-height: 1.28 !important;
  }
}

@media (max-width: 600px) {
  .a365-hero {
    height: 650px !important;
    min-height: 650px !important;
  }
  .a365-slide__image {
    height: 46% !important;
    object-position: var(--slide-focal, center top);
  }
  .a365-slide__shade {
    background: linear-gradient(180deg, rgba(251,250,247,0) 0 32%, rgba(251,250,247,.26) 40%, #fbfaf7 51% 100%);
  }
  .a365-slide__inner {
    align-items: flex-end;
    padding: 0 16px 105px;
  }
  .a365-slide__content {
    width: 100%;
    padding: 0;
  }
  .a365-slide__eyebrow {
    font-size: 11px !important;
    letter-spacing: 2px;
  }
  .a365-hero .a365-slide h2 {
    font-size: 25px !important;
    line-height: 1.1 !important;
    margin: 13px 0 !important;
    letter-spacing: -.5px !important;
  }
  .a365-hero .a365-slide p {
    font-size: 13px !important;
    line-height: 1.65 !important;
  }
  .a365-slide__actions {
    margin-top: 22px;
  }
  .a365-btn {
    min-height: 46px;
    padding: 0 15px;
    font-size: 12px !important;
  }
  .a365-btn--primary span {
    margin-left: 12px;
  }
  .a365-btn--ghost {
    display: none;
  }
  .a365-hero__controls {
    padding: 0 16px;
    bottom: 25px;
  }
  .a365-hero__dots {
    margin-left: 20px;
  }
  .a365-hero__counter span {
    width: 26px;
  }
  .a365-hero__arrows button {
    width: 42px !important;
    height: 42px !important;
  }
}

/* ------------------- QUICK BOOKING BAR ------------------- */
.quick-booking-bar {
  background: var(--dark-surface);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  padding: 24px 0;
  box-shadow: var(--shadow-card);
}

.booking-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.booking-bar-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.booking-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), #ea580c);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.booking-bar-title h3 {
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
}

.booking-bar-title p {
  font-size: 13px;
  color: var(--text-muted);
}

.booking-bar-form {
  display: flex;
  gap: 12px;
  flex: 1;
  max-width: 780px;
  flex-wrap: wrap;
}

.booking-bar-form input,
.booking-bar-form select {
  flex: 1;
  min-width: 150px;
  background-color: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--white);
  font-size: 13px;
  outline: none;
}

.booking-bar-form input:focus,
.booking-bar-form select:focus {
  border-color: var(--primary);
}

/* ------------------- CORE SERVICES GRID ------------------- */
.section {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-tag {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: 32px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: -0.5px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 650px;
  margin: 10px auto 0;
}

.services-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.service-feature-card {
  background-color: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.service-feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 12px 30px var(--primary-glow);
  background-color: var(--dark-card);
}

.service-feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 85, 0, 0.1);
  border: 1px solid rgba(255, 85, 0, 0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition);
}

.service-feature-card:hover .service-feature-icon {
  background: var(--primary);
  color: var(--white);
}

.service-feature-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

.service-feature-card p {
  font-size: 12px;
  color: var(--text-dim);
}

/* ------------------- TABBED SHOWCASE ------------------- */
.tabbed-showcase {
  background-color: #0c1017;
  padding: 70px 0;
}

.tab-nav-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.tab-nav {
  display: inline-flex;
  background-color: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: 999px;
  padding: 6px;
  gap: 6px;
}

.tab-btn {
  padding: 10px 22px;
  border-radius: 999px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--white);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--primary), #ea580c);
  color: var(--white);
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background-color: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 85, 0, 0.5);
  box-shadow: var(--shadow-card);
}

.product-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: #080c14;
  display: block;
  cursor: pointer;
  text-decoration: none;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.08);
}

.product-view-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(10, 15, 25, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 85, 0, 0.4);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.25s ease;
  pointer-events: none;
  z-index: 2;
}

.product-card:hover .product-view-hint {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: none) {
  .product-view-hint {
    opacity: 0.9;
    transform: translateY(0);
  }
}

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: rgba(11, 15, 23, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.product-brand {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary);
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
}

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 10px;
  height: 44px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-title:hover {
  color: var(--primary);
}

.product-desc {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 14px;
  line-height: 1.5;
  height: 40px;
  overflow: hidden;
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.product-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 6px;
}

/* ------------------- FEATURED PROJECTS ------------------- */
.projects-section {
  background-color: var(--dark-bg);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
}

.project-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 280px;
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 15, 23, 0.95) 0%, rgba(11, 15, 23, 0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: var(--transition);
}

.project-cat {
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.project-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
}

/* ------------------- PHOTO GALLERY ------------------- */
.gallery-section {
  background-color: #0c1017;
}

.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 220px;
  cursor: pointer;
  background-color: var(--dark-surface);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 23, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: var(--transition);
  padding: 16px;
  text-align: center;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  font-size: 14px;
  color: var(--white);
  font-weight: 700;
}

.gallery-overlay span {
  font-size: 12px;
  color: var(--primary);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
  margin-top: 14px;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 36px;
  cursor: pointer;
  z-index: 2010;
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition: var(--transition);
}

.lightbox-prev:hover, .lightbox-next:hover {
  background: var(--primary);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ------------------- WHY CHOOSE US ------------------- */
.why-section {
  background: linear-gradient(180deg, var(--dark-bg) 0%, #111722 100%);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.why-card {
  background-color: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition);
}

.why-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.why-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 85, 0, 0.15);
  border: 1px solid rgba(255, 85, 0, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--primary);
}

.why-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ------------------- BLOG & NEWS ------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.blog-card {
  background-color: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 85, 0, 0.5);
  box-shadow: var(--shadow-card);
}

.blog-thumb {
  height: 200px;
  overflow: hidden;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.06);
}

.blog-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.blog-cat-badge {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
}

.blog-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 10px;
}

.blog-title:hover {
  color: var(--primary);
}

.blog-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.read-more:hover {
  gap: 10px;
}

/* ------------------- FOOTER ------------------- */
.site-footer {
  background-color: #06090e;
  border-top: 1px solid var(--dark-border);
  padding: 60px 0 20px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
}

.footer-about p {
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 18px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 6px;
}

.footer-map iframe {
  width: 100%;
  height: 160px;
  border: 0;
  border-radius: var(--radius-sm);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--text-dim);
  font-size: 13px;
}

/* ------------------- FLOATING CONTACT & WIDGETS ------------------- */
.floating-widgets {
  position: fixed;
  bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 1050;
  pointer-events: none;
}

.floating-widgets > * {
  pointer-events: auto;
}

.floating-widgets.pos-right {
  right: 24px;
  left: auto;
  align-items: flex-end;
}

.floating-widgets.pos-left {
  left: 24px;
  right: auto;
  align-items: flex-start;
}

/* Contact Item (Bubble + Label) */
.floating-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  transition: transform 0.25s ease;
}

.floating-widgets.pos-right .floating-contact-item {
  flex-direction: row;
}

.floating-widgets.pos-left .floating-contact-item {
  flex-direction: row-reverse;
}

.floating-contact-item:hover {
  transform: translateY(-2px);
}

/* Contact Circle with Wave Animations */
.floating-contact-circle {
  width: 52px;
  height: 52px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Ripple wave rings */
.floating-contact-circle .ring-circle {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
}

.floating-contact-circle .ring-fill {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
}

.floating-contact-circle .ring-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-contact-item:hover .ring-icon {
  transform: scale(1.1);
}

/* Phone Bubble Styling */
.phone-circle .ring-icon {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.5);
}

.phone-circle.has-anim .ring-circle {
  border: 2px solid rgba(239, 68, 68, 0.85);
  animation: phonering-circle-anim 1.4s infinite ease-in-out;
}

.phone-circle.has-anim .ring-fill {
  background: rgba(239, 68, 68, 0.3);
  animation: phonering-circle-fill-anim 2.2s infinite ease-in-out;
}

.phone-circle.has-anim .phone-icon svg {
  animation: phonering-img-anim 1.2s infinite ease-in-out;
}

/* Zalo Bubble Styling */
.zalo-circle .ring-icon {
  background: linear-gradient(135deg, #0084ff, #0068ff);
  box-shadow: 0 4px 20px rgba(0, 104, 255, 0.5);
}

.zalo-circle.has-anim .ring-circle {
  border: 2px solid rgba(0, 104, 255, 0.85);
  animation: phonering-circle-anim 1.6s infinite ease-in-out;
}

.zalo-circle.has-anim .ring-fill {
  background: rgba(0, 104, 255, 0.3);
  animation: phonering-circle-fill-anim 2.4s infinite ease-in-out;
}

.zalo-circle.has-anim .zalo-icon {
  animation: zalo-bounce-anim 2.5s infinite ease-in-out;
}

/* Contact Labels */
.floating-contact-label {
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  pointer-events: auto;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
}

.floating-contact-item:hover .phone-label {
  background: #dc2626;
  border-color: #ef4444;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
  color: #fff;
}

.floating-contact-item:hover .zalo-label {
  background: #0068ff;
  border-color: #38bdf8;
  box-shadow: 0 6px 20px rgba(0, 104, 255, 0.5);
  color: #fff;
}

/* Label display modes */
.floating-widgets.label-mode-hover .floating-contact-label {
  opacity: 0;
  transform: translateX(12px);
  pointer-events: none;
}

.floating-widgets.pos-left.label-mode-hover .floating-contact-label {
  transform: translateX(-12px);
}

.floating-widgets.label-mode-hover .floating-contact-item:hover .floating-contact-label {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.floating-widgets.label-mode-hidden .floating-contact-label {
  display: none !important;
}

/* Extra action buttons (Booking, Top) */
.floating-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}

.floating-btn:hover {
  transform: scale(1.12);
}

.floating-booking {
  background: linear-gradient(135deg, #ff5500, #ea580c);
}

.floating-top {
  background-color: var(--dark-card, #1e293b);
  border: 1px solid var(--dark-border, #334155);
  color: var(--text-main, #fff);
  display: none;
}

.floating-top.show {
  display: flex;
}

/* Keyframes */
@keyframes phonering-circle-anim {
  0% { transform: scale(0.6); opacity: 0.1; }
  40% { transform: scale(0.95); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}

@keyframes phonering-circle-fill-anim {
  0% { transform: scale(0.7); opacity: 0.2; }
  50% { transform: scale(1.1); opacity: 0.5; }
  100% { transform: scale(0.7); opacity: 0.2; }
}

@keyframes phonering-img-anim {
  0% { transform: rotate(0) scale(1); }
  10% { transform: rotate(-22deg) scale(1.05); }
  20% { transform: rotate(22deg) scale(1.05); }
  30% { transform: rotate(-22deg) scale(1.05); }
  40% { transform: rotate(22deg) scale(1.05); }
  50% { transform: rotate(0) scale(1); }
  100% { transform: rotate(0) scale(1); }
}

@keyframes zalo-bounce-anim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .floating-widgets {
    bottom: 20px;
  }
  .floating-widgets.pos-right {
    right: 16px;
  }
  .floating-widgets.pos-left {
    left: 16px;
  }
  .floating-contact-circle,
  .floating-contact-circle .ring-icon {
    width: 46px;
    height: 46px;
  }
  .floating-contact-label {
    font-size: 11.5px;
    padding: 6px 12px;
  }
  .floating-btn {
    width: 40px;
    height: 40px;
  }
}

/* ------------------- MODAL (BOOKING & GENERIC) ------------------- */
.modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-dialog {
  background-color: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  animation: modalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header {
  padding: 20px 24px;
  background: linear-gradient(90deg, #161f30, #111827);
  border-bottom: 1px solid var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--white);
}

.modal-body {
  padding: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background-color: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--white);
  font-size: 14px;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background-color: var(--dark-surface);
  border: 1px solid var(--dark-border);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  animation: toastIn 0.3s ease;
  border-left: 4px solid var(--primary);
}

.toast.success { border-left-color: var(--accent-green); }
.toast.error { border-left-color: var(--accent-red); }

/* Keyframes */
@keyframes pulse-border {
  0% { box-shadow: 0 0 0 0 rgba(255, 85, 0, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(255, 85, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 85, 0, 0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ------------------- RESPONSIVE BREAKPOINTS ------------------- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .hero-title {
    font-size: 34px;
  }
}

@media (min-width: 851px) and (max-width: 1100px) {
  .cd-mega-trigger > a.nav-link,
  .cd-mega-trigger > a.nav-mega-link {
    min-width: 190px;
    font-size: 13px;
    padding: 0 12px !important;
  }
  .nav-link {
    padding: 14px 10px;
    font-size: 12px;
  }
  .a365-working-hours {
    display: none;
  }
  .cd-mega-block .a365-mega__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    padding: 14px 18px;
  }
  .cd-mega-block .a365-group:nth-child(-n+6) {
    grid-column: span 2;
  }
  .cd-mega-block .a365-group:nth-child(7) {
    grid-column: span 6;
    border-top: 1px solid #e8e8e8;
  }
  .cd-mega-block .a365-group:nth-child(3),
  .cd-mega-block .a365-group:nth-child(6),
  .cd-mega-block .a365-group:nth-child(7) {
    border-right: 0;
  }
}

@media (max-width: 850px) {
  .top-bar-left {
    display: none;
  }
  .header-search {
    order: 3;
    max-width: 100%;
    width: 100%;
    margin-top: 10px;
  }
  .main-header .container {
    flex-wrap: wrap;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-bar {
    display: none;
    background-color: #0b101b;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    max-height: calc(100vh - 75px);
    overflow-y: auto;
  }
  .nav-bar.mobile-open {
    display: block;
  }
  .nav-bar .container {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
  }
  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }
  .nav-item {
    width: 100%;
  }
  .cd-mega-trigger > a.nav-link,
  .cd-mega-trigger > a.nav-mega-link {
    width: 100%;
    min-width: 100%;
    height: 48px;
    border-radius: 0;
  }
  .cd-mega-dropdown {
    position: static;
    width: 100%;
    left: 0;
    right: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: 0;
    border-radius: 0;
    pointer-events: auto;
    display: none;
    background: #111827;
  }
  .cd-mega-trigger.mobile-expanded .cd-mega-dropdown {
    display: block;
  }
  .cd-mega-trigger.mobile-expanded .dropdown-chevron {
    transform: rotate(180deg);
  }
  .a365-mega__grid {
    display: block;
    padding: 0 16px;
    background: #111827;
  }
  .cd-mega-block .a365-group {
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
  }
  .cd-mega-block .a365-group:hover {
    background: transparent;
  }
  .cd-mega-block .a365-group::before {
    top: 14px;
    left: 0;
  }
  .cd-mega-block .a365-group__title {
    color: #f3f4f6;
    padding-top: 8px;
    font-size: 14px;
  }
  .cd-mega-block .a365-group li a {
    color: #9ca3af;
    font-size: 13px;
  }
  .cd-mega-block .a365-group li a:hover {
    color: #ef4444;
  }
  .nav-link {
    width: 100%;
    padding: 13px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .a365-working-hours {
    display: flex;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    justify-content: flex-start;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .booking-bar-form {
    flex-direction: column;
    width: 100%;
  }
}

/* ===================================================
   THƯƠNG HIỆU ĐỒNG HÀNH & BANNER ĐỐI TÁC (PROTOTYPE)
   =================================================== */
.cd-partner-banner {
  position: relative;
  width: 100%;
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 115%, rgba(220, 0, 18, 0.55) 0%, rgba(220, 0, 18, 0.12) 28%, transparent 53%),
    radial-gradient(circle at 14% 20%, rgba(255, 255, 255, 0.12), transparent 25%),
    linear-gradient(115deg, #08090b 0%, #22252a 42%, #090a0d 100%);
}

.cd-partner-banner::before,
.cd-partner-banner::after::before::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 480px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: rotate(-18deg);
}

.cd-partner-banner::before::before {
  top: 42px;
  left: -100px;
}

.cd-partner-banner::after::after {
  right: -100px;
  bottom: 42px;
}

.cd-partner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.06) 50%, rgba(0, 0, 0, 0.34));
}

.cd-partner-decoration {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: -80px;
  width: 520px;
  height: 130px;
  border-radius: 50%;
  background: rgba(217, 0, 18, 0.32);
  filter: blur(50px);
  transform: translateX(-50%);
}

.cd-partner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 42px 20px;
  text-align: center;
}

.cd-partner-label {
  margin: 0 0 9px;
  color: rgba(255, 255, 255, 0.68);
  font-family: "Prompt", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.cd-partner-content h2 h2 {
  margin: 0;
  color: #ffffff;
  font-family: "Prompt", sans-serif;
  font-size: 35px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
}

.cd-partner-content h2 span h2 span {
  color: #ed101c;
}

.cd-partner-line {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 2px;
  margin: 20px auto 0;
  background: rgba(255, 255, 255, 0.2);
}

.cd-partner-line span span {
  display: block;
  width: 42px;
  height: 2px;
  background: #e30613;
}

/* ===================================================
   SLIDER LOGO ĐỐI TÁC (CAROUSEL / TRACK)
   =================================================== */
.partner-slider-section {
  padding: 20px 0 50px;
  background: #080c14;
}

.cd-partner-slider {
  margin-top: 10px;
  position: relative;
  overflow: hidden;
  padding: 10px 45px;
}

.partner-slider-viewport {
  overflow: hidden;
  width: 100%;
}

.partner-slider-track {
  display: flex;
  gap: 16px;
  align-items: center;
  transition: transform 0.4s ease;
  will-change: transform;
}

.cd-partner-slider .ux-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 112px;
  width: 190px;
  min-width: 190px;
  padding: 18px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e8e8e8 !important;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(16, 24, 40, 0.07), 0 1px 3px rgba(16, 24, 40, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
  text-decoration: none;
}

.cd-partner-slider .ux-logo:hover {
  z-index: 3;
  border-color: #d90012 !important;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.14), 0 3px 8px rgba(217, 0, 18, 0.08);
  transform: translateY(-5px);
}

.cd-partner-slider .ux-logo img {
  display: block;
  width: auto !important;
  max-width: 100%;
  max-height: 68px;
  margin: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.cd-partner-slider .ux-logo:hover img {
  transform: scale(1.05);
}

.partner-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  color: #bc0010;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 50%;
  opacity: 1;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.partner-nav-btn:hover {
  color: #ffffff;
  background: #c60010;
  border-color: #c60010;
  box-shadow: 0 8px 20px rgba(198, 0, 16, 0.4);
}

.partner-prev { left: 4px; }
.partner-next { right: 4px; }

@media screen and (max-width: 849px) {
  .cd-partner-banner { min-height: 175px; }
  .cd-partner-content { padding: 35px 18px; }
  .cd-partner-content h2 { font-size: 28px; }
  .cd-partner-slider { padding: 10px 36px; }
  .cd-partner-slider .ux-logo { height: 100px; width: 160px; min-width: 160px; padding: 15px; }
}

@media screen and (max-width: 549px) {
  .cd-partner-banner { min-height: 155px; }
  .cd-partner-content { padding: 28px 15px; }
  .cd-partner-label { margin-bottom: 7px; font-size: 10px; letter-spacing: 2px; }
  .cd-partner-content h2 { font-size: 23px; line-height: 1.4; }
  .cd-partner-line { margin-top: 15px; }
  .cd-partner-slider { padding: 10px 30px; }
  .cd-partner-slider .ux-logo { height: 88px; width: 135px; min-width: 135px; padding: 10px; border-radius: 9px; }
  .cd-partner-slider .ux-logo img { max-height: 52px; }
  .partner-nav-btn { width: 34px; height: 34px; }
}

/* =========================================================
   VỀ CÔNG ĐỊNH AUTO & HỆ THỐNG XƯỞNG
========================================================= */
.a365-about {
  position: relative;
  overflow: hidden;
  padding: 86px 20px 92px;
  background: #ffffff;
  font-family: "Prompt", sans-serif;
  color: #20242c;
}
.a365-about * {
  box-sizing: border-box;
}
.a365-about__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.a365-about__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.a365-about__glow--one {
  top: -190px;
  right: -180px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(25, 31, 40, 0.035), transparent 68%);
}
.a365-about__glow--two {
  bottom: -260px;
  left: -180px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(25, 31, 40, 0.025), transparent 68%);
}
.a365-about__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.75fr);
  gap: 64px;
  align-items: stretch;
}
.a365-about__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #bd0012;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}
.a365-about__eyebrow i {
  display: block;
  width: 30px;
  height: 2px;
  background: #bd0012;
}
.a365-about__copy h2 {
  margin: 0 0 24px;
  color: #171a21;
  font-size: clamp(31px, 3.2vw, 48px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -1.1px;
  text-align: left;
}
.a365-about__copy h2 strong {
  color: #bd0012;
  font-weight: 700;
}
.a365-about__copy p {
  max-width: 760px;
  margin: 0 0 13px;
  color: #646b77;
  font-size: 15px;
  line-height: 1.85;
}
.a365-about__copy .a365-about__lead {
  color: #3d424b;
  font-size: 16px;
}
.a365-about__copy p b {
  color: #282d36;
  font-weight: 600;
}
.a365-about__stats {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 32px;
}
.a365-about__stat {
  position: relative;
  min-width: 145px;
  padding: 18px 22px 17px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e1e4e9;
  border-radius: 5px;
  box-shadow: 0 9px 25px rgba(18, 25, 38, 0.055);
}
.a365-about__stat:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #a90010, #e21a2c);
}
.a365-about__stat strong {
  display: block;
  color: #b90012;
  font-size: 44px;
  line-height: 0.9;
  font-weight: 600;
  letter-spacing: 1px;
}
.a365-about__stat strong span {
  font-size: 25px;
  vertical-align: top;
}
.a365-about__stat small {
  display: block;
  margin-top: 13px;
  color: #555c67;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
}
.a365-about__service-tag {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  flex: 1;
  padding: 16px 22px;
  background: #fff;
  border: 1px solid #e1e4e9;
  border-radius: 5px;
  color: #252932;
  text-align: left;
  box-shadow: 0 9px 25px rgba(18, 25, 38, 0.045);
}
.a365-about__service-tag i {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin: 0;
  background: #c70017;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(199, 0, 23, 0.065);
  transform: translateY(-11px);
}
.a365-about__service-tag b,
.a365-about__service-tag span {
  display: block;
}
.a365-about__service-tag b {
  color: #a90014;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
}
.a365-about__service-tag span {
  margin-top: 6px;
  color: #6c6570;
  font-size: 14px;
  line-height: 1.2;
}
.a365-about__promise {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 36px;
  border: 1px solid #e1e4e9;
  border-radius: 4px 34px 4px 4px;
  background: linear-gradient(145deg, #fff 0%, #fff 65%, #f6f7f9 100%);
  box-shadow: 0 24px 54px rgba(26, 31, 40, 0.11);
}
.a365-about__promise:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 42%;
  background: #c60016;
}
.a365-about__promise-number {
  position: absolute;
  top: 20px;
  left: 27px;
  color: transparent;
  font-size: 122px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  -webkit-text-stroke: 2px rgba(183, 0, 20, 0.15);
}
.a365-about__promise-number:after {
  content: "AUTO";
  position: absolute;
  right: -27px;
  bottom: 5px;
  padding-left: 8px;
  color: #b70014;
  background: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 3px;
  -webkit-text-stroke: 0;
}
.a365-about__car-line {
  position: absolute;
  z-index: 1;
  top: 108px;
  left: 27px;
  width: calc(100% - 54px);
  max-width: 315px;
  height: auto;
  fill: none;
  stroke: rgba(183, 0, 20, 0.12);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.a365-about__promise-content {
  position: relative;
  z-index: 2;
}
.a365-about__promise-content > span {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  color: #a90014;
  background: #fff;
  border: 1px solid rgba(183, 0, 20, 0.2);
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1.7px;
}
.a365-about__promise h3 {
  margin: 12px 0 17px;
  color: #20242c;
  font-size: 35px;
  font-weight: 600;
  line-height: 1.18;
}
.a365-about__promise p {
  margin: 0;
  color: #666d78;
  font-size: 13px;
  line-height: 1.7;
}
.a365-about__workshops {
  margin-top: 76px;
}
.a365-about__workshops-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 28px;
}
.a365-about__workshops-head .a365-about__eyebrow {
  margin-bottom: 9px;
}
.a365-about__workshops-head h3 {
  margin: 0;
  color: #171a21;
  font-size: 27px;
  line-height: 1.3;
}
.a365-about__workshops-head > p {
  margin: 0;
  color: #717783;
  font-size: 14px;
  line-height: 1.75;
}
.a365-about__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.a365-about__card {
  position: relative;
  grid-column: span 2;
  min-height: 245px;
  padding: 30px 28px;
  overflow: hidden;
  background: linear-gradient(145deg, #fff9fa 0%, #fff 42%, #f5f6f8 100%);
  border: 1px solid #e1dfe3;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(18, 25, 38, 0.065);
  transition: 0.3s ease;
}
.a365-about__card:nth-child(4),
.a365-about__card:nth-child(5) {
  grid-column: span 3;
  min-height: 210px;
}
.a365-about__card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  width: 44px;
  height: 4px;
  background: linear-gradient(90deg, #a90012, #ed1c2e);
  transition: width 0.35s ease, left 0.35s ease;
}
.a365-about__card:hover {
  z-index: 2;
  border-color: rgba(190, 0, 17, 0.35);
  box-shadow: 0 20px 42px rgba(18, 25, 38, 0.11);
  transform: translateY(-7px);
}
.a365-about__card:hover:before {
  left: 0;
  width: 100%;
}
.a365-about__icon {
  position: relative;
  z-index: 2;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: #fff;
  background: linear-gradient(145deg, #c80a1d, #a00011);
  border: 1px solid transparent;
  border-radius: 12px 12px 12px 3px;
  box-shadow: 0 9px 22px rgba(189, 0, 18, 0.16);
  transition: 0.3s ease;
}
.a365-about__card:hover .a365-about__icon {
  background: linear-gradient(145deg, #e01a2c, #a00011);
  box-shadow: 0 12px 27px rgba(189, 0, 18, 0.24);
  transform: translateY(-3px) rotate(-2deg);
}
.a365-about__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}
.a365-about__index {
  position: absolute;
  z-index: 1;
  top: 17px;
  right: 20px;
  color: transparent;
  font-size: 58px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -3px;
  -webkit-text-stroke: 1px rgba(183, 0, 20, 0.14);
  transition: 0.3s ease;
}
.a365-about__card:hover .a365-about__index {
  -webkit-text-stroke-color: rgba(183, 0, 20, 0.16);
  transform: translateX(-3px);
}
.a365-about__category {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 7px;
  color: #b00014;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 1.35px;
}
.a365-about__card h4 {
  position: relative;
  z-index: 1;
  margin: 0 0 11px;
  color: #20242c;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
}
.a365-about__card p {
  position: relative;
  z-index: 1;
  max-width: 470px;
  margin: 0;
  color: #707782;
  font-size: 13px;
  line-height: 1.7;
}
@media (max-width: 991px) {
  .a365-about {
    padding: 66px 20px 72px;
  }
  .a365-about__intro {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .a365-about__promise {
    min-height: 320px;
    align-items: center;
    justify-content: flex-end;
    padding: 32px 38px;
  }
  .a365-about__promise-number {
    top: 28px;
    left: 34px;
  }
  .a365-about__car-line {
    top: 130px;
    left: 34px;
    width: 42%;
    max-width: 320px;
  }
  .a365-about__promise-content {
    width: 47%;
  }
  .a365-about__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .a365-about__card,
  .a365-about__card:nth-child(4),
  .a365-about__card:nth-child(5) {
    grid-column: span 1;
  }
  .a365-about__card:last-child {
    grid-column: 1 / -1;
  }
  .a365-about__workshops {
    margin-top: 58px;
  }
}
@media (max-width: 640px) {
  .a365-about {
    padding: 52px 16px 58px;
  }
  .a365-about__copy h2 br {
    display: none;
  }
  .a365-about__copy h2 {
    font-size: 29px;
    letter-spacing: -0.5px;
  }
  .a365-about__copy .a365-about__lead,
  .a365-about__copy p {
    font-size: 14px;
    line-height: 1.75;
  }
  .a365-about__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .a365-about__stat {
    min-width: 0;
    padding: 17px 14px 20px;
    text-align: center;
  }
  .a365-about__stat strong {
    font-size: 36px;
  }
  .a365-about__stat small {
    font-size: 10px;
  }
  .a365-about__service-tag {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
  .a365-about__promise {
    min-height: 470px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 28px;
  }
  .a365-about__promise-number {
    top: 20px;
    left: 24px;
    font-size: 92px;
  }
  .a365-about__car-line {
    top: 112px;
    left: 24px;
    width: calc(100% - 48px);
    max-width: none;
  }
  .a365-about__promise-content {
    width: 100%;
  }
  .a365-about__promise h3 {
    font-size: 29px;
  }
  .a365-about__workshops-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .a365-about__workshops-head h3 {
    font-size: 23px;
  }
  .a365-about__grid {
    grid-template-columns: 1fr;
  }
  .a365-about__card,
  .a365-about__card:nth-child(4),
  .a365-about__card:nth-child(5),
  .a365-about__card:last-child {
    grid-column: span 1;
    min-height: auto;
  }
  .a365-about__workshops {
    margin-top: 50px;
  }
}

/* =========================================================
   DỰ ÁN THỰC TẾ VINFAST VF3
========================================================= */
.vf3-project-section {
  position: relative;
  padding: 60px 20px 75px;
  background-color: #ffffff;
  font-family: "Prompt", sans-serif;
}
.vf3-project__container {
  max-width: 1200px;
  margin: 0 auto;
}
.vf3-project__header {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 38px;
  font-family: "Prompt", sans-serif;
}
.vf3-project__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
  color: #cf101c;
  font: 700 12px / 1.4 "Prompt", sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.vf3-project__eyebrow i {
  display: block;
  width: 30px;
  height: 2px;
  flex-shrink: 0;
  background-color: #cf101c;
}
.vf3-project__title {
  margin: 0;
  color: #141923;
  font: 700 clamp(28px, 3vw, 42px) / 1.15 "Prompt", sans-serif;
  letter-spacing: -0.8px;
  text-align: left;
}
.vf3-project__title strong {
  display: block;
  color: #cf101c;
  font-weight: 700;
}
.vf3-project__summary {
  padding-bottom: 4px;
}
.vf3-project__summary p {
  max-width: 570px;
  margin: 0 0 20px;
  color: #596171;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
}
.vf3-project__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.vf3-project__tags span {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid #d9dee8;
  border-radius: 99px;
  background-color: rgba(255, 255, 255, 0.7);
  color: #2b3240;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}
@media (max-width: 1024px) {
  .vf3-project__header {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (max-width: 767px) {
  .vf3-project__header {
    gap: 18px;
    margin-bottom: 27px;
  }
  .vf3-project__eyebrow {
    margin-bottom: 10px;
    font-size: 11px;
  }
  .vf3-project__title {
    font-size: 34px;
    line-height: 1.12;
  }
  .vf3-project__summary p {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.7;
  }
  .vf3-project__tags {
    gap: 6px;
  }
  .vf3-project__tags span {
    padding: 7px 10px;
    font-size: 11px;
  }
}
@media (max-width: 390px) {
  .vf3-project__title {
    font-size: 30px;
  }
}

/* VF3 Project Selection Tabs */
.vf3-project-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.vf3-project-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 99px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}
.vf3-project-tab-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #94a3b8;
}
.vf3-project-tab-btn.active {
  background: #cf101c;
  color: #ffffff;
  border-color: #cf101c;
  box-shadow: 0 4px 14px rgba(207, 16, 28, 0.3);
}

/* VF3 Gallery Grid */
.vf3-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.vf3-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  aspect-ratio: 3 / 2;
  background: #f0f2f5;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.vf3-gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.14);
}
.vf3-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(var(--vf3-zoom, 1)) rotate(var(--vf3-rot, 0deg));
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.vf3-gallery-item:hover img {
  transform: scale(calc(var(--vf3-zoom, 1) * 1.06)) rotate(var(--vf3-rot, 0deg));
}
.vf3-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.45) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vf3-gallery-item:hover .vf3-gallery-overlay {
  opacity: 1;
}
.vf3-zoom-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #cf101c;
  display: grid;
  place-items: center;
  transform: scale(0.7);
  transition: transform 0.3s ease;
}
.vf3-gallery-item:hover .vf3-zoom-icon {
  transform: scale(1);
}
.vf3-loadmore-wrap {
  text-align: center;
  margin-top: 36px;
}
.vf3-loadmore-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 32px;
  background: #fff;
  border: 1.5px solid #cf101c;
  color: #cf101c;
  font-weight: 600;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}
.vf3-loadmore-btn:hover {
  background: #cf101c;
  color: #fff;
  box-shadow: 0 6px 20px rgba(207, 16, 28, 0.25);
  transform: translateY(-2px);
}
@media (max-width: 900px) {
  .vf3-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
@media (max-width: 520px) {
  .vf3-gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Lightbox Modal */
.vf3-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(10, 12, 16, 0.94);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.vf3-lightbox.active {
  display: flex;
  opacity: 1;
}
.vf3-lightbox-content {
  position: relative;
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.vf3-lightbox-img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  user-select: none;
}
.vf3-lightbox-caption {
  margin-top: 12px;
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 500;
}
.vf3-lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 100001;
}
.vf3-lightbox-close:hover {
  background: #cf101c;
  border-color: #cf101c;
  transform: rotate(90deg);
}
.vf3-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 100001;
}
.vf3-lightbox-nav:hover {
  background: #cf101c;
  border-color: #cf101c;
  transform: translateY(-50%) scale(1.1);
}
.vf3-lightbox-prev {
  left: 30px;
}
.vf3-lightbox-next {
  right: 30px;
}
@media (max-width: 600px) {
  .vf3-lightbox-prev { left: 10px; width: 40px; height: 40px; }
  .vf3-lightbox-next { right: 10px; width: 40px; height: 40px; }
  .vf3-lightbox-close { top: 15px; right: 15px; width: 38px; height: 38px; }
}

/* ===================================================
   PHÂN HỆ QUẢNG CÁO MẠNG XÃ HỘI (FACEBOOK & TIKTOK)
   =================================================== */
.social-promo-section {
  padding: 60px 0 70px;
  background: radial-gradient(circle at 50% 0%, rgba(255, 85, 0, 0.08) 0%, transparent 60%), #0b0f17;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.social-promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 25px;
}

.social-card {
  border-radius: 16px;
  background: linear-gradient(145deg, #111724 0%, #0d121c 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.social-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  transition: all 0.3s ease;
}

.fb-card::before {
  background: linear-gradient(90deg, #1877f2, #00c6ff);
}

.tt-card::before {
  background: linear-gradient(90deg, #fe2c55, #25f4ee);
}

.social-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.fb-card:hover {
  border-color: rgba(24, 119, 242, 0.4);
}

.tt-card:hover {
  border-color: rgba(254, 44, 85, 0.4);
}

.social-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.social-brand-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.fb-bg {
  background: linear-gradient(135deg, #1877f2, #0d5bbd);
  color: #fff;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.35);
}

.tt-bg {
  background: linear-gradient(135deg, #010101, #25f4ee);
  color: #fe2c55;
  box-shadow: 0 4px 14px rgba(254, 44, 85, 0.35);
}

.social-card-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.social-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
  width: fit-content;
}

.fb-badge {
  background: rgba(24, 119, 242, 0.15);
  color: #1877f2;
  border: 1px solid rgba(24, 119, 242, 0.3);
}

.tt-badge {
  background: rgba(254, 44, 85, 0.15);
  color: #fe2c55;
  border: 1px solid rgba(254, 44, 85, 0.3);
}

.social-card-title {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.social-card-desc {
  font-size: 14px;
  color: var(--text-muted, #9ca3af);
  line-height: 1.6;
  margin-bottom: 20px;
}

.social-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.social-stat-item {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 2px;
}

.stat-value {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}

.stat-label {
  font-size: 11px;
  color: var(--text-dim, #6b7280);
}

.social-cta-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.fb-btn {
  background: #1877f2;
  color: #fff;
}

.fb-btn:hover {
  background: #0e65d8;
  color: #fff;
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
  transform: translateY(-2px);
}

.tt-btn {
  background: linear-gradient(90deg, #fe2c55, #e01740);
  color: #fff;
}

.tt-btn:hover {
  background: linear-gradient(90deg, #e61f47, #c91036);
  color: #fff;
  box-shadow: 0 6px 20px rgba(254, 44, 85, 0.4);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .social-promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ===================================================
   TOÀN DIỆN TỐI ƯU HÓA GIAO DIỆN DI ĐỘNG (MOBILE UI/UX)
   =================================================== */

/* 1. Header & Navigation Tinh Gọn Trên Mobile */
@media (max-width: 768px) {
  .logo img, .logo-img {
    height: 42px;
    max-width: 170px;
  }
  .header-actions {
    gap: 8px;
  }
  .hotline-btn .hotline-text {
    display: none !important;
  }
  .hotline-btn {
    padding: 0;
  }
  .hotline-icon {
    width: 38px;
    height: 38px;
  }
  .header-actions .btn.btn-primary {
    padding: 8px 12px;
    font-size: 12.5px;
    white-space: nowrap;
  }
  .mobile-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .header-search {
    margin-top: 10px;
  }
  .nav-bar {
    border-radius: 0 0 16px 16px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.75);
  }
}

@media (max-width: 480px) {
  .logo img, .logo-img {
    height: 36px;
    max-width: 140px;
  }
  .header-actions {
    gap: 6px;
  }
  .header-actions .btn.btn-primary {
    padding: 7px 10px;
    font-size: 11.5px;
  }
  .header-actions .btn.btn-primary .btn-text-full {
    display: inline-block;
  }
  .header-actions .btn.btn-primary svg {
    display: none;
  }
}

/* 2. Thanh Đặt Lịch Nhanh Chuẩn Cảm Ứng */
@media (max-width: 850px) {
  .quick-booking-bar {
    padding: 18px 0;
  }
  .booking-bar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .booking-bar-title {
    justify-content: flex-start;
  }
  .booking-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }
  .booking-bar-title h3 {
    font-size: 16px;
  }
  .booking-bar-title p {
    font-size: 12px;
  }
  .booking-bar-form input,
  .booking-bar-form select,
  .booking-bar-form button {
    width: 100% !important;
    min-height: 44px;
    font-size: 14px;
  }
}

/* 3. Danh Mục Dịch Vụ Cốt Lõi: Lưới 2 Cột Dạng App Hiện Đại Trên Điện Thoại */
@media (max-width: 500px) {
  .services-feature-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .service-feature-card {
    padding: 16px 10px !important;
    gap: 8px !important;
    border-radius: 12px !important;
  }
  .service-feature-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 10px !important;
  }
  .service-feature-card h4 {
    font-size: 13px !important;
    line-height: 1.3 !important;
    margin: 0 !important;
  }
  .service-feature-card p {
    font-size: 11px !important;
    line-height: 1.35 !important;
    margin: 0 !important;
  }
}

/* 4. Thanh Cuộn Tab Danh Mục Vuốt Cảm Ứng Mượt Mà */
.tab-nav-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 10px 14px;
}
.tab-nav-wrapper::-webkit-scrollbar {
  display: none;
}
@media (max-width: 640px) {
  .tab-nav {
    padding: 4px;
    gap: 4px;
  }
  .tab-btn {
    padding: 8px 14px;
    font-size: 12.5px;
  }
}

/* 5. Lưới Sản Phẩm & Dịch Vụ Nổi Bật Trên Mobile */
@media (max-width: 520px) {
  .products-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .product-thumb {
    height: 200px !important;
  }
  .product-info {
    padding: 14px !important;
  }
  .product-title {
    font-size: 16px !important;
    line-height: 1.35 !important;
  }
}

@media (min-width: 521px) and (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
  .product-thumb {
    height: 165px !important;
  }
  .product-info {
    padding: 12px !important;
  }
}

/* 6. Thẻ Truyền Thông Facebook & TikTok Tối Ưu Màn Hình Hẹp */
@media (max-width: 600px) {
  .social-card {
    padding: 20px 16px !important;
    border-radius: 14px !important;
  }
  .social-brand-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 10px !important;
  }
  .social-card-title {
    font-size: 17px !important;
  }
  .social-card-desc {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
  .social-stats-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
    padding: 10px !important;
  }
  .social-stat-item strong {
    font-size: 16px !important;
  }
  .social-stat-item span {
    font-size: 10px !important;
  }
  .social-cta-btn {
    padding: 12px 14px !important;
    font-size: 13px !important;
  }
}

/* 7. Bong Bóng Nổi (Zalo, Hotline, Đặt Lịch, Back-to-Top) Thân Thiện Trên Mobile */
@media (max-width: 480px) {
  .floating-widgets {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .floating-widgets.pos-right {
    right: 12px !important;
  }
  .floating-widgets.pos-left {
    left: 12px !important;
  }
  /* Ẩn nhãn chữ dài trên điện thoại hẹp để tránh che nội dung website */
  .floating-contact-label {
    display: none !important;
  }
  .floating-contact-circle,
  .floating-contact-circle .ring-icon {
    width: 46px !important;
    height: 46px !important;
  }
  .floating-btn {
    width: 42px !important;
    height: 42px !important;
  }
}

/* 8. Hộp Thoại Modal Kiểu Bottom-Sheet Trượt Lên Hiện Đại */
@media (max-width: 600px) {
  .modal {
    padding: 0 !important;
    align-items: flex-end !important;
  }
  .modal-dialog {
    border-radius: 20px 20px 0 0 !important;
    max-height: 88vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .modal-header {
    padding: 16px 20px !important;
  }
  .modal-body {
    padding: 16px 20px 24px !important;
  }
}

