@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;600;700&display=swap");
:root {
  --primary-color: #4D1C19;
  --secondary-color: #C7B299;
  --accent-color: #f59e0b;
  --dark-color: #1e293b;
  --light-color: #f8fafc;
}

.mobile-header__separator {
  display: inline-block;
  width: 2px;
  height: 20px;
  background-color: var(--primary-color);
  margin: 0 4px;
  vertical-align: middle;
}

html {
  width: 100%;
  height: 100%;
}

body {
  font-family: "Noto Sans TC", "Inter", sans-serif;
  width: 100%;
  box-sizing: border-box;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: #F6F5F3;
  padding-top: 73px;
}
@media (max-width: 991.98px) {
  body {
    padding-top: 65px;
  }
}

main {
  background-image: url(../img/spread-bg.png);
  background-position: center top 390px;
  background-repeat: no-repeat;
  background-size: 1800px auto;
}
@media (max-width: 767.98px) {
  main {
    background-position: center top 20vw;
  }
}

.btn-primary {
  background-color: #4D1C19;
  border-color: #4D1C19;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background-color: #3a1411;
  border-color: #3a1411;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(77, 28, 25, 0.3);
}

.btn-outline-light {
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}
.btn-outline-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.text-primary {
  color: var(--primary-color) !important;
}

