* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #fff;
  color: #1a1a1a;
  line-height: 1.6;
  letter-spacing: 0.3px;
  overflow-x: hidden;
  width: 100%;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1), padding 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

header.header-scrolled {
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
}

header.header-hidden {
  transform: translateY(-100%);
}

header::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198, 164, 59, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

header.header-scrolled::after {
  opacity: 1;
}

header .nav-menu a {
  color: rgba(0, 0, 0, 0.75);
  transition: color 0.3s ease;
}

header .nav-menu a:hover,
header .nav-menu a.active {
  color: #000000;
}

header .nav-menu a::after {
  background: #000000;
}

header .header-translate-btn {
  border-color: rgba(0, 0, 0, 0.2);
  color: rgba(0, 0, 0, 0.75);
}

header .header-translate-btn:hover {
  background: #1a1a1a;
  color: #ffffff;
  border-color: #1a1a1a;
}

header .menu-toggle {
  color: #1a1a1a;
}

header .logo img {
  filter: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  order: 1;
}

.nav-menu {
  order: 2;
}

.header-translate-btn {
  order: 3;
}

.menu-toggle {
  order: 4;
}

.logo:hover {
  opacity: 0.85;
}

.logo img {
  height: 68px;
  width: auto;
  max-width: 260px;
  display: block;
  object-fit: contain;
  transition: height 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

header.header-scrolled .logo img {
  height: 52px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.2rem;
  margin: 0;
  position: static;
  transform: none;
  align-items: center;
}

.nav-menu li {
  display: flex;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 0;
  position: relative;
  transition: color 0.3s;
  white-space: nowrap;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #c6a43b;
  transform: translateX(-50%);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a.active {
  color: #000;
}

.nav-menu a.active {
  font-weight: 600;
}

.nav-menu .dropdown {
  position: relative;
}

.nav-menu .dropdown > a {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-menu .dropdown > a::after {
  content: '';
  position: static;
  left: auto;
  bottom: auto;
  width: 6px;
  height: 6px;
  background: transparent;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  margin-left: 2px;
}

.nav-menu .dropdown:hover > a::after {
  transform: rotate(225deg) translateY(1px);
}

.nav-menu .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #ffffff;
  min-width: 260px;
  padding: 10px 0;
  border-radius: 12px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.13);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1), visibility 0.3s;
  z-index: 100;
  list-style: none;
}

.nav-menu .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}

.nav-menu .dropdown-menu li {
  padding: 0;
}

.nav-menu .dropdown-menu a {
  display: block;
  padding: 8px 20px;
  font-size: 0.8rem;
  text-transform: none;
  letter-spacing: 0.5px;
  color: #333;
  transition: all 0.3s ease;
  white-space: normal;
}

.nav-menu .dropdown-menu a:hover {
  background: #f5f5f5;
  color: #000;
  padding-left: 28px;
}

.nav-menu .dropdown-menu a::after {
  display: none;
}

.header-translate-btn {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 30px;
  padding: 8px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  white-space: nowrap;
  margin-left: 0.5rem;
}

.header-translate-btn i {
  margin-right: 4px;
  font-size: 0.9rem;
}

.header-translate-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 100;
  color: #1a1a1a;
}

.page-content {
  padding-top: 110px;
  padding-bottom: 80px;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.divider {
  width: 60px;
  height: 2px;
  background: #000;
  margin: 12px auto 0;
}

footer {
  background: #0a0a0a;
  color: #999;
  font-weight: 300;
  letter-spacing: 0.3px;
  border-top: none;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 40px;
  padding: 70px 20px 50px;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}

.footer-social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-social-list li {
  margin-bottom: 0;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: #c6a43b;
}

.footer-logo {
  height: 42px;
  width: auto;
  max-width: 160px;
  display: block;
  margin-bottom: 18px;
}

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #999;
  max-width: 320px;
  margin-bottom: 24px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 14px;
}

.footer-col ul li a {
  color: #999;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: #c6a43b;
  transform: translateX(4px);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact li a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #999;
}

.footer-contact li a:hover {
  color: #c6a43b;
  transform: none;
}

.footer-contact i {
  color: #c6a43b;
  font-size: 0.9rem;
  width: 16px;
  padding-top: 3px;
  flex-shrink: 0;
}

.footer-contact span {
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-fb-highlight {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  background: rgba(198, 164, 59, 0.12);
  border: 1px solid #c6a43b;
  color: #c6a43b !important;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer-fb-highlight i {
  color: #c6a43b;
}

.footer-fb-highlight:hover {
  background: #c6a43b;
  color: #000 !important;
}

.footer-fb-highlight:hover i {
  color: #000;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #999;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #c6a43b;
  border-color: #c6a43b;
  color: #000;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  color: #777;
  opacity: 0.9;
}

.service-card,
.gallery-item,
.contact-info,
.contact-form,
.section-title {
  animation: fadeInUp 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1) backwards;
}

.service-card:nth-child(1) { animation-delay: 0.05s; }
.service-card:nth-child(2) { animation-delay: 0.15s; }
.service-card:nth-child(3) { animation-delay: 0.25s; }
.service-card:nth-child(4) { animation-delay: 0.35s; }

.gallery-item:nth-child(1) { animation-delay: 0.05s; }
.gallery-item:nth-child(2) { animation-delay: 0.1s; }
.gallery-item:nth-child(3) { animation-delay: 0.15s; }
.gallery-item:nth-child(4) { animation-delay: 0.2s; }

.contact-info { animation-delay: 0.05s; }
.contact-form { animation-delay: 0.2s; }
.section-title { animation-delay: 0s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  z-index: 999;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #c6a43b;
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 10px 30px rgba(198, 164, 59, 0.4);
}

