/* ==========================================================================
   Work with กัน — Base Theme
   สีและฟอนต์ในไฟล์นี้คือ "ธีมหลัก" ที่ทุกหน้าในเว็บต้องอ้างอิงตาม
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&display=swap');

:root {
  --color-bg: #FFFFFF;
  --color-surface: #FFFFFF;
  --color-text: #16233A;
  --color-text-muted: #5B6B85;
  --color-accent: #1677FF;
  --color-accent-dark: #0E4FB8;
  --color-accent-soft: #E8F1FF;
  --color-highlight: #111111;
  --color-border: #DCE5F2;

  --font-body: 'Prompt', 'Noto Sans Thai', sans-serif;

  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-soft: 0 8px 24px rgba(14, 63, 145, 0.08);
}

* { box-sizing: border-box; }

img { max-width: 100%; height: auto; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }

/* ---------- Top nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 32px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.site-nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-text);
}

.site-nav .brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-accent-soft);
}

.site-nav .brand span {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: var(--color-text-muted);
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-links a:hover {
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
}

.nav-links a.active {
  background: var(--color-accent);
  color: #fff;
}

/* ---------- Main content ---------- */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.page-block {
  width: 100%;
  max-width: 720px;
  text-align: center;
}

.page-kicker {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--color-accent);
  background: var(--color-accent-soft);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.page-block h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--color-text);
}

.page-block p.desc {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin: 0 0 36px;
}

/* ---------- Button grid ---------- */
.button-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.nav-button {
  display: block;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.nav-button:hover {
  transform: translateY(-3px);
  border-color: var(--color-accent);
  box-shadow: 0 12px 28px rgba(59, 122, 110, 0.15);
}

.nav-button .sub {
  display: block;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-weight: 400;
  margin-top: 4px;
}

/* ---------- Back links ---------- */
.back-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.back-links a {
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  background: var(--color-surface);
}

.back-links a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
}

.back-links a.primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.back-links a.primary:hover {
  background: var(--color-accent-dark);
}

/* ---------- Footer ---------- */
.site-footer {
  text-align: left;
  padding: 48px 32px 24px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.nav-toggle {
  display: none;
}

/* ==========================================================================
   Product detail page (e.g. products/interview-guide.html)
   บนคือรายละเอียดสินค้า+ปุ่มซื้อ / ล่างคือบทความสอนใช้งาน
   ========================================================================== */

main.product-main {
  display: block;
  padding: 0;
}

.product-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 56px 24px 48px;
  max-width: 640px;
  margin: 0 auto;
}

.product-price {
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  margin: 8px 0 24px;
}

.product-price .old {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
  font-weight: 400;
  margin-right: 10px;
}

.cta-button {
  display: inline-block;
  background: var(--color-highlight);
  color: #FFFFFF;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 999px;
  font-size: 1rem;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.35);
}

.product-includes {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.product-includes li {
  padding: 8px 0 8px 28px;
  position: relative;
  border-bottom: 1px solid var(--color-border);
}

.product-includes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.demo-tag {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  border: 1px dashed var(--color-border);
  padding: 4px 12px;
  border-radius: 999px;
  margin-top: 20px;
}

/* Article half */
.product-article {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 56px 24px 64px;
}

.product-article-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

.product-article-inner h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.product-article-inner .article-kicker {
  font-size: 0.85rem;
  color: var(--color-accent);
  margin-bottom: 4px;
  display: block;
}

.product-article-inner p {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  margin: 0 0 16px;
}

.product-article-inner h3 {
  font-size: 1.05rem;
  margin: 28px 0 8px;
  color: var(--color-text);
}

.product-back-links {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

/* ==========================================================================
   Trust badge (real, editable counters — not fake live popups)
   ========================================================================== */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--color-accent-dark);
  background: var(--color-accent-soft);
  padding: 8px 16px;
  border-radius: 999px;
  margin-top: 16px;
}

.trust-badge::before {
  content: "✓";
  font-weight: 700;
}

/* ==========================================================================
   Home hero
   ========================================================================== */
.hero {
  text-align: center;
  padding: 64px 24px 40px;
  max-width: 720px;
  margin: 0 auto;
}