.navbar {
  background: linear-gradient(135deg, #4D1C19 0%, #3a1411 100%);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(77, 28, 25, 0.1);
}
.navbar__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.navbar__logo {
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.navbar__logo.show {
  opacity: 1;
  visibility: visible;
}
.navbar__logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}
.navbar__logo-img {
  height: 35px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.navbar__nav {
  display: flex;
  list-style: none;
  align-items: center;
}
.navbar__item {
  position: relative;
}
.navbar__item--dropdown {
  position: relative;
}
.navbar__link {
  display: inline-block;
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
  border-radius: 0.375rem;
}
.navbar__link:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
}
.navbar__link--dropdown {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.navbar__link--dropdown .fas.fa-chevron-down {
  transition: transform 0.3s ease;
  font-size: 0.75rem;
}
.navbar__link--dropdown[aria-expanded=true] .fas.fa-chevron-down {
  transform: rotate(180deg);
}
.navbar__link--login {
  border-radius: 0;
  background: var(--secondary-color);
  color: var(--primary-color);
}
.navbar__login-btn {
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 0.375rem;
  background-color: white;
  color: #4D1C19;
  border: 1px solid white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.navbar__login-btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}
.navbar__login-icon {
  font-size: 0.875rem;
}
.navbar__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 140px;
  background: white;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 0.5rem;
  z-index: 1000;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  margin-left: -46px;
}
.navbar__dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.navbar__dropdown-item-wrapper {
  margin: 0;
  padding: 0;
}
.navbar__dropdown-item {
  display: block;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}
.navbar__dropdown-item:hover {
  background-color: #f8f9fa;
  color: #4D1C19;
}
.navbar__dropdown-item--active {
  background-color: #4D1C19;
  color: white;
}
.navbar__dropdown-item--active:hover {
  background-color: #3a1411;
}
.navbar--scrolled {
  box-shadow: 0 2px 20px rgba(77, 28, 25, 0.3);
}

.logo-section {
  position: relative;
  background: #F6F5F3;
  z-index: 1020;
}
.logo-section__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}
.logo-section__logo {
  height: 40px;
  width: auto;
  max-width: 400px;
  object-fit: contain;
}
.logo-section__icon {
  font-size: 1.8rem;
  color: inherit;
}
.logo-section__text {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.mobile-header {
  background: white;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.mobile-header__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-header__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}
.mobile-header__logo:hover {
  transform: scale(1.05);
}
.mobile-header__logo-img {
  height: 32px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}
.mobile-header__logo-icon {
  font-size: 1.2rem;
  color: inherit;
}
.mobile-header__logo-text {
  font-size: 1.25rem;
  color: inherit;
  font-weight: inherit;
}
.mobile-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.mobile-header__login-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  border: 1px solid var(--secondary-color);
  color: var(--primary-color);
  background-color: var(--secondary-color);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.mobile-header__login-btn:hover {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}
.mobile-header__login-icon {
  font-size: 0.75rem;
}
.mobile-header__toggler {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 30px;
  height: 14px;
  background: transparent;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.mobile-header__toggler:hover {
  opacity: 0.8;
}
.mobile-header__toggler:focus {
  outline: none;
  box-shadow: none;
}
.mobile-header__toggler-icon {
  display: block;
  width: 18px;
  height: 3px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}
.mobile-header__toggler-icon:hover {
  background-color: var(--dark-color);
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--primary-color);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}
.mobile-overlay__header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  z-index: 10000;
}
.mobile-overlay__logo {
  display: flex;
  align-items: center;
}
.mobile-overlay__logo-img {
  height: 32px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.mobile-overlay__close {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.mobile-overlay__close:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}
.mobile-overlay__close:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}
.mobile-overlay__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  padding: 2rem;
  padding-top: 6rem;
  max-width: 400px;
  margin: 0 auto;
}
.mobile-overlay__nav {
  flex-grow: 1;
  text-align: left;
  width: 100%;
}
.mobile-overlay__footer {
  text-align: left;
  width: 100%;
}
.mobile-overlay__section-title {
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.mobile-overlay__divider {
  width: 100%;
  height: 1px;
  background-color: rgb(255, 255, 255);
  margin: 16px 0;
}
.mobile-overlay__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-overlay__footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-overlay__nav-item {
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
}
.mobile-overlay__nav-item:last-child {
  margin-bottom: 0;
}
.mobile-overlay__footer-item {
  margin-bottom: 0.4rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
}
.mobile-overlay__footer-item:last-child {
  margin-bottom: 0;
}
.mobile-overlay.active .mobile-overlay__nav-item {
  opacity: 1;
  transform: translateY(0);
}
.mobile-overlay.active .mobile-overlay__nav-item:nth-child(1) {
  transition-delay: 0.08s;
}
.mobile-overlay.active .mobile-overlay__nav-item:nth-child(2) {
  transition-delay: 0.16s;
}
.mobile-overlay.active .mobile-overlay__nav-item:nth-child(3) {
  transition-delay: 0.24s;
}
.mobile-overlay.active .mobile-overlay__nav-item:nth-child(4) {
  transition-delay: 0.32s;
}
.mobile-overlay.active .mobile-overlay__nav-item:nth-child(5) {
  transition-delay: 0.4s;
}
.mobile-overlay.active .mobile-overlay__nav-item:nth-child(6) {
  transition-delay: 0.48s;
}
.mobile-overlay.active .mobile-overlay__footer-item {
  opacity: 1;
  transform: translateY(0);
}
.mobile-overlay.active .mobile-overlay__footer-item:nth-child(1) {
  transition-delay: 0.56s;
}
.mobile-overlay.active .mobile-overlay__footer-item:nth-child(2) {
  transition-delay: 0.64s;
}
.mobile-overlay.active .mobile-overlay__footer-item:nth-child(3) {
  transition-delay: 0.72s;
}
.mobile-overlay.active .mobile-overlay__footer-item:nth-child(4) {
  transition-delay: 0.8s;
}
.mobile-overlay.active .mobile-overlay__footer-item:nth-child(5) {
  transition-delay: 0.88s;
}
.mobile-overlay.active .mobile-overlay__footer-item:nth-child(6) {
  transition-delay: 0.96s;
}
.mobile-overlay.active .mobile-overlay__footer-item:nth-child(7) {
  transition-delay: 1.04s;
}
.mobile-overlay.active .mobile-overlay__footer-item:nth-child(8) {
  transition-delay: 1.12s;
}
.mobile-overlay__nav-link {
  display: block;
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}
.mobile-overlay__footer-link {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  transition: all 0.3s ease;
  position: relative;
}
.mobile-overlay__footer-link:hover {
  color: var(--secondary-color);
  transform: translateX(8px);
}
.mobile-overlay__footer-link::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 1px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}
.mobile-overlay__footer-link:hover::before {
  width: 10px;
}
.mobile-overlay__nav-item--dropdown {
  position: relative;
}
.mobile-overlay__nav-link--dropdown {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-overlay__nav-link--dropdown .fas.fa-chevron-down {
  transition: transform 0.3s ease;
  font-size: 0.8rem;
  margin-left: 0.5rem;
}
.mobile-overlay__nav-link--dropdown[aria-expanded=true] .fas.fa-chevron-down {
  transform: rotate(180deg);
}
.mobile-overlay__dropdown {
  border-radius: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}
.mobile-overlay__dropdown.show {
  max-height: 200px;
  opacity: 1;
}
.mobile-overlay__dropdown-item {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  padding: 0.6rem 1rem;
  transition: all 0.3s ease;
  position: relative;
}
.mobile-overlay__dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--secondary-color);
}
.mobile-overlay__dropdown-item--active {
  background-color: var(--secondary-color);
  color: white;
  font-weight: 500;
}
.mobile-overlay__dropdown-item--active:hover {
  background-color: rgba(199, 178, 153, 0.8);
}
.mobile-overlay__copyright {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255, 255, 255);
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}
.mobile-overlay.active .mobile-overlay__copyright {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.2s;
}
.mobile-overlay__copyright-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  margin: 0.3rem 0;
  line-height: 1.4;
}
.mobile-overlay__copyright-text:last-child {
  margin-bottom: 0;
}
@media (max-width: 991.98px) {
  .mobile-overlay__content {
    padding: 1.5rem;
    padding-top: 5rem;
    max-width: none;
  }
  .mobile-overlay__nav-link {
    font-size: 16px;
  }
  .mobile-overlay__footer-link {
    font-size: 0.9rem;
  }
  .mobile-overlay__section-title {
    font-size: 1.1rem;
  }
  .mobile-overlay__copyright-text {
    font-size: 0.75rem;
  }
}
@media (max-width: 576px) {
  .mobile-overlay__content {
    padding: 1rem;
    padding-top: 4.5rem;
  }
  .mobile-overlay__header {
    padding: 1rem;
  }
  .mobile-overlay__logo-img {
    height: 32px;
  }
  .mobile-overlay__copyright {
    margin-top: 0.8rem;
    padding-top: 1rem;
  }
  .mobile-overlay__copyright-text {
    font-size: 0.7rem;
  }
}

