:root{
  --amora-brown:#3C1F1A;
  --amora-gold:#F1BF50;

  --amora-ease:cubic-bezier(.2,.8,.2,1);
  --amora-dur:260ms;
}

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Inter:wght@300;400;500&display=swap');

.amora-service__inner{
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.amora-service__head{
  text-align:center;
  margin-bottom: 34px;
}

.amora-service__title{
  font-family:"Cormorant Garamond", serif;
  font-weight:500;
  letter-spacing:.02em;
  color:var(--amora-brown);
  font-size:clamp(32px, 3.2vw, 48px);
  margin: 18px 0 10px;
}

.amora-service__sub{
  font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: rgba(60,31,26,.72);
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
}
.amora-service__sub strong{ color: var(--amora-brown); font-weight: 600; }

/* 2 lines giống mẫu */
.amora-service__divider{
  width: 100%;
  max-width: 980px;
  height: 1px;
  margin: 0 auto;
  background: rgba(60,31,26,.28);
}
.amora-service__divider--thin{
  max-width: 740px;
  background: rgba(60,31,26,.18);
  margin-top: 16px;
}

/* GRID: không card nền – chỉ icon + text */
.amora-service__grid{
  display:grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 34px;
  align-items: start;
}

.amora-service__item{
  text-decoration:none;
  color:inherit;
  text-align:center;
  padding: 0;             /* bỏ padding card */
  background: transparent; /* bỏ nền */
  border: 0;               /* bỏ viền card */
  box-shadow: none;        /* bỏ shadow */
}

/* OVAL capsule giống Diptyque */
.amora-service__icon{
  width: 150px;
  height: 190px;
  margin: 0 auto 14px;
  border: 1px solid rgba(60,31,26,.50);
  border-radius: 999px;    /* OVAL */
  display:grid;
  place-items:center;
  background: transparent;
  overflow:hidden;
  transition: transform var(--amora-dur) var(--amora-ease),
              border-color var(--amora-dur) var(--amora-ease);
}

.amora-service__icon-img{
  width: 72%;
  height: 72%;
  object-fit: contain;
  display:block;
  transition: transform var(--amora-dur) var(--amora-ease),
              filter var(--amora-dur) var(--amora-ease);
  filter: saturate(0.92);
}

.amora-service__label{
  font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: .01em;
  color: #111;
  font-size: 14px;
  line-height: 1.3;
  margin: 0 0 6px;
}

.amora-service__desc{
  font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: rgba(17,17,17,.72);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}
.amora-service__desc strong{ font-weight: 700; color: rgba(17,17,17,.85); }

/* Hover: nhẹ, đúng mẫu (không “card lift”) */
@media (hover:hover){
  .amora-service__item:hover .amora-service__icon{
    transform: translateY(-3px);
    border-color: rgba(60,31,26,.85);
  }
  .amora-service__item:hover .amora-service__icon-img{
    transform: scale(1.03);
    filter: saturate(1);
  }
}

/* Focus */
.amora-service__item:focus-visible{
  outline:none;
}
.amora-service__item:focus-visible .amora-service__icon{
  border-color: rgba(241,191,80,.9);
  box-shadow: 0 0 0 3px rgba(241,191,80,.25);
}

/* ===== AMORA Services – Mobile: centered + horizontal scroll ===== */
@media (max-width: 1024px){

  /* đảm bảo section/container center đúng */
  .amora-service__inner{
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
  }

  /* HEAD center */
  .amora-service__head{
    text-align: center;
  }

  /* GRID chuyển sang scroll ngang 1 hàng */
  .amora-service__grid{
    display: flex;                 /* chuyển grid -> flex */
    flex-wrap: nowrap;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;

    padding: 6px 4px 14px;         /* tạo khoảng thở + tránh cấn scrollbar */
    scroll-snap-type: x mandatory; /* kéo “dính” từng card */
    justify-content: center;       /* nếu ít item vẫn center */
  }

  /* Ẩn scrollbar (tuỳ thích) */
  .amora-service__grid::-webkit-scrollbar{ height: 0; }

  /* Mỗi item = 1 “card” ngang (không bị co lại) */
  .amora-service__item{
    flex: 0 0 auto;
    width: min(72vw, 280px);       /* card size trên mobile */
    scroll-snap-align: center;
    text-align: center;
  }

  /* OVAL icon center */
  .amora-service__icon{
    margin-left: auto;
    margin-right: auto;
  }

  /* Text không bị dính lề */
  .amora-service__label,
  .amora-service__desc{
    margin-left: auto;
    margin-right: auto;
    max-width: 260px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .amora-service__icon, .amora-service__icon-img{ transition: none !important; }
}