/* web-service.css — รับทำเว็บไซต์ page */

/* HERO */
.ws-hero {
  background: var(--ink);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.ws-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 80% 60%, rgba(249,115,22,0.06), transparent 65%),
    radial-gradient(ellipse 30% 40% at 10% 20%, rgba(255,255,255,0.015), transparent 60%);
  pointer-events: none;
}
.ws-hero .wrap { position: relative; z-index: 2; }
.ws-hero-inner {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 64px;
  align-items: center;
}
.ws-kicker {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 20px;
}
.ws-h1 {
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 24px;
}
.ws-h1 em { font-style: normal; color: var(--accent); }
.ws-desc {
  font-size: 15.5px;
  font-weight: 300;
  color: #777;
  line-height: 1.9;
  margin-bottom: 32px;
}
.ws-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* hero right: browser mockup */
.ws-mockup {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
}
.ws-mockup-bar {
  background: #141414;
  height: 38px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 8px;
  border-bottom: 1px solid #222;
}
.ws-mockup-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ws-mockup-dot:nth-child(1) { background: #f05252; }
.ws-mockup-dot:nth-child(2) { background: #f6a609; }
.ws-mockup-dot:nth-child(3) { background: #36c758; }
.ws-mockup-url {
  flex: 1;
  background: #1e1e1e;
  border-radius: 4px;
  height: 22px;
  margin: 0 8px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 6px;
}
.ws-mockup-url-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.ws-mockup-url span {
  font-family: var(--font);
  font-size: 10px;
  color: #555;
  white-space: nowrap;
}
.ws-mockup-screen {
  padding: 20px;
  background: #111;
  min-height: 220px;
}
.ws-mock-hero {
  background: #1a1a1a;
  border-radius: 6px;
  padding: 20px 16px;
  margin-bottom: 12px;
}
.ws-mock-tag {
  width: 52px; height: 6px;
  background: var(--accent);
  border-radius: 3px;
  margin-bottom: 10px;
  opacity: 0.7;
}
.ws-mock-title {
  height: 9px;
  background: #fff;
  border-radius: 3px;
  margin-bottom: 6px;
  width: 70%;
  opacity: 0.7;
}
.ws-mock-title.short { width: 45%; opacity: 0.4; }
.ws-mock-body { height: 5px; background: #444; border-radius: 3px; margin-bottom: 4px; }
.ws-mock-body.sm { width: 65%; }
.ws-mock-btn {
  margin-top: 12px;
  display: inline-block;
  background: var(--accent);
  border-radius: 4px;
  height: 22px;
  width: 80px;
  opacity: 0.85;
}
.ws-mock-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.ws-mock-card {
  background: #1a1a1a;
  border-radius: 6px;
  padding: 12px;
  border: 1px solid #252525;
}
.ws-mock-card-img {
  height: 40px;
  background: #252525;
  border-radius: 4px;
  margin-bottom: 8px;
}
.ws-mock-card-line { height: 4px; background: #333; border-radius: 2px; margin-bottom: 4px; }
.ws-mock-card-line.short { width: 60%; }

/* STATS STRIP */
.ws-stats {
  background: var(--off);
  border-top: 1px solid var(--light);
  border-bottom: 1px solid var(--light);
  padding: 32px 0;
}
.ws-stats-inner {
  display: flex;
  justify-content: space-around;
  gap: 24px;
}
.ws-stat {
  text-align: center;
}
.ws-stat-num {
  font-family: var(--font);
  font-size: 34px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}
.ws-stat-num span { color: var(--accent); }
.ws-stat-label {
  font-size: 12.5px;
  font-weight: 300;
  color: var(--muted);
}

/* SECTION HEADER */
.ws-sec-header {
  text-align: center;
  margin-bottom: 56px;
}
.ws-sec-label {
  font-family: var(--font);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.ws-sec-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
}
.ws-sec-title em { font-style: normal; color: var(--accent); }
.ws-sec-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--dark);
  margin-top: 16px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* SERVICES — PACKAGES */
.ws-packages { padding: 88px 0; background: var(--white); }
.ws-pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.ws-pkg {
  border: 1px solid var(--light);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t), transform var(--t);
  background: var(--white);
}
.ws-pkg:hover { border-color: var(--ink); transform: translateY(-3px); }
.ws-pkg.featured {
  border-color: var(--ink);
  transform: translateY(-6px);
}
.ws-pkg-head {
  padding: 28px 26px 22px;
  border-bottom: 1px solid var(--light);
  background: var(--off);
  position: relative;
}
.ws-pkg.featured .ws-pkg-head {
  background: var(--ink);
}
.ws-pkg-popular {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.ws-pkg-name {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.ws-pkg.featured .ws-pkg-name { color: #fff; }
.ws-pkg-tagline {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 18px;
}
.ws-pkg.featured .ws-pkg-tagline { color: #666; }
.ws-pkg-price {
  font-family: var(--font);
  font-size: 30px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.ws-pkg.featured .ws-pkg-price { color: var(--accent); }
.ws-pkg-price sub {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  vertical-align: baseline;
}
.ws-pkg-body { padding: 24px 26px 28px; }
.ws-pkg-features {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ws-pkg-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 300;
  color: var(--dark);
  line-height: 1.5;
}
.ws-pkg-features li .chk {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(249,115,22,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.ws-pkg-features li .chk svg {
  width: 9px; height: 9px;
  stroke: var(--accent);
  stroke-width: 2.5;
  fill: none;
}
.ws-pkg-features li.muted .chk { background: var(--light); }
.ws-pkg-features li.muted .chk svg { stroke: var(--mid); }
.ws-pkg-features li.muted { color: var(--muted); }
.ws-pkg-cta {
  display: block;
  width: 100%;
  padding: 12px;
  text-align: center;
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 500;
  transition: background var(--t), color var(--t);
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: transparent;
}
.ws-pkg-cta:hover { background: var(--ink); color: #fff; }
.ws-pkg.featured .ws-pkg-cta {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.ws-pkg.featured .ws-pkg-cta:hover { background: var(--accent-d); border-color: var(--accent-d); }

/* PROCESS */
.ws-process { padding: 88px 0; background: var(--off); }
.ws-process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.ws-process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--light);
  z-index: 0;
}
.ws-step {
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}
.ws-step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: border-color var(--t), background var(--t);
}
.ws-step:hover .ws-step-num { border-color: var(--ink); background: var(--ink); color: #fff; }
.ws-step-title {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.ws-step-desc {
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
}

/* TECH STACK */
.ws-tech { padding: 88px 0; background: var(--white); }
.ws-tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ws-tech-card {
  border: 1px solid var(--light);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  text-align: center;
  background: var(--off);
  transition: border-color var(--t), transform var(--t);
}
.ws-tech-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.ws-tech-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.ws-tech-icon svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.8; }
.ws-tech-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 5px;
}
.ws-tech-desc {
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
}

/* WHY US */
.ws-why { padding: 88px 0; background: var(--ink); }
.ws-why .ws-sec-title { color: #fff; }
.ws-why .ws-sec-label { color: var(--accent); }
.ws-why .ws-sec-desc { color: #666; }
.ws-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ws-why-card {
  padding: 32px 26px;
  border: 1px solid #1e1e1e;
  border-radius: var(--r-lg);
  transition: border-color var(--t);
}
.ws-why-card:hover { border-color: #333; }
.ws-why-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(249,115,22,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.ws-why-icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.8; }
.ws-why-title {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px;
}
.ws-why-desc {
  font-size: 13px;
  font-weight: 300;
  color: #555;
  line-height: 1.8;
}

/* PORTFOLIO */
.ws-portfolio { padding: 88px 0; background: var(--off); }
.ws-port-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.ws-port-card {
  border: 1px solid var(--light);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  transition: border-color var(--t), transform var(--t);
}
.ws-port-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.ws-port-thumb {
  aspect-ratio: 16/10;
  background: var(--light);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ws-port-ph {
  font-family: var(--font);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.ws-port-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
}
.ws-port-body { padding: 18px 20px; }
.ws-port-name {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}
.ws-port-type {
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
}

/* FAQ */
.ws-faq { padding: 88px 0; background: var(--white); }
.ws-faq-wrap { max-width: 760px; margin: 0 auto; }

/* CTA BAND */
.ws-cta-band {
  background: var(--ink);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ws-cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(249,115,22,0.07), transparent 65%);
  pointer-events: none;
}
.ws-cta-band .wrap { position: relative; z-index: 1; }
.ws-cta-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 14px;
}
.ws-cta-title em { font-style: normal; color: var(--accent); }
.ws-cta-desc {
  font-size: 15px;
  font-weight: 300;
  color: #666;
  margin-bottom: 32px;
  line-height: 1.8;
}
.ws-cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .ws-pkg-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .ws-pkg.featured { transform: none; }
  .ws-tech-grid { grid-template-columns: repeat(2, 1fr); }
  .ws-why-grid { grid-template-columns: repeat(2, 1fr); }
  .ws-port-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .ws-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .ws-mockup { max-width: 420px; }
  .ws-stats-inner { grid-template-columns: repeat(2, 1fr); display: grid; gap: 24px; }
  .ws-process-steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ws-process-steps::before { display: none; }
  .ws-why-grid { grid-template-columns: 1fr; }
  .ws-port-grid { grid-template-columns: 1fr; }
  .ws-tech-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .ws-stats-inner { grid-template-columns: 1fr 1fr; }
  .ws-process-steps { grid-template-columns: 1fr; }
}