.back-to-top:active {
  transform: translateY(0) scale(0.98);
}

/* ===== BREADCRUMB (shared, e.g. blog pages) ===== */
.breadcrumb-bar {
  margin-bottom: 24px;
}
.breadcrumb-bar .breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  color: #999;
}
.breadcrumb-bar .breadcrumb a {
  color: #999;
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb-bar .breadcrumb a:hover {
  color: #1a1a1a;
}
.breadcrumb-bar .breadcrumb span:last-child {
  color: #1a1a1a;
}

/* ===== STICKY MOBILE CTA BAR ===== */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  z-index: 998;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
}

.mobile-cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: #fff;
}

.mobile-cta-call { background: #1a1a1a; }
.mobile-cta-whatsapp { background: #25d366; }

.mobile-cta-btn i { font-size: 1rem; }

@media (min-width: 769px) {
  .mobile-cta-bar { display: none; }
}

body:has(.mobile-cta-bar) {
  padding-bottom: 52px;
}

@media (max-width: 768px) {
  body:has(.mobile-cta-bar) .back-to-top {
    bottom: 64px;
  }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #c6a43b, #e6c866);
  box-shadow: 0 0 8px rgba(198, 164, 59, 0.5);
  z-index: 1001;
  transition: width 0.1s ease-out;
}

/* ===== GENERIC SCROLL REVEAL UTILITY ===== */
.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  will-change: opacity, transform;
}

.reveal-up.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 992px) {
  .nav-menu {
    gap: 1.6rem;
  }
  
  .nav-menu a {
    font-size: 0.75rem;
    letter-spacing: 1px;
  }
  
  .header-translate-btn {
    font-size: 0.6rem;
    padding: 4px 12px;
  }
  
  .logo img {
    height: 44px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  
  .menu-toggle {
    display: block;
    margin-left: 10px;
  }

  .logo img {
    height: 48px;
  }

  .header-inner {
    height: 64px;
  }

  header {
    padding: 8px 0;
  }
  
  header.header-hidden {
    transform: translateY(-100%);
  }

  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 20px 24px;
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 999;
    margin: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow-y: auto;
    max-height: calc(100vh - 64px);
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .nav-menu li {
    display: block;
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-menu a {
    display: block;
    padding: 14px 0;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: #1a1a1a;
    white-space: normal;
  }
  
  .nav-menu a:hover,
  .nav-menu a.active {
    color: #000000;
  }
  
  .nav-menu a::after {
    display: none;
  }

  /* ===== DROPDOWN MOBILE - FIXED ===== */
  .nav-menu .dropdown {
    position: relative;
  }

  .nav-menu .dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    pointer-events: auto;
  }

  /* Mũi tên dropdown trên mobile: hiện, xoay khi mở/đóng */
  .nav-menu .dropdown > a::after {
    content: '';
    display: inline-block !important;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-left: 6px;
    flex-shrink: 0;
  }

  .nav-menu .dropdown.open > a::after {
    transform: rotate(225deg);
  }

  .nav-menu .dropdown-menu {
    position: static !important;
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: none !important;
    padding: 0 0 8px 16px !important;
    border-radius: 0 !important;
    min-width: auto !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .nav-menu .dropdown.open .dropdown-menu {
    display: block !important;
    animation: dropdownSlide 0.3s ease;
  }

  @keyframes dropdownSlide {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-menu .dropdown-menu li {
    border-bottom: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .nav-menu .dropdown-menu a {
    padding: 10px 0 10px 8px !important;
    font-size: 0.85rem !important;
    color: #555 !important;
    letter-spacing: 1px !important;
    border-bottom: none !important;
  }

  .nav-menu .dropdown-menu a:hover {
    background: transparent !important;
    color: #000 !important;
    padding-left: 8px !important;
  }

  .nav-menu .dropdown-menu a::after {
    display: none !important;
  }

  /* ===== END DROPDOWN MOBILE ===== */

  .header-translate-btn {
    margin-left: auto;
    margin-top: 0;
    font-size: 0.68rem;
    padding: 6px 12px;
    border-color: #e0e0e0;
    color: #1a1a1a;
    width: auto;
    text-align: center;
    border-radius: 30px;
    white-space: nowrap;
  }
  
  .header-translate-btn:hover {
    background: #1a1a1a;
    color: #ffffff;
    border-color: #1a1a1a;
  }
  
  .menu-toggle {
    color: #1a1a1a;
  }

  .section-title h2 {
    font-size: 2rem;
    letter-spacing: 3px;
  }
  
  .page-content {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }
  
  footer {
    padding: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 50px 20px 36px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  .page-content {
    padding-top: 90px;
    padding-bottom: 40px;
  }

  .section-title {
    margin-bottom: 32px;
  }

  .section-title h2 {
    font-size: 1.4rem;
    letter-spacing: 2px;
  }
  
  .logo img {
    height: 42px;
    max-width: 190px;
  }
  
  .header-inner {
    height: 56px;
  }
  
  .nav-menu {
    top: 56px;
    max-height: calc(100vh - 56px);
    padding: 12px 16px 20px;
  }

  .nav-menu a {
    font-size: 0.8rem;
    padding: 12px 0;
  }

  .nav-menu .dropdown-menu a {
    font-size: 0.78rem;
    padding: 8px 0 8px 8px;
  }

  .header-translate-btn {
    font-size: 0.62rem;
    padding: 5px 10px;
  }
  
  footer {
    padding: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 14px 28px;
  }

  .footer-tagline {
    max-width: 100%;
  }

  .footer-bottom {
    padding: 16px;
  }
}