/* ============================================
   COMPONENT: NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 50;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar-transparent { background-color: transparent; }
.navbar-white { background-color: #ffffff; box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }

.navbar-inner {
  max-width: 1280px;
  margin-left: auto; margin-right: auto;
  padding-left: 16px; padding-right: 16px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}

.navbar-logo { display: flex; align-items: center; gap: 8px; }
.navbar-logo-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background-color: #f97316; border-radius: 8px;
}
.navbar-logo-icon i { color: #ffffff; font-size: 18px; }
.navbar-logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.navbar-logo-text .name {
  font-weight: 700; font-size: 16px; letter-spacing: 0.025em;
  transition: color 0.3s; font-family: 'Noto Sans SC', sans-serif;
}
.navbar-logo-text .firm { font-size: 12px; transition: color 0.3s; }

.navbar-nav {
  display: none;
  align-items: center; gap: 4px;
}
.navbar-nav a {
  padding: 8px 16px; border-radius: 6px;
  font-size: 14px; font-weight: 500;
  transition: color 0.3s;
  white-space: nowrap;
  color: #374151;
}
.navbar-nav a:hover { color: #f97316; }
.navbar-nav a.active { color: #f97316; }

.navbar-phone {
  margin-left: 16px;
  padding: 8px 20px;
  background-color: #f97316;
  color: #ffffff;
  font-size: 14px; font-weight: 500;
  border-radius: 9999px;
  white-space: nowrap;
  transition: background-color 0.3s;
  display: inline-flex; align-items: center; gap: 4px;
}
.navbar-phone:hover { background-color: #ea580c; }

.navbar-menu-btn {
  display: flex;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border-radius: 6px;
  background: none; border: none;
  font-size: 20px;
  color: #374151;
}

.navbar-mobile-menu {
  display: none;
  background-color: #ffffff;
  border-top: 1px solid #f3f4f6;
  padding-left: 16px; padding-right: 16px; padding-bottom: 16px;
}
.navbar-mobile-menu.open { display: block; }
.navbar-mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 14px; font-weight: 500;
  border-bottom: 1px solid #f9fafb;
  color: #374151;
}
.navbar-mobile-menu a.active { color: #f97316; }
.navbar-mobile-menu .phone-btn {
  margin-top: 12px;
  display: block; text-align: center;
  padding: 10px;
  background-color: #f97316;
  color: #ffffff;
  font-size: 14px; font-weight: 500;
  border-radius: 9999px;
}

/* ============================================
   COMPONENT: MOBILE BOTTOM NAV
   ============================================ */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  z-index: 50;
  background-color: #ffffff;
  border-top: 1px solid #f3f4f6;
  display: none;
}
@media (max-width: 767px) {
  .mobile-bottom-nav { display: flex; }
}
.mobile-bottom-nav a, .mobile-bottom-nav .phone-cta {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  gap: 2px;
  font-size: 12px;
  white-space: nowrap;
}
.mobile-bottom-nav a { color: #6b7280; }
.mobile-bottom-nav a.active { color: #f97316; }
.mobile-bottom-nav a i, .mobile-bottom-nav .phone-cta i { font-size: 18px; }
.mobile-bottom-nav .phone-cta {
  background-color: #f97316;
  color: #ffffff;
}

/* ============================================
   COMPONENT: FOOTER
   ============================================ */
.footer { background-color: #1a1208; color: #ffffff; }
.footer-inner {
  max-width: 1280px;
  margin-left: auto; margin-right: auto;
  padding: 48px 16px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.footer-brand-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background-color: #f97316; border-radius: 8px;
}
.footer-brand-icon i { color: #ffffff; font-size: 18px; }
.footer-brand-name { font-weight: 700; font-size: 16px; font-family: 'Noto Sans SC', sans-serif; }
.footer-brand-firm { font-size: 12px; color: rgba(255,255,255,0.5); }
.footer-desc {
  color: rgba(255,255,255,0.6);
  font-size: 14px; line-height: 1.625;
  margin-bottom: 24px;
}
.footer-social {
  display: flex; align-items: center; gap: 12px;
}
.footer-social a {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 9999px;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: all 0.3s;
}
.footer-social a:hover {
  color: #f97316;
  border-color: #f97316;
}

.footer-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.025em;
  font-family: 'Noto Sans SC', sans-serif;
}
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  transition: color 0.3s;
}
.footer-links a:hover { color: #f97316; }

.footer-contact-item {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 14px; color: rgba(255,255,255,0.6);
}
.footer-contact-item i {
  color: #f97316;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px;
}
.footer-bottom-inner {
  max-width: 1280px;
  margin-left: auto; margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ============================================
   COMPONENT: PAGE HEADER (Sub-pages)
   ============================================ */
.page-header {
  position: relative;
  overflow: hidden;
  height: 200px;
}
.page-header-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
}
.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.3));
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-header-text { text-align: center; color: #ffffff; }
.page-header-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #fb923c;
  margin-bottom: 8px;
}
.page-header-title {
  font-size: 30px;
  font-weight: 700;
  font-family: 'Noto Serif SC', serif;
  color: #ffffff;
}

/* ============================================
   SECTION TAG / BADGE
   ============================================ */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border: 1px solid #fdba74;
  color: #f97316;
  font-size: 12px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

/* ============================================
   COMMON BUTTONS
   ============================================ */
.btn-primary-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: #111827;
  color: #ffffff;
  font-weight: 500;
  border-radius: 9999px;
  font-size: 14px;
  white-space: nowrap;
  transition: background-color 0.3s;
}
.btn-primary-dark:hover { background-color: #f97316; }

.btn-primary-orange {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: #f97316;
  color: #ffffff;
  font-weight: 500;
  border-radius: 9999px;
  font-size: 14px;
  white-space: nowrap;
  transition: background-color 0.3s;
}
.btn-primary-orange:hover { background-color: #ea580c; }

.btn-secondary {
  padding: 12px 24px;
  border: 1px solid rgba(255,255,255,0.5);
  color: #ffffff;
  font-weight: 500;
  border-radius: 9999px;
  font-size: 14px;
  white-space: nowrap;
  transition: all 0.3s;
  display: inline-flex; align-items: center; gap: 4px;
}
.btn-secondary:hover {
  border-color: #ffffff;
  background-color: rgba(255,255,255,0.1);
}

/* ============================================
   RESPONSIVE: md (768px+)
   ============================================ */
@media (min-width: 768px) {
  .navbar-inner { height: 80px; padding-left: 32px; padding-right: 32px; }
  .navbar-nav { display: flex; }
  .navbar-menu-btn { display: none; }
  .footer-inner { padding: 64px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-bottom-inner { flex-direction: row; }
  .page-header { height: 260px; }
  .page-header-title { font-size: 36px; }
}

/* ============================================
   HOME PAGE NAVBAR WHITE TEXT
   ============================================ */
.page-home .navbar-transparent .navbar-nav a {
  color: #ffffff;
}
.page-home .navbar-transparent .navbar-nav a:hover {
  color: #f97316;
}
.page-home .navbar-transparent .navbar-nav a.active {
  color: #f97316;
}
.page-home .navbar-transparent .navbar-logo-text .name {
  color: #ffffff;
}
.page-home .navbar-transparent .navbar-logo-text .firm {
  color: rgba(255,255,255,0.8);
}
.page-home .navbar-transparent .navbar-menu-btn {
  color: #ffffff;
}