.All,
.All * { box-sizing: border-box; }
.All {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: Kanit, Tahoma, Arial, sans-serif;
  color: #1f3658;
  background: #fff;
  line-height: 1.6;
}
.All img { max-width: 100%; height: auto; }
.All p { margin: 0; }
.All a { text-decoration: none; }
.All iframe { display: block; max-width: 100%; border: 0; }

/* Grid system ใช้งานได้เอง ไม่พึ่ง Bootstrap/W3.CSS */
.w3-row { display: flex; flex-wrap: wrap; width: 100%; }
.w3-col { min-width: 0; }
.w3-col.m5 { width: 41.6667%; }
.w3-col.m7 { width: 58.3333%; }
.w3-col.m6 { width: 50%; }
.w3-col.m12 { width: 100%; }
.two-col-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
}
.section-stack { width: 100%; }
.section-stack > .C {
  padding: 0;
  border-top: 0;
  background: transparent;
  text-shadow: none;
}
.section-stack > .D { margin-top: 26px; }

/* Hero */
.AB {
  width: 100%;
  background-image: linear-gradient(rgba(6,58,96,.20), rgba(6,58,96,.20)), url("https://www.quinl.com/CompanyImages/Images/2509/1759220678_76932.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.A { padding: clamp(50px, 7vw, 100px) clamp(24px, 7vw, 100px); }
.A .w3-row { align-items: center; }
.A0 {
  color: #fff;
  font-size: clamp(56px, 9vw, 150px);
  font-weight: 700;
  line-height: .95;
  padding-top: 20px;
  text-shadow: 0 2px 18px rgba(1,120,186,.75);
}
.A1 {
  color: #fff;
  font-size: clamp(38px, 5.2vw, 85px);
  font-weight: 700;
  line-height: 1.15;
  padding: 10px 0 20px;
  text-shadow: 0 2px 18px rgba(1,120,186,.75);
}
.A2 { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }
.A2 img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  margin: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  display: block;
  transition: transform .5s ease;
}
.A2 img:hover { transform: rotate(360deg); }
.AA {
  background: rgba(255,255,255,.90);
  padding: clamp(22px, 3vw, 38px);
  margin-left: clamp(20px, 4vw, 50px);
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(0,0,0,.12);
}
.A3 { color: #1f3658; font-size: clamp(18px, 1.5vw, 23px); line-height: 1.75; font-family: Sriracha, Kanit, sans-serif; }

/* Intro */
.B { background: #fff; padding: clamp(35px, 5vw, 60px); }
.B .w3-row { align-items: center; }
.B img {
  width: 90%;
  border-radius: 16px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
  transition: transform .35s ease;
}
.B img:hover { transform: scale(1.025); }
.B1 { color: #0070c0; font-size: clamp(32px, 4vw, 50px); font-weight: 700; padding: 0 0 14px 50px; line-height: 1.2; }
.B2 { color: #1f3658; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.7; padding-left: 50px; }
.B3 { color: #0070c0; font-size: 30px; font-weight: 700; padding: 10px 0 10px 50px; }
.B4 { color: #1f3658; font-size: 18px; line-height: 1.7; padding: 20px 0 0 50px; font-family: Sriracha, Kanit, sans-serif; }

/* Highlight / promotion */
.C {
  width: 100%;
  padding: clamp(32px, 4vw, 50px);
  background-image: linear-gradient(rgba(255,255,255,.92), rgba(255,255,255,.92)), url("https://www.quinl.com/CompanyImages/Images/2509/1759228439_85622.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-top: 5px solid #53b5da;
}
.C1 { color: #0070c0; font-size: clamp(34px, 4.6vw, 60px); font-weight: 700; line-height: 1.25; padding-bottom: 20px; text-align: center; }
.C2 { color: #1f3658; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; padding: 7px 0; text-align: center; }
.C3 { color: #2f7e13; font-size: 18px; line-height: 2; padding-top: 22px; overflow-wrap: anywhere; }
.C3 img { width: 25px; height: 25px; object-fit: contain; margin: 0 7px -6px 12px; }
.C4 { color: #1f3658; font-size: 16px; line-height: 1.75; padding: 4px 0; overflow-wrap: anywhere; }
.C5 { color: #d90000; font-size: 20px; line-height: 1.65; padding: 8px 0; text-align: center; }
.C6 { color: #0070c0; font-size: clamp(26px, 3vw, 35px); font-weight: 700; line-height: 1.3; padding-bottom: 20px; text-align: center; }

/* Content blocks */
.D {
  width: 100%;
  padding: clamp(32px, 4vw, 50px);
  background: linear-gradient(180deg, #fff 1%, #f6f8fb 100%);
  border-top: 5px solid #53b5da;
}
.D1 { color: #0070c0; font-size: clamp(20px, 2vw, 25px); font-weight: 700; line-height: 1.45; padding-bottom: 12px; }
.D2 { color: #1f3658; font-size: 16px; line-height: 1.75; padding: 3px 0; overflow-wrap: anywhere; }
.product-list-full { width: 100% !important; }

/* Image / video galleries */
.promo-images{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  margin-top: 18px;
}

.work-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  margin-top: 18px;
}
.promo-images img,
.work-gallery img {
  width: 100%;
  object-fit: cover;
  margin: 0;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,.10);
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin: 6px 0 24px;
}
.video-grid iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 220px;
  border-radius: 14px;
  background: #000;
}

/* Footer */
.Z { background: #056dc2; padding: 36px 50px; text-align: center; }
.Z1 { color: #fff; font-size: 30px; font-weight: 700; padding-bottom: 8px; }
.Z2 { color: #fff; font-size: 18px; line-height: 1.7; overflow-wrap: anywhere; }
.Z3 img { width: 50px; margin: 5px 10px 0; display: inline-block; transition: transform .5s ease; }
.Z3 img:hover { transform: rotate(360deg); }

/* Mobile */
@media (max-width: 900px) {
  .AB { background-attachment: scroll; }
  .w3-col.m5, .w3-col.m7, .w3-col.m6, .w3-col.m12 { width: 100%; }
  .two-col-row { grid-template-columns: 1fr; gap: 18px; }
  .A { padding: 48px 22px; }
  .A0, .A1 { text-align: center; }
  .A2 { justify-content: center; }
  .AA { margin: 28px 0 0; }
  .B { padding: 34px 20px; }
  .B img { width: 100%; margin-bottom: 22px; }
  .B1, .B2, .B3, .B4 { padding-left: 0; text-align: center; }
  .C, .D { padding: 32px 20px; }
  .C3 { line-height: 1.8; }
  .promo-images, .work-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .video-grid { grid-template-columns: 1fr; }
  .video-grid iframe { min-height: 0; }
  .Z { padding: 30px 20px; }
}
@media (max-width: 520px) {
  .A0 { font-size: 54px; }
  .A1 { font-size: 34px; }
  .A2 img { width: 48px; height: 48px; }
  .C1 { font-size: 30px; }
  .C2, .C5 { text-align: left; }
  .promo-images, .work-gallery { grid-template-columns: 1fr; }
  .promo-images img, .work-gallery img { height: auto; max-height: 360px; }
  .D1 { text-align: left; }
}