/* === AkaraWeb design system v4.3 — brand orange (2026-07) ===
   v4 light layout kept; accent shifted from CheckDi-blue to the real group
   brand color — the orange/amber of the Akara diamond and CheckDi logo —
   paired with deep navy for text, metrics band, footer and the CheckDi pillar.
   Orange fills carry navy text (contrast); orange TEXT on white uses the
   darker --orange-deep so small type stays readable. Warm neutrals throughout. */

:root {
    --bg: #FFFFFF;
    --soft: #F8F6F1;
    --navy: #10233F;
    --navy-2: #16304F;
    --ink: #1D2B44;
    --dim: #5B6B84;
    --orange: #F28A1B;
    --orange-deep: #B45309;
    --orange-tint: #FDF1E2;
    --line: #EAE5DC;
    --radius: 18px;
    --shadow: 0 24px 60px -24px rgba(16, 35, 63, .18);
    --shadow-soft: 0 10px 30px -12px rgba(16, 35, 63, .12);
    --font-body: 'Anuphan', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16.5px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: var(--orange-deep); text-decoration: none; }
a:hover { color: #8F4008; }
a:focus-visible, button:focus-visible { outline: 3px solid rgba(242, 138, 27, .55); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-weight: 700; line-height: 1.32; margin: 0 0 .5em; color: var(--navy); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.mono { font-weight: 600; letter-spacing: .01em; }
.grid-bg { background: var(--bg); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: var(--orange-deep);
    margin-bottom: 14px;
}

/* --- nav --- */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.nav-inner {
    max-width: 1120px; margin: 0 auto; padding: 13px 24px;
    display: flex; align-items: center; gap: 20px;
}
.nav-logo img { height: 42px; display: block; }
.nav-spacer { flex: 1; }
.nav-lang { font-size: 14.5px; color: var(--dim); }
.nav-lang b { color: var(--navy); }
.nav-lang a { color: var(--dim); }
.nav-lang a:hover { color: var(--navy); }
.nav-cta {
    background: var(--orange); color: var(--navy) !important;
    padding: 10px 20px; border-radius: 999px;
    font-size: 14.5px; font-weight: 700; white-space: nowrap;
    transition: filter .2s;
}
.nav-cta:hover { filter: brightness(1.07); }

/* --- hero --- */
.hero {
    position: relative; padding: 76px 0 90px; overflow: hidden;
    background: linear-gradient(180deg, #FFFFFF 0%, #FAF4EA 100%);
}
.hero::before {
    content: ""; position: absolute; right: -14%; top: -30%;
    width: 700px; height: 700px; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(242, 138, 27, .12), transparent 70%);
    pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; }
.hero h1 {
    font-size: clamp(34px, 4.6vw, 52px);
    line-height: 1.25; margin: 0 0 18px;
}
.hero h1 .gtxt { color: var(--orange); }
.hero-sub { font-size: 18px; color: var(--dim); max-width: 33em; margin: 0 0 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 27px; border-radius: 999px;
    font-size: 16px; font-weight: 700; line-height: 1;
    transition: transform .15s, box-shadow .15s, filter .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn-grad { background: var(--orange); color: var(--navy) !important; }
.btn-grad:hover { filter: brightness(1.07); }
.btn-ghost { background: #fff; color: var(--navy) !important; border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-deep) !important; }

/* license chip */
.lic-chip {
    display: inline-flex; align-items: center; gap: 9px;
    margin-top: 26px; padding: 8px 17px;
    border: 1px solid rgba(242, 138, 27, .5); border-radius: 999px;
    font-size: 13px; font-weight: 600; color: var(--orange-deep);
    background: var(--orange-tint);
}
.lic-chip::before { content: ""; width: 7px; height: 7px; background: var(--orange); transform: rotate(45deg); flex: none; }

/* --- hero product card --- */
.widget {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    overflow: hidden;
    font-size: 14.5px;
}
.widget-bar {
    display: flex; align-items: center;
    padding: 14px 20px; border-bottom: 1px solid var(--line);
    background: var(--soft);
}
.widget-bar i { display: none; }
.widget-url {
    flex: none; margin-left: auto;
    font-size: 12.5px; font-weight: 700; color: var(--orange-deep);
    background: var(--orange-tint); border-radius: 999px; padding: 4px 14px;
}
.widget-bar::before { content: "แพลตฟอร์มของเรา"; font-size: 12.5px; color: var(--dim); font-weight: 500; }
html[lang="en"] .widget-bar::before { content: "Our platform"; }
.widget-body { padding: 20px; }
.widget-title { font-weight: 700; font-size: 16.5px; color: var(--navy); margin-bottom: 3px; }
.widget-note { color: var(--dim); font-size: 12.5px; margin-bottom: 14px; }
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.prod {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 15px 8px 12px; border: 1px solid var(--line); border-radius: 14px;
    background: #fff; text-align: center;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
.prod:hover { border-color: var(--orange); box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.prod-ico { font-size: 23px; line-height: 1.2; }
.prod-name { font-weight: 600; font-size: 13.5px; color: var(--navy); }
.prod-go { font-size: 11.5px; font-weight: 700; color: var(--orange-deep); }
.widget-cta {
    display: block; text-align: center; margin-top: 14px;
    background: var(--orange); color: var(--navy) !important;
    font-weight: 700; font-size: 15px;
    padding: 13px; border-radius: 999px;
    transition: filter .2s;
}
.widget-cta:hover { filter: brightness(1.07); }

/* --- metrics strip --- */
.metrics { background: var(--navy); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric { padding: 34px 18px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .12); }
.metric:first-child { border-left: 0; }
.metric-num { font-size: 27px; font-weight: 700; color: #fff; }
.metric-num b { color: #FFB95C; }
.metric-label { font-size: 13.5px; color: rgba(255, 255, 255, .68); margin-top: 3px; }

/* --- sections --- */
.section { padding: 92px 0; }
.section-head { max-width: 660px; margin-bottom: 46px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); }
.section-head p { color: var(--dim); margin: 0; }

/* --- feature cards --- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 32px 30px; box-shadow: var(--shadow-soft);
    transition: transform .2s, box-shadow .2s;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat-icon {
    width: 44px; height: 44px; border-radius: 12px; background: var(--orange-tint);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 18px; color: var(--orange-deep);
    margin-bottom: 18px;
}
.feat h3 { font-size: 19px; }
.feat p { color: var(--dim); font-size: 15px; margin: 0; }

/* --- pillars --- */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pillar {
    border-radius: var(--radius); padding: 38px 34px;
    display: flex; flex-direction: column; gap: 13px;
    border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-soft);
}
/* CheckDi pillar: navy panel, orange CTA — matches the CheckDi logo's own colors */
.pillar-blue { background: linear-gradient(150deg, var(--navy-2) 0%, #0B1B31 100%); border: 0; }
.pillar-blue h3, .pillar-blue p { color: #fff; }
.pillar-blue p { font-weight: 500; }
.pillar h3 { font-size: 23px; margin: 0; }
.pillar p { margin: 0; color: var(--dim); }
.pillar .btn { margin-top: 14px; align-self: flex-start; }
.pillar-blue .btn-grad { background: var(--orange); color: var(--navy) !important; }
.pillar-tag { font-size: 12.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: #FFB95C; }
.pillar-gold .pillar-tag { color: var(--orange-deep); }
.pillar-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.pillar-chips span {
    font-size: 13px; font-weight: 500; padding: 5px 13px; border-radius: 999px;
    background: rgba(255, 255, 255, .14); color: #fff;
}
.pillar-gold .pillar-chips span { background: var(--orange-tint); color: var(--orange-deep); }
.checkdi-logo { height: 30px; width: auto; align-self: flex-start; background: #fff; border-radius: 8px; padding: 5px 10px; }

/* --- services --- */
.svc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; box-shadow: var(--shadow-soft); }
.svc-card h3 { font-size: 20px; display: flex; align-items: center; gap: 12px; }
.svc-card h3 .tag {
    font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--orange-deep);
    background: var(--orange-tint); padding: 4px 11px; border-radius: 999px;
}
.svc-list { list-style: none; margin: 16px 0 0; padding: 0; }
.svc-list li {
    position: relative; padding: 5.5px 0 5.5px 24px;
    font-size: 15px; color: var(--dim);
}
.svc-list li::before {
    content: "✓"; position: absolute; left: 0; top: 5.5px;
    color: var(--orange); font-weight: 700; font-size: 14px;
}

/* --- about band --- */
.heritage { background: var(--soft); }
.heritage-grid { display: grid; grid-template-columns: 1fr; max-width: 760px; }
.heritage h2 { font-size: clamp(24px, 2.8vw, 32px); }
.heritage p { color: var(--dim); }
.chip-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.chip {
    font-size: 13.5px; font-weight: 500; padding: 7px 16px; border-radius: 999px;
    background: #fff; border: 1px solid var(--line); color: var(--dim);
}

/* --- partners --- */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(94px, 1fr)); gap: 13px; }
.logo-tile {
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    aspect-ratio: 3 / 2;
    display: flex; align-items: center; justify-content: center;
    padding: 11px;
    transition: box-shadow .2s, transform .2s;
}
.logo-tile:hover { box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.logo-tile img { max-height: 42px; max-width: 100%; object-fit: contain; }

/* --- contact --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-soft); padding: 36px 34px; }
.contact-card h3 { font-size: 20px; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 14px; padding: 8px 0; align-items: baseline; }
.contact-list .k {
    flex: none; width: 84px; font-size: 12px; font-weight: 700;
    letter-spacing: .09em; text-transform: uppercase; color: var(--orange-deep);
}
.contact-list a, .contact-list span:not(.k) { color: var(--ink); font-weight: 500; }
.contact-list a:hover { color: var(--orange-deep); }

/* --- footer --- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .75); padding: 56px 0 40px; font-size: 15px; }
.footer h4 { color: #fff; font-size: 16px; margin: 0 0 12px; }
.footer a { color: rgba(255, 255, 255, .75); }
.footer a:hover { color: #FFB95C; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { padding: 3px 0; }
.footer-base {
    border-top: 1px solid rgba(255, 255, 255, .15);
    margin-top: 42px; padding-top: 24px;
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
    font-size: 13.5px; color: rgba(255, 255, 255, .55);
}
.footer-base a { color: #FFB95C; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }

/* --- motion --- */
@media (prefers-reduced-motion: no-preference) {
    .hero-copy > * { opacity: 0; transform: translateY(14px); animation: rise .7s cubic-bezier(.2, .7, .3, 1) forwards; }
    .hero-copy > *:nth-child(2) { animation-delay: .07s; }
    .hero-copy > *:nth-child(3) { animation-delay: .14s; }
    .hero-copy > *:nth-child(4) { animation-delay: .21s; }
    .hero-copy > *:nth-child(5) { animation-delay: .28s; }
    .hero-art { opacity: 0; transform: translateY(20px); animation: rise .8s .25s cubic-bezier(.2, .7, .3, 1) forwards; }
    @keyframes rise { to { opacity: 1; transform: translateY(0); } }
}

/* --- responsive --- */
@media (max-width: 960px) {
    .hero { padding: 50px 0 62px; }
    .hero-grid, .heritage-grid { grid-template-columns: 1fr; gap: 40px; }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .metric { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
    .metric:nth-child(-n+2) { border-top: 0; }
    .metric:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .12); }
    .feat-grid { grid-template-columns: 1fr; }
    .pillars, .svc-cols, .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .section { padding: 64px 0; }
}

@media (max-width: 480px) {
    .nav-inner { padding: 10px 16px; gap: 12px; }
    .nav-logo img { height: 36px; }
    .nav-cta { padding: 9px 14px; font-size: 13px; }
    .wrap { padding: 0 18px; }
    .btn { padding: 13px 21px; font-size: 15px; }
}
