/* ============================================================
   SALON PARTNER PAGE — page-specific overrides
   (dùng chung base từ salon.css: header, .hero, .btn, .speech-bubble...)
   ============================================================ */

/* ---- Toàn trang: chữ đen #000 (thay vì --ink #1a1a1a / --ink-soft), nền trắng thay vì xám --bg-page ---- */
body{ color:#000; background:#fff; }
.section-tag{ color:#000; }

/* ---- Hero: nền trắng (thay vì xám --bg-page mặc định) ---- */
.partner-hero{ background:#fff; padding-bottom:60px; }

/* ---- Header: nền trắng, dùng sticky thay vì fixed để breadcrumb
   (nằm ngoài <header>, phía trên) có thể cuộn trôi đi bình thường,
   còn logo/menu/button sẽ "dính" lại khi cuộn tới ---- */
main{ padding-top:0; }
.partner-header{ position:sticky; top:0; background:#fff; }
.partner-header.is-scrolled{ background:var(--dark); }

/* ---- Logo header thu nhỏ ---- */
.partner-header .site-header__top .header-logo-img{ width:170px; }

/* ---- Bubble: dùng chung nền trắng viền đen cho MỌI bubble trong trang ---- */
.speech-bubble{
  background:#fff;
  color:#000;
  border:2px solid var(--ink);
  box-sizing:border-box;
}
.speech-bubble::after{ border-top-color:var(--ink); }
.speech-bubble::before{
  content:"";
  position:absolute;
  left:50%;
  top:100%;
	z-index: 5;
  transform:translate(-50%, 0px);
  width:0; height:0;
  border-left:7px solid transparent;
  border-right:7px solid transparent;
  border-top:11px solid #fff;
}

/* ---- Breadcrumb: dải nền đen nằm trên cùng ---- */
.partner-header__crumb{ background:var(--ink); }
.partner-header__crumb-inner{
  max-width:1600px;
  margin:0 auto;
  padding:14px var(--pad-x);
}
.partner-header__crumb-inner .breadcrumb{
  color:#fff;
  justify-self:auto;
}

/* ---- Hàng logo - menu - button (logo trái / menu giữa / button phải) ---- */
.partner-header__top{ padding:22px var(--pad-x); }
.partner-header__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
}
.partner-header__nav{ flex:1; justify-content:center; padding-bottom:0; }

/* ---- Header CTA: "HOGUGUに登録する" ---- */
.partner-header__cta{
  flex:none;
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.partner-header__cta-icon{ flex:none; width:15px; height:16px; display:block; }
.partner-header__cta-icon img{ width:100%; height:100%; display:block; }

.mobile-menu__actions{
  margin-top:20px;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.mobile-menu__actions .mobile-menu__cta{ margin:0; }
.mobile-menu__actions-label{
  color:rgba(255,255,255,.75);
  font-size:13px;
  text-align:center;
  margin-bottom:14px;
}
.mobile-menu__actions-label:not(:first-child){ margin-top:32px; }

.partner-mobile-cta{ background:#fff; color:var(--ink); }
.partner-mobile-cta .partner-header__cta-icon img{ filter:brightness(0); }

.mobile-menu__cta--line{ background:#fff; color:var(--ink); }
.mobile-menu__cta-line-icon{ flex:none; width:32px; height:32px; }
.mobile-menu__cta-line-icon img{ width:100%; height:100%; display:block; }

/* ---- Hero avatar row: g5 (thứ 5) là avatar lớn + bubble ---- */
.partner-hero .hero__avatar{ border-radius:50%; }
.partner-hero .hero__avatar img{ border-radius:50%; }
.partner-hero .hero__avatar:nth-child(6){ transform:translateY(-44px); }

/* ---- Wave xanh: hiển thị đầy đủ (không crop), nằm thấp hơn dưới các avatar ---- */
.partner-hero .hero__wave{
  width:110vw;
  max-width:110vw;
  margin-left:-55vw;
  height:auto;
  bottom:-60px;
  object-fit:initial;
}

/* ============================================================
   WHAT WE OFFER
   ============================================================ */
.offer{ background:#fff; padding-top:110px; }

.offer__layout{
  display:grid;
  grid-template-columns:0.9fr 1.1fr;
  gap:64px;
  align-items:start;
  margin-bottom:80px;
}

/* ---- cột trái: bubble + thẻ báo cáo thu nhập ---- */
.offer__left{ position:relative; max-width:420px; }
.offer__bubble-wrap{ margin-left:-24px; margin-bottom:16px; }
.offer__bubble{
  position:relative;
  display:inline-flex;
  width:auto;
  min-width:0;
  height:auto;
  padding:20px 26px;
  border-radius:20px;
  font-size:14px;
  text-align:left;
  justify-content:flex-start;
}
.offer__bubble::after{ left:56px; transform:none; }
.offer__bubble::before{ left:56px; transform:translate(3px, 0px); }

.offer__reward-card{
  border:2px solid var(--ink);
  border-radius:16px;
  padding:32px 28px;
}
.offer__reward-title{ font-size:22px; font-weight:900; margin-bottom:20px; }
.offer__reward-box{
  background:var(--green);
  border-radius:10px;
  padding:22px 20px;
  text-align:center;
  margin-bottom:22px;
}
.offer__reward-main{ font-size:16px; font-weight:700; }
.offer__reward-sub{ font-size:14px; font-weight:700; margin-top:6px; }
.offer__reward-num{ font-size:38px; font-weight:900; margin:0 2px; }
.offer__reward-sub .offer__reward-num{ font-size:26px; }
.offer__reward-percent{ font-size:18px; font-weight:700; }
.offer__reward-notes{ font-size:12px; line-height:1.9; }

/* ---- cột phải: tag + tiêu đề lớn + mô tả ---- */
.offer__right{ padding-top:6px; }
.offer .section-tag--right{ color:#000; }
.offer__title{
  font-family:"Roboto Condensed", var(--font);
  font-size:90px;
  font-weight:700;
  line-height:1.1;
  text-align:right;
  white-space:nowrap;
  margin-bottom:24px;
}
.offer__desc{
  font-size:14px;
  line-height:1.9;
  text-align:left;
  margin-top:140px;
}

/* ---- bảng menu / báo cáo hoa hồng ---- */
.offer__menu{
  border:2px solid var(--ink);
  border-radius:24px;
  padding:44px 56px;
}
.offer__menu-head{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  font-size:18px;
  font-weight:900;
  padding-bottom:24px;
  margin-bottom:36px;
  border-bottom:1px solid var(--line);
}
.offer__menu-divider{ color:var(--line); font-weight:400; }

.offer__menu-cols{
  display:grid;
  grid-template-columns:1fr 1fr;
}
.offer__menu-col{ padding:0 40px; text-align:center; }
.offer__menu-col:first-child{ border-right:1px solid var(--line); }

.offer__menu-col-title{ font-size:20px; font-weight:900; margin-bottom:24px; }

.offer__menu-prices{ display:flex; gap:12px; margin-bottom:16px; }
.offer__menu-price{
  flex:1;
  background:#f4f4f4;
  border-radius:100px;
  padding:14px 6px;
}
.offer__menu-price-time{ display:block; font-size:12px; color:var(--ink-soft); margin-bottom:4px; }
.offer__menu-price-value{ display:block; font-size:15px; font-weight:900; white-space:nowrap; }

.offer__menu-reward{
  display:flex;
  gap:12px;
  background:var(--green);
  border-radius:0;
  padding:16px 6px;
  margin-bottom:20px;
}
.offer__menu-reward span{ flex:1; font-size:15px; font-weight:900; white-space:nowrap; }

.offer__menu-extra{ font-size:13px; }
.offer__menu-extra p{ display:flex; justify-content:center; gap:14px; margin-bottom:6px; }
.offer__menu-extra p:last-child{ margin-bottom:0; }

/* ============================================================
   WORK FLOW
   ============================================================ */
.flow{ background:#fff; padding-top:110px; }
.flow__title{
  font-family:"Roboto Condensed", var(--font);
  font-size:64px;
  font-weight:700;
  line-height:1.1;
  margin-bottom:56px;
}

/* ---- ảnh trên cùng + 2 bubble これまで/これから nối bằng flow-frame ---- */
.flow__intro{
  position:relative;
  margin-bottom:10px;
}
.flow__photo{
  position:absolute;
  top:-160px;
  right:0;
  width:500px;
  height:auto;
  border-radius:24px;
}

.flow__connector{
  position:relative;
  width:68%;
  max-width:900px;
  aspect-ratio:949 / 487;
}
.flow__connector-frame{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index:0;
  pointer-events:none;
}

.flow__before{
  position:absolute;
  left:6%;
  top:6%;
  z-index:1;
  max-width:290px;
}
.flow__after{
  position:absolute;
  left:38%;
  top:56%;
  z-index:1;
  display:flex;
  align-items:center;
  gap:18px;
}

.flow__bubble{
  position:relative;
  display:inline-flex;
  width:auto;
  min-width:0;
  height:auto;
  padding:16px 34px;
  border-radius:999px;
  font-size:18px;
  font-weight:900;
  white-space:nowrap;
}
.flow__bubble--green{ background:var(--green); }
.flow__bubble--green:before {
	border-top-color: var(--green);
}
.start__bubble:before {
	border-top-color: var(--green);
}
.flow__before-text{ margin-top:18px; font-size:14px; font-weight:700; line-height:1.9; max-width:320px; }
.flow__after-text{ font-size:14px; font-weight:700; line-height:1.9; white-space:nowrap; }

/* ---- 3 bước + wave nền ---- */
.flow__steps{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0;
  padding:0px 0 60px;
	margin-top: -50px;
}
.flow__steps-wave{
  position:absolute;
  left:50%;
  bottom:60px;
  width:110vw;
  max-width:110vw;
  margin-left:-55vw;
  height:auto;
  z-index:0;
  pointer-events:none;
}
.flow__step{
  position:relative;
  z-index:1;
  flex:none;
  width:320px;
  background:#fff;
  border:2px solid var(--ink);
  border-radius:20px;
  padding:28px 24px;
  text-align:center;
}
.flow__step-title{ font-size:17px; font-weight:900; line-height:1.6; margin-bottom:20px; min-height:54px; }
.flow__step-img{ border-radius:12px; overflow:hidden; margin-bottom:18px; }
.flow__step-img img{ width:100%; height:auto; display:block; }
.flow__step-caption{ font-size:12px; line-height:1.8; }

.flow__arrow{ position:relative; z-index:1; flex:none; width:24px; margin:0 14px; }
.flow__arrow img{ width:100%; height:auto; display:block; }

.flow__cta{
  background:var(--ink);
  color:#fff;
  text-align:center;
  font-size:20px;
  font-weight:900;
  padding:26px;
  border-radius:999px;
  margin-top:16px;
}

/* ============================================================
   HOW TO GET STARTED
   ============================================================ */
.start{ position:relative; background:#fff; padding-top:110px; overflow:hidden; }
.start__wave{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  width:100vw;
  max-width:100vw;
  height:auto;
  z-index:0;
  pointer-events:none;
}

.start__head{
  position:relative;
  z-index:1;
  text-align:right;
  margin-bottom:48px;
}
.start__title{
  font-family:"Roboto Condensed", var(--font);
  font-size:64px;
  font-weight:700;
  line-height:1.1;
}

.start__layout{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,0.85fr) minmax(0,1.15fr);
  gap:60px;
  align-items:start;
  padding-bottom:110px;
}

.start__left{ padding-top:6px; }

.start__bubble{
  position:relative;
  display:inline-flex;
  width:auto;
  min-width:0;
  height:auto;
  padding:18px 26px;
  border-radius:100px;
  background:var(--green);
  font-size:14px;
  line-height:1.7;
  text-align:center;
  margin-bottom:28px;
}

.start__lead{ font-size:16px; font-weight:700; line-height:1.9; margin-bottom:28px; }
.start__notes{ font-size:12px; line-height:1.9; }

.start__list{
  position:relative;
  z-index:1;
  justify-self:end;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:0;
}
.start__row{
  width:690px;
  max-width:100%;
  display:grid;
  grid-template-columns:56px minmax(0,1fr) 90px minmax(0,1fr);
  align-items:center;
  gap:24px;
  padding:32px 36px;
  background:#fff;
  border:2px solid var(--ink);
  border-radius:24px;
  box-sizing:border-box;
}

.start__num{ font-size:50px; font-weight:700; line-height:1; font-family:"Momo Trust Sans", var(--font); }
.start__row-title{ font-size:16px; font-weight:900; line-height:1.6; }
.start__row-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  justify-self:center;
  width:70px;
  height:70px;
}
.start__row-icon img{ max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; }
.start__row-icon--qr img{ width:70px; height:70px; border-radius:6px; }

.start__row-action{ display:flex; flex-direction:column; align-items:stretch; gap:12px; }
.start__row-note{ font-size:12px; line-height:1.7; }
.start__row-note--plain{ font-size:13px; line-height:1.8; }

.start__row-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
  font-size:13px;
  padding:14px 12px;
  white-space:nowrap;
  box-sizing:border-box;
}
.start__row-btn-icon{ flex:none; width:15px; height:16px; display:block; }
.start__row-btn-icon img{ width:100%; height:100%; display:block; }
.start__row-btn-icon--line{ width:24px; height:24px; }

/* ============================================================
   FAQ (dùng chung .faq/.faq__item/.faq__summary... của salon.css
   để giữ đúng animation xổ xuống/đóng lại + style item có sẵn)
   ============================================================ */
.partner-faq{ background:#fff; overflow:hidden; padding-top:200px; padding-bottom:180px; }
.partner-faq__wave{
  position:absolute;
  left:50%;
  bottom:0;
  width:110vw;
  max-width:110vw;
  margin-left:-55vw;
  height:auto;
  z-index:0;
  pointer-events:none;
}

.partner-faq__layout{ position:relative; z-index:1; }
.partner-faq__head{
  margin-top:-120px;
  align-items:center;
  gap:20px;
}
.partner-faq__title{
  writing-mode:vertical-rl;
  font-family:"Roboto Condensed", var(--font);
  font-size:70px;
  font-weight:900;
  letter-spacing:.02em;
}
.partner-faq__subtitle{
  writing-mode:vertical-rl;
  font-size:20px;
  font-weight:900;
  letter-spacing:.25em;
}

/* ============================================================
   COLUMN (dùng chung .column-row/.column__list... của salon.css,
   chỉ đảo vị trí: nội dung bên trái, tiêu đề bên phải)
   ============================================================ */
.partner-column{ background:#fff; }
.partner-column__layout .column__content{ margin-left:0; }
.partner-column__head{
  margin-left:auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:20px;
}
.partner-column__title{
  writing-mode:vertical-rl;
  font-family:"Roboto Condensed", var(--font);
  font-size:70px;
  font-weight:900;
  letter-spacing:.02em;
}
.partner-column__subtitle{
  writing-mode:vertical-rl;
  font-size:20px;
  font-weight:900;
  letter-spacing:.25em;
}

.column-row img{ border-radius:10px; }

.partner-column .column__more:hover{ background:#e5e5e5; }

/* ============================================================
   FOOTER (bản rút gọn: chỉ copyright + back-to-top)
   ============================================================ */
.partner-footer{ background:var(--bg-page);padding: 0 20px; }
.partner-footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:20px 0;
}

@media (max-width:900px){
  :root{ --header-h-expanded:130px; }
  .partner-header__cta{ display:none; }
  /* Avatar row mobile: giống cách làm ở salon.html — hero__avatar--lead (150px)
     neo vào left:50% của .hero__avatars, lệch phải nhẹ (+30px), 6 avatar còn lại
     (100px) chia đều 3 bên trái/3 bên phải theo thứ tự gần → xa lead trong DOM,
     để không bị trống 1 bên khi viewport rộng hơn (giống salon.html). Lead ở
     đây là con thứ 5 (không phải thứ 6 như salon.html) nên các nth-child khác
     với salon.html. */
  .partner-hero .hero__avatar:nth-child(1){ transform:translate(calc(-50% + 397px), -3px); }
  .partner-hero .hero__avatar:nth-child(2){ transform:translate(calc(-50% - 337px), -1px); }
  .partner-hero .hero__avatar:nth-child(3){ transform:translate(calc(-50% - 223px), -20px); }
  .partner-hero .hero__avatar:nth-child(4){ transform:translate(calc(-50% - 109px), 3px); }
  .partner-hero .hero__avatar--lead{ width:150px; height:150px; transform:translate(calc(-50% + 30px), -10px); }
  .partner-hero .hero__avatar:nth-child(6){ transform:translate(calc(-50% + 169px), 5px); }
  .partner-hero .hero__avatar:nth-child(7){ transform:translate(calc(-50% + 283px), -23px); }
  .partner-hero .hero__wave{ bottom:-15px; }
  .partner-hero{ padding-bottom:15px; }

  .offer{ padding-top:70px; }
  .offer__layout{ grid-template-columns:1fr; gap:56px; }
  .offer__left{ max-width:100%; order:2; }
  .offer__right{ order:1; }
  .offer__bubble-wrap{ margin-left:0; }
  .offer__title{ text-align:left; white-space:normal; font-size:clamp(32px,10vw,44px); }
  .offer__desc{ margin-top:24px; }
  .offer__menu{ padding:32px 20px; }
  .offer__menu-cols{ grid-template-columns:1fr; }
  .offer__menu-col{ padding:0; }
  .offer__menu-col:first-child{
    border-right:none;
    border-bottom:1px solid var(--line);
    padding-bottom:32px;
    margin-bottom:32px;
  }
  .offer__menu-head{ flex-direction:column; gap:6px; text-align:center; }
  .offer__menu-divider{ display:none; }

  .flow{ padding-top:70px; }
  .flow__title{ font-size:40px; margin-bottom:36px; }
  .flow__intro{ display:flex; flex-direction:column; gap:32px; margin-bottom:32px; }
  .flow__photo{
    position:static;
    width:100%;
    max-width:100%;
  }
  .flow__connector{ width:100%; max-width:100%; aspect-ratio:auto; text-align:center; }
  .flow__connector-frame{ display:none; }
  .flow__before{ position:static; max-width:100%; display:flex; flex-direction:column; align-items:center; }
  .flow__before-text{ text-align:center; }
  .flow__after{ position:static; margin-left:0; margin-top:28px; flex-direction:column; align-items:center; gap:12px; }
  .flow__after-text{ white-space:normal; text-align:center; }

  .flow__steps{ flex-direction:column; align-items:center; gap:32px; padding:32px 0 48px; }
  .flow__arrow{ transform:rotate(90deg); padding-top:0; margin:0; }
  .flow__step{ width:100%; max-width:360px; }

  .flow__cta{ font-size:16px; padding:22px 20px; border-radius:24px; }

  .start{ padding-top:70px; }
  .start__wave{ width:100%; max-width:100%; top:6%; }
  .start__head{ text-align:left; margin-bottom:32px; }
  .start__title{ font-size:40px; }
  /* Desktop: .start__left (bubble + lead + notes) và .start__list (4 thẻ số)
     là 2 cột cạnh nhau. Thiết kế mobile lại xen kẽ: bubble → 4 thẻ số → rồi
     mới đến đoạn lead + notes. Dùng display:contents trên .start__left để
     "tháo" nó ra, đưa bubble/lead/notes thành item ngang hàng với .start__list
     trong .start__layout (giờ là flex column), từ đó dùng order để sắp lại
     đúng thứ tự thiết kế mà không cần đổi cấu trúc HTML. */
  .start__layout{ display:flex; flex-direction:column; align-items:stretch; gap:32px; padding-bottom:60px; }
  .start__left{ display:contents; }
  .start__bubble{ display:flex; order:1; }
  .start__list{ order:2; align-items:stretch; min-width:0; }
  .start__lead{ order:3; }
  .start__notes{ order:3; }

  /* Mỗi thẻ số: hàng trên gồm số - tiêu đề - icon (icon nằm góc phải trên,
     giống thiết kế), hàng dưới là note/nút bấm chiếm full chiều rộng. */
  .start__row{ grid-template-columns:40px 1fr auto; row-gap:16px; padding:24px 20px; }
  .start__num{ font-size:32px; }
  .start__row-title{ grid-column:2; grid-row:1; }
  .start__row-icon{
    grid-column:3;
    grid-row:1;
    justify-self:end;
    align-self:start;
    width:28px;
    height:28px;
  }
  .start__row-icon--qr{ width:32px; height:32px; }
  .start__row-icon--qr img{ width:32px; height:32px; }
  .start__row-action{ grid-column:1 / -1; grid-row:2; }
  .start__row-note--plain{ grid-column:1 / -1; grid-row:2; }

  .partner-faq{ padding-top:70px; padding-bottom:90px; }
  .partner-faq__wave{ width:100%; max-width:100%; }
  .partner-faq__layout{ flex-direction:column; }
  .partner-faq__head{ flex-direction:row; align-items:center; gap:16px; margin-top:0; margin-bottom:24px; }
  .partner-faq__title{ writing-mode:horizontal-tb; font-size:36px; }
  .partner-faq__subtitle{ writing-mode:horizontal-tb; font-size:14px; }

  .partner-column__head{
    order:-1;
    margin-left:0;
    margin-bottom:16px;
    flex-direction:row;
    justify-content:flex-start;
  }
  .partner-column__title{ writing-mode:horizontal-tb; font-size:36px; }
  .partner-column__subtitle{ writing-mode:horizontal-tb; font-size:14px; }
}
