/* PubPab Production theme
   Layout: white canvas, deep-blue type, yellow reserved for the one action per section.
   Image frames borrow the logo's two shapes (half circle + rounded slab). */
:root {
  --blue: #2E3190;
  --blue-deep: #1F2270;
  --blue-soft: #EEF0FA;
  --blue-mid: #5B5EC0;
  --yellow: #F5EE2E;
  --yellow-deep: #E3D900;
  --grey: #E7E8EA;
  --grey-soft: #F5F6F8;
  --ink: #1B1D3A;
  --ink-2: #4A4D6E;
  --ink-3: #7A7D9C;
  --line: #DADCE6;
  --bg: #FFFFFF;
  --card: #FFFFFF;
  --font-head: 'Prompt', 'Noto Sans Thai', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans Thai', 'Noto Sans Thai', 'Segoe UI', system-ui, sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(46, 49, 144, 0.10);
  --shadow-sm: 0 4px 14px rgba(27, 29, 58, 0.08);
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.25; color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--soft { background: var(--grey-soft); }
.section--blue { background: var(--blue); color: #fff; }
.section--blue h2, .section--blue h3, .section--blue p { color: #fff; }
.section-head { display: grid; gap: 12px; max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.eyebrow { font-family: var(--font-head); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-mid); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 10px; background: var(--yellow); border-radius: 5px; }
.section--blue .eyebrow { color: var(--yellow); }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 62ch; }
.section--blue .lead { color: rgba(255,255,255,0.85); }
.hl { background: linear-gradient(transparent 58%, var(--yellow) 58%); padding-inline: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 1rem; padding: 14px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--yellow); color: var(--blue-deep); box-shadow: 0 6px 18px rgba(245, 238, 46, 0.35); }
.btn-primary:hover { background: #FFF55C; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deep); color: #fff; }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue-soft); }
.section--blue .btn-outline { border-color: rgba(255,255,255,0.6); color: #fff; }
.section--blue .btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-line { background: #06C755; color: #fff; }
.btn-line:hover { background: #05B04C; color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 600; color: var(--blue); font-size: 1.05rem; line-height: 1.1; }
.brand:hover { text-decoration: none; }
.brand svg { width: 44px; height: 44px; }
.brand small { display: block; font-weight: 400; font-size: 0.72rem; color: var(--ink-3); letter-spacing: 0.04em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-family: var(--font-head); font-weight: 500; color: var(--ink); padding: 10px 14px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--blue-soft); color: var(--blue); text-decoration: none; }
.nav .has-sub { position: relative; }
.nav .has-sub > a::after { content: ""; display: inline-block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-left: 8px; margin-bottom: 3px; }
.nav .sub { position: absolute; top: 100%; left: 0; min-width: 300px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 8px; display: none; flex-direction: column; gap: 2px; }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { display: flex; }
.nav .sub a { display: block; border-radius: 10px; padding: 10px 14px; }
.nav .sub a span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.85rem; color: var(--ink-3); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { padding: 11px 20px; font-size: 0.95rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--blue); }
.nav-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 96px); position: relative; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.hero h1 span.hl { white-space: nowrap; }
.hero .lead { font-size: 1.15rem; }
.trust { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 8px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: var(--ink-2); }
.trust-item strong { font-family: var(--font-head); font-size: 1.35rem; color: var(--blue); line-height: 1; }
.stars { color: #F2B01E; letter-spacing: 1px; font-size: 0.95rem; }

/* Logo-shaped photo composition */
.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 520px; margin-inline: auto; width: 100%; }
.hero-art .shape { position: absolute; overflow: hidden; background: var(--grey); }
.hero-art .shape img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .half { right: 4%; top: 2%; width: 50%; height: 78%; border-radius: 0 999px 999px 0; }
.hero-art .slab { left: 10%; bottom: 6%; width: 36%; height: 58%; border-radius: 22px; box-shadow: var(--shadow); }
.hero-art .dot { position: absolute; left: 10%; top: 12%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); }
.hero-art .badge { position: absolute; right: 2%; bottom: 10%; background: var(--card); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); display: flex; gap: 10px; align-items: center; font-size: 0.9rem; }
.hero-art .badge strong { font-family: var(--font-head); color: var(--blue); font-size: 1.15rem; display: block; line-height: 1.1; }
.hero-art .badge .play { width: 36px; height: 36px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; color: #fff; flex: none; }

/* Clients */
.clients { padding-block: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients .container { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.clients-label { font-family: var(--font-head); font-weight: 500; color: var(--ink-3); font-size: 0.9rem; white-space: nowrap; }
.client-logos { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; flex: 1; }
.client-logos img { height: 40px; width: auto; max-width: 120px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: .2s; }
.client-logos img:hover { filter: none; opacity: 1; }
.client-logos .txt { font-family: var(--font-head); font-weight: 600; color: var(--ink-3); font-size: 0.95rem; }

/* Service cards */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.service-card { padding: 0; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card .media { aspect-ratio: 4 / 3; background: var(--blue-soft); overflow: hidden; position: relative; }
.service-card .media img { width: 100%; height: 100%; object-fit: cover; }
.service-card .media .tag { position: absolute; left: 14px; top: 14px; background: var(--yellow); color: var(--blue-deep); font-family: var(--font-head); font-weight: 600; font-size: 0.8rem; padding: 5px 12px; border-radius: 999px; }
.service-card .body { padding: 22px 24px 26px; display: grid; gap: 10px; }
.service-card .price { font-family: var(--font-head); color: var(--blue); font-weight: 600; font-size: 1.05rem; }
.service-card .price small { color: var(--ink-3); font-weight: 400; font-size: 0.85rem; }
.service-card .body p { color: var(--ink-2); font-size: 0.98rem; }
.service-card .link { font-family: var(--font-head); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; }
.service-card .link::after { content: "→"; }

/* Feature list */
.feature { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.feature .icon { width: 52px; height: 52px; border-radius: 16px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.feature .icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 6px; }
.feature p { color: var(--ink-2); font-size: 0.98rem; }
.section--blue .feature .icon { background: rgba(255,255,255,0.12); color: var(--yellow); }
.section--blue .feature p { color: rgba(255,255,255,0.8); }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: step; }
.step { position: relative; background: var(--card); border-radius: var(--radius); padding: 28px 26px 26px; border: 1px solid var(--line); display: grid; gap: 10px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-head); font-weight: 600; font-size: 2.2rem; color: var(--yellow-deep); line-height: 1; }
.step p { color: var(--ink-2); font-size: 0.98rem; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.plan.popular { border-color: var(--blue); box-shadow: var(--shadow); }
.plan .ribbon { position: absolute; top: -14px; left: 28px; background: var(--yellow); color: var(--blue-deep); font-family: var(--font-head); font-weight: 600; font-size: 0.8rem; padding: 5px 14px; border-radius: 999px; }
.plan h3 { font-size: 1.3rem; }
.plan .for { color: var(--ink-2); font-size: 0.95rem; min-height: 3.2em; }
.plan .amount { font-family: var(--font-head); font-weight: 600; font-size: 2rem; color: var(--blue); line-height: 1; font-variant-numeric: tabular-nums; }
.plan .amount small { font-size: 0.95rem; color: var(--ink-3); font-weight: 400; }
.plan .meta { font-family: var(--font-head); color: var(--ink-2); font-size: 0.95rem; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--ink-2); font-size: 0.97rem; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%231F2270' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.plan .btn { margin-top: auto; }

/* Portfolio */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.work { border-radius: var(--radius); overflow: hidden; background: var(--ink); color: #fff; position: relative; aspect-ratio: 9 / 13; display: flex; align-items: flex-end; }
.work img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.work .info { position: relative; padding: 20px; background: linear-gradient(transparent, rgba(27,29,58,0.92)); width: 100%; display: grid; gap: 4px; }
.work .info strong { font-family: var(--font-head); font-size: 1.05rem; }
.work .info span { font-size: 0.88rem; opacity: .85; }
.work .kind { position: absolute; top: 14px; left: 14px; background: var(--yellow); color: var(--blue-deep); font-family: var(--font-head); font-weight: 600; font-size: 0.78rem; padding: 4px 10px; border-radius: 999px; }
.tiktok-embed-wrap { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 560px; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.quote { background: var(--card); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.quote .stars { font-size: 1rem; }
.quote p { color: var(--ink); font-size: 1rem; }
.quote footer { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--ink-3); }
.quote footer .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-family: var(--font-head); font-weight: 600; display: grid; place-items: center; }
.quote footer strong { color: var(--ink); font-family: var(--font-head); font-weight: 500; display: block; }
.rating-summary { display: flex; align-items: center; gap: 14px; font-family: var(--font-head); }
.rating-summary strong { font-size: 2.4rem; color: var(--blue); line-height: 1; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post { display: grid; gap: 12px; min-width: 0; }
.post .thumb { aspect-ratio: 16 / 10; border-radius: var(--radius-sm); overflow: hidden; background: var(--blue-soft); }
.post .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.post:hover .thumb img { transform: scale(1.04); }
.post .cat { font-family: var(--font-head); font-size: 0.8rem; font-weight: 600; color: var(--blue-mid); }
.post h3 { font-size: 1.12rem; }
.post h3 a { color: var(--ink); }
.post time { color: var(--ink-3); font-size: 0.88rem; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; padding: 18px 36px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--ink-2); }

/* CTA band */
.cta-band { background: var(--blue); border-radius: calc(var(--radius) + 8px); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: var(--yellow); opacity: .9; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); margin-top: 10px; }
.cta-band .btn-group { justify-content: flex-end; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.78); padding-block: 56px 28px; font-size: 0.95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: rgba(255,255,255,0.6); }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.85rem; color: rgba(255,255,255,0.55); }

/* Page hero (inner pages) */
.page-hero { background: var(--blue-soft); padding-block: clamp(40px, 6vw, 72px); }
.page-hero .container { display: grid; gap: 14px; max-width: 900px; }
.breadcrumbs { font-size: 0.88rem; color: var(--ink-3); display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumbs a { color: var(--ink-2); }

/* Prose (blog content) */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { font-size: 1.6rem; margin: 2.2em 0 .7em; }
.prose h3 { font-size: 1.25rem; margin: 1.8em 0 .6em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius-sm); margin: 1.5em 0; }
.prose blockquote { margin: 1.5em 0; padding: 16px 24px; border-left: 4px solid var(--yellow); background: var(--grey-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 0.95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--blue-soft); font-family: var(--font-head); font-weight: 500; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-list { display: grid; gap: 18px; }
.contact-list .item { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-list .item .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.contact-list .item .icon svg { width: 22px; height: 22px; }
.contact-list .item strong { font-family: var(--font-head); font-weight: 500; display: block; color: var(--ink); }
.contact-list .item span { color: var(--ink-2); }
.form { display: grid; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.form label { display: grid; gap: 6px; font-family: var(--font-head); font-weight: 500; font-size: 0.95rem; }
.form input, .form textarea, .form select { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--grey-soft); color: var(--ink); width: 100%; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--blue); border-color: var(--blue); background: #fff; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wpcf7-form p { display: grid; gap: 6px; margin-bottom: 14px; font-family: var(--font-head); font-weight: 500; }
.wpcf7-form input:not([type=submit]), .wpcf7-form textarea { font: inherit; font-family: var(--font-body); padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--grey-soft); width: 100%; }
.wpcf7-form input[type=submit] { font-family: var(--font-head); font-weight: 600; background: var(--yellow); color: var(--blue-deep); border: 0; border-radius: 999px; padding: 14px 28px; cursor: pointer; }

/* Floating LINE button (mobile) */
.float-line { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #06C755; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(6, 199, 85, 0.4); }
.float-line svg { width: 30px; height: 30px; }

/* Utilities */
.mt-2 { margin-top: 16px; } .mt-3 { margin-top: 28px; } .mt-4 { margin-top: 40px; }
.center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Responsive */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--card); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px; gap: 4px; box-shadow: var(--shadow); }
  .nav.open a { padding: 12px 14px; }
  .nav.open .has-sub .sub { position: static; display: flex; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .nav.open .has-sub > a::after { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta .btn-outline { display: none; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { max-width: 440px; }
  .grid-3, .steps, .pricing, .work-grid, .quotes, .posts { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .btn-group { justify-content: flex-start; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid-3, .grid-4, .grid-2, .steps, .pricing, .work-grid, .quotes, .posts { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .hero h1 span.hl { white-space: normal; }
  .btn { width: 100%; }
  .btn-group .btn { width: auto; flex: 1; }
  .trust { gap: 14px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* --- additions --- */
.brand-logo { width: 48px; height: 48px; border-radius: 12px; flex: none; }
.service-row { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 28px; padding: 24px; align-items: center; }
.service-row-media { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--blue-soft); }
.service-row-media img { width: 100%; height: 100%; object-fit: cover; }
.service-row-body { display: grid; gap: 12px; }
ul.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--ink-2); }
ul.checks li { display: flex; gap: 10px; align-items: flex-start; }
ul.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%231F2270' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
ul.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--ink-2); }
ul.plain strong { color: var(--ink); font-family: var(--font-head); font-weight: 500; display: block; font-size: .9rem; }
.stats { text-align: center; }
.stat { display: grid; gap: 6px; }
.stat strong { font-family: var(--font-head); font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--yellow); line-height: 1; }
.stat span { color: rgba(255,255,255,.85); }
.bts-grid .bts { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; background: var(--grey-soft); }
.bts-grid .bts img { width: 100%; height: 100%; object-fit: cover; }
.embeds { align-items: start; }
.yt-facade { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: var(--ink); cursor: pointer; display: grid; place-items: center; }
.yt-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.yt-facade .play-btn { position: relative; width: 64px; height: 64px; border-radius: 50%; background: var(--yellow); color: var(--blue-deep); display: grid; place-items: center; box-shadow: var(--shadow); }
.yt-facade .play-btn svg { width: 30px; height: 30px; }
.yt-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.cat-nav a { font-family: var(--font-head); font-weight: 500; font-size: .92rem; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.cat-nav a:hover, .cat-nav a[aria-current="page"] { background: var(--blue); border-color: var(--blue); color: #fff; text-decoration: none; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { font-family: var(--font-head); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.pagination .page-numbers.current { background: var(--blue); color: #fff; border-color: var(--blue); }
.post-meta { color: var(--ink-3); font-size: .92rem; }
.post-hero-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 8; background: var(--blue-soft); box-shadow: var(--shadow); }
.post-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.prose .wp-block-image img, .prose figure img { border-radius: var(--radius-sm); }
.prose figure { margin: 1.5em 0; }
.prose figcaption { font-size: .88rem; color: var(--ink-3); text-align: center; margin-top: 8px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose h1 { font-size: 1.8rem; margin: 1.5em 0 .6em; }
.form-wrap .wpcf7 form { display: grid; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.form-wrap .wpcf7-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-wrap .wpcf7-form label { display: grid; gap: 6px; }
.form-wrap .wpcf7-form textarea { min-height: 140px; }
.form-wrap .wpcf7-response-output { border-radius: var(--radius-sm); margin: 12px 0 0; }
.form-wrap .wpcf7-not-valid-tip { font-size: .85rem; color: #C0392B; font-family: var(--font-body); font-weight: 400; }
@media (max-width: 900px) { .service-row { grid-template-columns: 1fr; } .bts-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .form-wrap .wpcf7-form .row { grid-template-columns: 1fr; } .stats { grid-template-columns: 1fr 1fr; } }

/* --- header on small screens --- */
@media (max-width: 900px) {
  .site-header .container { gap: 12px; min-height: 64px; }
  .brand { min-width: 0; font-size: 0.95rem; }
  .brand small { display: none; }
  .brand-logo { width: 40px; height: 40px; }
  .header-cta { flex: none; gap: 6px; }
  .header-cta .btn-primary { padding: 10px 16px; font-size: 0.9rem; width: auto; }
  .nav-toggle { flex: none; width: 44px; height: 44px; display: inline-grid; place-items: center; }
  .nav-toggle svg { width: 28px; height: 28px; }
  .nav.open { top: 64px; }
}
@media (max-width: 380px) { .brand span { display: none; } }
.nowrap { white-space: nowrap; }
.tiktok-embed-wrap { display: flex; justify-content: center; padding: 8px; }

/* --- TikTok facade --- */
.tiktok-embed-wrap { flex-direction: column; align-items: center; gap: 10px; min-height: 0; }
.tt-facade { position: relative; width: 100%; max-width: 340px; aspect-ratio: 9 / 16; border-radius: var(--radius-sm); overflow: hidden; background: var(--ink); cursor: pointer; display: grid; place-items: center; }
.tt-facade img, .tt-facade .tt-blank { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tt-facade .tt-blank { background: linear-gradient(160deg, var(--blue) 0%, var(--ink) 100%); }
.tt-facade .play-btn { position: relative; width: 64px; height: 64px; border-radius: 50%; background: var(--yellow); color: var(--blue-deep); display: grid; place-items: center; box-shadow: var(--shadow); transition: transform .15s; }
.tt-facade:hover .play-btn { transform: scale(1.08); }
.tt-facade .play-btn svg { width: 30px; height: 30px; }
.tt-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 16px; background: linear-gradient(transparent, rgba(27,29,58,.9)); color: #fff; display: grid; gap: 2px; }
.tt-meta strong { font-family: var(--font-head); font-weight: 600; }
.tt-meta span { font-size: .88rem; opacity: .9; }
.tt-link { font-size: .9rem; font-family: var(--font-head); font-weight: 500; }

/* --- Facebook reel embed --- */
.fb-embed { width: 100%; max-width: 340px; aspect-ratio: 9 / 16; border-radius: var(--radius-sm); overflow: hidden; background: var(--ink); }
.fb-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.tt-caption { font-size: .92rem; color: var(--ink-2); text-align: center; max-width: 340px; }
.tt-caption strong { font-family: var(--font-head); color: var(--ink); font-weight: 500; }

.client-logos img { height: 48px; max-width: 150px; border-radius: 8px; }

.yt-card { display: grid; gap: 10px; }
.yt-caption { display: grid; gap: 2px; font-size: .95rem; color: var(--ink-2); }
.yt-caption strong { font-family: var(--font-head); font-weight: 500; color: var(--ink); }
.yt-caption .desc { font-size: .88rem; color: var(--ink-3); }

.plan .per-clip { font-size: .92rem; color: var(--ink-2); margin-top: -8px; }
.plan .per-clip span { display: inline-block; margin-left: 6px; background: var(--yellow); color: var(--blue-deep); font-family: var(--font-head); font-weight: 600; font-size: .78rem; padding: 2px 10px; border-radius: 999px; }

.pricing { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.plan .ribbon { left: 20px; }
@media (max-width: 600px) { .pricing { grid-template-columns: 1fr; } }

/* --- round 1: readability & AEO --- */
.answer-box { margin-top: 28px; background: var(--blue-soft); border-left: 6px solid var(--yellow); border-radius: var(--radius-sm); padding: 20px 24px; display: grid; gap: 6px; }
.answer-box .answer-label { font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-mid); }
.answer-box p { color: var(--ink); font-size: 1.05rem; max-width: 80ch; }
.toc { margin-top: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px; }
.toc[hidden] { display: none; }
.toc-label { font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; }
.toc ol { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.toc li a { display: inline-block; font-family: var(--font-head); font-size: .92rem; padding: 6px 12px; border-radius: 999px; background: var(--grey-soft); color: var(--ink-2); }
.toc li a:hover { background: var(--blue); color: #fff; text-decoration: none; }
.prose .toc ol { display: grid; gap: 4px; }
.prose .toc li a { background: none; padding: 2px 0; color: var(--blue); }
.related-card { display: grid; gap: 6px; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.related-card strong { font-family: var(--font-head); font-weight: 600; color: var(--blue); font-size: 1.02rem; }
.related-card span { color: var(--ink-2); font-size: .92rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); }
table.compare { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 720px; }
table.compare th, table.compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table.compare th { background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 500; }
table.compare tr:nth-child(even) td { background: var(--grey-soft); }
table.compare td.num { font-family: var(--font-head); font-weight: 600; color: var(--blue); white-space: nowrap; font-variant-numeric: tabular-nums; }
table.compare td.num small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--ink-3); }
table.compare td strong { font-family: var(--font-head); font-weight: 500; }
.pricing { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plan.popular { transform: scale(1.03); border-width: 2px; z-index: 1; }
@media (max-width: 1100px) { .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plan.popular { transform: none; } }
@media (max-width: 600px) { .pricing { grid-template-columns: 1fr; } .answer-box { padding: 16px 18px; } }

/* --- pricing cards v2 + header fit --- */
.nav a { white-space: nowrap; padding: 10px 12px; }
.site-header .container { gap: 16px; }
@media (max-width: 1240px) { .header-cta .btn-outline { display: none; } .nav a { padding: 10px 10px; font-size: .95rem; } }
.pricing { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { padding: 26px 22px 24px; gap: 14px; border-radius: 18px; }
.plan.popular { transform: none; border: 2px solid var(--blue); box-shadow: var(--shadow); }
.plan.popular::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--yellow); border-radius: 18px 18px 0 0; }
.plan .ribbon { top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.plan h3 { font-size: 1.35rem; }
.plan .for { font-size: .93rem; line-height: 1.5; min-height: 2.9em; margin: 0; }
.plan .meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: .8rem; }
.plan .meta span { background: var(--blue-soft); color: var(--blue); border-radius: 999px; padding: 4px 10px; white-space: nowrap; font-family: var(--font-head); font-weight: 500; }
.plan .amount { font-size: clamp(1.6rem, 1.9vw, 2rem); white-space: nowrap; display: grid; gap: 2px; line-height: 1.05; }
.plan .amount small { font-size: .85rem; color: var(--ink-3); font-weight: 400; font-family: var(--font-body); }
.plan .per-clip { display: grid; gap: 6px; margin-top: -4px; min-height: 3.4em; align-content: start; font-size: .9rem; }
.plan .per-clip span { margin: 0; justify-self: start; }
.plan .per-clip span.note { background: var(--grey); color: var(--ink-2); }
.plan ul { font-size: .93rem; gap: 9px; }
.plan li::before { margin-top: 3px; width: 18px; height: 18px; background-size: 12px; }
.plan .btn { width: 100%; padding: 12px 18px; font-size: .95rem; }
@media (max-width: 1100px) { .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } .plan { padding: 28px 26px 26px; } }
@media (max-width: 600px) { .pricing { grid-template-columns: 1fr; } .plan .for { min-height: 0; } .plan .per-clip { min-height: 0; } }

/* ===== v3 polish: contrast, mobile, visual rhythm ===== */
/* ปุ่มขาวสำหรับพื้นน้ำเงิน */
.btn-white { background: #fff; color: var(--blue); border-color: #fff; }
.btn-white:hover { background: var(--grey-soft); color: var(--blue-deep); }
.cta-band .btn-outline, .section--blue .btn-outline { border-color: rgba(255,255,255,0.8); color: #fff; }
.cta-band .btn-outline:hover, .section--blue .btn-outline:hover { background: rgba(255,255,255,0.12); color: #fff; }
.cta-band .btn-line { box-shadow: 0 6px 18px rgba(0,0,0,0.18); }

/* จังหวะหน้าและตัวอักษร */
.section { padding-block: clamp(44px, 7vw, 96px); }
h1 { font-size: clamp(1.75rem, 5.2vw, 3.3rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2.3rem); }
.lead { font-size: clamp(1rem, 1.15vw, 1.12rem); }
.section-head { margin-bottom: clamp(24px, 3.5vw, 44px); }

/* ฮีโร่: ฉากหลังนุ่มขึ้น */
.hero { background: radial-gradient(900px 480px at 85% 20%, rgba(245,238,46,0.16), transparent 60%), radial-gradient(700px 400px at 10% 90%, rgba(46,49,144,0.06), transparent 60%); }
.page-hero { position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: var(--yellow); opacity: .35; pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }

/* การ์ดและรูป */
.card { transition: box-shadow .2s ease, transform .2s ease; }
.service-card .media img, .post .thumb img, .bts img { transition: transform .35s ease; }
.service-card:hover .media img, .bts:hover img { transform: scale(1.04); }
.quote { position: relative; }
.quote::before { content: "\201C"; position: absolute; right: 22px; top: 8px; font-family: Georgia, serif; font-size: 4rem; line-height: 1; color: var(--blue-soft); }
.step { transition: box-shadow .2s ease; }
.step:hover { box-shadow: var(--shadow-sm); }
.feature .icon { transition: background .2s, color .2s; }
.feature:hover .icon { background: var(--yellow); color: var(--blue-deep); }
.section--blue .feature:hover .icon { background: var(--yellow); color: var(--blue-deep); }

/* ตาราง: บอกให้เลื่อนบนจอเล็ก */
.table-wrap { position: relative; }
.table-hint { display: none; font-size: .85rem; color: var(--ink-3); margin: 8px 0 0; }

/* Mobile */
@media (max-width: 900px) {
  .nav.open { gap: 2px; padding-bottom: 16px; }
  .nav.open .mobile-cta { display: flex; gap: 10px; padding: 12px 0 0; }
  .nav.open .mobile-cta .btn { flex: 1; padding: 12px 14px; }
  .hero-art { max-width: 400px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; line-height: 1.65; }
  .container { padding-inline: 18px; }
  .hero { padding-block: 28px 40px; }
  .hero .container { gap: 28px; }
  .hero-copy { gap: 16px; }
  .hero .lead { font-size: 1rem; }
  .hero .btn-group .btn { flex: 1 1 100%; }
  .trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 14px; }
  .trust-item { flex-direction: column; align-items: flex-start; gap: 2px; font-size: .82rem; line-height: 1.3; }
  .trust-item strong { font-size: 1.3rem; }
  .hero-art { max-width: 320px; }
  .hero-art .badge { font-size: .8rem; padding: 10px 12px; right: 0; bottom: 4%; }
  .hero-art .badge strong { font-size: 1rem; }
  .clients { padding-block: 22px; }
  .clients .container { gap: 12px; }
  .client-logos { gap: 10px 16px; }
  .client-logos img { height: 36px; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 20px; }
  .service-card .media { aspect-ratio: 16 / 10; }
  .service-card .body { padding: 18px 20px 22px; }
  .feature { grid-template-columns: 44px 1fr; gap: 12px; }
  .feature .icon { width: 44px; height: 44px; border-radius: 12px; }
  .steps { gap: 14px; }
  .step { padding: 22px 20px 20px; }
  .step::before { font-size: 1.8rem; }
  .quotes { gap: 14px; }
  .quote { padding: 20px; }
  .cta-band { padding: 28px 22px; border-radius: 20px; }
  .cta-band::after { width: 160px; height: 160px; right: -50px; top: -50px; }
  .cta-band h2 { font-size: 1.35rem; }
  .cta-band .btn-group .btn { flex: 1 1 100%; }
  .answer-box { margin-top: 18px; }
  .answer-box p { font-size: .98rem; }
  .toc { padding: 14px 16px; }
  .toc li a { font-size: .85rem; padding: 5px 10px; }
  .page-hero { padding-block: 28px 32px; }
  .page-hero::after { width: 140px; height: 140px; right: -50px; top: -50px; }
  .breadcrumbs { font-size: .8rem; }
  .table-hint { display: block; }
  table.compare { font-size: .88rem; }
  .pricing { gap: 16px; }
  .plan { padding: 22px 20px 20px; }
  .site-footer { padding-block: 40px 20px; }
  .site-footer .cols { gap: 24px; }
  .float-line { width: 52px; height: 52px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  .post-hero-img { aspect-ratio: 16 / 10; border-radius: 14px; }
  .prose { font-size: 1rem; }
  .prose h2 { font-size: 1.35rem; }
  .contact-grid { gap: 28px; }
  .form-wrap .wpcf7 form { padding: 20px; }
}
@media (max-width: 380px) {
  .trust { grid-template-columns: 1fr 1fr; }
}

/* --- team & author --- */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.team-card { display: grid; grid-template-columns: 180px 1fr; gap: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; align-items: start; }
.team-card img { width: 180px; height: 180px; border-radius: 20px; object-fit: cover; }
.team-body { display: grid; gap: 8px; min-width: 0; }
.team-body h3 { font-size: 1.25rem; }
.team-body .role { font-family: var(--font-head); font-weight: 500; color: var(--blue); font-size: .95rem; }
.team-body .bio { color: var(--ink-2); font-size: .97rem; }
.team-body ul.checks { font-size: .93rem; margin-top: 4px; }
.team-quote { margin: 6px 0 0; padding: 12px 16px; border-left: 4px solid var(--yellow); background: var(--grey-soft); border-radius: 0 10px 10px 0; font-size: .95rem; color: var(--ink); }
.team-links a { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 500; font-size: .92rem; }
.team-links svg { width: 18px; height: 18px; }
.author-box { display: grid; grid-template-columns: 80px 1fr; gap: 18px; background: var(--grey-soft); border-radius: var(--radius-sm); padding: 20px; align-items: start; }
.author-box img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.author-box .author-label { font-size: .8rem; color: var(--ink-3); display: block; }
.author-box strong { font-family: var(--font-head); font-weight: 600; display: block; }
.author-box .role { font-size: .9rem; color: var(--blue); display: block; }
.author-box p { font-size: .92rem; color: var(--ink-2); margin: 6px 0; }
@media (max-width: 1000px) { .team { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .team-card { grid-template-columns: 1fr; padding: 20px; } .team-card img { width: 120px; height: 120px; } .author-box { grid-template-columns: 1fr; } }

/* team v2: 3 columns */
.team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.team-card { grid-template-columns: 1fr; gap: 16px; }
.team-card img { width: 140px; height: 140px; border-radius: 50%; }
@media (max-width: 1000px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .team { grid-template-columns: 1fr; } }

/* team v3: 4 members */
.team { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.team-card { padding: 22px 20px; }
.team-card img { width: 120px; height: 120px; }
.team-body h3 { font-size: 1.1rem; }
.team-body .bio { font-size: .92rem; }
.team-body ul.checks { font-size: .88rem; }
@media (max-width: 1100px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .team { grid-template-columns: 1fr; } }

/* ===== team v4: uniform cards ===== */
.team-motto { margin: 0 auto 36px; max-width: 760px; text-align: center; display: grid; gap: 8px; justify-items: center; padding: 28px 28px 24px; background: var(--blue-soft); border-radius: var(--radius); position: relative; }
.team-motto .mark { font-family: Georgia, serif; font-size: 3rem; line-height: .6; color: var(--yellow-deep); }
.team-motto p { font-family: var(--font-head); font-weight: 500; font-size: 1.2rem; color: var(--ink); }
.team-motto footer { font-size: .9rem; color: var(--ink-3); }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.team-card { display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s ease, box-shadow .2s ease; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-photo { aspect-ratio: 1 / 1; background: var(--blue-soft); overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; display: block; }
.team-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 20px 22px; flex: 1; min-width: 0; }
.team-body .role { align-self: flex-start; background: var(--yellow); color: var(--blue-deep); font-family: var(--font-head); font-weight: 600; font-size: .78rem; padding: 4px 12px; border-radius: 999px; }
.team-body h3 { font-size: 1.1rem; line-height: 1.3; }
.team-body .bio { color: var(--ink-2); font-size: .92rem; line-height: 1.6; }
.team-body .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.team-body .tags span { font-size: .78rem; font-family: var(--font-head); font-weight: 500; color: var(--blue); background: var(--blue-soft); padding: 4px 10px; border-radius: 999px; }
.team-link { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 500; font-size: .88rem; color: var(--ink-3); }
.team-link svg { width: 18px; height: 18px; }
.team-link:hover { color: var(--blue); text-decoration: none; }
@media (max-width: 1100px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .team { grid-template-columns: 1fr; gap: 16px; } .team-motto { padding: 22px 18px; } .team-motto p { font-size: 1.05rem; } }

.team-body .bio { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.team-body .tags span { white-space: nowrap; }

/* team v5: flexible columns (5 คน) */
.team { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.team-body { padding: 16px 16px 18px; gap: 8px; }
.team-body h3 { font-size: 1.02rem; }
.team-body .bio { font-size: .88rem; -webkit-line-clamp: 4; }
.team-body .tags span { font-size: .74rem; padding: 3px 9px; }
@media (max-width: 640px) { .team { grid-template-columns: 1fr 1fr; gap: 12px; } .team-body { padding: 14px; } .team-body .tags { display: none; } }
@media (max-width: 420px) { .team { grid-template-columns: 1fr; } .team-body .tags { display: flex; } }

/* --- case studies --- */
.cases { display: grid; gap: 20px; }
.case { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 18px; }
.case-head { display: grid; gap: 6px; }
.case-head h3 { font-size: 1.3rem; }
.case-meta { color: var(--ink-3); font-size: .92rem; }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.case-grid strong { font-family: var(--font-head); font-weight: 600; color: var(--blue); display: block; margin-bottom: 6px; }
.case-grid p { color: var(--ink-2); font-size: .95rem; }
.case-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.case-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.case-note { font-size: .85rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 12px; }
@media (max-width: 900px) { .case-grid { grid-template-columns: 1fr; } .case-photos { grid-template-columns: 1fr 1fr; } .case { padding: 20px; } }

/* --- event organizer --- */
.services-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.ev-hero-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.ev-hero-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; aspect-ratio: 3 / 2; }
.ev-hero-grid img:first-child { grid-row: 1 / 3; aspect-ratio: auto; }
.scope { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.scope .card h3 { font-size: 1.08rem; }
.scope .card .en { font-family: var(--font-head); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-mid); }
.scope .card p { color: var(--ink-2); font-size: .95rem; }
.ev-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ev-type { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; display: grid; gap: 4px; }
.ev-type strong { font-family: var(--font-head); font-weight: 600; }
.ev-type span { color: var(--ink-2); font-size: .92rem; }
.case-highlight { background: var(--blue); color: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; }
.case-highlight h3 { color: #fff; font-size: 1.4rem; }
.case-highlight p { color: rgba(255,255,255,.85); }
.case-highlight .meta { color: var(--yellow); font-family: var(--font-head); font-weight: 500; font-size: .95rem; }
.case-highlight .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.case-highlight .stat { background: rgba(255,255,255,.08); border-radius: 14px; padding: 16px; }
.case-highlight .stat strong { font-family: var(--font-head); font-size: 2rem; color: var(--yellow); display: block; line-height: 1; }
.case-highlight .stat span { font-size: .88rem; color: rgba(255,255,255,.85); }
.ev-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ev-gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; }
.ev-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ev-case { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; display: grid; }
.ev-case img, .ev-case .noimg { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--blue-soft); }
.ev-case .noimg { display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; color: var(--blue); font-size: 1.4rem; }
.ev-case div.body { padding: 14px 16px 16px; display: grid; gap: 2px; }
.ev-case strong { font-family: var(--font-head); font-weight: 600; }
.ev-case span { font-size: .88rem; color: var(--ink-2); }
.gear { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gear table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.gear th { text-align: left; font-family: var(--font-head); font-weight: 600; color: var(--blue); padding: 0 0 10px; font-size: 1rem; }
.gear td { padding: 8px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.gear td:last-child { text-align: right; white-space: nowrap; font-family: var(--font-head); color: var(--ink); }
@media (max-width: 1000px) { .scope, .ev-types, .gear { grid-template-columns: 1fr 1fr; } .ev-gallery, .ev-cases { grid-template-columns: 1fr 1fr; } .case-highlight { grid-template-columns: 1fr; } .ev-hero-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; } .ev-hero-grid img:first-child { grid-row: auto; grid-column: 1 / 3; aspect-ratio: 16 / 9; } }
@media (max-width: 600px) { .scope, .ev-types, .gear, .ev-cases { grid-template-columns: 1fr; } .ev-gallery { grid-template-columns: 1fr 1fr; } .case-highlight .stats { grid-template-columns: 1fr 1fr; } }

.client-logos img { height: 44px; width: auto; max-width: 190px; object-fit: contain; border-radius: 6px; }
@media (max-width: 600px) { .client-logos img { height: 34px; max-width: 140px; } }


/* --- services v2 (home) --- */
.svc-feature { display: grid; grid-template-columns: 1.05fr 1fr; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 22px; }
.svc-feature-media { position: relative; min-height: 380px; background: var(--blue-soft) radial-gradient(circle at 30% 20%, #fff 0, rgba(255,255,255,0) 55%); display: grid; place-items: center; padding: 28px; }
.svc-feature-media img { width: 100%; max-height: 420px; height: auto; object-fit: contain; filter: drop-shadow(0 14px 28px rgba(46,49,144,.18)); }
.svc-feature-media .tag { position: absolute; left: 18px; top: 18px; background: var(--yellow); color: var(--blue-deep); font-family: var(--font-head); font-weight: 600; font-size: .85rem; padding: 6px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.svc-feature-body { padding: clamp(26px, 4vw, 44px); display: grid; gap: 14px; align-content: center; }
.svc-feature-body h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.3; }
.svc-feature-body .checks { font-size: .98rem; }
.svc-kicker { font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-mid); }
.svc-price { font-family: var(--font-head); color: var(--blue); font-weight: 600; font-size: 1.15rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; }
.svc-price .num { font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1; color: var(--blue-deep); }
.svc-price small { flex-basis: 100%; color: var(--ink-3); font-weight: 400; font-size: .9rem; }
.svc-grid .service-card { box-shadow: var(--shadow-sm); border-color: transparent; }
.svc-grid .service-card:hover { box-shadow: var(--shadow); }
.svc-grid .service-card .media { aspect-ratio: 16 / 11; }
.svc-grid .service-card .body { padding: 20px 22px 24px; gap: 8px; }
.svc-grid .service-card h3 { font-size: 1.2rem; }
.svc-grid .service-card .price { font-size: 1.1rem; color: var(--blue-deep); line-height: 1.35; }
.svc-grid .service-card .price small { display: block; margin-top: 2px; }
.svc-grid .service-card .body p:not(.price) { font-size: .93rem; flex: 1; }
.svc-grid .service-card .body .btn-sm { justify-self: start; margin-top: 6px; }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.svc-foot { margin-top: 26px; text-align: center; color: var(--ink-2); font-size: .95rem; }
.svc-foot a { font-family: var(--font-head); font-weight: 600; }
.svc-grid .service-card .media img.framed { transform: scale(1.22); }
.svc-grid .service-card:hover .media img.framed { transform: scale(1.27); }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .svc-feature { grid-template-columns: 1fr; } .svc-feature-media { min-height: 0; padding: 22px 22px 0; } .svc-feature-media img { max-height: 320px; } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } .svc-feature-body { padding: 22px 20px 26px; } }


/* --- live addons --- */
.addons-head { display: grid; gap: 8px; margin-bottom: 18px; }
.addons-head h3 { font-size: 1.25rem; }
.addon h3 { font-size: 1.08rem; }
.addon .addon-price { font-family: var(--font-head); font-weight: 600; color: var(--blue); margin: -6px 0 0; }
.addon p:not(.addon-price) { color: var(--ink-2); font-size: .95rem; }
.addon-cta { background: var(--blue-soft); border-color: transparent; }
.addon-cta .btn { align-self: flex-start; margin-top: auto; }


/* --- pricing column count --- */
.pricing.pricing-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pricing.pricing-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 820px; margin-inline: auto; }
.pricing.pricing-3 .plan { padding: 32px 30px 30px; }
.pricing.pricing-3 .plan .amount { font-size: 2.3rem; }
@media (max-width: 1100px) { .pricing.pricing-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .pricing.pricing-3 .plan { padding: 26px 22px 24px; } }
@media (max-width: 860px) { .pricing.pricing-3, .pricing.pricing-2 { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
