@charset "UTF-8";
/* ============================================================
   Section 3 — Squeezy carousel (desktop: canvas / mobile: Swiper)
   Nguồn: section-3/style.css — toàn bộ scope trong .section-3
   ============================================================ */
.section-3 {
  /* Biến :root gốc → scope theo section */
  --ink: #000000;
  --subtle: #5e5c62;
  --line: #e4e4e4;
  --brand-orange: #fdb814;
  --bg: #ffffff;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
}
.section-3,
.section-3 *,
.section-3 *::before,
.section-3 *::after {
  box-sizing: border-box;
}
.section-3 .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.section-3 .squeezy-section__bg {
  transition: opacity 0.6s ease;
}
.section-3 .squeezy-section__bg.is-loading {
  opacity: 0.1;
}
.section-3.squeezy-section {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.section-3 {
  /* Ảnh nền mờ + nhạt trang trí phía sau toàn bộ section, giống đúng thiết kế.
   Thiết kế Figma có thêm 1 lớp gradient trắng phủ dần từ giữa xuống đáy để
   tới khu vực dots/controls thì nền đã "sạch" (trắng thuần) — nếu thiếu lớp
   này, dots màu #e4e4e4 opacity 0.5 (đúng số đo thiết kế) sẽ lẫn vào nền ảnh
   mờ phía sau và gần như biến mất. Dùng mask-image thay vì thêm div riêng vì
   chỉ cần fade đúng bản thân ảnh nền, không ảnh hưởng nội dung phía trên. */
}
.section-3 .squeezy-section__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  filter: blur(5px);
  opacity: 0.2;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 0%, black 65%, transparent 88%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 65%, transparent 88%);
}
.section-3 .squeezy-section__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 110px 20px 0;
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
}
.section-3 .squeezy-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}
.section-3 .squeezy-section__title {
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
}
.section-3 .squeezy-section__cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  text-decoration: none;
}
.section-3 .squeezy-section__cta img {
  width: 22px;
  height: 22px;
}
.section-3 {
  /* [data-carousel-mount] là flex item — cần min-width:0 để không bị nội dung
   bên trong (Swiper ở mobile) đẩy tràn khổ, giống lý do đã gặp ở section-2/5. */
}
.section-3 [data-carousel-mount] {
  min-width: 0;
}
.section-3 {
  /* ---------- Carousel (desktop: canvas / mobile: Swiper) ---------- */
}
.section-3 .squeezy-carousel-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 30px;
}
.section-3 .squeezy-carousel__canvas {
  display: block;
  width: 100%;
  aspect-ratio: 1100/480;
  cursor: default;
}
.section-3 {
  /* Overlay đặt trên góc thẻ active — badge logo trên cùng, nút "Xem dự án"
   dưới cùng. Định vị theo mép trái/trên của khung carousel vì thẻ active
   (cột 0) luôn dừng ở x=0 khi đã "settle" xong animation. */
  /* Mặc định (mobile): phủ toàn bộ chiều rộng wrap — Swiper tự căn slide active
   về đúng vị trí x=0 nên overlay tĩnh vẫn khớp. Desktop: JS ghi đè left/width
   mỗi frame theo x/width THẬT của thẻ canvas đang active (kể cả khi đang
   animate), để badge/nút luôn bám đúng thẻ, không đứng yên trong lúc thẻ cũ
   trượt ra khỏi khung — xem updateOverlayRect() trong app.js. */
}
.section-3 .squeezy-active-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.section-3 .squeezy-badge {
  position: absolute;
  top: 0;
  left: 20px;
  width: 126px;
  height: 56px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 0 0 20px 20px;
  pointer-events: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.section-3 .squeezy-badge img {
  display: block;
  height: 56px;
  width: auto;
}
.section-3 {
  /* Mặc định (mobile + tablet, không có hover thật): luôn hiện đầy đủ cụm
   status + divider + CTA. Desktop >=1025 (có hover chuột thật) sẽ ẩn mặc
   định và chỉ hiện khi hover — xem media query bên dưới. */
}
.section-3 .squeezy-view-btn {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  text-decoration: none;
  pointer-events: none;
  opacity: 1;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: opacity 0.2s ease;
}
.section-3 .squeezy-view-btn__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-left: 2px;
  font-size: 14px;
  white-space: nowrap;
}
.section-3 .squeezy-view-btn__divider {
  display: block;
  width: 1px;
  height: 20px;
  background: var(--line);
}
.section-3 .squeezy-view-btn__cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  /* SVG này vốn đã là icon mũi tên phải (fill trắng sẵn), không phải chevron
  cần xoay như nav-arrow — không rotate/invert gì cả. */
}
.section-3 .squeezy-view-btn__cta img {
  width: 17px;
  height: 17px;
}
.section-3 .squeezy-active-info {
  margin-bottom: 20px;
}
.section-3 .squeezy-active-info p[data-active-desc] {
  transition: opacity 0.4s ease-in-out;
  opacity: 1;
}
.section-3 .squeezy-active-info p[data-active-desc].fade {
  opacity: 0;
}
.section-3 {
  /* Desktop lớn: có hover chuột thật — ẩn mặc định, hiện đủ cụm status+divider+CTA
   khi hover vào vùng carousel (không riêng gì nút CTA như trước). */
}
@media (min-width: 1025px) {
  .section-3 .squeezy-view-btn {
    opacity: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border: 1px solid rgba(255, 255, 255, 0.6);
  }
  .section-3 .squeezy-active-overlay:hover .squeezy-view-btn {
    opacity: 1 !important;
  }
  .section-3 .squeezy-view-btn__cta.is-hover {
    color: var(--color-brand-dark-orange, #f47920);
  }
  .section-3 .squeezy-view-btn__cta.is-hover img {
    filter: brightness(0) saturate(100%) invert(52%) sepia(89%) saturate(1526%) hue-rotate(347deg) brightness(101%) contrast(96%);
  }
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .section-3 .squeezy-active-overlay .squeezy-view-btn {
    opacity: 1 !important;
  }
}
.section-3 .squeezy-active-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.section-3 .squeezy-active-info h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}
.section-3 .squeezy-active-info p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  min-height: 110px;
}
.section-3 {
  /* ---------- Prev / dots / next — dùng chung cho cả desktop lẫn mobile ---------- */
}
.section-3 .squeezy-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.section-3 .squeezy-nav-btn {
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 5px rgba(188, 188, 188, 0.5);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.section-3 .squeezy-nav-btn:hover {
  background: #ffffff;
}
.section-3 .squeezy-nav-btn[data-action=next] img {
  transform: rotate(-90deg);
}
.section-3 .squeezy-nav-btn[data-action=prev] img {
  transform: rotate(90deg);
}
.section-3 .squeezy-dots {
  display: flex;
  align-items: center;
  gap: 4px;
}
.section-3 .squeezy-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--line);
  opacity: 0.5;
  cursor: pointer;
}
.section-3 .squeezy-dot.is-active {
  background: var(--brand-orange);
  opacity: 1;
}
.section-3 {
  /* ---------- Mobile: Swiper ---------- */
}
.section-3 .squeezy-mobile-swiper {
  width: 100%;
}
.section-3 .squeezy-mobile-swiper .swiper-wrapper {
  align-items: center;
}
.section-3 .squeezy-mobile-swiper .swiper-slide {
  position: relative;
  width: 95%;
  height: 205px;
  border-radius: 20px;
  overflow: hidden;
}
.section-3 .squeezy-mobile-swiper {
  /* Badge/nút được dựng TRONG từng slide (app.js) thay vì dùng chung 1 overlay
  tĩnh — để chúng luôn "dính" đúng theo ảnh khi kéo/vuốt Swiper, không bị
  đứng yên tách rời khỏi thẻ đang kéo dở. Badge dùng lại nguyên class
  .squeezy-badge/.squeezy-view-btn, chỉ định vị theo slide thay vì theo wrap. */
}
.section-3 .squeezy-mobile-swiper .squeezy-badge,
.section-3 .squeezy-mobile-swiper .squeezy-view-btn {
  z-index: 2;
}
.section-3 .squeezy-mobile-swiper {
  /* Chỉ nhắm ảnh dự án (con trực tiếp của slide) — dùng ">" để KHÔNG áp lên
  ảnh logo badge / status-dot / arrow lồng bên trong .squeezy-badge và
  .squeezy-view-btn (cũng là img nhưng nằm sâu hơn), nếu không chúng sẽ bị
  kéo giãn thành 100% kích thước slide, vỡ layout hoàn toàn. */
}
.section-3 .squeezy-mobile-swiper .swiper-slide > img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
@media (max-width: 767px) {
  .section-3 {
    /* Mobile dùng badge/nút dính riêng theo từng slide (xem renderMobile() trong
    app.js) thay vì overlay dùng chung của canvas desktop — ẩn overlay chung
    đi để không bị 2 badge chồng lên nhau. */
  }
  .section-3 .squeezy-active-overlay {
    display: none;
  }
  .section-3 .squeezy-section__inner {
    padding: 60px 20px 0;
  }
  .section-3 .squeezy-section__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .section-3 .squeezy-section__title {
    font-size: 28px;
  }
  .section-3 .squeezy-badge {
    border-radius: 0 0 15px 15px;
    width: 101px;
    height: 40px;
  }
  .section-3 .squeezy-badge img {
    height: 40px;
    width: 60px;
  }
  .section-3.squeezy-section {
    padding-bottom: 60px;
  }
  .section-3 .squeezy-carousel-wrap,
  .section-3 .squeezy-section__header {
    margin-bottom: 20px;
  }
  .section-3 .squeezy-view-btn__status {
    line-height: 120%;
    font-weight: 400;
  }
  .section-3 .squeezy-view-btn__cta {
    line-height: 120%;
  }
  .section-3 .squeezy-view-btn {
    padding: 9px;
    left: 10px;
    bottom: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .section-3 .squeezy-view-btn,
  .section-3 .squeezy-nav-btn img {
    transition: none;
  }
}/*# sourceMappingURL=section-3.css.map */