 :root {
    --dwh-blue-950: #004A94;
    --dwh-blue-900: #0066CC;
    --dwh-blue-800: #0075E8;
    --dwh-blue-700: #0081FF;
    --dwh-blue-100: #E6F3FF;
    --dwh-blue-50: #F4FAFF;
    --dwh-orange: #FF8C0D;
    --dwh-orange-dark: #E97700;
    --dwh-green: #0081FF;
    --dwh-text: #0B3158;
    --dwh-muted: #58708A;
    --dwh-line: #D6E9FC;
    --dwh-white: #fff;
    --dwh-shadow: 0 24px 70px rgba(0, 129, 255, .16);
    --dwh-radius-lg: 28px;
    --dwh-radius-md: 18px;
    --dwh-container: 1440px;
}

html { scroll-behavior: smooth; }
html.dwh-menu-is-open { overflow: hidden; }

.dwh-page,
.dwh-page * { box-sizing: border-box; }

.dwh-page {
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: 100vw;
    margin: 0 0 0 -50vw;
    color: var(--dwh-text);
    background: var(--dwh-white);
    font-family: "Kanit", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    overflow: hidden;
}

.dwh-page a { color: inherit; text-decoration: none; }
.dwh-page img { max-width: 100%; height: auto; display: block; }
.dwh-page button,
.dwh-page input,
.dwh-page select,
.dwh-page textarea { font: inherit; }
.dwh-page h1,
.dwh-page h2,
.dwh-page h3,
.dwh-page p { margin-top: 0; }
.dwh-page svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.dwh-container { width: min(var(--dwh-container), calc(100% - 40px)); margin-inline: auto; }
.dwh-section { padding: 52px 0; position: relative; }
.dwh-section--soft { background: var(--dwh-blue-50); }
.dwh-section--blue { color: var(--dwh-white); background: linear-gradient(135deg, #0066CC 0%, #0081FF 100%); }

.dwh-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid rgba(220,230,242,.65);
    backdrop-filter: blur(18px);
    transition: box-shadow .2s ease, background .2s ease;
}
.dwh-header.is-scrolled { box-shadow: 0 10px 35px rgba(12, 49, 109, .1); background: rgba(255,255,255,.98); }
.dwh-header__inner { min-height: 94px; display: flex; align-items: center; gap: 22px; padding: 10px 0; }

.dwh-page a.dwh-logo {
    display: inline-flex !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 54px !important;
    align-items: center !important;
    gap: 10px !important;
    flex: 0 0 auto !important;
    overflow: visible !important;
    font-weight: 700;
    font-size: 22px;
    color: var(--dwh-blue-950);
}

/* โลโก้ขนาด 50 x 50 พิกเซล และเปลี่ยนจากวงกลมเป็นมุมโค้ง */
.dwh-page .dwh-logo__icon {
    display: grid !important;
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    flex: 0 0 50px !important;
    place-items: center !important;
    overflow: hidden !important;
    border-radius: 10px !important;
    background: #fff !important;
}

.dwh-page .dwh-logo__image,
.dwh-page .dwh-logo__icon img.dwh-logo__image {
    position: static !important;
    display: block !important;
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 10px !important;
    object-fit: contain !important;
    transform: none !important;
}

.dwh-page .dwh-logo__text {
    display: inline-block !important;
    width: auto !important;
    max-width: none !important;
    color: #0081FF !important;
    letter-spacing: -.01em;
    white-space: nowrap;
}
.dwh-page .dwh-logo--light .dwh-logo__text { color: #fff !important; }



/* ข้อมูลติดต่อถัดจากชื่อ DailyWork บน Header */
.dwh-header-contact {
    display: flex;
    align-items: stretch;
    gap: 8px;
    flex: 0 0 auto;
    padding-left: 16px;
    border-left: 1px solid var(--dwh-line);
}
.dwh-header-contact__item {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    min-width: 104px;
    padding: 6px 8px;
    border-radius: 10px;
    color: #344766 !important;
    line-height: 1.18;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.dwh-header-contact__item span {
    color: var(--dwh-muted);
    font-size: 10px;
    font-weight: 500;
}
.dwh-header-contact__item strong {
    color: var(--dwh-blue-800);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.dwh-header-contact__item:hover,
.dwh-header-contact__item:focus {
    background: var(--dwh-blue-50);
    transform: translateY(-1px);
}
.dwh-header-contact__item--line strong { color: #06a84f; }
.dwh-nav__contact { display: none; }

@media (max-width: 1320px) {
    .dwh-header-contact { display: none; }
}

.dwh-nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-left: auto; flex-wrap: nowrap; }
.dwh-nav > a { position: relative; color: #344766; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; transition: color .2s ease; }
.dwh-nav > a:hover { color: var(--dwh-blue-700); }

/* Active menu: orange underline for the selected/current section.
   Background underline is also used as a cache/render-safe fallback. */
.dwh-nav > a.is-current {
    color: var(--dwh-blue-700);
    font-weight: 600;
    background-image: linear-gradient(var(--dwh-orange), var(--dwh-orange));
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 28px 3px;
    padding-bottom: 8px;
    margin-bottom: -8px;
}
.dwh-nav > a.is-current::after {
    content: '';
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 28px;
    height: 3px;
    margin: auto;
    border-radius: 999px;
    background: var(--dwh-orange);
    pointer-events: none;
}
.dwh-header__quick-links {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 8px 8px;
    margin-left: 8px;
}
.dwh-page .dwh-header__quick-links a.dwh-quick-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 34px !important;
    padding: 8px 12px !important;
    border: 1px solid transparent !important;
    border-radius: 4px !important;
    color: #fff !important;
    background-image: none !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    box-shadow: 0 8px 18px rgba(0,0,0,.08) !important;
    opacity: 1 !important;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease !important;
}
.dwh-page .dwh-header__quick-links a.dwh-quick-button:hover,
.dwh-page .dwh-header__quick-links a.dwh-quick-button:focus {
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(0,0,0,.12) !important;
    filter: brightness(.96);
}
.dwh-page .dwh-header__quick-links a.dwh-quick-button--orange,
.dwh-page .dwh-header__quick-links a.dwh-quick-button--orange:hover,
.dwh-page .dwh-header__quick-links a.dwh-quick-button--orange:focus {
    background: #FF8C0D !important;
    background-color: #FF8C0D !important;
    border-color: #FF8C0D !important;
}
.dwh-page .dwh-header__quick-links a.dwh-quick-button--green,
.dwh-page .dwh-header__quick-links a.dwh-quick-button--green:hover,
.dwh-page .dwh-header__quick-links a.dwh-quick-button--green:focus {
    background: #0081FF !important;
    background-color: #0081FF !important;
    border-color: #0081FF !important;
}

.dwh-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 24px;
    border: 1px solid var(--dwh-orange);
    border-radius: 10px;
    color: #fff !important;
    background: linear-gradient(135deg, #FFA53D, var(--dwh-orange));
    box-shadow: 0 12px 28px rgba(255, 140, 13, .24);
    font-weight: 600;
    line-height: 1.2;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.dwh-button:hover { transform: translateY(-2px); background: linear-gradient(135deg, var(--dwh-orange), var(--dwh-orange-dark)); box-shadow: 0 16px 32px rgba(255, 140, 13, .32); }
.dwh-button--small { min-height: 42px; padding: 9px 18px; font-size: 14px; }
.dwh-button--secondary { color: var(--dwh-blue-900) !important; border-color: #A9D3FF; background: #fff; box-shadow: none; }
.dwh-button--secondary:hover { color: var(--dwh-blue-700) !important; border-color: var(--dwh-blue-700); background: #fff; box-shadow: 0 10px 26px rgba(20, 84, 154, .1); }
.dwh-button--full { width: 100%; border: 0; cursor: pointer; }
.dwh-menu-button { display: none; }



.dwh-hero {
    position: relative;
    min-height: 820px;
    padding: 96px 0 110px;
    background: radial-gradient(circle at 12% 20%, rgba(0, 129, 255, .16), transparent 34%), linear-gradient(180deg, #f6fbff 0%, #fff 74%);
}
.dwh-hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(520px, .98fr); align-items: center; gap: 70px; min-height: 650px; }
.dwh-hero__content { position: relative; z-index: 2; }
.dwh-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--dwh-blue-700); font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.dwh-eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 20px; background: #FF8C0D; }
.dwh-hero h1 { max-width: 690px; margin-bottom: 24px; font-size: clamp(40px, 4.25vw, 64px); line-height: 1.18; letter-spacing: -.025em; color: var(--dwh-blue-950); }
.dwh-hero__content > p { max-width: 675px; margin-bottom: 30px; color: var(--dwh-muted); font-size: 18px; }
.dwh-hero__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.dwh-hero__checks { display: flex; gap: 22px; flex-wrap: wrap; margin: 26px 0 0; padding: 0; list-style: none; color: #41617F; font-size: 14px; }
.dwh-hero__checks li { display: flex; align-items: center; gap: 7px; }
.dwh-hero__checks svg { color: var(--dwh-green); }

.dwh-app-download { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 28px; }
.dwh-app-download__title { margin: 0; color: var(--dwh-blue-950); font-size: 18px; font-weight: 500; line-height: 1.4; }
.dwh-app-download__badges { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dwh-app-download__support { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px; margin-top: -2px; padding-left: 22px; border-left: 3px solid var(--dwh-blue-100); color: var(--dwh-blue-800); line-height: 1.15; }
.dwh-app-download__support span { color: var(--dwh-muted); font-size: 14px; font-weight: 500; }
.dwh-app-download__support strong { color: var(--dwh-blue-800); font-size: 17px; font-weight: 700; white-space: nowrap; }
.dwh-app-download__support:hover strong, .dwh-app-download__support:focus-visible strong { color: var(--dwh-orange); }
.dwh-store-badge { display: inline-flex; min-width: 166px; height: 50px; align-items: center; gap: 10px; padding: 6px 13px; border: 1px solid #272727; border-radius: 7px; color: #fff; background: #050505; box-shadow: 0 7px 18px rgba(0,0,0,.12); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.dwh-store-badge:hover { color: #fff; border-color: #000; box-shadow: 0 10px 24px rgba(0,0,0,.2); transform: translateY(-2px); }
.dwh-store-badge:focus-visible { outline: 3px solid rgba(0,129,255,.35); outline-offset: 3px; }
.dwh-store-badge__icon { display: inline-grid; width: 28px; min-width: 28px; height: 32px; place-items: center; }
.dwh-store-badge__icon svg { display: block; width: 100%; height: 100%; }
.dwh-store-badge--apple .dwh-store-badge__icon { width: 26px; min-width: 26px; color: #fff; }
.dwh-store-badge__text { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; color: #fff; line-height: 1; white-space: nowrap; }
.dwh-store-badge__text small { margin-bottom: 3px; font-family: Arial, sans-serif; font-size: 9px; font-weight: 400; letter-spacing: .02em; }
.dwh-store-badge__text strong { font-family: Arial, sans-serif; font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.dwh-hero__visual { position: relative; min-height: 620px; }
.dwh-dashboard-frame { position: absolute; z-index: 2; top: 48px; left: 0; width: 92%; padding: 33px 10px 10px; overflow: hidden; border: 8px solid #0d1422; border-radius: 20px; background: #fff; box-shadow: var(--dwh-shadow); transform: rotate(-1.5deg); }
.dwh-dashboard-frame::after { content: ""; position: absolute; top: 13px; right: 16px; width: 50px; height: 5px; border-radius: 4px; background: #dfe5ec; }
.dwh-frame-dot { position: absolute; top: 14px; width: 7px; height: 7px; border-radius: 50%; background: #bec7d1; }
.dwh-frame-dot:nth-child(1) { left: 15px; }
.dwh-frame-dot:nth-child(2) { left: 27px; }
.dwh-frame-dot:nth-child(3) { left: 39px; }
.dwh-mobile-frame { position: absolute; z-index: 4; right: -1.5%; bottom: -8px; width: 36%; padding: 0; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; transform: rotate(2deg); }
.dwh-mobile-frame::before { content: none; }
.dwh-mobile-frame img { display: block; width: 100%; height: auto; max-width: none; margin: 0; border-radius: 0; aspect-ratio: auto; object-fit: contain; object-position: center; background: transparent; filter: drop-shadow(0 24px 40px rgba(7,29,77,.24)); }
.dwh-mobile-frame::after { content: "แอปใช้งานจริง"; position: absolute; left: 50%; bottom: 34px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.96); color: var(--dwh-blue-800); font-size: 12px; font-weight: 700; box-shadow: 0 8px 20px rgba(7,29,77,.18); transform: translateX(-50%); white-space: nowrap; }
.dwh-floating-card { position: absolute; z-index: 5; display: flex; flex-direction: column; min-width: 170px; padding: 14px 17px; border: 1px solid rgba(210,225,241,.9); border-radius: 14px; background: rgba(255,255,255,.94); box-shadow: 0 18px 35px rgba(15,55,112,.14); backdrop-filter: blur(10px); }
.dwh-floating-card strong { color: var(--dwh-blue-800); font-size: 20px; }
.dwh-floating-card span { color: var(--dwh-muted); font-size: 12px; }
.dwh-floating-card--top { top: 0; right: 12%; }
.dwh-floating-card--bottom { left: -4%; bottom: 24px; }
.dwh-hero__glow { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.dwh-hero__glow--one { top: 105px; right: 6%; width: 320px; height: 320px; background: rgba(0,129,255,.12); }
.dwh-hero__glow--two { right: 30%; bottom: 55px; width: 190px; height: 190px; background: rgba(255,140,13,.14); }

.dwh-trust { position: relative; z-index: 10; margin-top: -42px; }
.dwh-metrics { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--dwh-line); border-radius: 18px; background: #fff; box-shadow: 0 20px 50px rgba(8,40,93,.1); }
.dwh-metric { position: relative; display: flex; min-height: 118px; flex-direction: column; align-items: center; justify-content: center; padding: 20px; text-align: center; }
.dwh-metric:not(:last-child)::after { content: ""; position: absolute; right: 0; width: 1px; height: 52%; background: var(--dwh-line); }
.dwh-metric strong { color: var(--dwh-blue-900); font-size: 28px; line-height: 1.2; }
.dwh-metric span { color: var(--dwh-muted); font-size: 14px; }

.dwh-section-heading { max-width: 760px; margin-bottom: 24px; }
.dwh-section-heading--center { margin-right: auto; margin-left: auto; text-align: center; }
.dwh-section-heading--center .dwh-eyebrow { justify-content: center; }
.dwh-section-heading h2 { margin-bottom: 18px; color: var(--dwh-blue-950); font-size: clamp(32px, 3.3vw, 48px); line-height: 1.25; letter-spacing: -.02em; }
.dwh-section-heading p { margin-bottom: 0; color: var(--dwh-muted); font-size: 17px; }
.dwh-section-heading--light h2,
.dwh-section-heading--light p { color: #fff; }
.dwh-section-heading--light p { opacity: .74; }
.dwh-section-heading--light .dwh-eyebrow { color: #B9DCFF; }

.dwh-card-grid { display: grid; gap: 22px; }
.dwh-card-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dwh-problem-card,
.dwh-module-card { position: relative; min-height: 260px; padding: 28px; border: 1px solid var(--dwh-line); border-radius: var(--dwh-radius-md); background: #fff; box-shadow: 0 12px 34px rgba(18,73,133,.06); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.dwh-problem-card:hover,
.dwh-module-card:hover { transform: translateY(-6px); border-color: #b8d6f4; box-shadow: 0 20px 42px rgba(18,73,133,.11); }
.dwh-problem-card h3,
.dwh-module-card h3 { margin: 22px 0 10px; color: var(--dwh-blue-950); font-size: 21px; line-height: 1.35; }
.dwh-problem-card p,
.dwh-module-card p { margin: 0; color: var(--dwh-muted); font-size: 15px; }
.dwh-icon-box { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; color: var(--dwh-blue-700); background: var(--dwh-blue-100); }
.dwh-icon-box svg { width: 27px; height: 27px; }

.dwh-flow-section { padding-top: 47px; padding-bottom: 47px; }
.dwh-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 12px; }
.dwh-flow > i { display: grid; place-items: center; color: #91a6c3; font-style: normal; }
.dwh-flow__item { display: flex; min-height: 105px; flex-direction: column; align-items: center; justify-content: center; padding: 18px 10px; border: 1px solid var(--dwh-line); border-radius: 16px; background: #fff; text-align: center; box-shadow: 0 10px 25px rgba(18,73,133,.05); }
.dwh-flow__item span { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 9px; border-radius: 50%; color: #fff; background: var(--dwh-blue-700); font-size: 13px; font-weight: 600; }
.dwh-flow__item strong { color: var(--dwh-blue-950); font-size: 14px; }

.dwh-module-card { min-height: 330px; overflow: hidden; border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.08); box-shadow: none; }
.dwh-module-card:hover { border-color: rgba(255,255,255,.35); box-shadow: 0 24px 46px rgba(1,14,46,.25); }
.dwh-module-card .dwh-icon-box { color: #fff; background: rgba(255,255,255,.12); }
.dwh-module-card__number { position: absolute; top: 18px; right: 22px; color: rgba(255,255,255,.14); font-size: 50px; font-weight: 700; }
.dwh-module-card h3 { color: #fff; }
.dwh-module-card p { min-height: 92px; color: rgba(255,255,255,.72); }
.dwh-module-card a { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: #B9DCFF; font-size: 14px; font-weight: 600; }

.dwh-case { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.dwh-case__content h2 { margin-bottom: 20px; color: var(--dwh-blue-950); font-size: clamp(36px, 4vw, 54px); line-height: 1.2; }
.dwh-case__content > p { margin-bottom: 24px; color: var(--dwh-muted); font-size: 17px; }
.dwh-check-list { display: grid; gap: 12px; margin: 0 0 30px; padding: 0; list-style: none; }
.dwh-check-list li { display: flex; align-items: flex-start; gap: 10px; color: #314766; }
.dwh-check-list svg { flex: none; margin-top: 3px; color: var(--dwh-green); }
.dwh-case__panel { position: relative; padding: 42px; border: 1px solid var(--dwh-line); border-radius: var(--dwh-radius-lg); background: linear-gradient(145deg, #fff, #F1F8FF); box-shadow: var(--dwh-shadow); }
.dwh-case__quote { position: absolute; top: 18px; right: 28px; color: #D9ECFF; font-size: 100px; font-weight: 700; line-height: 1; }
.dwh-case blockquote { position: relative; z-index: 1; margin: 0 0 30px; color: var(--dwh-blue-950); font-size: 22px; font-weight: 500; line-height: 1.55; }
.dwh-case__person { display: flex; align-items: center; gap: 13px; padding-bottom: 28px; border-bottom: 1px solid var(--dwh-line); }
.dwh-avatar { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; color: #fff; background: var(--dwh-blue-700); font-weight: 600; }
.dwh-case__person div { display: flex; flex-direction: column; }
.dwh-case__person span { color: var(--dwh-muted); font-size: 13px; }
.dwh-case__stats { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; padding-top: 28px; }
.dwh-case__stats > div:not(.dwh-case__arrow) { display: flex; flex-direction: column; text-align: center; }
.dwh-case__stats strong { color: var(--dwh-blue-900); font-size: 30px; }
.dwh-case__stats span { color: var(--dwh-muted); font-size: 13px; }
.dwh-case__arrow { color: #FF8C0D; }

.dwh-tabs { overflow: hidden; border: 1px solid var(--dwh-line); border-radius: var(--dwh-radius-lg); background: #fff; box-shadow: 0 18px 45px rgba(16,62,116,.08); }
.dwh-tabs__buttons { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--dwh-line); background: #f8fbff; }
.dwh-tabs__buttons button { position: relative; min-height: 70px; padding: 14px; border: 0; color: var(--dwh-muted); background: transparent; cursor: pointer; font-weight: 500; }
.dwh-tabs__buttons button::after { content: ""; position: absolute; right: 18%; bottom: 0; left: 18%; height: 3px; border-radius: 4px 4px 0 0; background: transparent; }
.dwh-tabs__buttons button.is-active { color: var(--dwh-blue-800); background: #fff; font-weight: 600; }
.dwh-tabs__buttons button.is-active::after { background: #FF8C0D; }
.dwh-tabs__panel { padding: 46px; }
.dwh-role-summary { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 20px; }
.dwh-role-summary .dwh-icon-box { margin-top: 2px; }
.dwh-role-summary__eyebrow { display: inline-flex; margin-bottom: 7px; color: var(--dwh-blue-700); font-size: 13px; font-weight: 700; }
.dwh-role-summary h3 { margin: 0 0 10px; color: var(--dwh-blue-950); font-size: 28px; line-height: 1.3; }
.dwh-role-summary p { max-width: 950px; margin: 0; color: var(--dwh-muted); }
.dwh-role-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.dwh-role-feature { position: relative; min-height: 165px; padding: 22px 20px; overflow: hidden; border: 1px solid var(--dwh-line); border-radius: 16px; background: linear-gradient(145deg, #fff 0%, #f7fbff 100%); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.dwh-role-feature:hover { transform: translateY(-3px); border-color: rgba(0,129,255,.3); box-shadow: 0 14px 28px rgba(16,62,116,.08); }
.dwh-role-feature > span { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 14px; border-radius: 9px; color: #fff; background: var(--dwh-blue-600); }
.dwh-role-feature > span svg { width: 16px; height: 16px; }
.dwh-role-feature h4 { margin: 0 0 8px; color: var(--dwh-blue-950); font-size: 17px; line-height: 1.35; }
.dwh-role-feature p { margin: 0; color: var(--dwh-muted); font-size: 14px; line-height: 1.7; }
.dwh-role-outcome { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; padding: 16px 18px; border: 1px solid rgba(255,140,13,.28); border-radius: 14px; background: rgba(255,140,13,.08); }
.dwh-role-outcome strong { flex: none; color: #d96b00; }
.dwh-role-outcome span { color: var(--dwh-blue-950); }

.dwh-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: process; }
.dwh-process-grid article { position: relative; min-height: 235px; padding: 32px 26px; overflow: hidden; border: 1px solid var(--dwh-line); border-radius: 18px; background: #fff; }
.dwh-process-grid article::before { content: ""; position: absolute; top: -50px; right: -50px; width: 130px; height: 130px; border-radius: 50%; background: var(--dwh-blue-50); }
.dwh-process-grid article > span { position: relative; color: #FF8C0D; font-size: 14px; font-weight: 700; }
.dwh-process-grid h3 { position: relative; margin: 28px 0 10px; color: var(--dwh-blue-950); font-size: 20px; }
.dwh-process-grid p { position: relative; margin: 0; color: var(--dwh-muted); font-size: 14px; }

.dwh-demo { padding: 52px 0; color: #fff; background: radial-gradient(circle at 12% 25%, rgba(255,140,13,.24), transparent 31%), linear-gradient(135deg, #0066CC 0%, #0081FF 100%); }
.dwh-demo__grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 80px; }
.dwh-demo__content .dwh-eyebrow { color: #B9DCFF; }
.dwh-demo__content h2 { margin-bottom: 20px; font-size: clamp(36px, 4vw, 52px); line-height: 1.23; }
.dwh-demo__content > p { color: rgba(255,255,255,.72); font-size: 17px; }
.dwh-contact-list { display: grid; gap: 13px; margin-top: 30px; }
.dwh-contact-list a { display: flex; align-items: center; gap: 14px; width: fit-content; color: #fff; }
.dwh-contact-list a > svg,
.dwh-line-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; color: #fff; background: rgba(255,255,255,.12); }
.dwh-line-icon { font-size: 9px; font-weight: 700; }
.dwh-contact-list span:not(.dwh-line-icon) { display: flex; flex-direction: column; }
.dwh-contact-list small { color: rgba(255,255,255,.58); font-size: 11px; }
.dwh-form-card { padding: 34px; border-radius: 24px; color: var(--dwh-text); background: #fff; box-shadow: 0 30px 80px rgba(0,13,48,.35); }
.dwh-form { display: grid; gap: 18px; }
.dwh-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dwh-form label { display: grid; gap: 7px; color: #344766; font-size: 13px; font-weight: 500; }
.dwh-form label > span { color: #FF8C0D; }
.dwh-form input,
.dwh-form select,
.dwh-form textarea { width: 100%; border: 1px solid #d9e3ef; border-radius: 10px; outline: 0; color: var(--dwh-text); background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.dwh-form input,
.dwh-form select { height: 48px; padding: 0 13px; }
.dwh-form textarea { resize: vertical; padding: 12px 13px; }
.dwh-form input:focus,
.dwh-form select:focus,
.dwh-form textarea:focus { border-color: var(--dwh-blue-700); box-shadow: 0 0 0 3px rgba(0,129,255,.12); }
.dwh-consent { grid-template-columns: auto 1fr; align-items: flex-start; gap: 10px !important; }
.dwh-consent input { width: 18px; height: 18px; margin-top: 2px; }
.dwh-consent span { color: var(--dwh-muted) !important; font-weight: 400; }
.dwh-form__note { margin: -4px 0 0; color: #8190a5; font-size: 11px; text-align: center; }
.dwh-hp-field { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.dwh-alert { margin-bottom: 18px; padding: 12px 14px; border-radius: 10px; font-size: 13px; }
.dwh-alert--success { color: #0066CC; background: #E6F3FF; }
.dwh-alert--error { color: #a53232; background: #fff0f0; }

.dwh-footer { padding: 64px 0 24px; color: rgba(255,255,255,.76); background: linear-gradient(135deg, #002b59, #004a99); }
.dwh-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 54px; }
.dwh-footer__grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.dwh-footer__grid p { max-width: 430px; margin: 14px 0 0; font-size: 14px; }
.dwh-footer h3 { margin: 0 0 10px; color: #fff; font-size: 16px; }
.dwh-footer a { font-size: 14px; transition: color .2s ease; }
.dwh-footer a:hover { color: #fff; }
.dwh-footer__bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }


/* Social media logos shared by Contact page and every Footer */
.dwh-social-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.dwh-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.dwh-social-link__icon {
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 22px;
}

.dwh-social-link__icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    stroke: none;
    stroke-width: 0;
}

.dwh-social-link__icon .dwh-social-play {
    fill: var(--dwh-youtube-play, #fff);
}

.dwh-social-links--footer {
    margin-top: 18px;
}

.dwh-social-links--footer .dwh-social-link {
    --dwh-youtube-play: #004a99;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 7px 18px rgba(0, 23, 58, .16);
}

.dwh-social-links--footer .dwh-social-link__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.dwh-social-links--footer .dwh-social-link:hover {
    color: #fff;
    transform: translateY(-3px);
    border-color: transparent;
}

.dwh-social-links--footer .dwh-social-link--facebook:hover {
    background: #1877f2;
    box-shadow: 0 10px 22px rgba(24, 119, 242, .34);
}

.dwh-social-links--footer .dwh-social-link--youtube:hover {
    --dwh-youtube-play: #ff0033;
    background: #ff0033;
    box-shadow: 0 10px 22px rgba(255, 0, 51, .30);
}

.dwh-social-links--footer .dwh-social-link--tiktok:hover {
    background: #111;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .28);
}
.dwh-mobile-actions { display: none; }


@media (min-width: 1600px) {
    .dwh-hero { min-height: 900px; padding-top: 110px; }
    .dwh-hero__grid { min-height: 720px; }
    .dwh-hero__visual { min-height: 700px; }
    .dwh-dashboard-frame { width: 94%; }
    .dwh-mobile-frame { width: 34%; }
}

@media (max-width: 1100px) {
    .dwh-header__inner { gap: 16px; min-height: 88px; }
    .dwh-nav { gap: 16px; }
    .dwh-nav a { font-size: 13px; }
    .dwh-header__quick-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .dwh-quick-button { padding: 8px 10px; font-size: 12px; }
    .dwh-hero__grid { grid-template-columns: 1fr 1fr; gap: 38px; }
    .dwh-card-grid--four { grid-template-columns: repeat(2, 1fr); }
    .dwh-module-card p { min-height: auto; }
    .dwh-flow { grid-template-columns: repeat(3, 1fr); }
    .dwh-flow > i { display: none; }
    .dwh-case { gap: 48px; }
    .dwh-process-grid { grid-template-columns: repeat(2, 1fr); }
    .dwh-demo__grid { gap: 45px; }
}

@media (max-width: 900px) {
    .dwh-header__inner { min-height: 68px; }
    .dwh-header__quick-links { display: none; }
    .dwh-menu-button { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-left: auto; padding: 0; border: 0; color: var(--dwh-blue-950); background: transparent; cursor: pointer; }
    .dwh-menu-button .dwh-menu-close { display: none; }
    .dwh-menu-button[aria-expanded="true"] .dwh-menu-open { display: none; }
    .dwh-menu-button[aria-expanded="true"] .dwh-menu-close { display: inline-flex; }
    .dwh-nav { position: fixed; top: 68px; right: 0; bottom: 0; left: 0; display: none; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 22px; overflow-y: auto; background: #fff; }
    .dwh-nav.is-open { display: flex; }

    .dwh-nav__contact {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 12px;
        padding: 12px;
        border: 1px solid var(--dwh-line);
        border-radius: 14px;
        background: var(--dwh-blue-50);
    }
    .dwh-nav .dwh-nav__contact a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 8px;
        border-bottom: 1px solid rgba(0,129,255,.12);
        font-size: 14px;
    }
    .dwh-nav .dwh-nav__contact a:last-child { border-bottom: 0; }
    .dwh-nav__contact span { color: var(--dwh-muted); font-size: 12px; }
    .dwh-nav__contact strong { color: var(--dwh-blue-800); font-size: 14px; }

    .dwh-nav a { padding: 16px 8px; border-bottom: 1px solid var(--dwh-line); font-size: 17px; }
    .dwh-nav > a.is-current::after { display: none; }
    .dwh-nav > a.is-current { color: var(--dwh-blue-700); font-weight: 700; background-image: none; padding-bottom: 16px; margin-bottom: 0; }
    .dwh-hero { min-height: auto; padding: 76px 0 84px; }
    .dwh-hero__grid { grid-template-columns: 1fr; }
    .dwh-hero__content { text-align: center; }
    .dwh-hero h1,
    .dwh-hero__content > p { margin-right: auto; margin-left: auto; }
    .dwh-hero__actions,
    .dwh-hero__checks { justify-content: center; }
    .dwh-app-download { align-items: center; }
    .dwh-app-download__badges { justify-content: center; }
    .dwh-app-download__support { align-items: center; padding-left: 0; border-left: 0; }
    .dwh-hero__visual { width: min(660px, 94%); min-height: 470px; margin: 10px auto 0; }
    .dwh-metrics { grid-template-columns: repeat(2, 1fr); }
    .dwh-metric:nth-child(2)::after { display: none; }
    .dwh-metric:nth-child(-n+2) { border-bottom: 1px solid var(--dwh-line); }
    .dwh-case,
    .dwh-demo__grid { grid-template-columns: 1fr; }
    .dwh-tabs__panel { padding: 38px; }
    .dwh-role-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dwh-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .dwh-footer__grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
    .dwh-container { width: min(100% - 28px, var(--dwh-container)); }
    .dwh-section { padding: 38px 0; }
    .dwh-logo { font-size: 20px; }
    .dwh-page a.dwh-logo { height: 54px !important; font-size: 20px; }
    .dwh-page .dwh-logo__icon,
    .dwh-page .dwh-logo__image,
    .dwh-page .dwh-logo__icon img.dwh-logo__image {
        width: 50px !important;
        min-width: 50px !important;
        max-width: 50px !important;
        height: 50px !important;
        min-height: 50px !important;
        max-height: 50px !important;
        flex-basis: 50px !important;
        border-radius: 10px !important;
    }
    .dwh-hero { padding-top: 56px; padding-bottom: 66px; }
    .dwh-hero h1 { font-size: 37px; }
    .dwh-hero__content > p { font-size: 16px; }
    .dwh-hero__actions { align-items: stretch; flex-direction: column; }
    .dwh-hero__actions .dwh-button { width: 100%; }
    .dwh-hero__checks { align-items: flex-start; flex-direction: column; gap: 10px; text-align: left; }
    .dwh-app-download { width: 100%; margin-top: 24px; }
    .dwh-app-download__title { font-size: 17px; text-align: center; }
    .dwh-app-download__badges { width: 100%; gap: 10px; }
    .dwh-app-download__support { width: 100%; justify-content: center; align-items: center; text-align: center; margin-top: 0; padding: 10px 14px; border: 1px solid var(--dwh-line); border-radius: 14px; background: rgba(255,255,255,.85); }
    .dwh-store-badge { min-width: 0; width: calc(50% - 5px); height: 48px; padding: 6px 10px; }
    .dwh-store-badge__icon { width: 25px; min-width: 25px; height: 29px; }
    .dwh-store-badge__text small { font-size: 8px; }
    .dwh-store-badge__text strong { font-size: 16px; }
    .dwh-hero__visual { min-height: 330px; margin-top: 18px; }
    .dwh-dashboard-frame { top: 34px; width: 91%; padding-top: 28px; border-width: 5px; border-radius: 14px; }
    .dwh-mobile-frame { right: -1%; bottom: 0; width: 35%; padding: 0; border-width: 0; border-radius: 0; }
    .dwh-floating-card { min-width: 135px; padding: 10px 12px; }
    .dwh-floating-card strong { font-size: 16px; }
    .dwh-floating-card--top { right: 0; }
    .dwh-floating-card--bottom { left: 0; bottom: 2px; }
    .dwh-trust { margin-top: -24px; }
    .dwh-metric { min-height: 92px; padding: 14px 8px; }
    .dwh-metric strong { font-size: 23px; }
    .dwh-section-heading { margin-bottom: 18px; }
    .dwh-section-heading h2 { font-size: 31px; }
    .dwh-card-grid--four,
    .dwh-process-grid { grid-template-columns: 1fr; }
    .dwh-problem-card,
    .dwh-module-card { min-height: auto; }
    .dwh-flow { grid-template-columns: repeat(2, 1fr); }
    .dwh-case__panel { padding: 28px; }
    .dwh-case blockquote { font-size: 19px; }
    .dwh-tabs__buttons { grid-template-columns: 1fr 1fr; }
    .dwh-tabs__buttons button { min-height: 60px; font-size: 13px; }
    .dwh-tabs__panel { padding: 28px 20px; }
    .dwh-role-summary { grid-template-columns: 1fr; gap: 14px; }
    .dwh-role-summary .dwh-icon-box { margin-bottom: 2px; }
    .dwh-role-summary h3 { font-size: 24px; }
    .dwh-role-features { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
    .dwh-role-feature { min-height: auto; padding: 18px; }
    .dwh-role-outcome { flex-direction: column; gap: 4px; }
    .dwh-demo { padding: 78px 0 100px; }
    .dwh-form-card { padding: 24px 18px; }
    .dwh-form__row { grid-template-columns: 1fr; }
    .dwh-footer { padding-bottom: 90px; }
    .dwh-footer__grid { grid-template-columns: 1fr 1fr; gap: 38px 24px; }
    .dwh-footer__bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
    .dwh-mobile-actions { position: fixed; z-index: 999; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(3, 1fr); min-height: 62px; border-top: 1px solid rgba(0,0,0,.08); background: #fff; box-shadow: 0 -10px 30px rgba(8,40,93,.14); }
    .dwh-mobile-actions a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #fff; font-size: 11px; }
    .dwh-mobile-actions a:nth-child(1) { background: var(--dwh-blue-700); }
    .dwh-mobile-actions a:nth-child(2) { background: #0081FF; }
    .dwh-mobile-actions a:nth-child(3) { background: #FF8C0D; }
    .dwh-mobile-actions svg { width: 18px; height: 18px; }
    .dwh-mobile-actions .dwh-line-icon { width: auto; height: auto; background: transparent; font-size: 8px; }
    .dwh-demo-mini { font-size: 8px; font-weight: 700; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .dwh-page *, .dwh-page *::before, .dwh-page *::after { scroll-behavior: auto !important; transition: none !important; }
}


/* ตัวอย่างการใช้งาน: Popup วิดีโอ YouTube */
.dwh-hero__actions button.dwh-button {
    font: inherit;
    cursor: pointer;
}
html.dwh-video-is-open,
html.dwh-video-is-open body {
    overflow: hidden;
}
.dwh-video-modal[hidden] {
    display: none !important;
}
.dwh-video-modal {
    position: fixed;
    z-index: 3000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}
.dwh-video-modal.is-open {
    opacity: 1;
    visibility: visible;
}
.dwh-video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 17, 39, .78);
    backdrop-filter: blur(8px);
}
.dwh-video-dialog {
    position: relative;
    z-index: 1;
    width: min(430px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    padding: 20px;
    overflow: auto;
    border: 1px solid rgba(149, 201, 255, .65);
    border-radius: 24px;
    outline: none;
    background: #ffffff;
    box-shadow: 0 30px 90px rgba(3, 17, 39, .38);
    transform: translateY(18px) scale(.98);
    transition: transform .22s ease;
}
.dwh-video-modal.is-open .dwh-video-dialog {
    transform: translateY(0) scale(1);
}
.dwh-video-dialog__close {
    position: absolute;
    z-index: 3;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 72px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #ffb3c2;
    border-radius: 999px;
    color: #b4233d;
    background: #fff5f7;
    box-shadow: 0 8px 20px rgba(180, 35, 61, .16);
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
}
.dwh-video-dialog__close:hover {
    color: #ffffff;
    border-color: #d92d4f;
    background: #d92d4f;
}
.dwh-video-dialog__close svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.25;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.dwh-video-dialog__close span {
    line-height: 1;
}
.dwh-video-dialog__heading {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding-right: 86px;
    margin-bottom: 16px;
}
.dwh-video-dialog__icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid #ffd0da;
    border-radius: 14px;
    color: #ff0033;
    background: linear-gradient(135deg, #fff5f7, #ffffff);
    box-shadow: 0 12px 24px rgba(255, 0, 51, .14);
}
.dwh-video-dialog__icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}
.dwh-video-dialog__icon .dwh-social-play {
    fill: #ffffff;
}
.dwh-video-dialog__title {
    margin: 0 0 3px;
    color: var(--dwh-blue-950);
    font-size: 22px;
    line-height: 1.25;
}
.dwh-video-dialog__caption {
    margin: 0;
    color: var(--dwh-muted);
    font-size: 13px;
    line-height: 1.5;
}
.dwh-video-player {
    width: min(100%, 370px);
    max-height: min(72vh, 658px);
    margin-inline: auto;
    overflow: hidden;
    border: 8px solid #111927;
    border-radius: 26px;
    aspect-ratio: 9 / 16;
    background: #000000;
    box-shadow: 0 20px 45px rgba(7, 29, 77, .24);
}
.dwh-video-player iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000000;
}
@media (max-width: 560px) {
    .dwh-video-modal {
        padding: 10px;
    }
    .dwh-video-dialog {
        width: min(100%, 390px);
        max-height: calc(100vh - 20px);
        padding: 16px;
        border-radius: 20px;
    }
    .dwh-video-dialog__heading {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 10px;
        padding-right: 80px;
    }
    .dwh-video-dialog__icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }
    .dwh-video-dialog__close {
        top: 12px;
        right: 12px;
        min-width: 66px;
        height: 38px;
        padding: 0 10px;
        font-size: 13px;
    }
    .dwh-video-dialog__title {
        font-size: 19px;
    }
    .dwh-video-dialog__caption {
        font-size: 12px;
    }
    .dwh-video-player {
        max-height: 73vh;
        border-width: 6px;
        border-radius: 22px;
    }
}


/* v2.9.9.3 metrics one-row patch */
.dwh-trust .dwh-metrics {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.dwh-trust .dwh-metric {
    flex: 1 0 0 !important;
    min-width: 150px;
    min-height: 108px;
    padding-right: 14px;
    padding-left: 14px;
    border-bottom: 0 !important;
}

.dwh-trust .dwh-metric strong {
    font-size: clamp(20px, 1.55vw, 28px);
    white-space: nowrap;
}

.dwh-trust .dwh-metric span {
    white-space: normal;
}

.dwh-trust .dwh-metric:nth-child(2)::after {
    display: block !important;
}

.dwh-trust .dwh-metric:last-child::after {
    display: none !important;
}

@media (max-width: 900px) {
    .dwh-trust .dwh-metric {
        flex: 0 0 172px !important;
    }
}
