
/* =========================================================
   INDEX.HTML — page-specific styles (prefix: home_)
   ========================================================= */

/* ---------- hero ---------- */
.home_hero{ position:relative; padding:190px 0 40px; overflow:hidden; }


.home_hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home_hero-title{ font-size:clamp(34px,5.6vw,64px); position:relative; z-index:1; }
.home_hero-cta{ display:flex; gap:16px; justify-content:center; margin-top:36px; flex-wrap:wrap; position:relative; z-index:1;padding-bottom:45px; }

.home_hero-visual{ position:relative; margin-top:80px; z-index:1; }
.home_hero-panel{
  position:relative; max-width:900px; margin:0 auto; height:340px;
  background-color:var(--surface); background-size:cover; background-position:center;
  border:1px solid var(--border); border-radius:var(--radius-lg);
  overflow:hidden;
}
.home_hero-panel-glow{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(8,7,13,.35), rgba(8,7,13,.8)),
             radial-gradient(600px 300px at 30% 20%, rgba(139,92,246,.3), transparent 60%),
             radial-gradient(500px 260px at 80% 80%, rgba(58,165,255,.25), transparent 60%);
}
.home_hero-code{ position:absolute; top:18px; left:22px; display:flex; gap:7px; }
.home_hero-dot{ width:11px; height:11px; border-radius:50%; }
.home_hero-float{
  position:absolute; display:flex; align-items:center; gap:12px;
  background:rgba(19,18,32,.85); border:1px solid var(--border-strong);
  border-radius:var(--radius-sm); padding:12px 18px;
  backdrop-filter:blur(6px); box-shadow:var(--shadow-soft);
  animation:site_float 7s ease-in-out infinite;
}
.home_hero-float i{ font-size:20px; color:var(--violet); }
.home_hero-float strong{ display:block; font-family:'LINE Seed Sans TH',sans-serif; color:var(--text-1); font-size:20px; }
.home_hero-float span{ font-size:20px; color:var(--text-3); }
.home_hero-float--a{ top:70px; left:40px; }
.home_hero-float--b{ top:150px; right:60px; animation-delay:1.4s; }
.home_hero-float--c{ bottom:50px; left:120px; animation-delay:2.8s; }
@media(max-width:767px){
.site_logo-mark{
width:36px;
height:36px;
}
html{ overflow-x:hidden; }

.site_nav-inner{ min-width:0; }
.site_logo{ min-width:0; flex-shrink:1; }
.site_logo img{ height:32px; width:auto; max-width:160px; flex-shrink:0; }
#services{
    background: none !important;

}

  .home_hero-panel{ height:420px; }
  .home_hero-float{ position:static; margin:10px auto; width:max-content; }
  .home_hero-panel{ display:flex; flex-direction:column; justify-content:center; align-items:center; }
}

/* ---------- stats ---------- */

.bicon{
background: var(--grad-main) !important;
   
    -webkit-background-clip: text !important;
    background-clip: text !important;
    font-size: 3em !important;
    -webkit-text-fill-color: transparent;
    color: transparent !important;
    margin-bottom:10px;

}

.home_stats{
    background-size: cover;
background: url('../images/bg01.webp');
    background-repeat: no-repeat;
    background-position: center;
}
.home_stats-num{ font-size:44px; }
.home_stats-label{ color:var(--text-3); font-size:20px; margin-top:6px; max-width:180px; margin-inline:auto; }

/* ---------- services ---------- */
#services{
    background: url('https://demo.hvm.co.th/webunique/images/mockup_web2.jpg');
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: contain;
}
.home_service-card{ position:relative; }
.home_service-icon{
  width:54px; height:54px; border-radius:14px; background:var(--surface-2);
  display:flex; align-items:center; justify-content:center; font-size:24px; color:var(--violet);
  margin-bottom:20px;
}
.home_service-title{ font-size:20px; margin-bottom:10px; }
.home_service-desc{ font-size:20px; color:var(--text-2); margin-bottom:18px; }
.home_service-link{ font-family:'LINE Seed Sans TH',sans-serif; font-size:14px; color:var(--text-1); display:inline-flex; align-items:center; gap:6px; }
.home_service-link:hover{ color:var(--violet); }

