/* ============================================================
   FONT FACE — LATO (local)
   ============================================================ */
@font-face { font-family: 'Lato'; src: url('Font/Font Lato/Lato Thin.ttf') format('truetype'); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('Font/Font Lato/Lato ThinItalic.ttf') format('truetype'); font-weight: 100; font-style: italic; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('Font/Font Lato/Lato Hairline.ttf') format('truetype'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('Font/Font Lato/Lato Light.ttf') format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('Font/Font Lato/Lato LightItalic.ttf') format('truetype'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('Font/Font Lato/Lato Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('Font/Font Lato/Lato Italic.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('Font/Font Lato/Lato Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('Font/Font Lato/Lato MediumItalic.ttf') format('truetype'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('Font/Font Lato/Lato Semibold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('Font/Font Lato/Lato SemiboldItalic.ttf') format('truetype'); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('Font/Font Lato/Lato Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('Font/Font Lato/Lato BoldItalic.ttf') format('truetype'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('Font/Font Lato/Lato Heavy.ttf') format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('Font/Font Lato/Lato HeavyItalic.ttf') format('truetype'); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('Font/Font Lato/Lato Black.ttf') format('truetype'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('Font/Font Lato/Lato BlackItalic.ttf') format('truetype'); font-weight: 900; font-style: italic; font-display: swap; }

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: #242424;
  background: #fff;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
a { text-decoration: none; color: inherit; }

/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  --orange: #fca41c;
  --orange-light: #faa51f;
  --orange-dark: #ff6200;
  --orange-pale: #fdeec5;
  --text-dark: #242424;
  --text-gray: #4f4f4f;
  --text-light: #828282;
  --bg-gray: #f5f5f5;
  --max-w: 1280px;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--orange-light);
  position: relative;
  z-index: 200;
}

.top-bar-inner {
  width: 100%;
  padding: 8px clamp(20px, 12vw, 200px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-contacts {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cta-hotline, .cta-email {
  background: #fff;
  border: 1px solid #fff;
  border-radius: 9999px;
  padding: 4px 8px 4px 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 32px;
}

.phone-icon-wrap {
  background: var(--orange-dark);
  border-radius: 12px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.phone-icon-img { width: 16px; height: 16px; object-fit: contain; }

.hotline-number {
  font-weight: 900;
  font-size: 12px;
  color: var(--orange-dark);
  white-space: nowrap;
}

.email-icon-wrap {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.email-icon-img { width: 24px; height: 24px; object-fit: contain; }

.email-text {
  font-weight: 900;
  font-size: 12px;
  color: var(--orange-dark);
  white-space: nowrap;
}

.top-bar-promo {
  height: 29px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  min-width: 342px;
}

.promo-slides {
  position: relative;
  width: 342px;
  text-align: right;
  height: 29px;
}

.promo-slide {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 400;
  font-size: 13px;
  color: #fff;
  white-space: nowrap;
  letter-spacing: -0.09px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.promo-slide.active { opacity: 1; }

/* ============================================================
   MENU / NAVIGATION
   ============================================================ */
.menu {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow 0.3s;
}

.menu.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.menu-inner {
  width: 100%;
  padding: 8px clamp(20px, 12vw, 200px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-btn { cursor: pointer; }

.logo-img { width: 89.72px; height: 48px; object-fit: contain; }

.menu-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-link {
  font-weight: 800;
  font-size: 16px;
  color: var(--text-gray);
  white-space: nowrap;
  transition: color 0.2s;
  padding: 4px 0;
  position: relative;
}

.menu-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.2s;
}

.menu-link:hover { color: var(--orange); }
.menu-link:hover::after { width: 100%; }

/* Hamburger — ẩn trên desktop */
.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-gray);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 998;
}

.mobile-overlay.visible { display: block; }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 280px;
  height: 100%;
  background: #fff;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
}

.mobile-drawer.open { transform: translateX(0); }

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-drawer-logo { height: 40px; object-fit: contain; }

.mobile-close-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-gray);
  font-size: 14px;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  flex: 1;
}

.mobile-nav-link {
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-gray);
  text-align: left;
  border-bottom: 1px solid #f5f5f5;
  transition: background 0.2s, color 0.2s;
}

.mobile-nav-link:hover { background: #fdf6e3; color: var(--orange); }

.mobile-nav-cta {
  margin: 16px 24px 0;
  background: var(--orange);
  color: #fff;
  border-radius: 999px;
  text-align: center;
  border: none;
  padding: 14px 24px;
  font-weight: 700;
  font-size: 16px;
}

.mobile-nav-cta:hover { background: #f59600; color: #fff; }

.mobile-drawer-contacts {
  padding: 16px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid #f0f0f0;
}

.mobile-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-gray);
  font-weight: 500;
}

.mobile-contact-icon { font-size: 18px; }

/* ============================================================
   BANNER / HERO SECTION
   ============================================================ */
.banner-section {
  position: relative;
  width: 100%;
  aspect-ratio: 1280 / 600;
  overflow: hidden;
  background: #d4eaf8;
}

/* Canvas full chiều ngang, cao theo section */
.banner-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* 1. Sky — full màn */
.b-sky {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  animation: fadeIn 0.8s ease forwards;
}

/* 2. City — full màn, đè lên sky */
.b-city {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 2;
  animation: fadeIn 0.8s ease 0.3s both;
}

/* 3. Road — full màn, bám đáy */
.b-road {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center bottom;
  z-index: 3;
  animation: fadeIn 0.8s ease 0.6s both;
}

/* 4. Car — tọa độ % theo 1280x600 — xuất hiện TRƯỚC */
.b-car {
  position: absolute;
  left: -2%;   /* 569/1280 */
  top: 0%;       /* 222/600  */
  width: 100%;  /* 652/1280 */
  height: 100%;    /* 378/600  */
  object-fit: contain;
  z-index: 5;
  animation: driveIn 0.9s ease 1s both;
}

/* 5. Shield — tọa độ % theo 1280x600 — xuất hiện SAU */
.b-shield {
  position: absolute;
  left: 5%;   /* 590/1280 */
  top: 5%;      /* 51/600   */
  width: 90%;  /* 648/1280 */
  height: 90%;  /* 549/600  */
  object-fit: contain;
  z-index: 4;
  animation: fadeInUp 0.9s ease 1.5s both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes driveIn {
  from { opacity: 0; transform: translateX(-60px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* BANNER FORM */
.banner-form-wrap {
  position: absolute;
  z-index: 10;
  top: 124px;
  left: 0;
  right: 0;
  padding: 8px clamp(20px, 12vw, 200px);
  animation: fadeInUp 1s ease 0.3s both;
}

.banner-heading {
  margin-bottom: 20px;
}

.banner-subtitle {
  font-weight: 900;
  font-size: 28px;
  color: #828282;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 4px;
  text-shadow: 0 0 20px rgba(255,255,255,0.9);
}

.banner-title {
  font-weight: 900;
  font-size: 36px;
  color: var(--orange-light);
  text-transform: uppercase;
  line-height: 1.1;
  text-shadow: 0 0 20px rgba(255,255,255,0.9);
}

.form-card {
  background: linear-gradient(to bottom, rgba(253,238,197,0.8), rgba(250,165,31,0.64));
  backdrop-filter: blur(2px);
  border-radius: 24px;
  padding: 24px 32px;
  width: 564px;
  box-shadow: inset 0 4px 4px rgba(253,238,197,1), 4px 4px 10px rgba(0,0,0,0.1);
  position: relative;
  overflow: visible;
}

/* clip chỉ ảnh nền, không clip dropdown */
.form-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/icons/frame9-bg.png');
  background-size: 145% auto;
  background-position: -33% -39%;
  opacity: 0.15;
  z-index: 0;
  border-radius: 24px;
  pointer-events: none;
  overflow: hidden;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.form-col { position: relative; align-self: start; }

.form-input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--orange-light);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 16px;
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  color: var(--text-light);
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(250,165,31,0.15);
}

.form-input.error {
  border-color: #e53935;
  box-shadow: 0 0 0 3px rgba(229,57,53,0.1);
}

.form-input::placeholder { color: var(--text-light); }

/* Nhãn placeholder kèm dấu * bắt buộc (màu đỏ), ẩn khi nhập */
.field-ph {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--text-light);
  pointer-events: none;
  transition: opacity 0.15s;
}
.field-ph b { color: #e53935; font-weight: 700; }
.form-input:focus + .field-ph,
.form-input:not(:placeholder-shown) + .field-ph { opacity: 0; }

/* DROPDOWN */
.form-dropdown {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--orange-light);
  border-radius: 20px;
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--text-light);
  background: #fff;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  user-select: none;
  overflow: hidden;
  transition: border-color 0.2s;
}

.dropdown-head {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
}

.form-dropdown:hover { border-color: var(--orange); }
.form-dropdown.open { border-color: var(--orange); }

.dropdown-label { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.dropdown-arrow {
  width: 12px;
  height: 8px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.25s;
}

.form-dropdown.open .dropdown-arrow { transform: rotate(180deg); }

.dropdown-menu {
  display: none;
  background: #fff;
  border-top: 1px solid var(--orange-light);
}

.form-dropdown.open .dropdown-menu { display: block; }

.dropdown-item {
  padding: 10px 16px;
  font-size: 16px;
  color: var(--text-dark);
  transition: background 0.15s;
  cursor: pointer;
}

.dropdown-item:hover { background: var(--orange-pale); }
.dropdown-item.selected { color: var(--orange); font-weight: 700; }

/* SUBMIT BUTTON */
.btn-baogiamienphi {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 50%;
  margin: 0 auto;
  height: 40px;
  background: var(--orange-pale);
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  color: var(--orange);
  box-shadow: inset 0 4px 4px #f5f5f5;
  position: relative;
  z-index: 1;
  transition: background 0.2s, transform 0.15s;
}

.btn-baogiamienphi:hover {
  background: #fde8a0;
  transform: translateY(-1px);
}

.btn-baogiamienphi:active { transform: translateY(0); }

.btn-arrow { width: 20px; height: 16px; object-fit: contain; transform: scaleX(-1); }

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section-title {
  font-weight: 900;
  font-size: 36px;
  color: var(--text-gray);
  text-transform: uppercase;
  text-align: center;
  line-height: 1.1;
}

.text-orange { color: var(--orange-light); }

.section-subtitle {
  font-weight: 500;
  font-size: 20px;
  color: var(--text-gray);
  text-align: center;
  line-height: 1.1;
}

/* ============================================================
   FRAME 308 — VÌ SAO NÊN CHỌN BSH
   ============================================================ */
.f308-section {
  position: relative;
  width: 100%;
  aspect-ratio: 1280 / 570;
  overflow: hidden;
}

.f308-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
}

.f308-wave {
  position: absolute;
  bottom: -4px;
  left: -8px;
  right: -8px;
  z-index: 2;
  pointer-events: none;
}

.f308-wave img { width: 100%; display: block; }

/* 4 pills bên phải */
.f308-pills {
  position: absolute;
  right: 12.19%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 3;
}

/* Pill = 1 khối bo tròn 2 đầu hoàn toàn */
.f308-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;   /* chữ trái, icon sát phải */
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(to right, rgba(250,165,31,0.85), rgba(255,98,0,0.85));
  box-shadow: inset 0 2px 4px rgba(253,238,197,0.4), 0 2px 8px rgba(0,0,0,0.12);
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.f308-pill.visible {
  opacity: 1;
  transform: translateX(0);
}

.f308-pill:nth-child(1) { transition-delay: 0.1s; }
.f308-pill:nth-child(2) { transition-delay: 0.2s; }
.f308-pill:nth-child(3) { transition-delay: 0.3s; }
.f308-pill:nth-child(4) { transition-delay: 0.4s; }

.f308-pill-text {
  color: #fff;
  font-size: 40px;
  font-weight: 400;
  white-space: nowrap;
  padding: 26px 20px 26px 28px;
  min-width: 300px;
  background: transparent;
}

.f308-pill-text strong { font-weight: 900; }

/* Icon tròn nhỏ bên phải, nằm trong pill */
.f308-pill-icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  margin: 0 14px 0 0;        /* canh giữa theo chiều dọc, sát bên phải */
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.f308-ellipse { display: none; }

.f308-icon-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* ============================================================
   WHY TITLE SECTION
   ============================================================ */
.why-title-section {
  padding: 24px clamp(20px, 12vw, 200px) 16px;
  text-align: center;
}

/* ============================================================
   WHO / STATS SECTION
   ============================================================ */
.who-section { /* padding ngang dong bo voi cac section khac */
  position: relative;
  background: linear-gradient(to top, var(--orange-light) 28%, #fff 44%);
  padding: 24px clamp(20px, 12vw, 200px) 140px;
  overflow: hidden;
}

.who-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.who-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.who-bg-wave {
  position: absolute;
  bottom: -5px;
  left: -8px;
  right: -8px;
}

.wave-img { width: 100%; }

.who-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 1;
}

.who-stats {
  flex: 0 0 524px;
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.who-stats.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Card bọc nội dung — rounded, inset shadow, nền trong suốt */
.who-card {
  border-radius: 16px;
  padding: 32px;
  box-shadow: inset 4px 4px 8px rgba(0,0,0,0.1);
  background: rgba(255,255,255,0.15);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.stats-heading {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--orange-light);
}

.stats-number {
  font-weight: 900;
  font-size: 54px;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.stats-label {
  font-weight: 900;
  font-size: 28px;
  line-height: 1.2;
  text-transform: uppercase;
}

.stats-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stats-feature {
  display: flex;
  align-items: center;
  gap: 16px;
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--orange-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: inset 0 4px 4px rgba(250,165,31,0.2);
}

.feature-text {
  font-weight: 800;
  font-size: 24px;
  color: var(--text-dark);
  white-space: nowrap;
}

/* WHO IMAGE */
.who-image-wrap {
  flex: 0 0 488px;
  position: relative;
  margin-left: auto;
}

.who-image {
  position: relative;
  width: 488px;
  height: 326px;
  border-radius: 16px;
  overflow: hidden;
}

.who-img {
  width: 141%;
  height: 140%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  position: relative;
  left: -7.79%;
  top: -21.78%;
}

/* Feature circles - horizontal row below image */
.who-features-circles {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 0;
  margin-top: 16px;
  position: relative;
  height: 80px;
}

.feature-circle {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  position: relative;
}

.feature-circle.visible { opacity: 1; transform: translateY(0); }
.feature-circle:nth-child(1) { transition-delay: 0.4s; }
.feature-circle:nth-child(2) { transition-delay: 0.3s; }
.feature-circle:nth-child(3) { transition-delay: 0.2s; }
.feature-circle:nth-child(4) { transition-delay: 0.1s; }

.circle-label {
  font-size: 13px;
  color: #fff;
  white-space: nowrap;
  font-weight: 400;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  background: linear-gradient(to right, rgba(250,165,31,0.8), rgba(255,98,0,0.8));
  padding: 0 12px 0 20px;
  border-radius: 999px 0 0 999px;
  height: 80px;
  display: flex;
  align-items: center;
  max-width: 0;
  overflow: hidden;
  transition: max-width 0.35s ease, padding 0.35s ease;
  box-shadow: inset 0 2px 4px rgba(253,238,197,0.5);
  padding-left: 0;
  padding-right: 0;
}

.feature-circle:hover .circle-label {
  max-width: 240px;
  padding-left: 20px;
  padding-right: 12px;
}

.circle-icon-bg {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  background: linear-gradient(to right, rgba(250,165,31,0.8), rgba(255,98,0,0.8));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 4px rgba(253,238,197,0.8);
  cursor: pointer;
  transition: transform 0.2s;
  z-index: 1;
}

.circle-icon-bg:hover { transform: scale(1.05); }

.circle-bg-img {
  position: absolute;
  inset: -3.13% -9.38%;
  width: 120%;
  height: 120%;
  object-fit: contain;
  opacity: 0.25;
}

.circle-icon {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/* ============================================================
   BENEFITS TITLE SECTION
   ============================================================ */
.benefits-title-section {
  padding: 32px clamp(20px, 12vw, 200px) 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* ============================================================
   BENEFITS CARDS
   ============================================================ */
.benefits-cards-section {
  padding: 0 clamp(20px, 12vw, 200px) 32px;
  display: flex;
  justify-content: center;
}

.benefits-cards {
  display: flex;
  gap: 16px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
}

.benefit-card {
  flex: 0 0 320px;
  height: 99px;
  padding: 16px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(3deg,
    rgb(250,165,31) 0.3%,
    rgba(248,205,139,0) 29%,
    rgba(249,189,95,0.41) 57.8%,
    rgba(248,205,139,0) 101.6%
  );
  box-shadow: inset 4px 4px 4px rgba(253,238,197,1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: inset 4px 4px 4px rgba(253,238,197,1), 0 8px 20px rgba(250,165,31,0.25);
}

.benefit-card--wide {
  flex: 0 0 400px;
  height: 124px;
}

.benefit-card-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
}

.benefit-icon-wrap {
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.benefit-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.benefit-name {
  font-weight: 600;
  font-size: 20px;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.benefit-amount {
  font-weight: 900;
  font-size: 20px;
  color: var(--orange);
  letter-spacing: -0.1px;
  line-height: 1.1;
  background: linear-gradient(172deg, rgba(255,255,255,0.2) 40%, rgba(255,168,0,0.2) 78%);
  border-radius: 12px;
  padding: 12px;
}

/* ============================================================
   CTA SECTIONS
   ============================================================ */
.cta-section { /* padding ngang dong bo voi cac section khac */
  position: relative;
  height: 520px;
  overflow: hidden;
  padding: 32px clamp(20px, 12vw, 200px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cta-bg-img--right {
  width: 85%;
  height: 120%;
  left: 14.53%;
  top: -14.83%;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #fff 25%, rgba(254,254,254,0.2) 72%);
}

.cta-overlay--2 {
  background: linear-gradient(to right, #fff 26%, rgba(255,255,255,0.76) 50%, rgba(254,254,254,0.2) 72%);
}

.cta-content {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 10px white);
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
}

/* CTA Section 1: hiển thị trọn ảnh nền (không cắt), section cao theo ảnh */
@media (min-width: 769px) {
  #ctaSection1 { height: auto; min-height: 0; padding: 0; display: block; }
  #ctaSection1 .cta-bg { position: relative; }   /* nằm trong luồng -> quy định chiều cao */
  #ctaSection1 .cta-bg-img {
    position: static;
    width: 100%;
    height: 100%;       /* giữ tỉ lệ thật của ảnh -> không bị cắt */
    object-fit: initial;
  }
  #ctaSection1 .cta-content {
    position: absolute;
    top: 50%;
    left: clamp(20px, 12vw, 200px);
    right: clamp(20px, 12vw, 200px);
    transform: translateY(-50%);
    z-index: 2;
    max-width: 800px;
  }
}

.cta-title {
  font-weight: 900;
  font-size: 35px;
  color: var(--text-gray);
  text-transform: uppercase;
  line-height: 1.2;
}

.cta-desc {
  font-weight: 500;
  font-size: 18px;
  color: var(--text-gray);
  line-height: 1.1;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 47px;
  width: fit-content;
  padding: 8px 24px;
  background: var(--orange);
  border-radius: 999px;
  font-weight: 700;
  font-size: 24px;
  color: #fff;
  box-shadow: inset 0 4px 4px rgba(253,238,197,0.8);
  transition: background 0.2s, transform 0.15s;
  text-transform: uppercase;
  white-space: nowrap;
}

.btn-primary:hover {
  background: #f59600;
  transform: translateY(-2px);
}

.btn-primary:active { transform: translateY(0); }

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section {
  background: var(--bg-gray);
  padding: 48px clamp(20px, 12vw, 200px);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.faq-body {
  display: flex;
  gap: 48px;
  align-items: stretch;
}

.faq-image-wrap {
  flex: 0 0 40%;
  height: auto;
  aspect-ratio: 422 / 280;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(162deg, rgba(253,238,197,0) 2%, rgba(249,166,27,0.2) 95%);
}

.faq-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  left: 0;
  top: 0;
}

.faq-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 25px;
}

.faq-item {
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  text-align: left;
}

.faq-icon-wrap {
  background: var(--orange);
  border-radius: 8px;
  width: 51px;
  height: 51px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 4px 4px rgba(253,238,197,0.8);
  transition: background 0.25s;
}

.faq-item.open .faq-icon-wrap {
  background: #e84118;
  box-shadow: inset 0 4px 4px rgba(255,100,0,0.3);
}

.faq-item.open .faq-question-text {
  background: #e84118;
}

.faq-sign {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  transition: none;
  user-select: none;
}

.faq-question-text {
  flex: 1;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 8px 999px 999px 8px;
  box-shadow: inset 0 4px 4px rgba(253,238,197,0.8);
  display: block;
  text-align: left;
  transition: background 0.2s;
}

.faq-item:not(.open):hover .faq-question-text { background: #f59600; }

.faq-answer {
  display: none;
  background: #fff;
  padding: 16px 16px 16px 67px;
  border-radius: 0 0 8px 8px;
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.6;
  border-left: 3px solid var(--orange);
  border-right: 1px solid rgba(250,165,31,0.2);
  border-bottom: 1px solid rgba(250,165,31,0.2);
}

.faq-item.open .faq-answer { display: block; animation: slideDown 0.3s ease; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-gray);
  padding: 64px clamp(20px, 12vw, 200px);
  overflow: hidden;
}

.footer-inner {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-left {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

.footer-logo-img {
  height: 57px;
  object-fit: contain;
  width: 148px;
}

.footer-logo-text {
  height: 17px;
  object-fit: contain;
  width: 146px;
  margin-top: 4px;
}

.footer-info {
  width: 600px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-company-name {
  font-weight: 900;
  font-size: 16px;
  color: #000;
  text-transform: uppercase;
  line-height: 1.3;
}

.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.footer-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-address p {
  font-size: 14px;
  color: #808184;
  line-height: 1.5;
  width: 460px;
}

.footer-address strong, .footer-contacts-row strong {
  font-weight: 900;
  color: #808184;
}

.footer-contacts-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: #808184;
  white-space: nowrap;
  white-space: nowrap;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 240px;
}

.footer-social-title {
  font-weight: 900;
  font-size: 16px;
  color: #000;
  text-transform: uppercase;
  text-align: center;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-icon-link {
  display: block;
  transition: transform 0.2s;
}

.social-icon-link:hover { transform: scale(1.1); }

.social-icon {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
}

/* ============================================================
   SCROLL TO TOP BUTTON
   ============================================================ */
.scroll-top-btn {
  position: fixed;
  bottom: 32px;
  right: 48px;
  width: 48px;
  height: 48px;
  background: var(--orange);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 2px rgba(0,0,0,0.25);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.2s;
}

.scroll-top-btn.visible { opacity: 1; pointer-events: auto; }
.scroll-top-btn:hover { transform: translateY(-3px); }

.scroll-top-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  transform: rotate(180deg);
}

/* ============================================================
   POPUP
   ============================================================ */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.popup-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.popup-card {
  background: linear-gradient(to bottom, rgba(253,238,197,0.95), rgba(250,165,31,0.8));
  backdrop-filter: blur(2px);
  border-radius: 24px;
  padding: 32px;
  width: 564px;
  position: relative;
  box-shadow: inset 0 4px 4px rgba(253,238,197,1), 4px 4px 10px rgba(0,0,0,0.1);
  animation: popIn 0.3s ease;
}

@keyframes popIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.popup-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 32px;
  height: 32px;
  background: var(--orange);
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.popup-close:hover { background: var(--orange-dark); }

.popup-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.popup-success-icon { font-size: 48px; }

.popup-message {
  font-weight: 500;
  font-size: 18px;
  color: var(--text-gray);
  line-height: 1.5;
}

/* ============================================================
   RESPONSIVE (tablet / mobile adjustments)
   ============================================================ */
@media (max-width: 1300px) {
  .banner-form-wrap {
    padding-left: 40px;
    width: 100%;
  }

  .who-features-circles {
    right: -60px;
  }
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {

  /* Top bar */
  .top-bar-inner { padding: 8px 24px; }
  .top-bar-promo { min-width: auto; }
  .promo-slide   { font-size: 12px; }

  /* Menu */
  .menu-inner  { padding: 8px 24px; }
  .menu-links  { gap: 12px; }
  .menu-link   { font-size: 14px; }

  /* F308 tablet */
  .f308-pills       { right: 4%; gap: 16px; }
  .f308-pill-text   { font-size: 14px; min-width: 200px; padding: 8px 16px 8px 20px; }
  .f308-pill-icon   { width: 36px; height: 36px; margin: 5px 5px 5px 0; }
  .f308-icon-img    { width: 20px; height: 20px; }

  /* Banner form */
  .banner-form-wrap { padding-left: 24px; top: 10%; }
  .form-card        { width: 420px; }
  .banner-title     { font-size: 28px; }
  .banner-subtitle  { font-size: 22px; }

  /* Who section */
  .who-inner     { flex-direction: column; align-items: center; gap: 24px; }
  .who-stats     { flex: none; width: 100%; }
  .who-image-wrap { flex: none; width: 100%; }
  .who-image     { width: 100%; height: 280px; }
  .who-img       { left: 0; top: 0; width: 100%; height: 100%; }

  /* Benefits */
  .benefits-cards { flex-wrap: wrap; justify-content: center; }
  .benefit-card, .benefit-card--wide { flex: 0 0 calc(50% - 8px); }

  /* CTA sections */
  .cta-section  { padding: 32px 48px; height: auto; min-height: 400px; }
  .cta-title    { font-size: 28px; }

  /* FAQ */
  .faq-body  { flex-direction: column; }
  .faq-image-wrap { flex: none; width: 100%; height: 260px; }
  .faq-img      { width: 100%; height: 100%; left: 0; top: 0; object-fit: cover; }

  /* Footer */
  .footer       { padding: 40px 24px; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-info  { width: 100%; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* Top bar — 2 icon ngang, bỏ promo */
  .top-bar-inner    { flex-direction: row; padding: 6px 16px; }
  .top-bar-contacts { flex: 1; gap: 8px; justify-content: space-between; }
  .top-bar-promo    { display: none; }
  .cta-hotline, .cta-email { flex: 1; justify-content: center; }

  /* F308 mobile — bỏ absolute, xếp dọc dưới ảnh */
  .f308-section {
    aspect-ratio: auto;
    height: auto;
    display: flex;
    flex-direction: column;
  }
  .f308-bg {
    position: relative;
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center top;
  }
  .f308-wave { display: none; }
  .f308-pills {
    position: relative;
    top: auto; right: auto;
    transform: none;
    padding: 20px 16px;
    background: linear-gradient(to bottom, rgba(250,165,31,0.08), rgba(255,98,0,0.04));
    gap: 12px;
  }
  .f308-pill        { opacity: 1; transform: none; }
  .f308-pill-text   { font-size: 14px; min-width: 0; flex: 1; padding: 10px 12px 10px 18px; }
  .f308-pill-icon   { width: 36px; height: 36px; margin: 5px 5px 5px 0; }
  .f308-icon-img    { width: 18px; height: 18px; }

  /* Menu */
  .menu-inner  { padding: 8px 16px; }
  .menu-links  { display: none; }
  .hamburger-btn { display: flex; }

  /* Banner: form nằm trên, ảnh nằm sau */
  .banner-section   { aspect-ratio: auto; height: auto; min-height: 520px; }
  .banner-canvas    { height: 100%; }
  .banner-form-wrap {
    position: relative;
    padding: 24px 16px;
    top: auto; left: auto; right: auto;
    background: linear-gradient(to bottom, rgba(253,238,197,0.95), rgba(250,165,31,0.85));
    z-index: 10;
  }
  .form-card   { width: 100%; backdrop-filter: none; background: transparent; box-shadow: none; padding: 16px 0 0; }
  .form-grid   { grid-template-columns: 1fr; }
  .banner-title    { font-size: 24px; }
  .banner-subtitle { font-size: 18px; }

  /* Who section */
  .who-section     { padding: 32px 16px 80px; }
  .who-inner       { flex-direction: column; }
  .who-stats       { flex: none; width: 100%; }
  .stats-number    { font-size: 48px; }
  .stats-label     { font-size: 24px; }
  .feature-text    { font-size: 18px; }
  .who-image-wrap  { width: 100%; }
  .who-image       { width: 100%; height: 220px; }
  .who-img         { left: 0; top: 0; width: 100%; height: 100%; }
  .who-features-circles { right: 0; }

  /* Benefits title */
  .benefits-title-section { padding: 24px 16px 8px; }
  .section-title   { font-size: 26px; }
  .section-subtitle { font-size: 16px; }

  /* Benefits cards */
  .benefits-cards-section { padding: 0 16px 24px; }
  .benefits-cards  { flex-direction: column; align-items: stretch; }
  .benefit-card, .benefit-card--wide { flex: none; width: 100%; height: auto; padding: 16px; }
  .benefit-icon    { width: 48px; height: 48px; }
  .benefit-name    { font-size: 16px; }
  .benefit-amount  { font-size: 16px; }

  /* CTA sections */
  .cta-section     { padding: 32px 16px; height: auto; min-height: 320px; }
  .cta-bg-img      { left: 0; width: 100%; top: 0; height: 100%; opacity: 0.3; }
  .cta-overlay, .cta-overlay--2 { background: rgba(255,255,255,0.6); }
  .cta-title       { font-size: 24px; }
  .cta-desc        { font-size: 16px; }
  .btn-primary     { font-size: 18px; height: auto; padding: 12px 24px; }

  /* Why section */
  .why-title-section { padding: 32px 16px; }

  /* FAQ */
  .faq-section     { padding: 32px 16px; gap: 24px; }
  .faq-body        { flex-direction: column; gap: 24px; }
  .faq-image-wrap  { display: none; }
  .faq-question-text { font-size: 14px; padding: 12px 16px; }
  .faq-icon-wrap   { width: 40px; height: 40px; }

  /* Footer */
  .footer          { padding: 32px 16px; }
  .footer-inner    { flex-direction: column; gap: 24px; }
  .footer-left     { flex-direction: column; gap: 16px; }
  .footer-info     { width: 100%; }
  .footer-address p { width: 100%; }
  .footer-contacts-row { flex-direction: column; align-items: flex-start; }
  .footer-social   { width: 100%; align-items: flex-start; }

  /* Scroll top button */
  .scroll-top-btn  { right: 16px; bottom: 16px; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .top-bar-contacts { flex-direction: row; gap: 8px; }
  .menu-links       { display: none; }
  .hamburger-btn    { display: flex; }
  .banner-title     { font-size: 20px; }
  .banner-subtitle  { font-size: 15px; }
  .stats-number     { font-size: 40px; }
  .stats-label      { font-size: 20px; }
  .section-title    { font-size: 22px; }
  .cta-title        { font-size: 20px; }
  .btn-primary      { font-size: 16px; }
  .form-card        { padding: 12px 0 0; }

  /* F308 small mobile */
  .f308-bg          { height: 180px; }
  .f308-pill-text   { font-size: 13px; }
}