.hero-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  margin: 0 0 10px;
}

.hero h1 .hero-sub {
  display: block;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 500;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.line-cta-button {
  display: inline-block;
  background: #06C755;
  color: #fff;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 999px;
  font-size: 1rem;
  box-shadow: 0 10px 24px rgba(6, 199, 85, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.line-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(6, 199, 85, 0.4);
}

.hero p.tagline {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin: 0 0 32px;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto 24px;
  padding: 0 24px;
}

.pillar-card {
  display: block;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: left;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.pillar-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-accent);
}

.pillar-card .pillar-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
  display: block;
}

.pillar-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.pillar-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Review cards
   ========================================================================== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 40px;
}

.review-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  text-align: left;
  box-shadow: var(--shadow-soft);
}

.review-stars {
  color: #E8A33D;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.review-quote {
  font-size: 0.92rem;
  color: var(--color-text);
  margin: 0 0 14px;
  line-height: 1.65;
}

.review-name {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Footer with social icons
   ========================================================================== */
.site-footer {
  display: block;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-col h4 {
  font-size: 1rem;
  color: var(--color-text);
  margin: 0 0 14px;
}

.footer-col p, .footer-col a {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.88rem;
  margin: 0 0 10px;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--color-accent);
}

.footer-brand-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 10px;
}

.footer-socials {
  display: flex;
  gap: 14px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
}

.footer-socials a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-socials a:hover {
  transform: translateY(-2px);
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: center;
  max-width: 1100px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.footer-copyright a {
  color: var(--color-text-muted);
  text-decoration: underline;
}

/* ==========================================================================
   Coming soon badge (training courses not launched yet)
   ========================================================================== */
.coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.coming-soon-card {
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  text-align: left;
}

.coming-soon-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.coming-soon-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.coming-soon-tag {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--color-accent-dark);
  background: var(--color-accent-soft);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* ==========================================================================
   Long-form narrative homepage
   ========================================================================== */
.narrative {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px 56px;
  text-align: left;
}

.narrative p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--color-text);
  margin: 0 0 22px;
}

.narrative h2 {
  font-size: 1.25rem;
  margin: 40px 0 14px;
  color: var(--color-accent-dark);
}

.narrative a {
  color: var(--color-accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.narrative-cta {
  text-align: center;
  padding: 8px 0 48px;
}

/* ==========================================================================
   Hero color band — gives the top of the homepage visible color instead of
   blending into the plain background
   ========================================================================== */
.hero {
  border-radius: 0 0 32px 32px;
}

a.brand-link {
  text-decoration: none;
}

/* ==========================================================================
   MOBILE OVERRIDES — kept last in the file on purpose so these rules always
   win over the desktop component defaults defined above for this breakpoint
   ========================================================================== */
@media (max-width: 640px) {
  .site-nav { padding: 16px; }
  main { padding: 32px 16px; }
  .pillar-grid { grid-template-columns: 1fr; padding: 0 16px; }
  .review-grid { grid-template-columns: 1fr; padding: 0 16px 32px; }
  .button-grid { grid-template-columns: 1fr; }
  .coming-soon-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 16px 32px; }
  body { overflow-x: hidden; }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    font-size: 1.2rem;
    cursor: pointer;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 4px;
    margin-top: 10px;
  }

  .nav-links.open {
    display: flex;
  }
}

/* ==========================================================================
   Fade-in animation — pure CSS, plays automatically on page load.
   (Previous version needed JS to add an "in-view" class and that script was
   never added, which left every card at opacity:0 forever — this version
   cannot have that failure mode since no JS is required at all.)
   ========================================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.pillar-card, .nav-button, .review-card, .coming-soon-card {
  animation: fadeInUp 0.6s ease both;
}

@media (prefers-reduced-motion: reduce) {
  .pillar-card, .nav-button, .review-card, .coming-soon-card {
    animation: none;
  }
}

/* ==========================================================================
   Decorative background shape behind hero — adds visual interest without
   needing real photography
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -110px;
  right: -90px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  z-index: 0;
}

.hero-avatar, .hero h1, .hero p.tagline {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Gradient wave background + faint wordmark watermark on the homepage hero
   ========================================================================== */