.home_why-photo{ height:220px; }

/* ---------- why us ---------- */
.home_why-item i{ font-size:26px; color:var(--violet); margin-bottom:14px; display:block; }
.home_why-item h4{ font-size:20px; margin-bottom:8px; }
.home_why-item p{ font-size:20px; color:var(--text-3); }

/* ---------- process ---------- */
.home_process:before{
content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    background: #000000a3;
}
.home_process{
background-image: url('../images/mogup.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.home_process-step{ padding:30px 24px; border:1px solid var(--border); border-radius:var(--radius-md); height:100%; }
.home_process-index{ font-family:'LINE Seed Sans TH',sans-serif; font-weight:600; font-size:32px; color:transparent; -webkit-text-stroke:1px #fff; margin-bottom:16px; }
.home_process-step{
background: var(--bs-secondary-color);
}
.home_process-step h4{ font-size:16.5px; margin-bottom:8px; }
.home_process-step p{ font-size:14px; color:var(--text-3); }

/* ---------- portfolio preview tiles ---------- */
.home_pf-card{
  display:block; position:relative; height:420px; border-radius:var(--radius-md);
  padding:20px; overflow:hidden; border:1px solid var(--border);
  transition:transform .4s var(--ease);
  background-size:cover; background-position:center; background-color:var(--surface-2);
}
.home_pf-card:hover{ transform:translateY(-6px); }
.home_pf-card h4{ position:absolute; left:20px; bottom:18px; right:20px; font-size:16px; color:#fff; }
.home_pf-tag{
  font-family:'LINE Seed Sans TH',sans-serif; font-size:12px; color:#fff; background:rgba(255,255,255,.14);
  padding:5px 12px; border-radius:99px; backdrop-filter:blur(4px);
}
/* ---------- testimonials ---------- */
.home_testi-stars{ color:#f5c94d; font-size:13px; margin-bottom:16px; letter-spacing:3px; }
.home_testi-quote{ font-size:14.5px; color:var(--text-2); font-style:italic; min-height:96px; }
.home_testi-author{ display:flex; align-items:center; gap:12px; margin-top:22px; }
.home_testi-avatar{ width:42px; height:42px; border:1px solid var(--border-strong); }
.home_testi-author strong{ display:block; font-size:14px; color:var(--text-1); font-family:'LINE Seed Sans TH',sans-serif; font-weight:500; }
.home_testi-author span{ font-size:12.5px; color:var(--text-3); }

/* ---------- pricing ---------- */
.home_price-card{ position:relative; text-align:left; }
.home_price-card--featured{ border-color:var(--violet); background:var(--surface-2); }
.home_price-badge{
  position:absolute; top:-13px; right:28px; background:var(--grad-main); color:#fff;
  font-family:'LINE Seed Sans TH',sans-serif; font-size:12px; padding:5px 16px; border-radius:99px;
}
.home_price-name{ font-size:19px; margin-bottom:8px; }
.home_price-desc{ font-size:13.5px; color:var(--text-3); min-height:40px; }
.home_price-amount{ font-family:'LINE Seed Sans TH',sans-serif; font-weight:600; font-size:38px; color:var(--text-1); margin:18px 0 20px; }
.home_price-amount span{ font-size:15px; color:var(--text-3); font-weight:400; margin-left:4px; }
.home_price-list{ list-style:none; padding:0; margin:0 0 26px; display:flex; flex-direction:column; gap:12px; }
.home_price-list li{ font-size:14px; color:var(--text-2); display:flex; gap:10px; align-items:flex-start; }
.home_price-list i{ color:var(--violet); margin-top:3px; }