.hero-banner {
  position: relative;
}
.hero-banner__image-container {
  max-width: 1300px;
  border-radius: 0 200px 0 200px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
@media (max-width: 767.98px) {
  .hero-banner__image-container {
    border-radius: 0 80px 0 80px;
  }
}
.hero-banner__image {
  height: 520px;
  object-fit: cover;
  object-position: left center;
  display: block;
}
.hero-banner__image--desktop {
  display: block;
}
@media (max-width: 767.98px) {
  .hero-banner__image--desktop {
    display: none;
  }
}
.hero-banner__image--mobile {
  display: none;
}
@media (max-width: 767.98px) {
  .hero-banner__image--mobile {
    display: block;
    height: auto;
    min-height: 200px;
  }
}
.hero-banner__text-overlay {
  top: 3rem;
  left: 3rem;
  z-index: 10;
}
.hero-banner__title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}
.hero-banner__subtitle {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}
@media (max-width: 991.98px) {
  .hero-banner__text-overlay {
    top: 2rem;
    left: 2rem;
  }
  .hero-banner__title {
    font-size: 2rem;
  }
  .hero-banner__subtitle {
    font-size: 1.75rem;
  }
}
@media (max-width: 575.98px) {
  .hero-banner__text-overlay {
    top: 1.5rem;
    left: 1.5rem;
  }
  .hero-banner__title {
    font-size: 1.5rem;
  }
  .hero-banner__subtitle {
    font-size: 1.25rem;
  }
}

.links-container-section {
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;
  z-index: 15;
}
@media (max-width: 767.98px) {
  .links-container-section {
    bottom: -30px;
  }
}

.links-container {
  background: linear-gradient(135deg, var(--primary-color) 0%, #3a1411 100%);
  border-radius: 40px 0 40px 0;
  box-shadow: 0 10px 30px rgba(77, 28, 25, 0.3);
  overflow: hidden;
  max-width: 800px;
  width: 100%;
}
.links-container__item {
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  min-height: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.links-container__item:last-child {
  border-right: none;
}
.links-container__item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}
.links-container__item--active {
  position: relative;
}
.links-container__item--active::after {
  content: "";
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 8px solid var(--secondary-color);
}
.links-container__item--active .links-container__title {
  font-weight: 700;
  color: var(--secondary-color);
}
.links-container__item--active:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: none;
}
.links-container__content {
  text-align: center;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.links-container__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: white;
}
@media (max-width: 767.98px) {
  .links-container {
    max-width: 100%;
  }
  .links-container__item {
    min-height: 60px;
    height: 60px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  .links-container__item:last-child {
    border-bottom: none;
  }
  .links-container__content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .links-container__title {
    font-size: 10px;
  }
}

.article-section {
  margin-top: 80px;
}
@media (max-width: 767.98px) {
  .article-section {
    margin-top: 60px;
  }
}

.article {
  text-align: left;
  padding-left: 10px;
  padding-right: 10px;
}
@media (max-width: 767.98px) {
  .article {
    padding-left: 0;
    padding-right: 0;
  }
}
.article__title {
  color: var(--dark-color);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
}
@media (max-width: 767.98px) {
  .article__title {
    font-size: 30px;
  }
}
.article__subtitle {
  color: #A67C52;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
}
.article__subtitle:not(:first-child) {
  margin-top: 1.5rem;
}
@media (max-width: 767.98px) {
  .article__subtitle {
    font-size: 21px;
  }
}
.article__content {
  color: var(--dark-color);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
}
@media (max-width: 767.98px) {
  .article__content {
    font-size: 16px;
    line-height: 1.7;
  }
}

.private-bank-article {
  padding-left: 10px;
  padding-right: 10px;
}
@media (max-width: 767.98px) {
  .private-bank-article {
    padding-left: 0;
    padding-right: 0;
  }
}

.colored-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, #A67C52 0%, var(--primary-color) 50%, #A67C52 100%);
  border-radius: 2px;
  opacity: 0.8;
}
@media (max-width: 767.98px) {
  .colored-divider {
    height: 2px;
  }
}