.hero {
  background:
    linear-gradient(180deg, #A9D0FF 0%, #DBEAFF 45%, var(--color-bg) 100%),
    radial-gradient(ellipse 100% 60% at 15% 0%, rgba(255,255,255,0.3) 0%, transparent 60%);
}

.hero::before {
  background: radial-gradient(circle, var(--color-accent-soft) 0%, transparent 70%);
}

.hero::after {
  background: radial-gradient(circle, rgba(232,163,61,0.18) 0%, transparent 70%);
}

.color-band {
  background: var(--color-accent);
  padding: 40px 20px;
  margin: 48px auto;
  width: 100%;
  max-width: 960px;
  min-width: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-sizing: border-box;
}

.color-band h2 {
  color: #fff !important;
}

.hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(3rem, 14vw, 8rem);
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  letter-spacing: 2px;
}

/* ==========================================================================
   Product two-column layout: promo image box (left/top) + price box (right/bottom)
   ========================================================================== */
.product-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 24px 24px;
  align-items: start;
}

.promo-placeholder {
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-accent-soft);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.guide-preview {
  min-height: 420px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #0e4fb8, #1677ff);
  color: #fff;
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 50px rgba(14, 79, 184, .22);
}

.guide-preview > span { font-size: .78rem; letter-spacing: .12em; opacity: .8; }
.guide-preview > strong { font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.25; }
.guide-preview > p { margin: 0; color: rgba(255,255,255,.86); }

.price-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.price-box .price-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--color-highlight);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* ==========================================================================
   Simple vanilla-JS carousel — "สินค้าและบริการที่น่าสนใจ"
   ========================================================================== */
.carousel-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.carousel-track {
  display: flex;
  width: 100%;
  min-width: 0;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 8px;
}

.carousel-track::-webkit-scrollbar {
  height: 6px;
}
.carousel-track::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 999px;
}

.carousel-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: var(--color-text);
}

.carousel-card h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.carousel-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.carousel-nav {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 14px;
}

.carousel-nav button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  cursor: pointer;
  font-size: 1rem;
}

.carousel-nav button:hover {
  background: var(--color-accent-soft);
}

.hero-cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.secondary-cta-button {
  display: inline-block;
  background: transparent;
  color: var(--color-text);
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 999px;
  font-size: 1rem;
  border: 1px solid var(--color-border);
}

.secondary-cta-button:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .product-columns { grid-template-columns: 1fr; }
  .promo-placeholder { min-height: 200px; }
}

/* ==========================================================================
   Product, course and article catalogues
   ========================================================================== */
.catalog-main {
  display: block;
  width: 100%;
  padding: 56px 24px 72px;
}

.catalog-header {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.catalog-header h1,
.resume-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.25;
  margin: 0 0 14px;
}

