.is-hero{
  padding: 0 0 28px;
  background: linear-gradient(
    0deg, #ffffff 0%, #ffffff 45%, var(--color-bg-soft) 100%);
}

.is-hero__grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 46px;
  align-items: center;
}

.is-hero__title{
  margin: 12px 0 25px;
  font-size: clamp(25px, 3vw, 37px);
  line-height: clamp(1.25, 1.4vw, 1.5);
}

.is-hero__desc{
  margin: 0 0 18px;
  color: var(--color-muted);
  margin-bottom: 35px;
}

.is-hero__actions{
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.is-hero__img{
  position: relative;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.is-hero__img img{
  height: auto;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

.btn.btn-ghost.btn-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 20px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  color: var(--color-primary);
  background-color: transparent;
  border: 1px solid var(--color-primary);
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;

  transition: 
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}
/* icon */
.btn.btn-ghost.btn-with-icon .btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* SVG ăn theo currentColor */
.btn.btn-ghost.btn-with-icon svg {
  display: block;
  width: 36px;
  height: 36px;
}

/* hover */
.btn.btn-ghost.btn-with-icon:hover {
  color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  background-color: rgba(11, 94, 215, 0.06);
}

.btn.btn-ghost.btn-with-icon:visited {
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn {
  padding: 14px 20px;
}

/* Responsive */
@media (max-width: 700px){
  .is-hero__grid{ grid-template-columns: 1fr; }
  .is-hero__img img{
    max-height: 500px;
    width: auto;
    max-width: 100%;
    height:auto;
  }
  .is-hero__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  }
  .is-hero__actions > * {
  width: 100%;
  justify-content: center;
}
}
@media (max-width: 879px){
  .btn.btn-ghost.btn-with-icon {
    padding: 5px 30px;
  }

}
/* Benefits */
.is-benefits{
  padding: 60px 0 80px;
  background: #fff;
}

.is-benefits__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 45px 45px;
}

.is-benefit{
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
}

.is-benefit__icon img{
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
}

.is-benefit__title{
  margin: 0 0 7px;
  font-size: 1rem;
}

.is-benefit__desc{
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--color-muted)
}

/* Responsive */
@media (max-width: 700px){  
  .is-benefits__grid{ grid-template-columns: 1fr; }
}

/* =====================
   HMI SECTION
===================== */

.is-hmi {
  padding: 80px 0;
  background: var(--color-bg-soft);
}

/* Heading */
.is-hmi__heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 600;
}

/* =====================
   DESKTOP LARGE – 3 COLUMNS
===================== */

.is-hmi__layout {
  display: grid;
  grid-template-columns: 1fr 520px 1fr;
  gap: 40px;
  align-items: center;
}

/* Features column */
.is-hmi__features {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Feature item – dot absolute, OUT of flow */
.is-hmi__feature {
  position: relative;
  padding-left: 24px;
}

.is-hmi__feature .dot {
  position: absolute;
  top: 6px;
  left: 0;
}
.hmi-dot {
  color: var(--color-primary);        /* màu xanh chính */
  flex-shrink: 0;
  display: block;
}

.is-hmi__feature h4 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 600;
}

.is-hmi__feature p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-muted);
}

/* LEFT column – align text + dot to the right */
.is-hmi__features.left {
  text-align: right;
}

.is-hmi__features.left .is-hmi__feature {
  padding-left: 0;
  padding-right: 24px;
}

.is-hmi__features.left .dot {
  left: auto;
  right: 0;
}
/* =====================
   HMI SCREEN 
===================== */

.is-hmi__screen {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* QUAN TRỌNG */
}

/* VỎ MÁY */
.hmi-frame {
  background: #555555;
  padding: 32px 24px 90px;
  border-radius: 16px;
  position: relative;
  max-width: 100%; /* chặn tràn */
}

/* VIỀN BEZEL */
.hmi-bezel {
  background: #111;
  padding: 5px;
}

