/* =========================================================
  SIGNATURE-1 PAGE CSS (chỉ dùng cho trang con)
  - Không phá index vì index không import file này
========================================================= */

/* Nếu bạn muốn nút Signature mobile nổi bật */
.mobile-cta-signature{
  background: #ffffff;
  color: #c4161c;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  display: inline-flex;
  width: fit-content;
}

/* =========================
  SECTION BASE
========================= */
.page-section{
  padding: 64px 24px;
  background: #ffffff;
}
.page-section-gray{
  background: #f7f7f7;
}
.page-inner{
  max-width: 1200px;
  margin: 0 auto;
}
.section-head{
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.section-title{
  font-size: 28px;
  font-weight: 800;
  color: #001e62;
}
.section-subtitle{
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  max-width: 760px;
}

/* =========================
  1) INTRO
========================= */
.intro-grid{
  display: grid;
 
  gap: 24px;
  align-items: start;
}
.intro-box{
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.10);
  padding: 20px;
}
.intro-text{
  font-size: 18px;
  color: #333;
  line-height: 1.75;
}
.intro-list{
  margin-top: 14px;
  display: grid;
  gap: 10px;
  list-style: none;
  padding-left: 0;
}
.intro-list li{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 18px;
  color: #555;
  line-height: 1.6;
}
.intro-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #c4161c;
  margin-top: 7px;
  flex: 0 0 10px;
}

.intro-meta{
  display: grid;
  gap: 12px;
}
.meta-item{
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.10);
  padding: 16px 18px;
}
.meta-label{
  font-size: 12px;
  font-weight: 800;
  color: #c4161c;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.meta-value{
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  font-weight: 700;
}

/* =========================
  2) GALLERY GRID
========================= */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.gallery-item{
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  background: #f2f2f2;
  aspect-ratio: 16 / 10;
  position: relative;
}
.gallery-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform .25s ease;
}
.gallery-item:hover img{
  transform: scale(1.04);
}

/* =========================
  LIGHTBOX
========================= */
#lb[hidden]{ display:none !important; }

.lb-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== FIX: Lightbox hiển thị đủ 100% ảnh, không bị mất phần dưới ===== */
.lb-stage{
  width: min(1100px, 94vw);
  max-height: 88vh;              /* tổng chiều cao khung (ảnh + caption) */
  display: flex;                  /* chuyển sang flex để quản lý chiều cao dễ */
  flex-direction: column;
  gap: 10px;
}

.lb-stage img{
  width: 100%;
  height: auto;                   /* giữ đúng tỉ lệ ảnh */
  max-height: calc(88vh - 60px);  /* trừ chỗ caption + gap (đỡ bị cắt đáy) */
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
}

.lb-caption{
  color: #fff;
  font-size: 14px;
  opacity: 0.92;
  text-align: center;
  padding: 6px 8px;
  line-height: 1.4;
  max-height: 52px;               /* giới hạn caption để không đẩy ảnh */
  overflow: hidden;
}

.lb-close{
  position: fixed;
  top: 14px;
  right: 18px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 34px;
  cursor: pointer;
}

.lb-nav{
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.22);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lb-prev{ left: 14px; }
.lb-next{ right: 14px; }

/* =========================
  3) REVIEWS SLIDER (Carousel)
========================= */
.reviews-slider{
  position: relative;
  margin-top: 18px;
}

.reviews-head{
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 12px;
}

.rv-btn{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: #c4161c;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
  transition: transform .15s ease, opacity .15s ease;
}
.rv-btn:hover{ transform: translateY(-2px); }
.rv-btn:disabled{ opacity: .45; cursor: not-allowed; transform: none; }

/* Track kéo ngang */
.reviews-track{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 3); /* 3 card desktop */
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 6px;
}

.reviews-track::-webkit-scrollbar{ height: 8px; }
.reviews-track::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,0.18);
  border-radius: 999px;
}
.reviews-track::-webkit-scrollbar-track{
  background: rgba(0,0,0,0.06);
}

.reviews-track .review-card{
  scroll-snap-align: start;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.10);
  padding: 18px;
  display: grid;
  gap: 12px;
}

.review-top{
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #001e62;
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
}

.review-name{
  font-weight: 800;
  color: #001e62;
  font-size: 16px;
  line-height: 1.2;
}
.review-org{
  font-size: 14px;
  color: #555;
  margin-top: 3px;
  font-weight: 600;
}
.review-stars{
  color: #c4161c;
  font-size: 14px;
  letter-spacing: 1px;
}
.review-text{
  font-size: 16px;
  color: #333;
  line-height: 1.7;
}

/* =========================
  RESPONSIVE
========================= */
@media (max-width: 1024px){
  .intro-grid{ grid-template-columns: 1fr; }
  .gallery-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews-track{ grid-auto-columns: calc((100% - 18px) / 2); } /* 2 card */
}

@media (max-width: 768px){
  .page-section{ padding: 44px 16px; }
  .section-title{ font-size: 22px; }
  .gallery-grid{ grid-template-columns: 1fr; }
  .reviews-track{ grid-auto-columns: 100%; } /* 1 card */
  .lb-nav{ width: 40px; height: 40px; }
}
/* =========================
  SECTION 4: REQUEST FORM
========================= */
.req-form{
  margin-top: 18px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.10);
  padding: 20px;
}

.req-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 14px;
}

.req-field{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.req-field-full{
  grid-column: 1 / -1;
}

.req-field label{
  font-size: 16px;
  font-weight: 800;
  color: #001e62;
}

.req-field input,
.req-field select,
.req-field textarea{
  width: 100%;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 12px;
  padding: 12px 12px;
  font-size: 14px;
  outline: none;
  color: #222;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.req-field textarea{
  resize: vertical;
  min-height: 120px;
}

.req-field input:focus,
.req-field select:focus,
.req-field textarea:focus{
  border-color: rgba(196, 22, 28, 0.55);
  box-shadow: 0 0 0 4px rgba(196, 22, 28, 0.12);
}

.req-actions{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.req-submit{
  border: none;
  background: #c4161c;
  color: #fff;
  font-weight: 900;
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0,0,0,0.18);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.req-submit:hover{
  background: #001e62;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
}

.req-note{
  font-size: 12px;
  color: #555;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px){
  .req-form{ padding: 16px; }
  .req-grid{ grid-template-columns: 1fr; }
  .req-actions{ justify-content: flex-start; }
  .req-submit{ width: min(360px, 100%); }
}