.catalog-header p,
.section-heading p,
.resume-hero .desc {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin: 0;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.catalog-card {
  min-height: 190px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: var(--shadow-soft);
}

.catalog-card h2 {
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 18px 0 8px;
}

.catalog-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.catalog-card.available {
  background: #fff;
  border-color: #b8d2f7;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.catalog-card.available:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  box-shadow: 0 14px 34px rgba(14, 79, 184, .14);
}

.catalog-card.soon {
  background: #f3f5f8;
  color: #697386;
  border-color: #d9dee7;
  box-shadow: none;
}

.status-tag {
  display: inline-flex;
  padding: 5px 11px;
  border-radius: 999px;
  background: #e1e5eb;
  color: #657084;
  font-size: .76rem;
  font-weight: 600;
}

.available-tag {
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
}

.card-topline {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-price-small {
  color: var(--color-accent-dark);
  font-size: 1rem;
  font-weight: 700;
}

.card-action {
  margin-top: auto;
  padding-top: 18px;
  color: var(--color-accent-dark);
  font-size: .9rem;
  font-weight: 600;
}

.survey-callout {
  max-width: 820px;
  margin: 48px auto 0;
  text-align: center;
  padding: 36px 28px;
  background: var(--color-accent-soft);
  border: 1px solid #c7daf7;
  border-radius: var(--radius-lg);
}

.survey-callout h2 { margin: 0 0 10px; }
.survey-callout p { margin: 0 auto 22px; max-width: 650px; color: var(--color-text-muted); }

.disabled-cta {
  display: inline-flex;
  padding: 12px 22px;
  border-radius: 999px;
  background: #d7dde6;
  color: #667085;
  font-weight: 600;
  cursor: not-allowed;
}

/* ==========================================================================
   Resume service page
   ========================================================================== */
.resume-hero {
  display: grid;
  grid-template-columns: 1.25fr .85fr;
  gap: 42px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 24px 64px;
}

.resume-hero .desc { max-width: 680px; line-height: 1.8; }

.resume-cta-row {
  justify-content: flex-start;
  margin-top: 28px;
}

.quote-note {
  margin: 18px 0 0;
  color: var(--color-text-muted);
  font-size: .86rem;
  line-height: 1.7;
}

.resume-summary-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: #fff;
  box-shadow: 0 18px 50px rgba(14, 79, 184, .12);
}

.resume-summary-card > strong { font-size: 1.15rem; }

.resume-section {
  padding: 64px 24px;
  border-top: 1px solid var(--color-border);
}

.process-section { background: #f7faff; }

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); margin: 0 0 10px; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.process-grid article {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.process-grid article > span { color: var(--color-accent); font-weight: 700; }
.process-grid h3 { font-size: 1rem; margin: 12px 0 8px; }
.process-grid p { font-size: .88rem; color: var(--color-text-muted); margin: 0; }

.timeline-note {
  max-width: 820px;
  margin: 24px auto 0;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: var(--color-accent-soft);
  text-align: center;
}

.timeline-note p { margin: 5px 0 0; color: var(--color-text-muted); font-size: .9rem; }

.sample-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.sample-grid figure { margin: 0; }
.sample-grid img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.sample-grid figcaption { text-align: center; margin-top: 10px; color: var(--color-text-muted); font-size: .86rem; }

.faq-section { background: #fff; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-list details { border-bottom: 1px solid var(--color-border); padding: 18px 2px; }
.faq-list summary { cursor: pointer; font-weight: 600; font-size: 1rem; }
.faq-list p { color: var(--color-text-muted); margin: 12px 0 0; }

.final-resume-cta {
  max-width: 800px;
  margin: 44px auto 0;
  padding: 38px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  background: linear-gradient(135deg, #e8f1ff, #f7fbff);
  border: 1px solid #cbdcf5;
}

.final-resume-cta h2 { margin: 0 0 8px; }
.final-resume-cta p { color: var(--color-text-muted); margin: 0 0 22px; }

.hero-kicker { position: relative; z-index: 1; margin-bottom: 12px; }
.hero-proof { position: relative; z-index: 1; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 18px; margin-top: 22px; color: var(--color-text-muted); font-size: .82rem; }
.hero-proof span::before { content: "✓ "; color: var(--color-accent-dark); font-weight: 700; }

/* Small persistent LINE shortcut */
.floating-line {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 250;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 15px;
  border-radius: 999px;
  background: #06c755;
  color: #fff;
  font-size: .86rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(6, 199, 85, .32);
}

.floating-line:hover { transform: translateY(-2px); }

@media (max-width: 900px) {
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resume-hero { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .catalog-main { padding: 40px 16px 58px; }
  .catalog-grid, .sample-grid, .process-grid { grid-template-columns: 1fr; }
  .catalog-card { min-height: 150px; padding: 20px; }
  .resume-hero { padding: 48px 18px; gap: 28px; }
  .resume-section { padding: 48px 18px; }
  .resume-cta-row { flex-direction: column; }
  .resume-cta-row a { width: 100%; text-align: center; }
  .floating-line { right: 12px; bottom: 12px; padding: 9px 13px; font-size: .8rem; }
  body { padding-bottom: 54px; }

  html, body, main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .color-band {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 32px 0;
    padding: 28px 16px;
  }

  .color-band h2 {
    font-size: 1.35rem;
    line-height: 1.4;
  }

  .carousel-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0;
  }

  .carousel-track {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 0;
  }

  .carousel-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}
