/* design.css — หน้าออกแบบ */

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

/* Hero visual — design canvas mockup */
.ds-canvas {
  background: #161616;
  border: 1px solid #252525;
  border-radius: 12px;
  padding: 20px;
}
.ds-canvas-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.ds-canvas-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.ds-canvas-dot:nth-child(1){background:#f05252;}
.ds-canvas-dot:nth-child(2){background:#f6a609;}
.ds-canvas-dot:nth-child(3){background:#36c758;}
.ds-canvas-label {
  margin-left: 4px;
  font-family: var(--font);
  font-size: 10px;
  color: #444;
  flex: 1;
  text-align: center;
}
.ds-canvas-body {
  background: #111;
  border-radius: 8px;
  padding: 16px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  min-height: 200px;
}
.ds-canvas-tools {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ds-tool {
  width: 36px; height: 36px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ds-tool svg { width: 16px; height: 16px; stroke: #555; fill: none; stroke-width: 1.5; }
.ds-tool.active { border-color: #EC008C; }
.ds-tool.active svg { stroke: #EC008C; }
.ds-artboard {
  background: #fff;
  border-radius: 6px;
  padding: 14px;
  position: relative;
}
.ds-art-top {
  height: 7px;
  background: #EC008C;
  border-radius: 3px;
  margin-bottom: 8px;
  opacity: 0.8;
  width: 40%;
}
.ds-art-title {
  height: 12px;
  background: #111;
  border-radius: 3px;
  margin-bottom: 6px;
  width: 75%;
}
.ds-art-title.sm { width: 50%; height: 8px; opacity: 0.4; }
.ds-art-body { height: 5px; background: #ddd; border-radius: 2px; margin-bottom: 4px; }
.ds-art-body.s { width: 70%; }
.ds-art-img {
  height: 60px;
  background: #f0f0f0;
  border-radius: 4px;
  margin: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ds-art-img svg { width: 20px; height: 20px; stroke: #bbb; fill: none; }
.ds-art-btn {
  display: inline-block;
  background: #EC008C;
  border-radius: 3px;
  height: 18px;
  width: 64px;
  margin-top: 8px;
  opacity: 0.85;
}

/* SERVICES GRID */
.ds-services { padding: 88px 0; background: var(--white); }
.ds-srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ds-srv-card {
  border: 1px solid var(--light);
  border-radius: var(--r-lg);
  padding: 32px 26px 28px;
  background: var(--off);
  transition: border-color var(--t), transform var(--t);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ds-srv-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.ds-srv-icon {
  width: 48px; height: 48px;
  background: var(--light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ds-srv-icon svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.8; }
.ds-srv-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.ds-srv-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--dark);
  line-height: 1.8;
  flex: 1;
}
.ds-srv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.ds-srv-tag {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  background: var(--light);
  border-radius: 4px;
  color: var(--dark);
}

/* SECTION HEADER */
.ds-sec-header { text-align: center; margin-bottom: 52px; }
.ds-sec-label {
  font-family: var(--font);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #EC008C;
  margin-bottom: 14px;
}
.ds-sec-title {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
}
.ds-sec-title em { font-style: normal; color: #EC008C; }
.ds-sec-desc {
  font-size: 14.5px;
  font-weight: 300;
  color: var(--dark);
  margin-top: 14px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

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

/* PORTFOLIO GRID */
.ds-portfolio { padding: 88px 0; background: var(--white); }
.ds-port-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ds-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);
}
.ds-port-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.ds-port-thumb {
  aspect-ratio: 4/3;
  background: var(--off);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.ds-port-ph { font-family: var(--font); font-size: 11px; color: var(--muted); letter-spacing: 0.06em; }
.ds-port-label {
  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;
}
.ds-port-body { padding: 16px 18px; }
.ds-port-name { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 3px; }
.ds-port-type { font-size: 12px; font-weight: 300; color: var(--muted); }

/* PRICING */
.ds-pricing { padding: 88px 0; background: #1a1a1a; }
.ds-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.ds-price-card {
  border: 1px solid #e0e0e0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #ffffff;
  transition: border-color var(--t);
  display: flex;
  flex-direction: column;
}
.ds-price-card:hover { border-color: #111; }
.ds-price-card.featured {
  border: 1px solid #333;
  background: #111;
}
.ds-price-head {
  padding: 24px 24px 20px;
  background: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
}
.ds-price-card.featured .ds-price-head {
  background: #111;
  border-bottom: 1px solid #2a2a2a;
}
.ds-price-popular {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #EC008C;
  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: 12px;
}
.ds-price-name { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.ds-price-card.featured .ds-price-name { color: #fff; }
.ds-price-sub { font-size: 13px; font-weight: 300; color: var(--muted); margin-bottom: 14px; }
.ds-price-card.featured .ds-price-sub { color: #bbb; }
.ds-price-amount { font-family: var(--font); font-size: 26px; font-weight: 600; color: var(--ink); }
.ds-price-card.featured .ds-price-amount { color: #EC008C; }
.ds-price-amount sub { font-size: 13px; font-weight: 400; color: var(--muted); vertical-align: baseline; }
.ds-price-body { padding: 20px 24px 24px; background: #fff; flex: 1; display: flex; flex-direction: column; }
.ds-price-card.featured .ds-price-body { background: #1a1a1a; }
.ds-price-list { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; flex: 1; }
.ds-price-card.featured .ds-price-list li { color: #ffffff; }
.ds-price-card.featured .ds-price-list li .chk { background: rgba(236,0,140,0.3); }
.ds-price-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  font-weight: 300;
  color: var(--dark);
  line-height: 1.5;
}
.ds-price-list li .chk {
  width: 15px; height: 15px;
  border-radius: 50%;
  background: rgba(236,0,140,0.10);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.ds-price-list li .chk svg { width: 8px; height: 8px; stroke: #EC008C; stroke-width: 2.5; fill: none; }
.ds-price-btn {
  display: block;
  width: 100%;
  padding: 11px;
  text-align: center;
  border-radius: var(--r);
  font-size: 13.5px;
  font-weight: 500;
  transition: background var(--t), color var(--t);
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  margin-top: auto;
}
.ds-price-btn:hover { background: var(--ink); color: #fff; }
.ds-price-card.featured .ds-price-btn { background: #EC008C; border-color: #EC008C; color: #fff; }
.ds-price-card.featured .ds-price-btn:hover { background: #C4006A; border-color: #C4006A; }

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

/* CTA */
.ds-cta {
  background: var(--ink);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ds-cta::before {
  display: none;
}
.ds-cta .wrap { position: relative; z-index: 1; }
.ds-cta-title { font-size: clamp(24px, 3.5vw, 38px); font-weight: 700; letter-spacing: -0.025em; color: #fff; margin-bottom: 12px; }
.ds-cta-title em { font-style: normal; color: #EC008C; }
.ds-cta-desc { font-size: 14.5px; font-weight: 300; color: #666; margin-bottom: 30px; line-height: 1.8; }
.ds-cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .ds-srv-grid { grid-template-columns: repeat(2, 1fr); }
  .ds-price-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .ds-price-card.featured { transform: none; }
  .ds-port-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .ds-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .ds-srv-grid { grid-template-columns: 1fr; }
  .ds-steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .ds-steps::before { display: none; }
  .ds-port-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .ds-steps { grid-template-columns: 1fr; }
}
