
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Noto Sans Thai",Arial,sans-serif;
  color:#152233;
  background:#fff;
  line-height:1.65;
}
:root{
  --orange:#ff7a00;
  --pink:#ff2b8a;
  --ink:#152233;
  --muted:#667085;
  --line:#e4e7ec;
  --soft:#f7f8fb;
  --dark:#111827;
}
img{max-width:100%;display:block}
.container{width:min(1240px,92%);margin:auto}
.site-header{
  position:sticky;top:0;z-index:100;
  background:rgba(255,255,255,.96);backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(0,0,0,.06)
}
.nav-wrap{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand img{height:52px;width:auto}
.nav{display:flex;gap:24px}
.nav a{text-decoration:none;color:#263244;font-size:14px;font-weight:700}
.nav a:hover{color:var(--pink)}
.menu-btn{display:none;border:0;background:none;font-size:28px;cursor:pointer}

.hero-section{padding:18px 0 0}
.hero-slider{
  width:min(1280px,96%);margin:auto;position:relative;overflow:hidden;border-radius:24px;
  box-shadow:0 18px 46px rgba(15,23,42,.14)
}
.slide{display:none}.slide.active{display:block}
.slider-btn{
  position:absolute;top:50%;transform:translateY(-50%);
  width:48px;height:48px;border-radius:50%;border:0;background:rgba(255,255,255,.88);
  font-size:34px;cursor:pointer
}
.prev{left:16px}.next{right:16px}
.slider-dots{
  position:absolute;left:50%;bottom:18px;transform:translateX(-50%);
  display:flex;gap:8px;background:rgba(255,255,255,.75);padding:8px 12px;border-radius:999px
}
.dot{width:12px;height:12px;border:0;border-radius:50%;background:#cbd5e1;cursor:pointer}
.dot.active{background:linear-gradient(135deg,var(--orange),var(--pink))}

.category-section{padding:58px 0 42px}
.section{padding:86px 0}
.section-soft{background:var(--soft)}
.section-dark{background:linear-gradient(135deg,#101828,#111827);color:white}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:28px}
.section-head.compact{margin-bottom:20px}
.section-head p{max-width:520px;margin:0;color:var(--muted)}
.section-kicker{font-size:12px;font-weight:800;letter-spacing:.15em;color:var(--orange);margin-bottom:8px}
.white-kicker{color:#ffb98d}
h1{font-size:clamp(34px,5vw,58px);line-height:1.12;margin:0}
h2{font-size:clamp(30px,4vw,46px);line-height:1.18;margin:0 0 10px}
h3,h4{line-height:1.38}

.main-category-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.main-category-card{
  position:relative;text-decoration:none;color:inherit;
  display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;
  padding:26px;border-radius:24px;border:1px solid var(--line);background:#fff;
  box-shadow:0 12px 28px rgba(15,23,42,.06);overflow:hidden
}
.main-category-card::after{
  content:"";position:absolute;right:-40px;bottom:-40px;width:140px;height:140px;border-radius:50%;opacity:.1
}
.main-cat-icon{width:16px;height:64px;border-radius:999px;background:linear-gradient(180deg,var(--orange),var(--pink))}
.main-cat-text span{font-size:12px;font-weight:800;color:var(--muted);letter-spacing:.08em}
.main-cat-text h3{margin:5px 0 2px;font-size:23px}
.main-cat-text p{margin:0;color:var(--muted)}
.arrow{font-size:30px;font-weight:300}

.tone-orange::after{background:#ff8a3d}
.tone-pink::after{background:#ff4f93}
.tone-green::after{background:#38c979}
.tone-blue::after{background:#5b82ff}

.course-group{margin-bottom:72px}
.group-header{
  border-radius:24px;padding:28px;color:white;margin-bottom:28px;
  background:linear-gradient(135deg,#ff7a00,#ff2b8a);
  display:flex;justify-content:space-between;gap:28px;align-items:end
}
.group-header.tone-pink{background:linear-gradient(135deg,#ec4899,#7c3aed)}
.group-header.tone-green{background:linear-gradient(135deg,#18a864,#4acb92)}
.group-header.tone-blue{background:linear-gradient(135deg,#4068df,#213a88)}
.eyebrow-light{font-size:12px;font-weight:800;letter-spacing:.12em;opacity:.88}
.category-link-wrap{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.course-category-link{
  text-decoration:none;color:white;border:1px solid rgba(255,255,255,.38);
  padding:8px 12px;border-radius:999px;font-size:13px;font-weight:700;
  background:rgba(255,255,255,.11)
}
.course-category-link:hover{background:white;color:#172033}

.course-category-block{margin:34px 0 46px}
.sub-category-title{margin-bottom:16px}
.sub-category-title span{font-size:11px;font-weight:800;letter-spacing:.13em;color:var(--orange)}
.sub-category-title h3{margin:4px 0 0;font-size:28px}
.course-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.course-card{
  padding:22px;background:white;border:1px solid var(--line);border-radius:22px;
  box-shadow:0 10px 26px rgba(15,23,42,.05)
}
.course-card-top{display:flex;justify-content:space-between;gap:12px;margin-bottom:14px}
.course-tag{background:#fff2ea;color:#f06a13;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800}
.course-type{font-size:11px;color:#98a2b3;font-weight:700}
.course-card h4{margin:0 0 10px;font-size:18px;min-height:76px}
.course-card p{color:var(--muted);margin:0 0 18px;min-height:80px}
.course-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}
.action-btn{
  display:flex;align-items:center;justify-content:center;text-decoration:none;font-size:12px;font-weight:800;
  padding:9px 10px;border-radius:10px;border:1px solid transparent;text-align:center
}
.action-btn.outline{background:#fff6ef;color:#ee6b14;border-color:#ffd7bd}
.action-btn.schedule{background:#fff1f7;color:#dc2f80;border-color:#ffc8df}
.action-btn.quote{background:#f4f6ff;color:#4459c9;border-color:#d7ddff}
.action-btn.apply{background:linear-gradient(135deg,var(--orange),var(--pink));color:white}

.membership-section{padding:86px 0;background:white}
.membership-hero{
  border-radius:28px;padding:42px;color:white;
  background:
    radial-gradient(circle at 90% 10%,rgba(255,255,255,.14),transparent 28%),
    linear-gradient(135deg,#ff7a00 0%,#ff2b8a 55%,#9121d4 100%);
  display:grid;grid-template-columns:1.05fr .95fr;gap:30px
}
.membership-copy p{max-width:650px;color:rgba(255,255,255,.9)}
.membership-price{display:flex;align-items:baseline;gap:10px;margin:18px 0}
.membership-price strong{font-size:48px}
.membership-price span{font-size:16px}
.membership-link-btn{
  display:inline-flex;text-decoration:none;background:white;color:#bb256e;font-weight:800;
  padding:12px 18px;border-radius:12px
}
.membership-summary{display:grid;gap:14px}
.summary-card{padding:20px;border-radius:18px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.25)}
.summary-card span{font-size:11px;font-weight:800;letter-spacing:.12em}
.summary-card strong{display:block;font-size:21px;margin-top:3px}
.summary-card p{margin:4px 0 0;color:rgba(255,255,255,.84);font-size:14px}

.membership-package{padding-top:54px}
.package-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.package-card{
  border:1px solid var(--line);border-radius:24px;padding:28px;background:white;
  box-shadow:0 12px 28px rgba(15,23,42,.05)
}
.package-card.highlight{border:2px solid #ff5c94}
.package-label{display:inline-flex;padding:6px 10px;border-radius:999px;background:#fff1f6;color:#dc2f80;font-size:12px;font-weight:800}
.soft-label{background:#eef4ff;color:#4563d3}
.package-price{font-size:38px;font-weight:800;margin:16px 0}
.package-price small{font-size:14px;color:var(--muted)}
.package-card ul{padding-left:20px;color:#475467}
.package-desc{color:var(--muted)}
.package-apply,.package-outline{
  display:inline-flex;text-decoration:none;padding:12px 18px;border-radius:12px;font-weight:800;margin-top:10px
}
.package-apply{background:linear-gradient(135deg,var(--orange),var(--pink));color:white}
.package-outline{border:1px solid #cfd5e1;color:#334155;background:white}

.outline-group,.schedule-group{margin-top:54px}
.outline-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.outline-card{border:1px solid var(--line);border-radius:20px;padding:22px;background:white}
.outline-tag{font-size:12px;font-weight:800;color:#e14682}
.outline-card h4{font-size:18px;margin:8px 0}
.outline-card ul{padding-left:20px;color:var(--muted)}
.outline-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}

.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:20px;background:white}
.training-table{width:100%;border-collapse:collapse;min-width:900px}
.training-table th,.training-table td{padding:15px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.training-table thead th{background:#f1f5f9}
.table-link{color:#dd2c7d;text-decoration:none;font-weight:800}

.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:34px}
.contact-text{color:#d1d5db}
.contact-list div{padding:12px 0;border-bottom:1px solid rgba(255,255,255,.12)}
.contact-list strong{display:block}
.contact-list span{font-size:13px;color:#bfc6d2}
.contact-form{background:white;color:#1f2937;border-radius:22px;padding:28px}
.contact-form label{display:block;font-size:13px;font-weight:700;margin-bottom:12px}
input,textarea{width:100%;margin-top:6px;padding:12px;border:1px solid #d1d5db;border-radius:10px;font:inherit}
.submit-btn{width:100%;border:0;border-radius:12px;padding:13px;background:linear-gradient(135deg,var(--orange),var(--pink));color:white;font-weight:800;cursor:pointer}
.form-status{font-size:13px;color:#667085;margin-top:10px}

.site-footer{padding:20px 0;border-top:1px solid var(--line)}
.footer-wrap{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;color:#667085}
.footer-wrap img{height:40px;width:auto}

@media(max-width:1080px){
  .course-grid{grid-template-columns:repeat(2,1fr)}
  .outline-grid{grid-template-columns:1fr}
}
@media(max-width:900px){
  .nav{position:absolute;top:84px;left:0;right:0;background:white;display:none;flex-direction:column;align-items:flex-start;padding:18px 4%;border-bottom:1px solid var(--line)}
  .nav.open{display:flex}.menu-btn{display:block}
  .main-category-grid,.membership-hero,.package-grid,.contact-grid{grid-template-columns:1fr}
  .group-header,.section-head{display:block}
  .category-link-wrap{justify-content:flex-start;margin-top:16px}
}
@media(max-width:680px){
  .brand img{height:44px}
  .course-grid{grid-template-columns:1fr}
  .course-actions{grid-template-columns:1fr}
  .main-category-grid{grid-template-columns:1fr}
}


/* ==========================================================
   IMS refinement: header, logo clarity, typography
   Existing presentation/layout intentionally preserved.
   ========================================================== */

html{scroll-padding-top:78px}
body{
  font-size:15px;
  line-height:1.72;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
.anchor-target{
  position:relative;
  top:-78px;
  visibility:hidden;
  height:0;
}

/* Header follows supplied reference: clean white bar, compact menu */
.site-header{
  height:68px;
  background:#fff;
  border-bottom:1px solid #edf0f3;
  box-shadow:0 1px 7px rgba(15,23,42,.035);
}
.header-inner{
  width:100%;
  height:68px;
  padding:0 28px 0 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin:0 auto;
}
.brand{
  display:flex;
  align-items:center;
  flex:0 0 auto;
}
.brand img{
  width:188px;
  height:auto;
  max-height:48px;
  object-fit:contain;
}
.nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:29px;
}
.nav a{
  color:#263244;
  font-size:14px;
  font-weight:700;
  line-height:1;
  white-space:nowrap;
  letter-spacing:0;
}
.nav a:hover{color:var(--pink)}
.menu-btn{line-height:1}

/* Balanced Thai typography: smaller, calmer, more readable */
h1{
  font-size:clamp(30px,3.6vw,44px);
  line-height:1.25;
  letter-spacing:-.015em;
}
h2{
  font-size:clamp(26px,3vw,36px);
  line-height:1.3;
  letter-spacing:-.01em;
}
.main-cat-text h3{font-size:20px;line-height:1.45}
.group-header h2{font-size:clamp(25px,2.6vw,33px)}
.sub-category-title h3{font-size:24px}
.course-card h4{
  font-size:17px;
  line-height:1.55;
  min-height:76px;
}
.course-card p{
  font-size:14px;
  line-height:1.75;
}
.section-head p,
.package-desc,
.membership-copy p,
.contact-text{
  font-size:15px;
  line-height:1.75;
}
.action-btn{
  font-size:12px;
  line-height:1.3;
}
.category-section{padding-top:48px}
.section{padding-top:76px;padding-bottom:76px}
.membership-section{padding-top:76px;padding-bottom:76px}

/* Make header responsive while retaining current mobile presentation */
@media(max-width:1120px){
  .nav{gap:18px}
  .nav a{font-size:13px}
  .brand img{width:172px}
}
@media(max-width:900px){
  .site-header{height:68px}
  .header-inner{height:68px;padding:0 4%}
  .nav{
    position:absolute;
    top:68px;
    left:0;
    right:0;
    display:none;
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    padding:10px 4% 16px;
    background:#fff;
    border-bottom:1px solid var(--line);
    box-shadow:0 10px 20px rgba(15,23,42,.06);
  }
  .nav.open{display:flex}
  .nav a{width:100%;padding:12px 0;font-size:14px}
  .menu-btn{display:block}
}
@media(max-width:680px){
  .brand img{width:156px;max-height:44px}
  h1{font-size:30px}
  h2{font-size:26px}
  .main-cat-text h3{font-size:18px}
  .sub-category-title h3{font-size:22px}
}


/* ======================================================
   IMS PROFESSIONAL NAVY THEME
   Keep existing layout concept, refine color & hierarchy
   ====================================================== */

:root{
  --navy:#0b1f3a;
  --navy-2:#12345b;
  --navy-3:#1c4777;
  --orange:#ff7a00;
  --pink:#ef3c85;
  --ink:#172435;
  --muted:#5f6f82;
  --line:#dfe5ec;
  --soft:#f5f7fa;
  --soft-blue:#eef3f8;
}
body{
  color:var(--ink);
  background:#fff;
}

/* Header: formal white/navy */
.site-header{
  border-bottom:1px solid #e3e8ef;
  box-shadow:0 2px 10px rgba(11,31,58,.05);
}
.nav a{
  color:var(--navy);
  font-weight:700;
}
.nav a:hover{color:var(--orange)}
.brand img{
  width:204px;
  max-height:50px;
}

/* Main typography */
.section-kicker{
  color:var(--navy-3);
  letter-spacing:.11em;
}
.white-kicker{color:#ffd5bc}
h1,h2,h3,h4{color:var(--navy)}
.section-dark h1,.section-dark h2,.section-dark h3,.section-dark h4,
.membership-hero h2,.group-header h2{color:#fff}

/* About */
.about-section{
  background:#fff;
  border-top:1px solid #edf0f3;
}
.about-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:42px;
  align-items:start;
}
.about-intro p{
  color:var(--muted);
  font-size:15px;
  line-height:1.85;
}
.about-panel{
  background:var(--soft-blue);
  border:1px solid #dfe7ef;
  border-radius:22px;
  padding:22px 26px;
}
.about-stat{
  display:grid;
  grid-template-columns:52px 1fr;
  gap:14px;
  padding:18px 0;
  border-bottom:1px solid #d7e0e9;
}
.about-stat:last-child{border-bottom:0}
.about-stat>span{
  width:42px;height:42px;border-radius:10px;
  display:grid;place-items:center;
  background:var(--navy);color:#fff;font-weight:800
}
.about-stat strong{color:var(--navy);font-size:16px}
.about-stat p{margin:4px 0 0;color:var(--muted);font-size:14px}

/* Services */
.services-section{background:var(--soft)}
.services-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px
}
.service-box{
  background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;
  box-shadow:0 10px 24px rgba(11,31,58,.045)
}
.service-icon{
  width:42px;height:42px;border-radius:10px;
  display:grid;place-items:center;
  background:var(--navy);color:#fff;font-weight:800;margin-bottom:14px
}
.service-box h3{font-size:17px;margin:0 0 8px}
.service-box p{font-size:14px;color:var(--muted);margin:0}

/* Main category cards: more formal */
.main-category-card{
  border-color:#d8e0e8;
  box-shadow:0 8px 20px rgba(11,31,58,.04)
}
.main-cat-icon{
  background:linear-gradient(180deg,var(--navy),var(--navy-3))
}
.main-category-card::after{background:var(--navy)!important}
.main-cat-text h3{color:var(--navy)}

/* Category header: navy dominant, IMS accent retained */
.group-header,
.group-header.tone-pink,
.group-header.tone-green,
.group-header.tone-blue{
  background:linear-gradient(135deg,var(--navy) 0%,var(--navy-2) 68%,#1d4f82 100%);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 10px 26px rgba(11,31,58,.12)
}
.course-category-link{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.28)
}
.course-category-link:hover{
  background:#fff;color:var(--navy)
}

/* Long horizontal course banners */
.course-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}
.course-card{
  display:grid;
  grid-template-columns:180px 1.4fr .9fr;
  align-items:center;
  column-gap:22px;
  padding:20px 22px;
  border-left:5px solid var(--navy);
  border-radius:14px;
  box-shadow:0 7px 18px rgba(11,31,58,.04)
}
.course-card-top{
  display:block;
  margin:0;
}
.course-tag{
  display:inline-flex;
  background:#eef3f8;
  color:var(--navy-2);
  border:1px solid #dbe5ef
}
.course-type{
  display:block;
  margin-top:7px;
  color:#8290a3;
}
.course-card h4{
  min-height:auto;
  margin:0 0 7px;
  font-size:17px;
  color:var(--navy);
}
.course-card p{
  min-height:auto;
  margin:0;
  font-size:13px;
  line-height:1.65
}
.course-actions{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:8px
}
.action-btn{
  min-height:38px;
  border-radius:8px
}
.action-btn.outline{
  background:#eef3f8;color:var(--navy);border-color:#d9e3ed
}
.action-btn.schedule{
  background:#f4f7fa;color:var(--navy-3);border-color:#dfe6ed
}
.action-btn.quote{
  background:#fff7f1;color:#cf650d;border-color:#ffd7bb
}
.action-btn.apply{
  background:linear-gradient(135deg,var(--orange),var(--pink));color:#fff
}

/* Membership formalized */
.membership-section{background:#fff}
.membership-hero{
  background:
    radial-gradient(circle at 90% 10%,rgba(255,255,255,.1),transparent 26%),
    linear-gradient(135deg,var(--navy) 0%,var(--navy-2) 70%,#1d4f82 100%);
  box-shadow:0 14px 32px rgba(11,31,58,.12)
}
.membership-link-btn{
  color:var(--navy);
}
.package-card.highlight{
  border-color:var(--navy-3);
}
.package-label{
  background:#eef3f8;color:var(--navy)
}
.package-apply{
  background:linear-gradient(135deg,var(--navy),var(--navy-3));
}
.package-outline{
  color:var(--navy);border-color:#cbd6e2
}

/* Course outline & schedule */
.outline-card{
  border-left:4px solid var(--navy);
}
.outline-tag{color:var(--navy-3)}
.training-table thead th{
  background:var(--navy);
  color:#fff;
}
.table-link{color:var(--navy-3)}

/* Contact */
.section-dark{
  background:linear-gradient(135deg,#08182e,#0b1f3a 60%,#12345b);
}

/* Footer */
.site-footer{
  background:#fff;
  border-top:1px solid #dfe5ec
}

/* Knowledge page match navy theme */
.knowledge-hero{
  background:linear-gradient(180deg,#fff,#f3f6fa)!important
}
.download-card{
  border-color:#dfe5ec!important;
  box-shadow:0 8px 20px rgba(11,31,58,.04)!important
}
.file-icon{
  background:linear-gradient(135deg,var(--navy),var(--navy-3))!important
}
.filter-chip{
  background:#eef3f8!important;
  color:var(--navy)!important;
  border-color:#d7e1eb!important
}

/* Responsive long course banners */
@media(max-width:1000px){
  .about-grid,.services-grid{grid-template-columns:1fr 1fr}
  .course-card{
    grid-template-columns:150px 1fr;
  }
  .course-actions{
    grid-column:1 / -1;
    grid-template-columns:repeat(4,1fr);
    margin-top:10px
  }
}
@media(max-width:760px){
  .about-grid,.services-grid{grid-template-columns:1fr}
  .course-card{
    display:block;
  }
  .course-card-top{margin-bottom:10px}
  .course-card h4{margin-bottom:8px}
  .course-card p{margin-bottom:14px}
  .course-actions{grid-template-columns:repeat(2,1fr)}
}


/* ======================================================
   Update: horizontal action buttons + category graphics
   ====================================================== */

/* Category container styling */
.course-category-block{
  --cat:#1c4777;
  --cat-soft:#eef4fb;
  --cat-border:#d5e3f1;
  --cat-accent:#6c8fb3;
  position:relative;
  background:linear-gradient(180deg,var(--cat-soft) 0,#ffffff 110px);
  border:1px solid var(--cat-border);
  border-radius:22px;
  padding:22px 22px 24px;
  margin:26px 0 34px;
  box-shadow:0 10px 24px rgba(11,31,58,.04);
  overflow:hidden;
}
.course-category-block::after{
  content:"";
  position:absolute;
  right:-38px;
  top:-38px;
  width:140px;
  height:140px;
  border-radius:50%;
  background:radial-gradient(circle,var(--cat-accent) 0%, rgba(255,255,255,0) 70%);
  opacity:.16;
  pointer-events:none;
}
.sub-category-title{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px;
  padding-bottom:12px;
  border-bottom:1px dashed var(--cat-border);
}
.sub-category-title span{
  color:var(--cat);
  background:#fff;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--cat-border);
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
}
.sub-category-title h3{
  color:var(--cat);
  margin:0;
}

/* Long course banner with horizontal buttons */
.course-card{
  grid-template-columns:170px minmax(0,1.4fr) auto;
  column-gap:18px;
  border-left:5px solid var(--cat);
  background:linear-gradient(90deg, rgba(255,255,255,.95), #ffffff);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.course-card:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 26px rgba(11,31,58,.08);
}
.course-card h4{color:var(--navy)}
.course-tag{
  background:#fff;
  color:var(--cat);
  border:1px solid var(--cat-border);
}
.course-type{color:#7f8da0}
.course-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:nowrap;
  gap:8px;
}
.action-btn{
  flex:0 0 auto;
  min-width:118px;
  min-height:40px;
  padding:9px 12px;
  font-size:12px;
  border-radius:10px;
  box-shadow:none;
}
.action-btn.outline{
  background:#fff;
  color:var(--cat);
  border:1px solid var(--cat-border);
}
.action-btn.schedule{
  background:var(--cat-soft);
  color:var(--cat);
  border:1px solid var(--cat-border);
}
.action-btn.quote{
  background:#fff7f1;
  color:#c76312;
  border:1px solid #ffd7bb;
}
.action-btn.apply{
  background:linear-gradient(135deg,var(--cat), #0b1f3a);
  color:#fff;
}
.action-btn:hover{
  filter:brightness(.98);
}

/* Per-category palettes */
.cat-iso-9001{
  --cat:#1d5f9e;
  --cat-soft:#eef6fd;
  --cat-border:#cfe2f4;
  --cat-accent:#78aee0;
}
.cat-problem-solving{
  --cat:#ce741a;
  --cat-soft:#fff6ed;
  --cat-border:#f4dac0;
  --cat-accent:#f1a85f;
}
.cat-iatf-16949{
  --cat:#7a2fc2;
  --cat-soft:#f6efff;
  --cat-border:#e3d2fa;
  --cat-accent:#b587ef;
}
.cat-apqp{
  --cat:#0e7f63;
  --cat-soft:#edf9f5;
  --cat-border:#cdeadd;
  --cat-accent:#73d1b5;
}
.cat-control-plan{
  --cat:#f07c14;
  --cat-soft:#fff5eb;
  --cat-border:#ffdcbc;
  --cat-accent:#ffb87b;
}
.cat-pfmea{
  --cat:#127b5a;
  --cat-soft:#eef9f4;
  --cat-border:#cde9de;
  --cat-accent:#70c7a6;
}
.cat-msa{
  --cat:#5e2dbc;
  --cat-soft:#f4efff;
  --cat-border:#ddd0fa;
  --cat-accent:#ab88ea;
}
.cat-spc{
  --cat:#125ba8;
  --cat-soft:#eef5fe;
  --cat-border:#cfe0f6;
  --cat-accent:#7aa8e5;
}
.cat-ppap{
  --cat:#d02f2f;
  --cat-soft:#fff0f0;
  --cat-border:#f5cccc;
  --cat-accent:#ef8d8d;
}
.cat-8d{
  --cat:#a01a4b;
  --cat-soft:#fff0f6;
  --cat-border:#f6cfdf;
  --cat-accent:#dd7aa2;
}
.cat-csr{
  --cat:#8055c8;
  --cat-soft:#f6f2ff;
  --cat-border:#ddd3f5;
  --cat-accent:#b39ae7;
}
.cat-iso-14001{
  --cat:#147a47;
  --cat-soft:#eef8f1;
  --cat-border:#cde7d6;
  --cat-accent:#7fc79a;
}
.cat-aspect-impact{
  --cat:#228b58;
  --cat-soft:#eefaf2;
  --cat-border:#cce8d6;
  --cat-accent:#87cf9f;
}
.cat-iso-22301{
  --cat:#234f93;
  --cat-soft:#eef4fb;
  --cat-border:#cfdeee;
  --cat-accent:#7f9fd4;
}
.cat-bia{
  --cat:#2e669e;
  --cat-soft:#eff5fb;
  --cat-border:#d3e0ee;
  --cat-accent:#89afd7;
}
.cat-bcp{
  --cat:#315f96;
  --cat-soft:#eff4fa;
  --cat-border:#d3deea;
  --cat-accent:#89a8d0;
}
.cat-bcp-exercise{
  --cat:#3b5da6;
  --cat-soft:#eef2fd;
  --cat-border:#d0daf6;
  --cat-accent:#8ea5e5;
}

/* Responsive */
@media(max-width:1180px){
  .course-card{
    grid-template-columns:160px 1fr;
    row-gap:12px;
  }
  .course-actions{
    grid-column:1 / -1;
    justify-content:flex-start;
    flex-wrap:wrap;
  }
}
@media(max-width:760px){
  .course-category-block{padding:18px 16px 18px}
  .sub-category-title{
    display:block;
    padding-bottom:10px;
  }
  .sub-category-title span{display:inline-flex;margin-bottom:6px}
  .course-card{
    display:block;
    padding:18px;
  }
  .course-card-top{margin-bottom:10px}
  .course-card p{margin-bottom:14px}
  .course-actions{
    justify-content:flex-start;
    gap:8px;
  }
  .action-btn{
    min-width:calc(50% - 4px);
  }
}


/* ======================================================
   FINAL UI REFINEMENT
   - Correct horizontal buttons
   - Balanced typography
   - Smooth spacing / visual density
   ====================================================== */

:root{
  --navy:#102a4c;
  --navy-2:#1a426d;
  --navy-3:#2d5f90;
  --orange:#f57a19;
  --pink:#e94288;
  --ink:#182638;
  --muted:#627084;
  --line:#dde5ee;
  --line-soft:#e9eef4;
  --soft:#f6f8fb;
  --soft-blue:#f1f5f9;
  --white:#ffffff;
}

/* ---------- GLOBAL TYPOGRAPHY ---------- */
body{
  font-size:15px;
  line-height:1.68;
  color:var(--ink);
}
h1{
  font-size:clamp(30px,3.2vw,40px);
  line-height:1.25;
  font-weight:800;
  letter-spacing:-.01em;
}
h2{
  font-size:clamp(25px,2.5vw,32px);
  line-height:1.3;
  font-weight:800;
}
h3{
  font-size:20px;
  line-height:1.42;
  font-weight:800;
}
h4{
  font-size:17px;
  line-height:1.5;
  font-weight:800;
}
p,li,td,th,label,input,textarea{
  font-size:14px;
}
.section-kicker{
  font-size:11px;
  letter-spacing:.10em;
  margin-bottom:7px;
}
.section-head p,
.category-head p,
.group-header p{
  font-size:14px;
  line-height:1.65;
}

/* ---------- GLOBAL RHYTHM ---------- */
.section{
  padding-top:64px;
  padding-bottom:64px;
}
.category-section,
.membership-section{
  padding-top:56px;
  padding-bottom:56px;
}
.section-head{
  margin-bottom:20px;
}
.course-group{
  margin-bottom:50px;
}
.course-category-block{
  margin:22px 0 28px;
}

/* ---------- HEADER ---------- */
.site-header,
.header-inner{
  height:66px;
}
.header-inner{
  padding-left:18px;
  padding-right:28px;
}
.brand img{
  width:190px;
  max-height:46px;
}
.nav{
  gap:24px;
}
.nav a{
  font-size:13.5px;
  font-weight:700;
}

/* ---------- MAIN CATEGORY ---------- */
.main-category-grid{
  gap:14px;
}
.main-category-card{
  padding:20px 22px;
  border-radius:18px;
  box-shadow:0 6px 18px rgba(16,42,76,.045);
}
.main-cat-icon{
  height:52px;
}
.main-cat-text span{
  font-size:11px;
}
.main-cat-text h3{
  font-size:18px;
  line-height:1.45;
  margin:3px 0;
}
.main-cat-text p{
  font-size:13px;
}

/* ---------- GROUP HEADER ---------- */
.group-header,
.group-header.tone-pink,
.group-header.tone-green,
.group-header.tone-blue{
  padding:22px 24px;
  border-radius:18px;
  margin-bottom:20px;
  box-shadow:0 8px 20px rgba(16,42,76,.08);
}
.group-header h2{
  font-size:27px;
  margin-bottom:0;
}
.eyebrow-light{
  font-size:11px;
}
.category-link-wrap{
  gap:8px;
}
.course-category-link{
  font-size:12px;
  padding:7px 11px;
}

/* ---------- COURSE CATEGORY WRAPPER ---------- */
.course-category-block{
  padding:18px 18px 20px;
  border-radius:18px;
  background:linear-gradient(180deg,var(--cat-soft) 0,#fff 88px);
  box-shadow:0 6px 16px rgba(16,42,76,.035);
}
.course-category-block::after{
  width:100px;
  height:100px;
  right:-28px;
  top:-28px;
  opacity:.10;
}
.sub-category-title{
  align-items:center;
  min-height:42px;
  padding-bottom:10px;
  margin-bottom:12px;
}
.sub-category-title span{
  font-size:10.5px;
  padding:5px 9px;
}
.sub-category-title h3{
  font-size:22px;
}

/* ---------- COURSE CARD: CORRECT STRUCTURE ---------- */
.course-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

.course-card{
  display:grid !important;
  grid-template-columns:150px minmax(300px,1.5fr) minmax(250px,.95fr) !important;
  grid-template-areas:"meta content actions";
  align-items:center;
  gap:18px;
  width:100%;
  min-height:118px;
  padding:16px 18px !important;
  border-radius:14px;
  border:1px solid var(--line);
  border-left:4px solid var(--cat);
  background:#fff;
  box-shadow:0 4px 12px rgba(16,42,76,.035);
  overflow:visible;
}

.course-card-top{
  grid-area:meta;
  display:flex !important;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:6px;
  margin:0 !important;
  min-width:0;
}

.course-tag{
  max-width:100%;
  white-space:normal;
  text-align:center;
  font-size:11px;
  line-height:1.3;
  padding:6px 10px;
}
.course-type{
  display:block;
  margin:0;
  font-size:10.5px;
}

.course-card h4{
  grid-area:content;
  margin:0 0 7px;
  min-height:auto !important;
  font-size:16px;
  line-height:1.5;
  color:var(--navy);
}

/* place description in content area using shared grid column */
.course-card > p{
  grid-column:2;
  grid-row:1;
  align-self:end;
  margin:42px 0 0 !important;
  min-height:auto !important;
  font-size:12.5px;
  line-height:1.55;
  color:var(--muted);
}

/* ---------- ACTION BUTTONS: ONE CLEAN HORIZONTAL ROW ---------- */
.course-actions{
  grid-area:actions;
  display:grid !important;
  grid-template-columns:repeat(4,minmax(92px,1fr)) !important;
  gap:7px !important;
  width:100%;
  margin:0 !important;
  align-items:stretch;
  justify-content:stretch;
}

.action-btn{
  width:100%;
  min-width:0 !important;
  min-height:42px;
  padding:7px 8px !important;
  border-radius:9px;
  font-size:11px !important;
  line-height:1.25;
  font-weight:800;
  white-space:normal;
  text-align:center;
}

.action-btn.outline{
  background:#f7f9fb;
  color:var(--cat);
  border-color:var(--cat-border);
}
.action-btn.schedule{
  background:var(--cat-soft);
  color:var(--cat);
  border-color:var(--cat-border);
}
.action-btn.quote{
  background:#fff6ee;
  color:#c65f10;
  border-color:#f8d3b5;
}
.action-btn.apply{
  background:linear-gradient(135deg,var(--cat),var(--navy));
  color:#fff;
  border-color:transparent;
}

/* ---------- MEMBERSHIP ---------- */
.membership-hero{
  padding:32px;
  border-radius:22px;
}
.membership-copy p{
  font-size:14px;
  line-height:1.7;
}
.membership-price strong{
  font-size:40px;
}
.summary-card{
  padding:16px 18px;
}
.summary-card strong{
  font-size:18px;
}
.package-grid{
  gap:14px;
}
.package-card{
  padding:22px;
  border-radius:18px;
}
.package-price{
  font-size:32px;
}

/* ---------- ABOUT / SERVICES ---------- */
.about-grid{
  gap:30px;
}
.about-intro p{
  font-size:14px;
  line-height:1.75;
}
.about-panel{
  padding:18px 22px;
  border-radius:18px;
}
.about-stat{
  padding:14px 0;
}
.services-grid{
  gap:14px;
}
.service-box{
  padding:18px;
  border-radius:16px;
}
.service-box h3{
  font-size:16px;
}
.service-box p{
  font-size:13px;
  line-height:1.65;
}

/* ---------- OUTLINE / SCHEDULE ---------- */
.outline-grid{
  gap:14px;
}
.outline-card{
  padding:18px;
  border-radius:16px;
}
.outline-card h4{
  font-size:16px;
}
.outline-card li{
  font-size:13px;
}
.training-table th,
.training-table td{
  padding:12px 14px;
  font-size:13px;
}

/* ---------- KNOWLEDGE ---------- */
.knowledge-body h3{
  font-size:18px !important;
}
.knowledge-body p{
  font-size:13px !important;
}
.knowledge-card{
  border-radius:18px !important;
}

/* ---------- SMOOTH BACKGROUNDS ---------- */
.section-soft{
  background:#f6f8fb;
}
.category-section{
  background:linear-gradient(180deg,#fff,#f8fafc);
}
.course-category-block + .course-category-block{
  margin-top:26px;
}

/* ---------- RESPONSIVE ---------- */
@media(max-width:1180px){
  .course-card{
    grid-template-columns:135px minmax(260px,1fr) !important;
    grid-template-areas:
      "meta content"
      "actions actions";
    gap:14px 16px;
  }
  .course-card > p{
    grid-column:2;
    grid-row:1;
    margin-top:40px !important;
  }
  .course-actions{
    grid-template-columns:repeat(4,1fr) !important;
  }
}

@media(max-width:850px){
  .course-card{
    grid-template-columns:1fr !important;
    grid-template-areas:
      "meta"
      "content"
      "actions";
    min-height:auto;
  }
  .course-card > p{
    grid-column:1;
    grid-row:auto;
    margin:0 0 8px !important;
  }
  .course-card h4{
    margin-bottom:6px;
  }
  .course-actions{
    grid-template-columns:repeat(2,1fr) !important;
  }
}

@media(max-width:620px){
  body{font-size:14px}
  h1{font-size:28px}
  h2{font-size:24px}
  h3{font-size:19px}
  .section{padding-top:52px;padding-bottom:52px}
  .course-category-block{padding:15px}
  .course-card{padding:15px !important}
  .course-actions{
    grid-template-columns:1fr 1fr !important;
  }
  .action-btn{
    min-height:40px;
    font-size:10.8px !important;
  }
}


/* ======================================================
   COMPACT LAYOUT + MENU COLOR REFINEMENT
   Keep approved visual direction, reduce excess whitespace
   ====================================================== */

/* Header menu emphasis */
.nav .nav-member{
  color:#198754 !important;
  font-weight:800;
}
.nav .nav-member:hover{
  color:#126b42 !important;
}
.nav .nav-contact{
  color:#8b1e1e !important;
  font-weight:800;
}
.nav .nav-contact:hover{
  color:#651515 !important;
}

/* Reduce excessive vertical whitespace globally */
.section{
  padding-top:52px !important;
  padding-bottom:52px !important;
}
.category-section,
.membership-section{
  padding-top:44px !important;
  padding-bottom:44px !important;
}
.hero-section{
  padding-top:12px !important;
}
.section-head{
  margin-bottom:16px !important;
}
.course-group{
  margin-bottom:36px !important;
}
.course-category-block{
  margin:16px 0 20px !important;
}
.outline-group,
.schedule-group{
  margin-top:38px !important;
}
.membership-package{
  padding-top:38px !important;
}
.intro-section{
  padding-top:36px !important;
  padding-bottom:18px !important;
}
.category-nav-section{
  padding-top:12px !important;
  padding-bottom:24px !important;
}

/* Make page surfaces less empty */
body{
  background:#f3f6f9;
}
main{
  background:#f3f6f9;
}
.hero-section,
.about-section,
.membership-section,
.site-footer{
  background:#fff;
}
.services-section,
.section-soft,
.category-section{
  background:#f3f6f9 !important;
}

/* Containers feel fuller without being crowded */
.container{
  width:min(1260px,94%) !important;
}
.hero-slider{
  width:min(1320px,97%) !important;
}
.header-inner{
  padding-left:14px !important;
  padding-right:20px !important;
}

/* Reduce internal whitespace in content blocks */
.main-category-card{
  padding:18px 20px !important;
}
.group-header,
.group-header.tone-pink,
.group-header.tone-green,
.group-header.tone-blue{
  padding:18px 22px !important;
  margin-bottom:16px !important;
}
.course-category-block{
  padding:15px 16px 17px !important;
}
.course-card{
  min-height:104px !important;
  padding:14px 16px !important;
  gap:14px !important;
}
.course-card p{
  line-height:1.5 !important;
}
.course-actions{
  gap:6px !important;
}
.action-btn{
  min-height:38px !important;
  padding:6px 8px !important;
}

/* About/services denser */
.about-grid{
  gap:24px !important;
}
.about-panel{
  padding:16px 20px !important;
}
.about-stat{
  padding:12px 0 !important;
}
.services-grid{
  gap:12px !important;
}
.service-box{
  padding:16px !important;
}

/* Membership less airy */
.membership-hero{
  padding:28px !important;
  gap:22px !important;
}
.membership-summary{
  gap:10px !important;
}
.summary-card{
  padding:14px 16px !important;
}
.package-grid{
  gap:12px !important;
}
.package-card{
  padding:20px !important;
}

/* Knowledge page compactness */
.knowledge-hero{
  padding-top:42px !important;
  padding-bottom:26px !important;
}
.infographic-section{
  padding-top:12px !important;
  padding-bottom:14px !important;
}
.download-section{
  padding-top:42px !important;
  padding-bottom:56px !important;
}
.knowledge-grid{
  gap:14px !important;
}
.download-grid{
  gap:14px !important;
}

/* Footer */
.site-footer{
  padding:16px 0 !important;
}

/* Mobile */
@media(max-width:900px){
  .section{
    padding-top:42px !important;
    padding-bottom:42px !important;
  }
  .category-section,
  .membership-section{
    padding-top:36px !important;
    padding-bottom:36px !important;
  }
  .nav .nav-member,
  .nav .nav-contact{
    font-weight:800;
  }
}


/* ======================================================
   TYPOGRAPHY / ALIGNMENT / LEGIBILITY REFINEMENT
   Maintain current approved visual structure.
   ====================================================== */

/* Overall text rendering */
body{
  font-size:15.5px !important;
  line-height:1.72 !important;
  color:#1a2a3d !important;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* Keep headings clear but not oversized */
h1{
  font-size:clamp(31px,3vw,39px) !important;
  line-height:1.28 !important;
  font-weight:800 !important;
  letter-spacing:-.005em !important;
}
h2{
  font-size:clamp(25px,2.3vw,31px) !important;
  line-height:1.34 !important;
  font-weight:800 !important;
}
h3{
  font-size:19px !important;
  line-height:1.45 !important;
  font-weight:800 !important;
}
h4{
  font-size:16.5px !important;
  line-height:1.52 !important;
  font-weight:800 !important;
}

/* Section labels were too small */
.section-kicker,
.eyebrow-light,
.sub-category-title span,
.course-type,
.main-cat-text span{
  font-size:12px !important;
  line-height:1.45 !important;
  font-weight:800 !important;
  letter-spacing:.055em !important;
}

/* Standard body copy */
p,
li,
td,
th,
label{
  font-size:14px !important;
  line-height:1.68 !important;
}
.section-head p,
.category-head p,
.about-intro p,
.membership-copy p,
.package-desc,
.contact-text,
.knowledge-body p{
  font-size:14.5px !important;
  line-height:1.75 !important;
  color:#5a6a7e !important;
}

/* Better alignment for heading + descriptive text */
.section-head,
.category-head{
  align-items:flex-start !important;
}
.section-head > div:first-child,
.category-head > div:first-child{
  flex:1 1 52%;
}
.section-head > p,
.category-head > p{
  flex:1 1 42%;
  margin-top:5px !important;
  text-align:left !important;
}

/* Main category title balance */
.group-header{
  align-items:center !important;
}
.group-header > div:first-child{
  flex:1 1 55%;
}
.group-header h2{
  font-size:26px !important;
  line-height:1.35 !important;
  margin:3px 0 0 !important;
}
.category-link-wrap{
  flex:1 1 40%;
  justify-content:flex-end !important;
}

/* Fix course row text alignment */
.course-card{
  align-items:center !important;
}
.course-card-top{
  align-self:center !important;
}
.course-card h4{
  align-self:start !important;
  margin-top:0 !important;
}
.course-card > p{
  align-self:end !important;
  color:#647388 !important;
}

/* Buttons slightly larger for clarity */
.action-btn{
  font-size:11.5px !important;
  font-weight:800 !important;
  letter-spacing:0 !important;
}
.course-actions{
  align-self:center !important;
}

/* Tables: clearer labels */
.training-table th{
  font-size:13px !important;
  font-weight:800 !important;
  line-height:1.5 !important;
}
.training-table td{
  font-size:13.5px !important;
  line-height:1.6 !important;
}

/* Knowledge cards */
.knowledge-body h3{
  font-size:18px !important;
  line-height:1.45 !important;
}
.knowledge-tag,
.filter-chip{
  font-size:11.5px !important;
}

/* Better visual balance of intro/about/services */
.about-intro p,
.service-box p{
  text-align:left !important;
}
.service-box h3{
  line-height:1.45 !important;
}

/* Prevent Thai orphan feel in wide headings */
.main-cat-text h3,
.group-header h2,
.sub-category-title h3,
.course-card h4{
  word-break:normal !important;
  overflow-wrap:break-word !important;
}

/* Mobile/tablet alignment */
@media(max-width:900px){
  .section-head,
  .category-head{
    display:block !important;
  }
  .section-head > p,
  .category-head > p{
    margin-top:8px !important;
  }
  .category-link-wrap{
    justify-content:flex-start !important;
  }
}

/* Membership 2026 - LEARN • UPDATE • COMPLY */
.membership-hero-new{align-items:stretch}
.membership-lead{font-size:16px;line-height:1.8}
.membership-cta-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:20px}
.membership-apply-btn,.membership-promo-btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 22px;border-radius:999px;background:linear-gradient(90deg,#ff7a00,#e90064);color:#fff;text-decoration:none;font-weight:800;box-shadow:0 8px 24px rgba(233,0,100,.24);transition:.2s ease}
.membership-apply-btn:hover,.membership-promo-btn:hover{transform:translateY(-2px)}
.membership-value-note{font-size:12px!important;opacity:.78;margin-top:14px!important}
.membership-pillars .summary-card{min-height:138px}
.membership-benefit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:30px 0 34px}
.membership-benefit-card{border:1px solid #e6ebf0;border-radius:20px;padding:24px;background:#fff;box-shadow:0 10px 30px rgba(16,38,63,.06)}
.membership-benefit-card .benefit-step{font-size:12px;font-weight:800;letter-spacing:.08em;color:#e90064}
.membership-benefit-card h3{font-size:19px;margin:8px 0 14px;color:#10263f}
.membership-benefit-card ul{margin:0;padding-left:19px;color:#526071;line-height:1.75;font-size:13px}
.membership-benefit-card li+li{margin-top:5px}
.membership-package-cards{margin-top:16px}
.membership-promo-banner{margin-top:28px;border-radius:22px;padding:28px 30px;background:#10263f;color:#fff;display:flex;justify-content:space-between;gap:28px;align-items:center;box-shadow:0 16px 34px rgba(16,38,63,.14)}
.membership-promo-banner h3{margin:5px 0 8px;color:#fff;font-size:23px}
.membership-promo-banner p{margin:0;color:#ced7e2;max-width:760px;line-height:1.7;font-size:14px}
.promo-eyebrow{font-size:11px;letter-spacing:.11em;font-weight:800;color:#ffb47d}
.membership-promo-btn{white-space:nowrap;min-width:145px}
@media(max-width:900px){.membership-benefit-grid{grid-template-columns:1fr}.membership-promo-banner{align-items:flex-start;flex-direction:column}.membership-promo-btn{width:100%}}

/* IMS compact modern refinement — 2026-09-29 */
.section{padding-top:62px;padding-bottom:62px}
.category-section{padding-top:38px;padding-bottom:48px}
.membership-section{padding:62px 0}
.membership-hero{padding:32px;border-radius:24px;gap:22px}
.membership-price{margin:12px 0}.membership-price strong{font-size:42px}
.membership-summary{gap:10px}.summary-card{padding:16px;border-radius:15px}.summary-card strong{font-size:18px}.summary-card p{font-size:12px;line-height:1.6}
.membership-package{padding-top:36px}.membership-benefit-grid{gap:12px;margin:22px 0 24px}.membership-benefit-card{padding:18px;border-radius:18px}.membership-benefit-card h3{font-size:18px;margin:6px 0 8px}.membership-benefit-card li{font-size:13px;line-height:1.65;margin:3px 0}
.membership-package-cards{gap:12px}.package-card{padding:22px;border-radius:20px}.package-card ul{margin:10px 0}.package-card li{font-size:13px;line-height:1.65;margin:3px 0}
.membership-promo-banner{margin-top:20px;padding:21px 23px;border-radius:18px}.membership-promo-banner h3{font-size:20px}.membership-promo-banner p{font-size:13px}
.course-category-block{margin:28px 0 36px}.course-grid{gap:14px}.course-card{padding:18px;border-radius:18px}.course-card h4{min-height:66px}.course-card p{min-height:66px}
@media(max-width:680px){.section{padding-top:46px;padding-bottom:46px}.membership-section{padding:46px 0}.membership-hero{padding:22px}.membership-price strong{font-size:36px}}


/* ==========================================================
   IMS Document System & Checkout
   ========================================================== */
.active-link{color:var(--pink)!important}.cart-link{display:inline-flex!important;align-items:center;gap:6px}.cart-count{min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:linear-gradient(135deg,var(--orange),var(--pink));color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:10px}.compact-hero{padding:48px 0;background:linear-gradient(135deg,#fff8f1 0%,#fff 52%,#fff1f7 100%);border-bottom:1px solid #f1e7ea}.doc-hero-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:32px;align-items:center}.doc-hero h1,.checkout-hero h1{margin:7px 0 12px}.doc-hero h1 span{color:#d82f7d}.doc-hero p,.checkout-hero p{max-width:720px;color:var(--muted);margin:0}.hero-actions{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}.doc-primary,.doc-secondary{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:800;border-radius:12px;padding:11px 17px}.doc-primary{color:#fff;background:linear-gradient(135deg,var(--orange),var(--pink))}.doc-secondary{background:#fff;color:#344054;border:1px solid var(--line)}.doc-value-panel{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.doc-value-panel>div{padding:18px 12px;background:#fff;border:1px solid #f0dfe5;border-radius:18px;text-align:center;box-shadow:0 10px 26px rgba(15,23,42,.04)}.doc-value-panel strong{display:block;font-size:21px;color:#d52d79}.doc-value-panel span{display:block;font-size:12px;color:var(--muted);margin-top:4px}.doc-shop-section{padding-top:50px;padding-bottom:58px}.compact-head{margin-bottom:20px}.doc-tabs{display:flex;gap:8px;overflow:auto;padding-bottom:8px;margin-bottom:14px}.doc-tab{border:1px solid #e2e8f0;background:#fff;color:#475467;padding:9px 14px;border-radius:999px;font:inherit;font-size:13px;font-weight:800;white-space:nowrap;cursor:pointer}.doc-tab.active{background:#182230;color:#fff;border-color:#182230}.doc-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:0 0 18px}.doc-search{flex:1}.doc-search input{margin:0;background:#fff}.doc-result{font-size:13px;color:#667085;white-space:nowrap}.document-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.doc-card{border:1px solid var(--line);border-radius:18px;background:#fff;padding:19px;display:flex;flex-direction:column;min-height:260px;box-shadow:0 9px 22px rgba(15,23,42,.035);transition:.2s ease}.doc-card:hover{transform:translateY(-2px);box-shadow:0 15px 30px rgba(15,23,42,.07)}.doc-card-top{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:12px}.doc-standard{display:inline-flex;padding:5px 9px;border-radius:999px;background:#fff2ea;color:#ed6c15;font-size:11px;font-weight:800}.doc-kind{font-size:11px;color:#98a2b3;font-weight:700}.doc-card h3{font-size:17px;line-height:1.5;margin:0 0 8px}.doc-card p{font-size:13px;color:var(--muted);margin:0 0 14px;line-height:1.65;flex:1}.doc-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #f0f2f5;padding-top:13px;margin-top:auto}.doc-price{font-size:20px;font-weight:800;color:#182230}.doc-format{font-size:11px;color:#667085}.doc-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:11px}.preview-btn,.buy-btn{border-radius:10px;padding:9px 10px;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.preview-btn{background:#fff;border:1px solid #d0d5dd;color:#344054}.buy-btn{border:0;color:#fff;background:linear-gradient(135deg,var(--orange),var(--pink))}.doc-note-section{padding:38px 0 56px;background:#f8fafc;border-top:1px solid #edf0f3}.doc-note-grid{display:grid;grid-template-columns:.7fr 1.3fr;gap:28px;align-items:center}.doc-note-grid h2{margin:5px 0}.doc-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.doc-steps div{padding:14px;background:#fff;border:1px solid var(--line);border-radius:14px}.doc-steps b{display:flex;width:26px;height:26px;border-radius:50%;align-items:center;justify-content:center;background:#182230;color:#fff;font-size:12px}.doc-steps span{display:block;font-size:12px;font-weight:700;margin-top:8px}.preview-modal,.order-modal{position:fixed;inset:0;z-index:200;display:none}.preview-modal.open,.order-modal.open{display:block}.preview-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.58)}.preview-dialog,.order-dialog{position:relative;z-index:2;width:min(760px,calc(100% - 30px));max-height:86vh;overflow:auto;margin:7vh auto;background:#fff;border-radius:22px;padding:28px;box-shadow:0 30px 80px rgba(0,0,0,.25)}.preview-close{position:absolute;right:16px;top:13px;border:0;background:#f2f4f7;width:34px;height:34px;border-radius:50%;font-size:22px;cursor:pointer}.preview-label{font-size:12px;font-weight:800;color:#d52d79}.preview-title{font-size:25px;margin:6px 42px 8px 0}.preview-sub{color:#667085;font-size:14px}.preview-paper{margin-top:18px;border:1px solid #e2e8f0;border-radius:14px;padding:22px;background:#fcfcfd}.preview-paper h4{margin:0 0 12px}.preview-paper ol{padding-left:20px;color:#475467}.preview-paper li{margin:8px 0}.preview-actions{display:flex;justify-content:flex-end;margin-top:16px}.cart-toast{position:fixed;right:22px;bottom:22px;z-index:220;background:#182230;color:#fff;padding:11px 16px;border-radius:11px;opacity:0;transform:translateY(10px);pointer-events:none;transition:.25s}.cart-toast.show{opacity:1;transform:none}.checkout-section{padding-top:42px}.checkout-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:20px;align-items:start}.checkout-main{display:grid;gap:14px}.checkout-card,.summary-sticky{background:#fff;border:1px solid var(--line);border-radius:18px;padding:21px;box-shadow:0 9px 22px rgba(15,23,42,.03)}.checkout-card h2,.summary-sticky h2{font-size:20px;margin:0 0 15px}.checkout-card-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.checkout-card-head a{text-decoration:none;color:#d52d79;font-weight:800;font-size:13px}.checkout-item{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;padding:13px 0;border-top:1px solid #eef1f4}.checkout-item:first-child{border-top:0}.checkout-item strong{display:block}.checkout-item small{display:block;color:#667085}.checkout-item-price{font-weight:800}.remove-item{border:0;background:#fff1f3;color:#d92d20;width:30px;height:30px;border-radius:8px;cursor:pointer}.empty-cart{text-align:center;padding:34px 10px;color:#667085}.empty-cart a{display:inline-flex;margin-top:12px;text-decoration:none;font-weight:800;color:#d52d79}.checkout-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.checkout-card label{display:block;font-size:13px;font-weight:700}.checkout-card input,.checkout-card textarea{margin-top:5px}.tax-toggle,.checkout-agree{display:flex!important;align-items:flex-start;gap:8px;margin-top:15px}.tax-toggle input,.checkout-agree input,.payment-option input{width:auto;margin:3px 0 0}.tax-fields{margin-top:14px;padding-top:14px;border-top:1px solid #eef1f4}.hidden{display:none!important}.payment-options{display:grid;gap:9px}.payment-option{display:flex!important;gap:10px;padding:13px;border:1px solid #d0d5dd;border-radius:12px;cursor:pointer}.payment-option.selected{border-color:#e94e8e;background:#fff7fb}.payment-option span{display:block}.payment-option strong{display:block}.payment-option small{display:block;color:#667085;font-weight:400;margin-top:3px}.summary-sticky{position:sticky;top:86px}.summary-row{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #eef1f4}.summary-row.total{font-size:19px;border-bottom:0;padding-top:16px}.summary-row.total strong{color:#d52d79;font-size:24px}.place-order-btn{width:100%;margin-top:16px;border:0;border-radius:12px;padding:12px;background:linear-gradient(135deg,var(--orange),var(--pink));color:#fff;font:inherit;font-weight:800;cursor:pointer}.checkout-small{font-size:11px;color:#98a2b3;line-height:1.6;margin-bottom:0}.order-success{text-align:center;padding:6px}.order-success .success-icon{width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#ecfdf3;color:#027a48;font-size:26px;margin:0 auto 12px}.order-success h2{margin:0 0 8px}.order-success p{color:#667085}.order-ref{display:inline-flex;padding:8px 12px;border-radius:9px;background:#f2f4f7;font-weight:800}.payment-placeholder{margin-top:16px;padding:16px;border:1px dashed #f0a0bf;border-radius:12px;background:#fff7fb;text-align:left}.payment-placeholder strong{display:block;margin-bottom:5px}
@media(max-width:1050px){.document-grid{grid-template-columns:repeat(2,1fr)}.doc-hero-grid,.checkout-grid,.doc-note-grid{grid-template-columns:1fr}.summary-sticky{position:static}}@media(max-width:680px){.document-grid{grid-template-columns:1fr}.doc-value-panel,.doc-steps,.checkout-form-grid{grid-template-columns:1fr}.doc-toolbar{align-items:stretch;flex-direction:column}.doc-result{white-space:normal}.checkout-item{grid-template-columns:1fr auto}.checkout-item-price{grid-column:1/2}.doc-hero-grid{gap:20px}.compact-hero{padding:34px 0}}

.document-promo{margin-top:18px;padding:18px 20px;border:1px solid #f0dfe5;border-radius:16px;background:linear-gradient(90deg,#fff8f2,#fff7fb);display:flex;align-items:center;justify-content:space-between;gap:18px}.document-promo strong{display:block;font-size:17px}.document-promo span{display:block;color:#667085;font-size:13px;margin-top:3px}.document-promo a{text-decoration:none;white-space:nowrap;font-weight:800;color:#d52d79}@media(max-width:680px){.document-promo{align-items:flex-start;flex-direction:column}}

/* ===== V63 Easy-System quote flow ===== */
.easy-system-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px;align-items:center}
.easy-system-actions .package-outline,.easy-system-actions .package-primary{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 16px;border-radius:12px;font-weight:700;text-decoration:none;cursor:pointer;font-family:inherit}
.easy-system-actions .package-primary{background:linear-gradient(135deg,#ff8614,#f72578);color:#fff;border:0;box-shadow:0 8px 20px rgba(247,37,120,.18)}
.easy-system-actions .package-outline{background:#fff;color:#123b74;border:1px solid rgba(18,59,116,.22)}
.home-easy-system-card{cursor:default}
.service-easy-actions{margin-top:18px}

.ims-milestone-modal{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:22px;background:rgba(4,20,45,.82)}
.ims-milestone-modal.is-open{display:flex}
.ims-milestone-dialog{position:relative;width:min(1500px,96vw);max-height:94vh;background:#fff;border-radius:18px;box-shadow:0 24px 80px rgba(0,0,0,.35);overflow:auto;padding:18px}
.ims-milestone-dialog img{display:block;width:100%;height:auto;border-radius:10px}
.ims-milestone-close{position:sticky;top:0;float:right;z-index:2;width:42px;height:42px;border:0;border-radius:50%;background:#0a2f60;color:#fff;font-size:26px;line-height:1;cursor:pointer;box-shadow:0 4px 16px rgba(0,0,0,.18)}

.easy-quote-hero{background:linear-gradient(135deg,#082f66 0%,#0c4b8e 60%,#133f78 100%);color:#fff;padding:54px 0 42px}
.easy-quote-hero .section-kicker{color:#ffcf75}
.easy-quote-hero h1{margin:8px 0 12px;font-size:clamp(30px,4vw,48px)}
.easy-quote-hero p{max-width:880px;margin:0;line-height:1.8;color:#fff}
.quote-shell{max-width:1100px;margin:0 auto}
.quote-intro-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:22px;margin-bottom:24px}
.quote-info-card,.quote-date-card,.quote-form-card{background:#fff;border:1px solid rgba(13,58,111,.10);border-radius:18px;box-shadow:0 12px 35px rgba(12,55,104,.07)}
.quote-info-card,.quote-date-card{padding:22px}
.quote-info-card h2,.quote-date-card h2,.quote-form-card h2{margin:0 0 12px;color:#103c72}
.quote-date-value{font-size:clamp(24px,3vw,36px);font-weight:800;color:#f22975;margin:4px 0}
.quote-date-card small{display:block;line-height:1.6;color:#5a6d82}
.quote-form-card{padding:26px}
.quote-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}
.quote-field{display:flex;flex-direction:column;gap:7px}
.quote-field.full{grid-column:1/-1}
.quote-field label,.quote-standard-title{font-weight:700;color:#173f70}
.quote-field input,.quote-field select,.quote-field textarea{width:100%;box-sizing:border-box;border:1px solid #cbd7e5;border-radius:11px;padding:11px 12px;font:inherit;background:#fff;color:#17324f;outline:none}
.quote-field input:focus,.quote-field select:focus,.quote-field textarea:focus{border-color:#f22975;box-shadow:0 0 0 3px rgba(242,41,117,.09)}
.quote-field textarea{min-height:110px;resize:vertical}
.quote-standard-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:6px}
.quote-check{display:flex;gap:8px;align-items:flex-start;padding:10px 12px;border:1px solid #dce5ef;border-radius:10px;background:#fbfdff}
.quote-check input{margin-top:4px}
.quote-consent{display:flex;gap:10px;align-items:flex-start;margin-top:20px;font-size:14px;line-height:1.6;color:#42566c}
.quote-submit-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:22px}
.quote-submit{border:0;border-radius:12px;padding:12px 22px;background:linear-gradient(135deg,#ff8515,#f31d78);color:#fff;font:inherit;font-weight:800;cursor:pointer}
.quote-submit[disabled]{opacity:.55;cursor:not-allowed}
.quote-alert{display:none;margin-top:10px;padding:11px 13px;border-radius:10px;font-size:14px;line-height:1.5}
.quote-alert.show{display:block}
.quote-alert.error{background:#fff0f3;color:#a51b45;border:1px solid #ffc1d2}
.quote-alert.success{background:#eefaf3;color:#17693c;border:1px solid #bce6cc}
.quote-alert.info{background:#eef6ff;color:#164f86;border:1px solid #c5ddf6}
.quote-required{color:#e81861}
.quote-footnote{margin-top:18px;font-size:13px;line-height:1.6;color:#68798a}
@media(max-width:800px){.quote-intro-grid,.quote-grid{grid-template-columns:1fr}.quote-standard-list{grid-template-columns:1fr 1fr}.quote-form-card{padding:20px}.easy-system-actions{gap:8px}}
@media(max-width:520px){.quote-standard-list{grid-template-columns:1fr}.easy-system-actions .package-outline,.easy-system-actions .package-primary{width:100%}}


/* ===== V66 Easy-System package preview ===== */
.home-easy-system-card.js-easy-system-preview,
.easy-system-service-card.js-easy-system-preview{cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.home-easy-system-card.js-easy-system-preview:hover,
.easy-system-service-card.js-easy-system-preview:hover{transform:translateY(-2px);box-shadow:0 15px 34px rgba(14,54,101,.10)}
.home-easy-system-card.js-easy-system-preview:focus-visible,
.easy-system-service-card.js-easy-system-preview:focus-visible{outline:3px solid rgba(247,37,120,.28);outline-offset:3px}

.ims-easy-preview-modal{position:fixed;inset:0;z-index:10020;display:none;align-items:center;justify-content:center;padding:18px;background:rgba(4,20,45,.86)}
.ims-easy-preview-modal.is-open{display:flex}
.ims-easy-preview-dialog{position:relative;width:min(1180px,96vw);max-height:95vh;overflow:auto;background:#fff;border-radius:20px;box-shadow:0 28px 90px rgba(0,0,0,.42);padding:14px}
.ims-easy-preview-dialog>img{display:block;width:100%;height:auto;border-radius:12px}
.ims-easy-preview-close{position:sticky;top:0;float:right;z-index:4;width:42px;height:42px;border:0;border-radius:50%;background:#0a2f60;color:#fff;font-size:27px;line-height:1;cursor:pointer;box-shadow:0 5px 18px rgba(0,0,0,.22)}
.ims-easy-preview-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:6px 52px 14px 4px}
.ims-easy-preview-head span{display:block;font-size:11px;font-weight:800;letter-spacing:.12em;color:#f22975}
.ims-easy-preview-head strong{display:block;margin-top:3px;font-size:20px;color:#0d376d}
.ims-easy-preview-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.ims-easy-preview-actions .package-outline,.ims-easy-preview-actions .package-primary{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 14px;border-radius:11px;font-weight:800;text-decoration:none;font-family:inherit;cursor:pointer}
.ims-easy-preview-actions .package-outline{background:#fff;color:#123b74;border:1px solid rgba(18,59,116,.22)}
.ims-easy-preview-actions .package-primary{border:0;color:#fff;background:linear-gradient(135deg,#ff8614,#f72578)}
@media(max-width:680px){
  .ims-easy-preview-dialog{padding:10px}
  .ims-easy-preview-head{align-items:flex-start;flex-direction:column;padding:4px 44px 10px 2px}
  .ims-easy-preview-actions{width:100%;justify-content:stretch}
  .ims-easy-preview-actions .package-outline,.ims-easy-preview-actions .package-primary{flex:1}
}

/* ===== V71 Home Brand Story ===== */
.ims-brand-hero{background:linear-gradient(115deg,#fff 0%,#fff 44%,#eef6ff 100%);overflow:hidden;border-bottom:1px solid #e7edf5}
.ims-brand-hero-grid{display:grid;grid-template-columns:1.02fr .98fr;min-height:520px;align-items:stretch}
.ims-brand-copy{display:flex;flex-direction:column;justify-content:center;padding:54px 28px 54px 0;position:relative;z-index:3}
.ims-brand-copy h1{font-size:clamp(44px,5.2vw,74px);line-height:1.02;margin:6px 0 20px;color:#092d5c;letter-spacing:-.035em}
.ims-brand-copy h1 span{background:linear-gradient(90deg,#ff7a00,#ef246f);-webkit-background-clip:text;background-clip:text;color:transparent}
.ims-brand-copy>p{font-size:clamp(19px,2vw,27px);line-height:1.55;color:#163a64;max-width:760px;margin:0 0 20px;font-weight:650}
.ims-brand-service-line{display:flex;gap:10px;flex-wrap:wrap;color:#13345d;font-size:14px;margin:4px 0 24px}.ims-brand-service-line span{opacity:.36}
.ims-brand-actions{display:flex;gap:12px;flex-wrap:wrap}.ims-brand-actions .package-primary,.ims-brand-actions .package-outline,.ims-start-cta .package-primary,.ims-start-cta .package-outline{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 20px;border-radius:12px;font-weight:800;text-decoration:none}.ims-brand-actions .package-primary,.ims-start-cta .package-primary{background:linear-gradient(135deg,#ff7a00,#ef246f);color:#fff;border:0}.ims-brand-actions .package-outline,.ims-start-cta .package-outline{background:#fff;color:#123b74;border:1px solid rgba(18,59,116,.24)}
.ims-road-visual{position:relative;min-height:520px;background:linear-gradient(180deg,#bfe0ff 0%,#f5f9fd 46%,#d7e8d6 47%,#547d4d 100%);overflow:hidden;isolation:isolate}
.ims-road-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.75) 0%,rgba(255,255,255,.06) 36%,transparent 100%);z-index:6;pointer-events:none}
.ims-mountain{position:absolute;bottom:39%;width:54%;height:34%;background:linear-gradient(145deg,#d4e1ec,#6d8299);clip-path:polygon(0 100%,48% 0,100% 100%);opacity:.95;z-index:1}.ims-mountain.m1{left:0}.ims-mountain.m2{left:26%;height:42%;width:58%;background:linear-gradient(145deg,#edf4f8,#7d8fa0)}.ims-mountain.m3{left:58%;height:29%;background:linear-gradient(145deg,#c8d6df,#657a8d)}
.ims-sun{position:absolute;width:100px;height:100px;border-radius:50%;background:radial-gradient(circle,#fff 0%,#ffd99b 36%,rgba(255,181,80,.05) 72%);right:19%;top:24%;box-shadow:0 0 70px 35px rgba(255,191,98,.35);z-index:2}
.ims-road{position:absolute;left:43%;bottom:-6%;width:45%;height:72%;background:linear-gradient(90deg,#3e4852 0 47%,#f8f3df 47% 49%,#3e4852 49% 100%);clip-path:polygon(43% 0,58% 0,100% 100%,0 100%);transform:rotate(-7deg);z-index:4;box-shadow:0 0 0 7px rgba(255,255,255,.32)}
.ims-road:after{content:"";position:absolute;left:49%;top:7%;height:86%;width:4px;background:repeating-linear-gradient(to bottom,#fff 0 22px,transparent 22px 48px);transform:skew(-8deg)}
.ims-signs{position:absolute;right:6%;top:24%;z-index:8;display:flex;flex-direction:column;gap:8px;align-items:flex-end}.ims-signs span{display:block;min-width:140px;padding:12px 20px;color:#fff;font-weight:900;font-size:22px;letter-spacing:.02em;clip-path:polygon(0 0,88% 0,100% 50%,88% 100%,0 100%);text-align:center;filter:drop-shadow(0 7px 11px rgba(0,0,0,.16))}.ims-signs span:nth-child(1){background:#0b3c73}.ims-signs span:nth-child(2){background:linear-gradient(90deg,#ff8a00,#f33576)}.ims-signs span:nth-child(3){background:#ec246f}
.ims-road-caption{position:absolute;right:7%;top:7%;z-index:8;color:#fff;text-align:right;text-shadow:0 2px 10px rgba(13,46,78,.28)}.ims-road-caption strong{display:block;font-size:25px}.ims-road-caption small{display:block;font-size:14px;margin-top:4px}
.ims-story-section{padding:58px 0!important}.ims-story-layout{display:grid;gap:28px}.ims-story-title{display:flex;align-items:flex-start;gap:18px}.ims-story-title>span{font-size:48px;font-weight:900;line-height:1;color:#ef4b59;letter-spacing:-.04em}.ims-story-title h2{margin:0;color:#0a315f;font-size:30px}.ims-story-title p{margin:5px 0 0;color:#415b79;font-weight:600}.ims-story-title.light h2,.ims-story-title.light p{color:#fff}.ims-story-title.light>span{color:#fff}
.ims-story-problem{background:linear-gradient(90deg,#fff7f5,#fff)}.ims-problem-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.ims-problem-grid article{background:#fff;border:1px solid #f2e6e4;border-radius:18px;padding:20px 18px;box-shadow:0 9px 24px rgba(32,54,80,.04);min-height:164px}.ims-problem-grid b{display:block;color:#ef246f;font-size:12px;margin-bottom:18px}.ims-problem-grid strong{display:block;color:#0b376b;font-size:16px}.ims-problem-grid p{font-size:13px;color:#61748b;line-height:1.6;margin:8px 0 0}
.ims-story-method{background:#eef8ff}.ims-method-flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;gap:18px;align-items:start}.ims-method-flow article{text-align:center;padding:16px 8px}.ims-method-flow i{align-self:center;color:#5ba9e6;font-size:28px;font-style:normal}.ims-icon{width:54px;height:54px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 12px;background:#fff;color:#0b4b8e;font-size:26px;font-weight:900;box-shadow:0 8px 20px rgba(22,82,135,.1)}.ims-method-flow strong{display:block;color:#0b376b;font-size:16px}.ims-method-flow p{color:#5e748e;font-size:13px;line-height:1.6;margin:7px 0 0}
.ims-story-results{background:#fff}.ims-result-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.ims-result-grid article{background:#f8fafc;border:1px solid #e6edf5;border-radius:18px;overflow:hidden;padding-bottom:18px}.ims-result-grid article>div{height:108px;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:900;letter-spacing:.06em;color:#fff;background:linear-gradient(135deg,#2d689f,#0b315f)}.ims-result-grid article:nth-child(2)>div{background:linear-gradient(135deg,#ff9a37,#ef246f)}.ims-result-grid article:nth-child(3)>div{background:linear-gradient(135deg,#184f86,#417cad)}.ims-result-grid article:nth-child(4)>div{background:linear-gradient(135deg,#469b5a,#8bcf77)}.ims-result-grid strong{display:block;color:#103963;font-size:16px;padding:15px 16px 0}.ims-result-grid p{padding:0 16px;color:#667b91;font-size:13px;line-height:1.55;margin:6px 0 0}
.ims-story-tools{padding:58px 0;background:linear-gradient(135deg,#073466,#0a274c);color:#fff}.ims-tool-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:26px}.ims-tool-card{display:block;background:#fff;color:#13355d;border-radius:18px;padding:22px;text-decoration:none;min-height:230px;box-shadow:0 12px 28px rgba(0,0,0,.12);transition:.2s ease}.ims-tool-card:hover{transform:translateY(-3px)}.ims-tool-card h3{margin:12px 0 7px;font-size:21px;color:#0b315f}.ims-tool-card p{font-size:13px;line-height:1.65;color:#65798e;margin:0}.ims-tool-card>span{display:inline-block;margin-top:18px;color:#e92b72;font-weight:800;font-size:13px}.ims-tool-badge{width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:900}.ims-tool-badge.orange{background:#ff8514}.ims-tool-badge.pink{background:#ed2473}.ims-tool-badge.blue{background:#2082c6}.ims-tool-badge.green{background:#56a961}.ims-tool-card .easy-system-actions{margin-top:18px}.ims-tool-card .easy-system-actions .package-outline{padding:7px 10px;min-height:36px;font-size:12px}.ims-tool-card .easy-system-actions .package-primary{padding:7px 10px;min-height:36px;font-size:12px}
.ims-story-start{background:#fff}.ims-start-flow{display:grid;grid-template-columns:repeat(5,1fr);gap:0;position:relative}.ims-start-flow:before{content:"";position:absolute;left:9%;right:9%;top:24px;height:2px;background:linear-gradient(90deg,#ff8a00,#f42f75,#1678b8,#0c3c72,#e72870)}.ims-start-flow article{text-align:center;position:relative;padding:0 12px}.ims-start-flow b{display:flex;width:48px;height:48px;border-radius:50%;align-items:center;justify-content:center;margin:0 auto 13px;background:#ff8514;color:#fff;font-size:20px;position:relative;z-index:2}.ims-start-flow article:nth-child(2) b{background:#ef396f}.ims-start-flow article:nth-child(3) b{background:#2085c9}.ims-start-flow article:nth-child(4) b{background:#0d3f76}.ims-start-flow article:nth-child(5) b{background:#e92872}.ims-start-flow strong{display:block;color:#103963}.ims-start-flow p{font-size:12px;color:#6d7e91;line-height:1.55;margin:7px 0 0}.ims-start-cta{display:flex;align-items:center;gap:12px;margin-top:36px;padding:22px 24px;border-radius:20px;background:linear-gradient(100deg,#fff6ed,#fff,#fff0f6);border:1px solid #f5e3e3}.ims-start-cta>div{margin-right:auto}.ims-start-cta strong{display:block;color:#0a315f;font-size:20px}.ims-start-cta span{display:block;color:#687b90;font-size:13px;margin-top:4px}
.ims-promo-training{background:#f4f7fa;padding:48px 0 0}.ims-promo-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:16px}.ims-promo-heading h2{margin:3px 0 0;color:#0b315f}.ims-promo-training .hero-section{padding-top:0!important;background:transparent}.ims-promo-training .hero-slider{width:min(1260px,94%)!important}
@media(max-width:1050px){.ims-brand-hero-grid{grid-template-columns:1fr}.ims-road-visual{min-height:390px}.ims-problem-grid{grid-template-columns:repeat(3,1fr)}.ims-tool-grid{grid-template-columns:repeat(2,1fr)}.ims-result-grid{grid-template-columns:repeat(2,1fr)}.ims-method-flow{grid-template-columns:1fr 1fr}.ims-method-flow i{display:none}}
@media(max-width:720px){.ims-brand-copy{padding:40px 0}.ims-brand-copy h1{font-size:46px}.ims-road-visual{min-height:330px}.ims-signs span{min-width:110px;font-size:17px;padding:9px 16px}.ims-road-caption{right:6%;top:6%;max-width:210px}.ims-road-caption strong{font-size:20px}.ims-story-title>span{font-size:38px}.ims-story-title h2{font-size:25px}.ims-problem-grid,.ims-result-grid,.ims-tool-grid{grid-template-columns:1fr}.ims-method-flow{grid-template-columns:1fr}.ims-start-flow{grid-template-columns:1fr;gap:14px}.ims-start-flow:before{display:none}.ims-start-flow article{display:grid;grid-template-columns:48px 1fr;text-align:left;column-gap:14px;align-items:start}.ims-start-flow b{grid-row:1/3;margin:0}.ims-start-flow strong{align-self:end}.ims-start-flow p{margin:3px 0 0}.ims-start-cta{align-items:stretch;flex-direction:column}.ims-start-cta>div{margin-right:0}.ims-promo-heading{align-items:flex-start;flex-direction:column}}

/* Legal reading page: readable, centered and green accept button */
.ims-legal-document{font-family:'Noto Sans Thai',sans-serif;color:#15304f;font-size:16px;line-height:1.85}
.ims-legal-document h1{font-size:clamp(24px,2.5vw,33px);line-height:1.4;margin:0 0 18px;font-weight:800}
.ims-legal-document h2{font-size:19px;line-height:1.55;margin:24px 0 8px;font-weight:700}
.ims-legal-document p{font-size:15.5px;line-height:1.85;margin:0 0 13px}
.ims-legal-document .ims-doc-accept{display:inline-flex;align-items:center;justify-content:center;margin:26px 0 20px;padding:12px 40px;background:#16803f;color:white!important;text-decoration:none!important;border-radius:8px;font-size:17px;font-weight:700;min-width:150px}
.ims-legal-document .ims-doc-accept:hover{background:#116832}

/* Easy-System certification date note - v1.1.54 */
.quote-date-card .quote-date-note{margin:10px 0 0;font-size:13px;font-weight:400;line-height:1.6;color:#61758b;}

/* v1.1.55 Compact and aligned standard selectors on Easy-System quotation form */
.quote-standard-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:8px}
.quote-standard-list .quote-check{box-sizing:border-box;display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:9px;min-height:42px;margin:0;padding:8px 12px;border-radius:9px;line-height:1.3;cursor:pointer;white-space:nowrap;text-align:left}
.quote-standard-list .quote-check input[type=checkbox]{flex:0 0 17px;width:17px;height:17px;margin:0;align-self:center}
.quote-standard-list .quote-check span{display:block;flex:0 1 auto;width:auto;min-width:0;font-size:14px;font-weight:600;line-height:1.35;white-space:nowrap;overflow-wrap:normal;text-align:left}
@media(max-width:800px){.quote-standard-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.quote-standard-list{grid-template-columns:1fr}}

/* v1.1.57: compact one-line existing certification details */
.ims-existing-systems .ims-existing-list{gap:5px!important}
.ims-existing-systems .ims-existing-system-row{
 display:grid!important;grid-template-columns:minmax(138px,1fr) minmax(210px,1.3fr) minmax(230px,1.45fr)!important;
 align-items:center!important;gap:14px!important;padding:7px 12px!important;min-height:52px!important;
}
.ims-existing-systems .ims-existing-system-choice{display:inline-flex!important;align-items:center!important;gap:9px!important;min-width:0!important;min-height:36px!important;margin:0!important;white-space:nowrap!important}
.ims-existing-systems .ims-existing-system-choice input{flex:0 0 auto!important;margin:0!important}
.ims-existing-systems .ims-existing-system-row label.ims-existing-expiry,
.ims-existing-systems .ims-existing-system-row label.ims-existing-cb{
 display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;min-width:0!important;margin:0!important;
}
.ims-existing-systems .ims-existing-system-row label.ims-existing-expiry>span,
.ims-existing-systems .ims-existing-system-row label.ims-existing-cb>span{
 flex:0 0 88px!important;white-space:nowrap!important;line-height:1.35!important;font-size:12px!important;
}
.ims-existing-systems .ims-existing-system-row input[type=date],
.ims-existing-systems .ims-existing-system-row select{
 width:100%!important;flex:1 1 0!important;min-width:0!important;min-height:34px!important;height:34px!important;padding:5px 8px!important;margin:0!important;font-size:12px!important;
}
@media(max-width:850px){
 .ims-existing-systems .ims-existing-system-row{grid-template-columns:1fr 1fr!important;gap:8px 12px!important}
 .ims-existing-systems .ims-existing-system-choice{grid-column:1/-1!important}
}
@media(max-width:560px){
 .ims-existing-systems .ims-existing-system-row{grid-template-columns:1fr!important}
 .ims-existing-systems .ims-existing-system-choice{grid-column:auto!important}
}


/* v1.1.58: reserve a full single-line label column for date and CB */
@media(min-width:851px){
.ims-existing-systems .ims-existing-system-row{
 grid-template-columns:minmax(135px,0.75fr) minmax(265px,1.4fr) minmax(270px,1.45fr)!important;
 column-gap:16px!important;
}
.ims-existing-systems .ims-existing-system-row label.ims-existing-expiry,
.ims-existing-systems .ims-existing-system-row label.ims-existing-cb{
 display:grid!important;
 grid-template-columns:100px minmax(0,1fr)!important;
 align-items:center!important;column-gap:9px!important;
 width:100%!important;min-width:0!important;
}
.ims-existing-systems .ims-existing-system-row label.ims-existing-expiry>span,
.ims-existing-systems .ims-existing-system-row label.ims-existing-cb>span{
 display:block!important;width:100px!important;min-width:100px!important;
 max-width:none!important;white-space:nowrap!important;
 word-break:keep-all!important;overflow-wrap:normal!important;
 font-size:12px!important;line-height:1.4!important;
}
}
@media(min-width:561px) and (max-width:850px){
.ims-existing-systems .ims-existing-system-row label.ims-existing-cb>span,
.ims-existing-systems .ims-existing-system-row label.ims-existing-expiry>span{
 white-space:nowrap!important;min-width:100px!important;width:100px!important;
 word-break:keep-all!important;overflow-wrap:normal!important;
}
}

/* v1.1.59 — stable, single-line existing-system rows at every viewport width.
   Narrow viewports scroll the rows horizontally rather than wrapping Thai labels. */
#ims-existing-systems .ims-existing-list{
 display:block!important;overflow-x:auto!important;max-width:100%;
 -webkit-overflow-scrolling:touch;padding-bottom:4px;
}
#ims-existing-systems .ims-existing-system-row{
 display:grid!important;
 grid-template-columns:150px 315px 345px!important;
 column-gap:14px!important;row-gap:0!important;
 align-items:center!important;box-sizing:border-box!important;
 width:100%!important;min-width:850px!important;
 min-height:49px!important;padding:6px 10px!important;
}
#ims-existing-systems .ims-existing-system-choice{
 display:flex!important;grid-column:auto!important;align-items:center!important;
 gap:8px!important;white-space:nowrap!important;margin:0!important;
}
#ims-existing-systems .ims-existing-system-choice span{white-space:nowrap!important;word-break:keep-all!important;}
#ims-existing-systems .ims-existing-system-row label.ims-existing-expiry,
#ims-existing-systems .ims-existing-system-row label.ims-existing-cb{
 display:grid!important;grid-column:auto!important;
 grid-template-columns:105px minmax(0,1fr)!important;
 column-gap:9px!important;align-items:center!important;
 width:100%!important;min-width:0!important;margin:0!important;
}
#ims-existing-systems .ims-existing-system-row label.ims-existing-expiry>span,
#ims-existing-systems .ims-existing-system-row label.ims-existing-cb>span{
 display:block!important;width:105px!important;min-width:105px!important;
 max-width:none!important;flex:none!important;
 white-space:nowrap!important;word-break:keep-all!important;
 overflow-wrap:normal!important;line-height:1.4!important;
 font-size:12px!important;
}
#ims-existing-systems .ims-existing-system-row input[type="date"],
#ims-existing-systems .ims-existing-system-row select{
 box-sizing:border-box!important;width:100%!important;min-width:0!important;
 min-height:36px!important;height:36px!important;
 padding:5px 8px!important;margin:0!important;
}

/* v1.1.60 clean 5-column existing-system rows; isolated from legacy styles */
#ims-existing-systems .ims-existing-list{display:block!important;overflow-x:auto!important;overflow-y:visible!important;max-width:100%!important;padding:2px 0 6px!important}
#ims-existing-systems .ims-current-entry{box-sizing:border-box!important;display:grid!important;grid-template-columns:138px 118px 185px 98px 185px!important;column-gap:12px!important;align-items:center!important;justify-content:start!important;min-width:772px!important;width:100%!important;min-height:52px!important;margin:0 0 6px!important;padding:7px 10px!important;background:#fff!important;border:1px solid #dce7f0!important;border-radius:9px!important;}
#ims-existing-systems .ims-current-entry>.ims-current-choice{box-sizing:border-box!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;margin:0!important;padding:0!important;min-width:0!important;white-space:nowrap!important;font-size:13px!important;font-weight:700!important;line-height:1.4!important;color:#102f51!important;}
#ims-existing-systems .ims-current-entry>.ims-current-choice>input[type=checkbox]{position:static!important;flex:0 0 17px!important;width:17px!important;height:17px!important;margin:0!important;transform:none!important;}
#ims-existing-systems .ims-current-entry>.ims-current-choice>span{position:static!important;white-space:nowrap!important;line-height:1.4!important;}
#ims-existing-systems .ims-current-entry>.ims-current-date-label,
#ims-existing-systems .ims-current-entry>.ims-current-cb-label{box-sizing:border-box!important;display:block!important;position:static!important;margin:0!important;padding:0!important;width:auto!important;min-width:0!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;font-size:12px!important;line-height:1.5!important;font-weight:600!important;text-align:left!important;color:#244664!important;}
#ims-existing-systems .ims-current-entry>input[type=date],
#ims-existing-systems .ims-current-entry>select{box-sizing:border-box!important;display:block!important;position:static!important;grid-column:auto!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:36px!important;height:36px!important;margin:0!important;padding:4px 8px!important;font-size:12px!important;line-height:1.4!important;border:1px solid #ccdae9!important;border-radius:8px!important;background-color:#fff!important;}
#ims-existing-systems .ims-current-entry>input:disabled,#ims-existing-systems .ims-current-entry>select:disabled{background-color:#eef2f6!important;color:#6d7c8b!important;}
