
    :root{
      --bg:#0b1b2b;
      --bg-soft:#0f253c;
      --primary:#0ea5e9;
      --accent:#22c55e;
      --text:#0f172a;
      --muted:#64748b;
      --card:#ffffff;
      --border:#e2e8f0;
      --shadow: 0 10px 30px rgba(0, 71, 250, 0.12);
      --radius: 18px;
      --radius-sm: 12px;
      --sep:#00eeff; 
      --max: 1300px;
    }
    body {margin: 0;font-family: sans-serif;min-height: 100vh;position: relative;overflow-x: hidden;}
    body::before {content: "";position: fixed;top: 0; left: 0; right: 0; bottom: 0;background: url('Pictures/Background.png') no-repeat center center;background-size: cover;z-index: -1;}
    *{box-sizing:border-box}
    html,body{margin:0;padding:0}
    body{font-family:"Kanit",system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif; color:var(--text); background:#f8fafc; line-height:1.6}
    a{color:inherit;text-decoration:none}
    img{max-width:100%;display:block}
    .text_center{
      text-align: center;
      padding: 20px;}
    /* ===== Header ===== */
    .site-header{
      position:sticky;
      top:0;
      z-index:40;
      background:rgba(11,27,43,.85);
      backdrop-filter:saturate(150%) blur(8px);border-bottom:1px solid rgba(255,255,255,.08)}
    .nav{
      max-width:var(--max);
      margin:auto;
      display:flex;
      align-items:center;
      gap:18px;
      padding:12px 20px;
      color:#e2e8f0}
    .brand{
      display:flex;
      align-items:center;
      gap:12px}
    .brand__name{
      font-weight:700;
      letter-spacing:.3px}
    .nav__links{
      margin-left:auto;
      display:flex;
      gap:14px;
      align-items:center}
    .nav__links a{
      padding:10px 12px;
      border-radius:10px;
      color:#e5e7eb}
    .nav__links a:hover{
      background:rgba(235, 230, 230, 0.08)}
    .btn-primary{
      display:flex;
      background:var(--primary);
      color:white; 
      padding:10px 10px; 
      border-radius:12px; 
      font-weight:600; 
      box-shadow:0 8px 18px rgba(14,165,233,.35)}
    .btn-primary:hover{
      filter:brightness(1.1);}
    .nav__toggle{
      display:none;
      margin-left:auto;
      background:transparent;
      border:1px solid rgba(255,255,255,.15);
      color:#e5e7eb;
      padding:8px 10px;
      border-radius:10px;}
    /* ===== Hero ===== */
    .hero{
      overflow: visible;
      position:relative;
      background:radial-gradient(1200px 600px at 70% -20%, rgba(14,165,233,.35), transparent 60%), radial-gradient(800px 400px at 20% -20%, rgba(3, 220, 248, 0.25), transparent 60%), var(--bg); 
      color:#e5e7eb;
      mask-image: linear-gradient(to bottom, black 90%, transparent 100%);}
    .hero__inner{
      max-width:var(--max); 
      margin:auto; 
      padding:80px 20px 56px; 
      display:grid; 
      grid-template-columns: 1.3fr 1fr; 
      gap:30px; 
      align-items:center;}
    .hero__title{
      font-size:clamp(25px,3.6vw,40px); 
      line-height:1.15; 
      margin:0 0 10px; 
      font-weight:700;}
    .hero__text{
      color:#cbd5e1; 
      margin:0 0 20px;}
    .hero__cta{
      display:flex; 
      gap:12px; 
      flex-wrap:wrap;}
    .hero__cta b{
      display:block; 
      color:#000000; 
      padding:6px 0; 
      opacity:.9;}
    .hero__cta b:hover{
      opacity:1;}
    .hero__card{
      background:rgba(255,255,255,.06); 
      border:1px solid rgba(255,255,255,.18); 
      padding:16px; 
      border-radius:var(--radius); 
      display:grid; 
      grid-template-columns: 64px 1fr; 
      gap:14px; 
      align-items:center;}
    .hero__icon{
      width:64px; 
      height:64px; 
      border-radius:14px; 
      background:linear-gradient(135deg,#1f2937,#334155); 
      display:grid; 
      place-items:center; 
      font-size:28px;}
    .hero__card h4{
      margin:0 0 6px;}
    .hero__card p{
      margin:0;
      color:#cbd5e1;
      font-size:14px;}
    /* ===== Section base ===== */
    section{
      padding:20px 20px;}
    .wrap{
      max-width:var(--max); 
      margin:auto;}
    .section__head{
      display:flex; 
      align-items:end; 
      justify-content:space-between; 
      gap:20px; 
      margin-bottom:22px;}
    .section__title{
      font-size:clamp(22px,4vw,32px); 
      margin:0;
      color:#fffbfb;}
    .section__desc{
      color:var(--muted); 
      margin:6px 0 0
      ;color:#ffffff;}
    .section__Contact_title{
      font-size:clamp(22px,4vw,32px);
      margin:0;
      color:#070606;}
    .section__Contact_desc{
      color:var(--muted); 
      margin:6px 0 0;
      color:#000000;}
    /* ===== About ===== */
    .about{
      display:grid; 
      grid-template-columns: 1.2fr 1fr; 
      gap:26px;}
    .about__card{
      overflow: hidden;
      background:var(--card); 
      border:1px solid var(--border); 
      border-radius:var(--radius);
      padding:22px; 
      box-shadow:var(--shadow);}
    .about__grid{
      display:grid; 
      grid-template-columns: repeat(3,1fr); 
      gap:16px; 
      margin-top:12px;}
    .kpi{
      background:var(--card); 
      border:1px dashed #101111; 
      border-radius:16px; 
      padding:1px; 
      text-align:center;}
    .kpi b{
      display:block; 
      font-size:22px;}
    /* ===== Services ===== */
    .Services_cards{
      display:grid; 
      grid-template-columns: repeat(3,1fr); 
      gap:16px;
      padding: 10px 0;}
    .Services_card {
      background: #fff;
      border: 3px solid #e5e7eb;
      border-radius: 16px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
      overflow: hidden;
      transition: transform .3s ease, box-shadow 0.3s ease;}
    .Services_card:hover{
      transform:translateY(-6px) scale(1.02);
      border-color:#30e3ff;}
    .Services_card__media img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
      transition:transform .45s ease;}
    .Services_card:hover img{
      transform:scale(1.07) }
    .Services_card__body {
      padding: 16px;}
    .chip {
      text-align: center;
      display: inline-block;
      background: #e5e5e7;
      color: #030303;
      font-size: 12px;
      font-weight: 600;
      padding: 4px 10px;
      border-radius: 999px;}
    /* ===== Projects ===== */
    .projects__grid{
      display:flex; 
      gap:22px;
      padding:10px 4px;
      overflow-x:auto;
      scroll-snap-type:x mandatory;
      -webkit-overflow-scrolling:touch;
      scrollbar-width:none;}
    .projects__grid::-webkit-scrollbar{
      display:none}
    .project{
      position:relative;
      flex:0 0 400px;
      height:300px;
      border-radius:16px;
      overflow:hidden;
      background:#0f172a;
      border:3px solid rgba(0, 60, 255, 0.12);
      box-shadow:0 12px 300px rgba(0,0,0,.25);
      scroll-snap-align:center;
      transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;}
    .project:hover{
      transform:translateY(-6px) scale(1.02);
      border-color:#30e3ff;}
    .project img{
      width:100%; 
      height:100%;
      object-fit:cover; 
      display:block;
      transform:scale(1.02);
      transition:transform .45s ease;}
    .project:hover img{ 
      transform:scale(1.07) }
    .project__badge{
      position:absolute; 
      left:10px; 
      bottom:10px;
      background:rgba(255,255,255,.92);
      color:#0f172a; font-weight:700; 
      font-size:12px;padding:6px 10px; 
      border-radius:999px;
      backdrop-filter: blur(6px);}
    /* ===== Footer ===== */
    .site-footer{
      background:#0b1220;
      color:#ffffff;}
    .footer__grid{
      display:grid; 
      grid-template-columns: 2fr repeat(3,1fr);
      gap:20px;}
    .footer__col h4{
      margin:0 0 10px;}
    .footer__col a{
      display:block; 
      color:#cbd5e1;
      padding:6px 0; 
      opacity:.9;}
    .footer__col a:hover{
      opacity:1;
      filter:brightness(10);}
    .footer__bottom{
      border-top:1px solid rgba(255, 255, 255, 0.08); 
      margin-top:26px; 
      padding-top:16px; 
      align-items:center;
      text-align:center; 
      justify-content:space-between; 
      gap:12px;}
    /* ===== Responsive ===== */
    @media (max-width: 1024px){
    .hero__inner{grid-template-columns:1fr}
    .about{grid-template-columns:1fr}}
    @media (max-width: 894px){
    .nav__links{display:none}
    .nav__toggle{display:inline-flex}
    .footer__grid{grid-template-columns:1fr 1fr}}
    @media (max-width: 640px){
    .footer__grid{grid-template-columns:1fr}
    .Services_cards{grid-template-columns:1fr}
    .about__grid{grid-template-columns:1fr}
    .project{ flex-basis: 78vw; height: 230px; }}
    /* ===== Mobile drawer ===== */
    .drawer{
      position:fixed;
      z-index:100;inset:0;
      background:rgba(2,6,23,.55);
      backdrop-filter: blur(4px);
      visibility:hidden;
      opacity:0;
      transition: opacity .6s ease, visibility 0s linear .6s;}
    .drawer.is-open{
      visibility:visible;
      opacity:1;
      transition: opacity .6s ease;}
    .drawer__panel{
      position:absolute; 
      right:0;
      top:0;
      bottom:0; 
      width:min(300px,360px);
      background:#0e2136;
      color:#e5e7eb;
      padding:18px;
      box-shadow:-10px 0 30px rgba(2,8,23,.4);
      transform:translateX(100%);
      transition:transform .6s ease-in-out;}
    .drawer.is-open .drawer__panel{
      transform:translateX(0);}
    .drawer__panel a{
      display:block;
      padding:12px 10px;
      border-radius:10px;
      text-decoration:none;
      color:inherit;}
    .drawer__panel a:hover{
      background:rgba(247,246,246,0.06);}
    /* ===== โลโก่เลื่อน ===== */
    :root {
      --gap:36px;
      --speed:50;}
    .logo-ticker {
      position: relative;
      border-radius: 16px;
      padding: 18px;
      overflow: hidden;}
    .logo-ticker::before,
    .logo-ticker::after {
      content:"";
      position:absolute;
      top:0;bottom:0;
      width:80px;
      z-index:5;
      pointer-events:none;}
    .ticker__viewport { 
      overflow:hidden }
    .ticker__track { 
      display:flex; 
      gap:var(--gap);
      will-change:transform }
    .ticker__track.anim {
      animation:scroll var(--duration) linear infinite }
    .logo {
      flex:0 0 auto;
      display:grid;
      place-items:center;
      height:72px;
      padding:10px 18px;
      border-radius:12px;}
    .logo img {
      height:50px;
      width:auto;
      display:block;
      border-radius:12px;}
    @keyframes scroll {
       to { transform:translateX(var(--to)) } }
    .logo-ticker:hover .ticker__track.anim {
      animation-play-state: paused;}
    /* ===== ตัวอักษรล่นลงมา ===== */
    .text-animate {
      display: inline-block;
      white-space:pre-wrap;}
    .text-animate .char {
      display: inline-block;
      opacity: 0;
      transform: translateY(-80px);
      animation: dropIn .65s forwards;
      will-change: transform, opacity;}
    .text-animate .space {
      display: inline-block;
      width: .33em;}
    @keyframes dropIn {
      60% { transform: translateY(8px); }to{ opacity: 1; transform: translateY(0); }}
    @media (prefers-reduced-motion: reduce){
    .text-animate .char {opacity: 1 !important;transform: none !important;animation:  none !important;}}
    /* === เนื้อหาค่อยๆโผล่/เลื่อนเข้า === */
    [data-pop]{
      opacity: 0;
      transform: translate3d(var(--x, 0px), var(--y, 0px), 0) scale(1.94);
      will-change: transform, opacity;}
    [data-pop].is-in{
      animation: pop-reveal var(--dur, 5s) var(--ease, cubic-bezier(.16,1,.3,1)) both;
      animation-delay: var(--delay, 0ms);}
    @keyframes pop-reveal{
      0%   { opacity:0; transform: translate3d(var(--x, 0px), var(--y, 12px), 0) scale(.94); }
      60%  { opacity:1; transform: translate3d(0px, 0px, 0px) scale(1.02); } 
      100% { opacity:1; transform: translate3d(0px, 0px, 0px) scale(1); }}
    @media (prefers-reduced-motion: reduce){
      [data-pop]{ 
        opacity:1 !important; 
        transform:none !important; 
        animation:none !important; }
      [data-pop].is-in{ 
        animation:none !important; }}
    /*ฟิกหน้าจอ*/
    @supports (overflow: clip){
      html, body{ overflow-x: clip; }}
    /* === เส้นเดี่ยวไล่โปร่งใส === */
    .sep--line{ 
      height:3px;
      background:linear-gradient(90deg, transparent, var(--sep), transparent) }
    /* === เส้น Title ไล่โปร่งใส === */
    .title{
      text-align: center;
      font-size:clamp(20px,2.3vw,40px);font-weight:800;
      letter-spacing:.5px;
      margin:0 0 18px;
      display:flex;
      align-items:flex-end;
      gap:12px;}
    .title::after{
      content:"";
      flex:1;
      height:4px;
      background:linear-gradient(90deg, var(--primary), transparent); 
      border-radius:999px}
    .title::before{
      content:"";
      flex:1;
      height:4px;
      background:linear-gradient(270deg, var(--primary), transparent);
      border-radius:999px;}
    /* === language === */
    .lang-container {
      position:fixed;
      z-index:40;
      right: 0; 
      max-width: var(--max);
      padding: 10px 20px;}
    .lang {
      position: relative;
      display: inline-block;}
    .lang__btn {
      display: flex;
      align-items: center;
      gap: 8px;
      background-color: #0ea4e900;
      color: #e0e0e0;
      font-family: "Kanit", sans-serif;
      font-weight: 600;
      border: none;
      border-radius: 8px;
      padding: 8px 14px;
      cursor: pointer;
      transition: background-color 0.3s;}
    .lang__btn:hover {
      background-color: #585858a1;}
    .lang__caret {
      transition: transform 0.3s;}
    .lang:hover .lang__caret {
      transform: rotate(180deg);}
    .lang__menu {
      position: absolute;
      right: 0;
      top: 100%;
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      margin-top: 8px;
      min-width: 160px;
      display: flex;
      flex-direction: column;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px);
      transition: all 0.25s ease;
      overflow: hidden;
      z-index: 1000;}
    .lang:hover .lang__menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);}
    .lang__menu a {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 14px;
      color: #333;
      text-decoration: none;
      font-family: "Kanit", sans-serif;
      font-size: 15px;
      transition: background 0.2s;}
    .lang__menu a:hover {
      background: #b7b7b7;}
    .flag {
      width: 20px;
      height: 14px;
      border-radius: 2px;
      object-fit: cover;}