.features-table {
  background-color: #f8fafc;
  border-radius: 40px 0 40px 0;
  overflow: hidden;
  margin-left: 10px;
  margin-right: 10px;
}
@media (max-width: 767.98px) {
  .features-table {
    margin-left: 0;
    margin-right: 0;
  }
}
.features-table__container {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding-left: 10px;
  padding-right: 10px;
}
@media (max-width: 767.98px) {
  .features-table__container {
    padding-left: 0;
    padding-right: 0;
  }
}
.features-table__item {
  flex: 1 1 50%;
  min-width: 300px;
  max-width: 50%;
}
@media (max-width: 767.98px) {
  .features-table__item {
    flex: 1 1 100%;
    max-width: none;
  }
}
.features-table__subtitle {
  color: #A67C52;
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 0;
  line-height: 1.3;
}
@media (max-width: 767.98px) {
  .features-table__subtitle {
    font-size: 21px;
  }
}
.features-table__content {
  color: var(--dark-color);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 0;
  font-weight: 400;
}
@media (max-width: 767.98px) {
  .features-table__content {
    font-size: 16px;
    line-height: 1.6;
  }
}

.branch-section {
  padding: 0 10px;
}
@media (max-width: 767.98px) {
  .branch-section {
    margin: 2rem 0;
    padding: 0;
  }
}
.branch-section__item {
  margin-bottom: 2rem;
}
@media (max-width: 991.98px) {
  .branch-section__item {
    margin-bottom: 2.5rem;
  }
}
@media (min-width: 992px) {
  .branch-section__item {
    margin-bottom: 0;
  }
}
.branch-section__image {
  border-radius: 0.5rem;
  overflow: hidden;
}
@media (min-width: 768px) {
  .branch-section__image {
    height: 100%;
  }
}
@media (max-width: 767.98px) {
  .branch-section__image {
    margin-bottom: 1rem;
    height: auto;
  }
}
.branch-section__image img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}
@media (min-width: 768px) {
  .branch-section__image img {
    height: 100%;
    object-fit: cover;
  }
}
@media (max-width: 767.98px) {
  .branch-section__image img {
    height: auto;
  }
}
.branch-section__image img:hover {
  transform: scale(1.05);
}
@media (min-width: 768px) {
  .branch-section__info {
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
  }
}
@media (max-width: 767.98px) {
  .branch-section__info {
    padding-left: 0;
    height: auto;
  }
}
.branch-section__subtitle {
  color: #A67C52;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
@media (max-width: 767.98px) {
  .branch-section__subtitle {
    font-size: 1.125rem;
  }
}
.branch-section__content {
  color: var(--dark-color);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0;
  font-weight: 400;
}
@media (max-width: 767.98px) {
  .branch-section__content {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}

.cards-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (max-width: 767.98px) {
  .cards-container {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (min-width: 768px) and (max-width: 1199.98px) {
  .cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  .cards-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.info-card {
  position: relative;
  border-radius: 40px 0 40px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 52px 24px 100px 35px;
  min-height: 200px;
  overflow: hidden;
  height: 100%;
}
@media (max-width: 767.98px) {
  .info-card {
    padding: 52px 24px 80px 35px;
    margin-bottom: 1.5rem;
    min-height: 180px;
  }
}
.info-card__content {
  height: 100%;
}
.info-card__subtitle {
  color: #A67C52;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.3;
}
@media (max-width: 767.98px) {
  .info-card__subtitle {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
  }
}
.info-card__text {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-weight: 400;
}
@media (max-width: 767.98px) {
  .info-card__text {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
  }
}
.info-card__bullet-list {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  padding-left: 1.5rem;
}
@media (max-width: 767.98px) {
  .info-card__bullet-list {
    font-size: 0.9rem;
    padding-left: 1.25rem;
  }
}
.info-card__bullet-item {
  margin-bottom: 0.5rem;
  font-weight: 400;
}
.info-card__bullet-item:last-child {
  margin-bottom: 0;
}
.info-card__sub-bullet-list {
  margin-top: 0.5rem;
  padding-left: 1.5rem;
}
@media (max-width: 767.98px) {
  .info-card__sub-bullet-list {
    padding-left: 1.25rem;
  }
}
.info-card__sub-bullet-item {
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}
.info-card__sub-bullet-item:last-child {
  margin-bottom: 0;
}
@media (max-width: 767.98px) {
  .info-card__sub-bullet-item {
    font-size: 0.85rem;
  }
}
.info-card__icon {
  position: absolute;
  bottom: 30px;
  right: 24px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 767.98px) {
  .info-card__icon {
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 24px;
  }
}
.info-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.info-card:hover .info-card__icon img {
  opacity: 1;
}

.cards-container {
  padding-left: 10px;
  padding-right: 10px;
}
@media (max-width: 767.98px) {
  .cards-container {
    padding-left: 0;
    padding-right: 0;
  }
}

.card-section {
  margin: 3rem 0;
}
@media (max-width: 767.98px) {
  .card-section {
    margin: 2rem 0;
  }
}

.animate-fade-in {
  animation: fadeInUp 1s ease-out;
}

.animate-fade-in-delay {
  animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hover-lift {
  transition: all 0.3s ease;
}
.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.card {
  border: none !important;
  border-radius: 1rem !important;
  overflow: hidden;
}
.card .card-body {
  padding: 2rem !important;
}

section {
  padding: 5rem 0;
}
@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }
}

@media (max-width: 991.98px) {
  .hero-banner h1 {
    font-size: 2.5rem !important;
  }
  .hero-banner .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
  .display-5 {
    font-size: 2rem !important;
  }
  .mobile-header__logo {
    font-size: 1.25rem !important;
  }
  .mobile-header__nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  .mobile-header__nav-link:last-child {
    border-bottom: none;
  }
  .mobile-header__dropdown {
    position: static;
    float: none;
    width: 100%;
    margin-top: 0;
    border: none;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 0;
  }
  .mobile-header__dropdown-item {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  .mobile-header__dropdown-item--active {
    background-color: var(--primary-color);
    color: white;
  }
}
.footer {
  background: linear-gradient(135deg, #4D1C19 0%, #3a1411 100%);
}
.footer__link {
  transition: color 0.3s ease;
  color: rgba(255, 255, 255, 0.8) !important;
}
.footer__link:hover {
  color: white !important;
}
.footer__social-icon {
  transition: all 0.3s ease;
}
.footer__social-icon:hover {
  color: white !important;
  transform: translateY(-2px);
}
.footer__text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}
.footer__links-row .footer__link-item {
  margin-right: 0;
}
.footer__links-row .footer__link-item .footer__link {
  font-size: 0.9rem;
  padding: 0.25rem 0.5rem;
  display: inline-block;
}
.footer__links-row .footer__link-item .footer__link:first-child {
  padding-left: 0;
}
.footer__links-row .footer__separator {
  color: #6b7280;
  margin: 0 0.5rem;
  font-weight: 300;
}
@media (max-width: 768px) {
  .footer__links-row .footer__link-item {
    display: block;
    margin-bottom: 0.75rem;
  }
  .footer__links-row .footer__link-item .footer__link {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
  }
  .footer__links-row .footer__separator {
    display: none;
  }
}

.bg-gradient-primary {
  background: linear-gradient(135deg, #4D1C19 0%, #3a1411 100%);
}

.text-gradient {
  background: linear-gradient(135deg, #4D1C19 0%, #3a1411 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-secondary {
  color: var(--secondary-color) !important;
}

.text-light-cyan {
  color: #D2FDFE !important;
}

.text-brown {
  color: #A67C52 !important;
}

.bg-secondary {
  background-color: var(--secondary-color) !important;
}

.fs-title {
  font-size: 36px !important;
}
@media (max-width: 767.98px) {
  .fs-title {
    font-size: 36px !important;
  }
}

.fs-subtitle {
  font-size: 21px !important;
}
@media (max-width: 767.98px) {
  .fs-subtitle {
    font-size: 21px !important;
  }
}

.fs-content {
  font-size: 16px !important;
}
@media (max-width: 767.98px) {
  .fs-content {
    font-size: 16px !important;
  }
}

.fs-remark {
  font-size: 16px !important;
}
@media (max-width: 767.98px) {
  .fs-remark {
    font-size: 12px !important;
  }
}

.fs-note {
  font-size: 12px !important;
}
@media (max-width: 767.98px) {
  .fs-note {
    font-size: 12px !important;
  }
}

.privilege-tabs-section .tabs-container {
  margin: 0 auto;
  padding: 0 10px;
}
.privilege-tabs-section .desktop-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 991.98px) {
  .privilege-tabs-section .desktop-tabs {
    display: none;
  }
}
.privilege-tabs-section .mobile-tabs {
  display: none;
}
@media (max-width: 991.98px) {
  .privilege-tabs-section .mobile-tabs {
    display: block;
  }
}
.privilege-tabs-section .mobile-tabs .tab-headers-swiper .swiper-slide {
  width: auto;
  margin-right: 1rem;
}
.privilege-tabs-section .tab-header {
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  border: 2px solid transparent;
  border-bottom: none;
  position: relative;
  padding-bottom: 35px;
}
.privilege-tabs-section .tab-header.active .tab-header__overlay {
  opacity: 1;
}
.privilege-tabs-section .tab-header.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 47px solid transparent;
  border-right: 47px solid transparent;
  border-bottom: 35px solid var(--primary-color);
  z-index: 10;
}
.privilege-tabs-section .tab-header.active[data-tab="2"]::after {
  border-bottom: 35px solid #28243B;
}
.privilege-tabs-section .tab-header__image {
  height: 233px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border-radius: 38px 0 38px 0;
  transform: scale(0.97, 0.95);
  transform-origin: center center;
}
@media (max-width: 991.98px) {
  .privilege-tabs-section .tab-header__image {
    height: 140px;
    min-width: 232px;
  }
}
.privilege-tabs-section .tab-header__overlay {
  width: 100%;
  height: 233px;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 100%;
  border: 2px solid var(--primary-color);
  border-radius: 40px 0 40px 0;
  opacity: 0;
}
@media (max-width: 991.98px) {
  .privilege-tabs-section .tab-header__overlay {
    height: 140px;
    min-width: 232px;
  }
}
.privilege-tabs-section .tab-header__title {
  padding: 1rem;
  text-align: center;
}
@media (max-width: 991.98px) {
  .privilege-tabs-section .tab-header__title {
    width: 230px;
    height: 40px;
    box-sizing: content-box;
  }
}
.privilege-tabs-section .tab-header__title h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1.4;
}
@media (max-width: 991.98px) {
  .privilege-tabs-section .tab-header__title h4 {
    font-size: 0.9rem;
  }
}
.privilege-tabs-section .tab-contents {
  position: relative;
}
.privilege-tabs-section .tab-content {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}
.privilege-tabs-section .tab-content.active {
  display: block;
}
.privilege-tabs-section .tab-content-card {
  background: white;
  border-radius: 40px 0 40px 0;
  padding: 40px 44px 16px 44px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(199, 178, 153, 0.2);
}
@media (max-width: 767.98px) {
  .privilege-tabs-section .tab-content-card {
    padding: 1.5rem;
  }
}
.privilege-tabs-section .tab-content-card .card-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: normal;
}
@media (max-width: 767.98px) {
  .privilege-tabs-section .tab-content-card .card-subtitle {
    text-align: center;
    font-size: 1.25rem;
  }
}
.privilege-tabs-section .tab-content-card .card-remark, .privilege-tabs-section .tab-content-card .additional-remark {
  font-size: 0.9rem;
  color: #6b7280;
  margin-top: 1.5rem;
}
.privilege-tabs-section #tab-2 .tab-content-card {
  background: #28243B;
}
.privilege-tabs-section #tab-2 .tab-content-card .card-subtitle {
  color: white;
}
.privilege-tabs-section #tab-2 .tab-content-card .card-remark, .privilege-tabs-section #tab-2 .tab-content-card .additional-remark {
  color: rgba(255, 255, 255, 0.8);
}
.privilege-tabs-section #tab-2 .tab-content-card h6 {
  color: white;
}
.privilege-tabs-section #tab-2 .tab-content-card p, .privilege-tabs-section #tab-2 .tab-content-card li {
  color: rgba(255, 255, 255, 0.9);
}
.privilege-tabs-section #tab-2 .tab-content-card ul {
  color: rgba(255, 255, 255, 0.9);
}
.privilege-tabs-section #tab-2 .tab-content-card a {
  color: #C7B299;
}
.privilege-tabs-section #tab-2 .tab-content-card a:hover {
  color: white;
}
.privilege-tabs-section #tab-2 .tab-content-card .column-item {
  background: #28243B;
  border-radius: 0.5rem;
  padding: 0 12px;
}
.privilege-tabs-section #tab-2 .tab-content-card .column-item .column-text {
  color: rgba(255, 255, 255, 0.9);
}
.privilege-tabs-section .privilege-icon-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.privilege-tabs-section .privilege-icon {
  width: 224px;
  height: auto;
  object-fit: contain;
  display: block;
}
.privilege-tabs-section .swiper-container-wrapper {
  max-width: 930px;
  position: relative;
  margin: 1.5rem auto;
}
.privilege-tabs-section .tab-swiper {
  width: calc(100% - 88px);
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 767.98px) {
  .privilege-tabs-section .tab-swiper {
    max-width: calc(100% - 60px);
  }
}
@media (max-width: 767.98px) {
  .privilege-tabs-section .tab-swiper {
    max-width: calc(100% - 80px);
  }
}
.privilege-tabs-section .tab-swiper .swiper-slide .slide-content {
  text-align: center;
}
.privilege-tabs-section .tab-swiper .swiper-slide .slide-image {
  width: 100%;
  max-width: 802px;
  height: 448px;
  object-fit: contain;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}
