.support-options {
  background: #f7f7f2;
  padding: 60px 20px;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
}

.options-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #117a37;
  line-height: 1.6;
  margin-bottom: 40px;
}

.options-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1300px;
  margin: 0 auto;
  align-items: stretch; /* các box có cùng chiều cao */
}

.option {
  flex: 1;
  max-width: 530px;  
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Header có mũi nhọn chỉ xuống */
.option-header {
  position: relative;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  padding: 16px;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 32px;
}

.option-header::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -24px;
    transform: translateX(-50%);
    border-width: 24px 12px 0 12px;
    border-style: solid;
    color: transparent;
}

.option-header.green { background: #2baf61; }
.option-header.green::after { border-top-color: #2baf61; }
.option-header.teal { background: #179e7a; }
.option-header.teal::after { border-top-color: #179e7a; }

/* Thân box: chia cột + giữ nút ở đáy */
.option-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: #fff;
}

/* Hàng chính: 2 cột (text trái, ảnh phải) */
.option-main {
  display: grid;
  grid-template-columns: 1fr 190px; 
  gap: 24px;
  align-items: center;
}

.option-text { text-align: left; }

.option-text p,
.option-extra p {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.8;
  color: #333;
  margin: 0;
}

.option-text.ni p{
  font-size: 16px;
}

.option-image.ichi{
  width: 183px;
}

.option-image.ni{
  width: 167px;
}

.option-image { justify-self: end; }
.option-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.option-image.ni p{
  font-size: 14px;
  font-weight: 500;
  color: #333333;
}

/* Đoạn mô tả phụ dưới ảnh (box 2) */
.option-extra { text-align: left; }

/* Footer: đẩy nút xuống đáy và căn trái để 2 nút thẳng hàng */
.option-footer {
  margin-top: auto;         /* đẩy footer xuống đáy box */
  text-align: left;
}

.btn-orange {
    display: inline-block;
    background: #D18B38;
    color: #fff;
    padding: 12px 24px;
    border-radius: 33px;
    font-size: 24px;
    letter-spacing: 2.4px;
    text-decoration: none;
    transition: background .3s;
    width: 100%;
    font-weight: 700;
    text-align: center;
    position: relative;
}

.btn-orange::after{
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  top: 50%;
  margin-top: -15px;
  right: 16px;
  background: url("../images/circle_right_arrow.png") no-repeat;
  background-size: contain;  
}

.btn-orange:hover { background: #e08d12; }

.sp-br{
  display: none;
}

/* Laptop nhỏ & Tablet ngang (993px – 1439px) */
@media (max-width: 1439px) and (min-width: 993px) {
  .options-header h2 {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .option-body {
    padding: 20px;
    gap: 12px;
  }

  .option-main {
    grid-template-columns: 1fr 160px;
    gap: 20px;
  }

  .option-text p,
  .option-extra p {
    font-size: 16px;
    line-height: 1.6;
  }

  .option-image.ichi { width: 150px; }
  .option-image.ni { width: 140px; }

  .btn-orange {
    font-size: 14px;
    padding: 10px 20px;
  }
}

/* Tablet dọc (769px – 992px) */
@media (max-width: 992px) and (min-width: 769px) {
  .options-header h2 {
    font-size: 22px;
    margin-bottom: 24px;
  }

  .option-body {
    padding: 16px;
    gap: 10px;
  }

  .option-main {
    grid-template-columns: 1fr 140px;
    gap: 16px;
  }

  .option-text p,
  .option-extra p {
    font-size: 15px;
    line-height: 1.5;
  }

  .option-image.ichi { width: 130px; }
  .option-image.ni { width: 120px; }

  .btn-orange {
    font-size: 13px;
    padding: 8px 18px;
  }
}

/* Mobile (<=768px): stack dọc */
@media (max-width: 768px) {
  .sp-br{
    display: inline;
  }

  .options-header h2 {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .options-header h2 span{
    font-size: 20px;
  }

  .options-grid {
    flex-direction: column;
    gap: 24px;
  }

  .option {
    max-width: 100%;
  }

  .option-body {
    padding: 16px;
    gap: 12px;
  }

  .option-main {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .option-image {
    width: 100% !important;
    text-align: center;
  }

  .option-image img {
    max-width: 200px;
    margin: 0 auto;
  }

  .option-text p,
  .option-text.ni p,
  .option-extra p {
    font-size: 15px;
    line-height: 1.6;
  }  

  .option-footer {
    text-align: center; /* nút căn giữa trên mobile */
  }

  .btn-orange {
    font-size: 14px;
    padding: 10px 20px;
  }

  .option.ichi .option-body .option-main{
    flex-direction: row;
    margin-bottom: 20px;
  }

  .option.ichi .option-body .option-image.ichi{    
    width: 97px !important;
  }
}