/* MÀN HÌNH – KHÔNG FIX WIDTH */
.hmi-frame__inner {
  width: 100%;
  max-width: 520px;        /* vừa cột 420px + padding */
  aspect-ratio: 16 / 9.5;  /* GIỮ TỶ LỆ */
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ẢNH */
.hmi-frame__inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* LABEL */
.hmi-label {
  position: absolute;
  right: 24px;
  bottom: 32px;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.02em;
}


/* =====================
   TABLET – HMI ON TOP, FEATURES 2 COLUMNS (LEFT | RIGHT)
===================== */

@media (max-width: 1024px) {

  .is-hmi__layout {
    grid-template-columns: 1fr 1fr;
    gap: 56px 40px;
  }

  /* HMI full width on top */
  .is-hmi__screen {
    grid-column: 1 / -1;
    order: 1;
    max-width: 520px;
    margin: 0 auto;
  }

  /* Left features */
  .is-hmi__features.left {
    grid-column: 1 / 2;
    order: 2;
    text-align: left;
  }

  /* Right features */
  .is-hmi__features.right {
    grid-column: 2 / 3;
    order: 3;
    text-align: left;
  }

  /* Reset dot alignment for tablet */
  .is-hmi__features.left .is-hmi__feature {
    padding-left: 24px;
    padding-right: 0;
  }

  .is-hmi__features.left .dot {
    left: 0;
    right: auto;
  }
}

/* =====================
   MOBILE – FEATURES 1 COLUMN
===================== */

@media (max-width: 640px) {

  .is-hmi {
    padding: 64px 0;
  }

  .is-hmi__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .is-hmi__features.left,
  .is-hmi__features.right {
    grid-column: auto;
    max-width: 520px;
    text-align: left;
    align-items: flex-start;
  }

  .hmi-label {
    bottom: -20px;
  }
  .is-hmi__feature {
    padding-left: 24px;
    padding-right: 0;
  }
  .is-hmi__feature .dot {
    left: 0;
    right: auto;
  }
}


/* =====================
 * Materials Section
 * ===================== */
.is-materials {
  padding: 80px 0;
  background: #fff;
}

.is-materials__heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 600;
}

.is-materials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.is-material {
  background: #fff;
}

.is-material__image {
  margin-bottom: 16px;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 4px;
  background: var(--color-bg-soft);
}

.is-material__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.is-material__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 6px;
}

.is-material__desc {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
  .is-materials__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .is-materials__grid {
    grid-template-columns: 1fr;
  }
}

/* =====================
 * System Components
 * ===================== */
.is-components {
  padding: 50px 0 80px;
}

.is-components__heading {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 600;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.is-component {
  padding: 40px 0;
  border-top: 1px solid #e6ebf0;
}

.is-component:first-child {
  border-top: none;
}

.is-component__title {
  position: relative;
  padding-left: 14px;     
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.is-component__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 18px;
  background-color: var(--color-primary);
}

.is-component__desc {
  font-size: 1rem;
  color: var(--color-muted);
  margin-bottom: 24px;
}

.is-component__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.is-component__content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.is-component__content td,
.is-component__content th {
  padding: 8px 10px;
  border: 1px solid var(--color-border);
}
.is-component__content th {
  background: var(--color-bg-soft);
}
.is-component__right img {
  max-width: 100%;
  display: block;
  margin-bottom: 12px;
}

.is-component__link {
  display: block;
  text-align: right;
  font-size: 14px;
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.2s ease;

}

.is-component__link:hover {
  font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
  .is-component__grid {
    grid-template-columns: 1fr;
  }
  .is-component__right img {
    max-height: 350px;
  }
}

/* Demo placeholder */
.is-demo{ padding: 36px 0 0; }
.is-video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
}

.is-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.is-video__link{
  text-decoration: none;
  font-weight: 600;
}
/* =====================
 * Integrated System CTA
 * ===================== */
.is-cta {
  padding: 80px 0 0;
  background: #fff;
}

.is-cta__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.is-cta__image img {
  max-width: 100%;
  display: block;
}

.is-cta__title {
  font-size: clamp(25px, 3vw, 37px);
  font-weight: 600;
  margin-bottom: 12px;
}

.is-cta__desc {
  font-size: 1rem;
  color: var(--color-muted);
  margin-bottom: 24px;
}

.is-cta__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-outline {
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--color-primary);
  background-color: rgba(11, 94, 215, 0.06)
}
/* Responsive */
@media (max-width: 700px) {
  .is-cta__inner {
    grid-template-columns: 1fr;
  }
  .is-cta__image img {
    max-height: 450px;
    width: auto;
}
}