@media (max-width: 767.98px) {
  .privilege-tabs-section .tab-swiper .swiper-slide .slide-image {
    max-width: 100%;
    height: 39.102244389vw;
    min-height: 150px;
    max-height: 250px;
  }
}
.privilege-tabs-section .tab-swiper .swiper-slide .slide-caption {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dark-color);
  max-width: 500px;
  margin: 0 auto;
}
@media (max-width: 767.98px) {
  .privilege-tabs-section .tab-swiper .swiper-slide .slide-caption {
    font-size: 0.9rem;
  }
}
.privilege-tabs-section .tab-swiper .swiper-pagination {
  position: static;
  margin-top: 1rem;
}
.privilege-tabs-section .tab-swiper .swiper-pagination .swiper-pagination-bullet {
  width: 16px;
  height: 16px;
  background-color: var(--secondary-color);
  opacity: 0.5;
}
@media (max-width: 767.98px) {
  .privilege-tabs-section .tab-swiper .swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }
}
.privilege-tabs-section .tab-swiper .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: var(--primary-color);
  opacity: 1;
}
.privilege-tabs-section .tab-swiper .swiper-button-next,
.privilege-tabs-section .tab-swiper .swiper-button-prev {
  background: transparent;
  width: 24px;
  height: 64px;
  margin-top: -32px;
}
.privilege-tabs-section .tab-swiper .swiper-button-next:after,
.privilege-tabs-section .tab-swiper .swiper-button-prev:after {
  display: none;
}
.privilege-tabs-section .tab-swiper .swiper-button-next::before,
.privilege-tabs-section .tab-swiper .swiper-button-prev::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
}
@media (max-width: 767.98px) {
  .privilege-tabs-section .tab-swiper .swiper-button-next,
  .privilege-tabs-section .tab-swiper .swiper-button-prev {
    display: none;
  }
}
.privilege-tabs-section .swiper-container-wrapper .swiper-button-next,
.privilege-tabs-section .swiper-container-wrapper .swiper-button-prev {
  background: transparent;
  width: 24px;
  height: 64px;
  margin-top: -32px;
  position: absolute;
  top: 50%;
  z-index: 10;
}
.privilege-tabs-section .swiper-container-wrapper .swiper-button-next:after,
.privilege-tabs-section .swiper-container-wrapper .swiper-button-prev:after {
  display: none;
}
.privilege-tabs-section .swiper-container-wrapper .swiper-button-next::before,
.privilege-tabs-section .swiper-container-wrapper .swiper-button-prev::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
}
@media (max-width: 767.98px) {
  .privilege-tabs-section .swiper-container-wrapper .swiper-button-next,
  .privilege-tabs-section .swiper-container-wrapper .swiper-button-prev {
    width: 10px;
    height: 28px;
    margin-top: -14px;
  }
  .privilege-tabs-section .swiper-container-wrapper .swiper-button-next::before,
  .privilege-tabs-section .swiper-container-wrapper .swiper-button-prev::before {
    transform: translate(-50%, -50%) scale(0.4);
  }
}
.privilege-tabs-section .swiper-container-wrapper .swiper-button-next {
  right: 20px;
}
.privilege-tabs-section .swiper-container-wrapper .swiper-button-next::before {
  border-left: 24px solid var(--primary-color);
  border-top: 32px solid transparent;
  border-bottom: 32px solid transparent;
}
.privilege-tabs-section .swiper-container-wrapper .swiper-button-prev {
  left: 20px;
}
.privilege-tabs-section .swiper-container-wrapper .swiper-button-prev::before {
  border-right: 24px solid var(--primary-color);
  border-top: 32px solid transparent;
  border-bottom: 32px solid transparent;
}
.privilege-tabs-section .columns-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 1.5rem 0;
}
@media (max-width: 767.98px) {
  .privilege-tabs-section .columns-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.privilege-tabs-section .columns-container .column-item {
  text-align: center;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 0.5rem;
  transition: transform 0.2s ease;
}
.privilege-tabs-section .columns-container .column-item:hover {
  transform: translateY(-2px);
}
.privilege-tabs-section .columns-container .column-item .column-image {
  width: 148px;
  height: auto;
  object-fit: contain;
  margin: 0 auto 1rem;
  display: block;
}
@media (max-width: 767.98px) {
  .privilege-tabs-section .columns-container .column-item .column-image {
    width: 202px;
  }
}
.privilege-tabs-section .columns-container .column-item .column-text {
  font-size: 1rem;
  color: var(--dark-color);
  line-height: 1.5;
  margin: 0;
}
.privilege-tabs-section .card-article {
  margin: 1.5rem 0;
  padding: 1.5rem;
}
.privilege-tabs-section .card-article p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dark-color);
}
.privilege-tabs-section .tab-content-swiper .slide-image {
  max-width: 802px;
  width: 100%;
  margin: 0 auto;
  display: block;
}
.privilege-tabs-section .tab-content-swiper .card-article {
  max-width: 802px;
  width: 100%;
  margin: 0 auto;
  padding: 0 0 1.5rem;
  box-sizing: border-box;
}
@media (max-width: 802px) {
  .privilege-tabs-section .tab-content-swiper .card-article {
    max-width: 100%;
  }
}
.privilege-tabs-section .table-container {
  margin: 1.5rem 0;
}
.privilege-tabs-section .table-container .privileges-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.privilege-tabs-section .table-container .privileges-table .table-cell {
  padding: 2rem;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  vertical-align: top;
}
@media (max-width: 767.98px) {
  .privilege-tabs-section .table-container .privileges-table .table-cell {
    padding: 1.5rem;
    display: block;
    width: 100% !important;
  }
}
.privilege-tabs-section .table-container .privileges-table .table-cell h6 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}
.privilege-tabs-section .table-container .privileges-table .table-cell p {
  font-size: 0.95rem;
  color: var(--dark-color);
  margin: 0;
  line-height: 1.5;
}
.privilege-tabs-section .table-container .privileges-table .table-cell:first-child {
  border-left: none;
}
.privilege-tabs-section .table-container .privileges-table .table-cell:last-child {
  border-right: none;
}
.privilege-tabs-section .table-container .privileges-table tr:first-child .table-cell {
  border-top: none;
}
.privilege-tabs-section .table-container .privileges-table tr:last-child .table-cell {
  border-bottom: none;
}
@media (max-width: 767.98px) {
  .privilege-tabs-section .table-container .privileges-table tr, .privilege-tabs-section .table-container .privileges-table td {
    display: block;
    width: 100%;
  }
  .privilege-tabs-section .table-container .privileges-table .table-cell {
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid #e5e7eb;
  }
  .privilege-tabs-section .table-container .privileges-table .table-cell:last-child {
    border-bottom: none;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
[lang=en] .links-container__item--active::after {
  bottom: 6px;
}

.page-about .hero-banner__image {
  object-position: right center;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-container {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  max-width: 1280px;
  width: 90%;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  margin: 0 auto;
}
.popup-overlay.active .popup-container {
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #666;
  transition: color 0.2s ease, transform 0.2s ease;
  z-index: 1;
}
.popup-close:hover {
  color: #333;
  transform: rotate(90deg);
}
.popup-close:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
  border-radius: 4px;
}

.popup-content {
  padding: 32px 24px 24px;
}

.popup-title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin: 0 0 16px 0;
  padding-right: 32px;
}

.popup-body {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 24px;
}
.popup-body p {
  margin: 0 0 12px 0;
}
.popup-body p:last-child {
  margin-bottom: 0;
}

.popup-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.popup-btn {
  min-width: 128px;
  padding: 10px 24px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}
.popup-btn:active {
  transform: scale(0.98);
}
.popup-btn:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}
.popup-btn-primary {
  background-color: #007bff;
  color: #ffffff;
}
.popup-btn-primary:hover {
  background-color: #0056b3;
}
.popup-btn-secondary {
  background-color: #e9ecef;
  color: #333;
}
.popup-btn-secondary:hover {
  background-color: #dee2e6;
}

@media (max-width: 768px) {
  .popup-container {
    max-width: 95%;
  }
  .popup-content {
    padding: 24px 16px 16px;
  }
  .popup-title {
    font-size: 20px;
  }
  .popup-body {
    font-size: 14px;
  }
  .popup-actions {
    flex-direction: column;
  }
  .popup-actions .popup-btn {
    width: 100%;
  }
}
[lang=en] .popup-btn {
  min-width: 164px;
}