/* SmileTrip - Trang "Liên hệ chúng tôi" (Về chúng tôi) - khớp smiletrip.vn/about-us.htm */

@font-face {
  font-family: "SVN-Gilroy";
  src: url("/assets/fonts/SVN-GilroyLight.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SVN-Gilroy";
  src: url("/assets/fonts/SVN-Gilroy.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SVN-Gilroy";
  src: url("/assets/fonts/SVN-GilroyMedium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SVN-Gilroy";
  src: url("/assets/fonts/SVN-GilroyBold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SVN-Gilroy";
  src: url("/assets/fonts/SVN-GilroyHeavy.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

body.page-about {
  font-family: "SVN-Gilroy", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #eef3f8;
  color: #212529;
  line-height: 1.5;
}

.show-in-mobile { display: none !important; }

/* ---------- Hero ---------- */
.about-hero {
  position: relative;
  height: 28rem;
  background-image: url("https://file.smiletrip.vn/Images/banner/about-us.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.about-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(60, 62, 150, 0.6), rgba(60, 62, 150, 0.6));
  z-index: 1;
}
.about-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 3rem;
}
.about-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 1rem;
}
.about-hero .about-iata { height: 26px; width: auto; display: block; }
.about-hero-spacer { height: 2rem; }

/* ---------- Breadcrumb ---------- */
.about-breadcrumb {
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  color: #666666;
  font-weight: 500;
  margin: 1.5rem 0;
}
.about-breadcrumb a { color: #585353; text-decoration: none; font-weight: normal; }
.about-breadcrumb a:hover { text-decoration: underline; }
.about-breadcrumb .bc-sep { margin: 0 0.5em; color: #585353; }
.about-breadcrumb .bc-current { color: #585353; font-weight: bold; }

/* ---------- Core values ---------- */
.about-core { margin-top: 1rem; margin-bottom: 1rem; }
.about-card {
  background-color: #fff;
  border-radius: 0.375rem;
  padding: 2rem;
}
.about-values { display: flex; gap: 3rem; align-items: stretch; }
.about-values .column {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  text-align: left;
}
.about-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #f7941d;
  margin: 0 0 1.5rem;
}
.about-title.col-left { text-align: right; }
.about-title.mt-4 { margin-top: 1.5rem; }
.about-content {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #666666;
  text-align: right;
  margin: 0;
}
.value-list { list-style: none; padding: 0; margin: 0; }
.value-list li {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #666666;
  margin-bottom: 1.25rem;
  text-align: justify;
}
.value-list li strong { color: #f7941d; font-weight: 700; }

.center-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  padding: 0;
  min-width: 50px;
}
.plane-icon {
  width: 50px;
  height: 50px;
  margin: 0.5rem 0 1rem;
  position: relative;
  z-index: 2;
  color: #f7941d;
}
.plane-icon svg { width: 100%; height: 100%; display: block; fill: currentColor; }
.divider-line {
  width: 2px;
  flex: 1;
  position: relative;
  background-image: repeating-linear-gradient(to bottom, #f7941d, #f7941d 10px, transparent 10px, transparent 20px);
}
.divider-line::before,
.divider-line::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background-color: #f7941d;
  border-radius: 50%;
}
.divider-line::before { top: 0; }
.divider-line::after { bottom: 0; }

/* ---------- Timeline ---------- */
.about-timeline { margin-top: 1rem; margin-bottom: 1rem; text-align: center; }
.about-timeline .timeline-img { width: 100%; height: auto; display: block; object-fit: cover; }

/* ---------- Statistics ---------- */
.about-stats { margin-top: 1rem; margin-bottom: 1rem; }
.stats-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  background: #fff;
  border-radius: 6px;
  padding: 1rem;
}
.stats-box .stat-box { flex: 1; text-align: center; min-width: 0; }
.stat-number {
  font-weight: 700;
  font-size: 5rem;
  line-height: 1;
  color: #f7941d;
  text-align: center;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
  color: #666;
  text-align: center;
}

/* ---------- Branches ---------- */
.about-branch { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.branch-map {
  position: relative;
  background: #3a5fc8;
  overflow: hidden;
  min-height: 320px;
  border-radius: 0.375rem 0.375rem 0 0;
}
.branch-map .map-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}
.branch-map-text {
  position: absolute;
  left: 2.5rem;
  bottom: 2.5rem;
  z-index: 2;
  color: #fff;
}
.branch-map-text h2 { font-size: 2.5rem; font-weight: 700; line-height: 1.1; margin: 0; }
.branch-map-text h2 span { color: #f7941d; font-weight: 700; }
.branch-boxes {
  display: flex;
  gap: 2rem;
  background: #fff;
  padding: 2rem 2rem 2.5rem;
  border-radius: 0 0 0.375rem 0.375rem;
  justify-content: space-between;
  align-items: stretch;
}
.branch-box {
  background: #fff;
  overflow: hidden;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  text-align: left;
  padding: 1rem;
  gap: 1.5rem;
}
.branch-box > img {
  width: 120px;
  height: 210px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.branch-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1rem;
}
.branch-info h3 {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
  margin: 0 0 0.5rem;
  color: #3a5fc8;
}
.branch-info p {
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1;
  color: #666666;
  margin: 0 0 0.5rem;
}

/* ---------- Certificates ---------- */
.about-certificates { margin-top: 0; margin-bottom: 0; }
.cert-grid {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 6px;
  padding: 1.5rem;
}
.about-sec-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: #3563ed;
}
.about-sec-title span { color: #f7941d; font-weight: 700; }
.list-certificate {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem 1.5rem;
  justify-items: start;
  align-items: start;
}
.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
}
.cert-item img {
  width: 100%;
  object-fit: contain;
  margin-bottom: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  background: #f8f8f8;
}
.cert-item p {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
  color: #3563ed;
  margin: 0;
  word-break: break-word;
  white-space: pre-line;
}
.cert-item p.sub { font-weight: 500; }

/* ---------- Airline & payment partners ---------- */
.about-airlines { margin-top: 1.5rem; }
.about-payments { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.partner-panel {
  background: #fff;
  border-radius: 0.375rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  padding: 1.5rem;
}
.partner-panel .about-sec-title { font-size: 2.25rem; margin-bottom: 1rem; }
.airline-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  place-content: center;
  gap: 2rem 1.5rem;
  width: 100%;
  justify-items: center;
  align-items: center;
}
.airline-logo-grid::after { content: ""; display: block; grid-column: 1 / -1; height: 0; }
.airline-logo-grid img {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.2s;
}
.payment-logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem 1.5rem;
  width: 100%;
  padding: 1rem 0;
  justify-items: center;
  align-items: center;
}
.payment-logo-grid img {
  display: block;
  margin: 0 auto;
  max-width: 110px;
  height: 32px;
  object-fit: contain;
  transition: transform 0.2s;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .about-values { flex-direction: column; align-items: stretch; gap: 2rem; }
  .center-divider {
    flex-direction: row;
    width: 100%;
    padding: 1.5rem 0;
    min-width: auto;
    min-height: 60px;
    align-items: center;
  }
  .center-divider .plane-icon { margin: 0 1rem 0 0; width: 40px; height: 40px; }
  .center-divider .divider-line {
    width: 100%;
    height: 2px;
    flex: 1;
    background-image: repeating-linear-gradient(to right, #f7941d, #f7941d 10px, transparent 10px, transparent 20px);
  }
  .center-divider .divider-line::before,
  .center-divider .divider-line::after { top: 50%; left: auto; transform: translateY(-50%); }
  .center-divider .divider-line::before { left: 0; }
  .center-divider .divider-line::after { right: 0; left: auto; }
  .stats-box { align-items: flex-start; gap: 1.5rem; }
  .stats-box .stat-number { font-size: 64px; }
  .stats-box .stat-label { font-size: 18px; }
  .list-certificate { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.5rem 1rem; }
  .cert-item img { max-width: 110px; height: 120px; }
  .cert-grid .about-sec-title { font-size: 1.5rem; margin-bottom: 1.5rem; }
  .cert-item p { font-size: 16px; }
}

@media (max-width: 768px) {
  .about-breadcrumb { display: none !important; }
  .about-hero { height: 15rem; }
  .about-hero h1 { font-size: 2rem; margin-bottom: 0.5rem; }
  .about-hero-content { padding-bottom: 1.5rem; }
  .about-hero-spacer { height: 1rem; }
  .about-core { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .about-card { padding: 0 1rem; }
  .about-title { font-size: 1.5rem; margin-bottom: 1rem; }
  .about-content,
  .value-list li { font-size: 0.9rem; line-height: 1.6; }
  .value-list li { margin-bottom: 1rem; }
  .center-divider .plane-icon { width: 35px; height: 35px; }
  .branch-map { min-height: 150px; }
  .branch-map .map-image { height: 150px; }
}

@media (max-width: 767px) {
  .show-in-desktop { display: none !important; }
  .show-in-mobile { display: block !important; }
}

@media (max-width: 576px) {
  .about-title { font-size: 1.25rem; }
  .about-content,
  .value-list li { font-size: 0.85rem; }
  .value-list li { text-align: left; }
  .about-title.col-left { text-align: left; }
  .about-content { text-align: left; }
  .stats-box .stat-number { font-size: 1.5625rem; }
  .stats-box .stat-label { font-size: 0.75rem; }
  .branch-map-text { left: 0.5rem; bottom: 0.5rem; }
  .branch-map-text h2 { font-size: 1rem; line-height: 1.2; }
  .branch-boxes { flex-direction: column; gap: 1rem; padding: 1rem 0.5rem 1.5rem; }
  .list-certificate {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 0.75rem;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .list-certificate::-webkit-scrollbar { display: none; }
  .cert-item {
    min-width: 130px;
    max-width: 130px;
    flex: 0 0 130px;
    scroll-snap-align: start;
    text-align: center;
    padding: 0.75rem 0.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    background: #fff;
  }
  .cert-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
  }
  .cert-grid .about-sec-title { font-size: 1.25rem; margin-bottom: 1rem; text-align: left; }
  .cert-item p {
    font-size: 12px;
    text-align: center;
    line-height: 1.3;
    margin-bottom: 0.25rem;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
  }
  .about-sec-title,
  .partner-panel .about-sec-title { font-size: 1.25rem; margin-bottom: 1rem; }
  .airline-logo-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; padding: 0.5rem 0; }
  .airline-logo-grid img { width: 70%; max-width: none; height: auto; }
  .payment-logo-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem 1rem; padding: 0.5rem 0; }
  .payment-logo-grid img { width: 60%; max-width: none; height: auto; }
}
