/* ============================================================
   front-page-v2.css — Design Vitae TOP (PatternA)
   Palette: #F8F7F4 cream × #1C1F26 dark × #C8A97E gold
   ============================================================ */

/* ── Tokens ── */
:root {
  --pa-cream:      #F8F7F4;
  --pa-cream-soft: rgba(248,247,244,0.9);
  --pa-dark:       #1C1F26;
  --pa-dark2:      #252932;
  --pa-dark3:      #13151A;
  --pa-gold:       #C8A97E;
  --pa-gold-lt:    rgba(200,169,126,0.12);
  --pa-gold-glow:  rgba(200,169,126,0.45);
  --pa-white:      #ffffff;
  --pa-ink:        rgba(28,31,38,0.7);
  --pa-ink-lt:     rgba(28,31,38,0.45);
  --pa-ink-xlt:    rgba(28,31,38,0.1);
  --pa-fg-sub:     rgba(248,247,244,0.6);
  --pa-fg-xsub:    rgba(248,247,244,0.35);
  --pa-serif:      "Noto Serif JP", "Georgia", serif;
  --pa-sans:       "Noto Sans JP", "Inter", sans-serif;
  --pa-mono:       "JetBrains Mono", "SFMono-Regular", monospace;
  --pa-max:        1400px;
  --pa-r3:         24px;
  --pa-gap:        clamp(64px, 8vw, 120px);
}

/* ── Base ── */
main.fp-main {
  background: var(--pa-cream);
  color: var(--pa-dark);
  font-family: var(--pa-sans);
  -webkit-font-smoothing: antialiased;
}
main.fp-main *, main.fp-main *::before, main.fp-main *::after {
  box-sizing: border-box;
}

/* ── Layout ── */
.pa-container {
  max-width: var(--pa-max);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 1024px) {
  .pa-container { padding: 0 48px; }
}

.pa-section { padding: var(--pa-gap) 0; }

/* ── Eyebrow ── */
.pa-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--pa-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--pa-gold);
  margin-bottom: 20px;
}
.pa-eyebrow-line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--pa-gold);
  flex-shrink: 0;
}
.pa-eyebrow-centered {
  justify-content: center;
}
.pa-eyebrow-centered::before,
.pa-eyebrow-centered::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--pa-gold);
  flex-shrink: 0;
}

/* ── Headings ── */
.pa-h1 {
  font-family: var(--pa-serif);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--pa-dark);
  margin: 0 0 24px;
}
.pa-h2 {
  font-family: var(--pa-serif);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--pa-dark);
  margin: 0 0 16px;
}
.pa-h2-light { color: var(--pa-cream); }
.pa-h2-underline {
  position: relative;
  display: inline-block;
}
.pa-h2-underline svg {
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 8px;
  pointer-events: none;
}

/* ── CTA Buttons ── */
.pa-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--pa-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.pa-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.pa-btn:hover::before { transform: translateY(0); }

.pa-btn-dark {
  background: var(--pa-dark);
  color: var(--pa-cream);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.3);
}
.pa-btn-dark:hover {
  box-shadow: 0 12px 32px -8px rgba(0,0,0,0.4);
  transform: translateY(-1px);
}
.pa-btn-gold {
  background: var(--pa-gold);
  color: var(--pa-dark);
  box-shadow: 0 15px 30px -10px var(--pa-gold-glow);
}
.pa-btn-gold:hover {
  box-shadow: 0 20px 40px -10px var(--pa-gold-glow);
  transform: translateY(-1px);
}
.pa-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.pa-btn:hover svg { transform: translateX(3px); }

/* ============================================================
   HERO
   ============================================================ */
.pa-hero {
  background: var(--pa-cream);
  min-height: 100vh;
  padding: clamp(80px, 10vw, 120px) 0 clamp(60px, 8vw, 96px);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.pa-hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.pa-hero-glow-tr {
  position: absolute;
  top: 0;
  right: 0;
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(200,169,126,0.12) 0%, transparent 70%);
  transform: translate(30%, -20%);
  pointer-events: none;
}
.pa-hero-glow-bl {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(28,31,38,0.05) 0%, transparent 70%);
  transform: translate(-20%, 20%);
  pointer-events: none;
}
.pa-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: center;
}
.pa-hero-sub {
  font-size: 15px;
  line-height: 1.85;
  color: var(--pa-ink);
  max-width: 480px;
  margin: 0 0 36px;
  font-weight: 500;
}

/* Mock UI */
.pa-mock {
  background: var(--pa-white);
  border-radius: 16px;
  border: 1px solid rgba(28,31,38,0.06);
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.14);
  overflow: hidden;
}
.pa-mock-header {
  background: var(--pa-cream);
  border-bottom: 1px solid rgba(28,31,38,0.06);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pa-mock-dots {
  display: flex;
  gap: 8px;
}
.pa-mock-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(28,31,38,0.18);
  display: block;
}
.pa-mock-title {
  font-family: var(--pa-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(28,31,38,0.4);
  font-weight: 700;
}
.pa-mock-status {
  font-family: var(--pa-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pa-gold);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pa-mock-status::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pa-gold);
  animation: pa-pulse 2s ease-in-out infinite;
}
.pa-mock-body {
  padding: 28px;
  background: linear-gradient(135deg, var(--pa-white) 0%, var(--pa-cream) 100%);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pa-mock-user-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.pa-mock-avatar-u {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pa-dark);
  color: var(--pa-cream);
  font-family: var(--pa-mono);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pa-mock-bubble-user {
  background: var(--pa-white);
  border: 1px solid rgba(28,31,38,0.06);
  border-radius: 14px 14px 14px 4px;
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--pa-dark);
  font-weight: 500;
  max-width: 85%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.pa-mock-ai-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.pa-mock-avatar-ai {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pa-gold);
  color: var(--pa-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pa-mock-avatar-ai svg { width: 16px; height: 16px; }
.pa-mock-ai-card {
  background: var(--pa-dark);
  color: var(--pa-cream);
  border-radius: 14px 14px 14px 4px;
  padding: 20px 24px;
  flex: 1;
}
.pa-mock-ai-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 14px;
  margin-bottom: 16px;
}
.pa-mock-ai-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--pa-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--pa-gold);
  font-weight: 700;
}
.pa-mock-ai-label::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pa-gold);
  animation: pa-pulse 1.5s ease-in-out infinite;
}
.pa-mock-ai-time {
  font-family: var(--pa-mono);
  font-size: 10px;
  opacity: 0.45;
  display: flex;
  align-items: center;
  gap: 4px;
}
.pa-mock-ai-time svg { width: 12px; height: 12px; }
.pa-mock-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.pa-mock-table thead tr th {
  font-family: var(--pa-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248,247,244,0.4);
  padding-bottom: 10px;
  font-weight: 400;
  text-align: left;
}
.pa-mock-table thead tr th:not(:first-child) { text-align: right; }
.pa-mock-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pa-mock-table tbody td {
  padding: 10px 0;
  font-family: var(--pa-sans);
  color: rgba(248,247,244,0.85);
}
.pa-mock-table tbody td:not(:first-child) {
  text-align: right;
  font-family: var(--pa-mono);
  opacity: 0.6;
}
.pa-mock-table tbody tr:last-child td {
  color: var(--pa-gold);
  font-weight: 700;
  opacity: 1;
  padding-top: 14px;
  border-bottom: none;
}
.pa-mock-table tbody tr:last-child td:not(:first-child) {
  opacity: 1;
  font-size: 14px;
}

/* ============================================================
   PROBLEMS (dark section)
   ============================================================ */
.pa-problems {
  background: var(--pa-dark);
  color: var(--pa-cream);
  padding: var(--pa-gap) 0;
  position: relative;
  overflow: hidden;
}
.pa-problems-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(200,169,126,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.pa-problems-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.pa-problems-left {
  position: sticky;
  top: 120px;
}
.pa-problems-left .pa-h2 { color: var(--pa-cream); }
.pa-problems-lede {
  font-size: 14px;
  line-height: 1.85;
  color: var(--pa-fg-sub);
  margin-top: 24px;
  max-width: 380px;
}
.pa-problems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.pa-problem-card {
  background: var(--pa-dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--pa-r3);
  padding: 32px;
  position: relative;
  overflow: hidden;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: border-color 0.4s ease;
}
.pa-problem-card:hover {
  border-color: rgba(200,169,126,0.3);
}
.pa-problem-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: var(--pa-gold-lt);
  border-radius: 50%;
  filter: blur(40px);
  transition: background 0.5s ease;
}
.pa-problem-card:hover::before {
  background: rgba(200,169,126,0.18);
}
.pa-problem-tag {
  font-family: var(--pa-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pa-gold);
  margin-bottom: 20px;
  font-weight: 600;
}
.pa-problem-title {
  font-family: var(--pa-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--pa-cream);
  margin: 0 0 10px;
  line-height: 1.45;
}
.pa-problem-desc {
  font-size: 13px;
  color: var(--pa-fg-sub);
  line-height: 1.75;
}

/* ============================================================
   SOLUTION (cream section, bento grid)
   ============================================================ */
.pa-solution {
  background: var(--pa-cream);
  padding: var(--pa-gap) 0;
}
.pa-solution-head {
  text-align: center;
  margin-bottom: 56px;
}
.pa-solution-head .pa-h2 { text-align: center; }
.pa-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pa-bento-card {
  border-radius: var(--pa-r3);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.4s ease;
}
.pa-bento-card:hover {
  box-shadow: 0 20px 60px -15px rgba(0,0,0,0.15);
}
.pa-bento-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
  flex-shrink: 0;
}
.pa-bento-icon svg { width: 28px; height: 28px; }

/* Card variants */
.pa-bento-white {
  background: var(--pa-white);
  border: 1px solid rgba(28,31,38,0.06);
  grid-column: span 2;
}
.pa-bento-white .pa-bento-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(200,169,126,0.1) 0%, transparent 70%);
  transform: translate(25%, -25%);
  transition: transform 0.8s ease;
}
.pa-bento-white:hover .pa-bento-glow { transform: translate(20%, -20%) scale(1.1); }

.pa-bento-dark {
  background: var(--pa-dark);
  color: var(--pa-cream);
}
.pa-bento-dark-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--pa-mono);
  font-size: 80px;
  font-weight: 700;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  transition: color 0.5s;
}
.pa-bento-dark:hover .pa-bento-dark-num { color: rgba(255,255,255,0.06); }
.pa-bento-white-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--pa-mono);
  font-size: 80px;
  font-weight: 700;
  color: rgba(28,31,38,0.04);
  line-height: 1;
  transition: color 0.5s;
}
.pa-bento-white:hover .pa-bento-white-num { color: rgba(28,31,38,0.07); }
.pa-bento-gold-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--pa-mono);
  font-size: 80px;
  font-weight: 700;
  color: rgba(28,31,38,0.06);
  line-height: 1;
  transition: color 0.5s;
}
.pa-bento-gold:hover .pa-bento-gold-num { color: rgba(28,31,38,0.1); }

.pa-bento-gold {
  background: var(--pa-gold);
  color: var(--pa-dark);
  grid-column: span 2;
}
.pa-bento-gold-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.pa-bento-title {
  font-family: var(--pa-serif);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.4;
}
.pa-bento-title-dark { color: var(--pa-dark); }
.pa-bento-title-light { color: var(--pa-cream); }
.pa-bento-body {
  font-size: 14px;
  line-height: 1.75;
  max-width: 520px;
}
.pa-bento-body-dark { color: var(--pa-ink); font-weight: 500; }
.pa-bento-body-light { color: var(--pa-fg-sub); }
.pa-bento-body-gold { color: rgba(28,31,38,0.8); font-weight: 600; }

/* ============================================================
   PROCESS (white section)
   ============================================================ */
.pa-process {
  background: var(--pa-white);
  padding: var(--pa-gap) 0;
}
.pa-process-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid rgba(28,31,38,0.1);
  padding-bottom: 36px;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 16px;
}
.pa-process-head-note {
  font-family: var(--pa-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(28,31,38,0.4);
  text-align: right;
  line-height: 1.8;
}
.pa-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pa-step {
  background: var(--pa-cream);
  border: 1px solid rgba(28,31,38,0.06);
  border-radius: var(--pa-r3);
  padding: 36px 44px;
  display: flex;
  align-items: flex-start;
  gap: 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}
.pa-step:hover {
  background: var(--pa-white);
  border-color: rgba(28,31,38,0.1);
  box-shadow: 0 16px 48px -12px rgba(0,0,0,0.12);
}
.pa-step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--pa-gold);
  transform: scaleY(0);
  transition: transform 0.4s ease;
  transform-origin: top;
}
.pa-step:hover::before { transform: scaleY(1); }
.pa-step-num {
  font-family: var(--pa-serif);
  font-size: 48px;
  font-weight: 700;
  color: rgba(28,31,38,0.1);
  line-height: 1;
  flex-shrink: 0;
  min-width: 64px;
  transition: color 0.4s ease;
}
.pa-step:hover .pa-step-num { color: rgba(200,169,126,0.35); }
.pa-step-body { flex: 1; padding-top: 8px; }
.pa-step-title {
  font-family: var(--pa-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--pa-dark);
  margin: 0 0 10px;
  transition: color 0.4s ease;
}
.pa-step:hover .pa-step-title { color: var(--pa-gold); }
.pa-step-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--pa-ink);
}

/* ============================================================
   CTA (dark section)
   ============================================================ */
.pa-cta {
  background: var(--pa-dark);
  color: var(--pa-cream);
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.pa-cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(200,169,126,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.pa-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.pa-cta-title {
  font-family: var(--pa-serif);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--pa-cream);
  margin: 0 0 24px;
  line-height: 1.35;
}
.pa-cta-sub {
  font-size: 15px;
  line-height: 1.85;
  color: var(--pa-fg-sub);
  margin: 0 0 44px;
  font-weight: 500;
}
.pa-cta-note {
  margin-top: 24px;
  font-family: var(--pa-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--pa-fg-xsub);
}

/* ============================================================
   SERVICES (cream section, 3-col card grid)
   ============================================================ */
.pa-services {
  background: var(--pa-cream);
  padding: var(--pa-gap) 0;
}
.pa-services-head {
  text-align: center;
  margin-bottom: 56px;
}
.pa-services-head .pa-h2 {
  text-align: center;
  margin-bottom: 12px;
}
.pa-services-lede {
  font-size: 15px;
  line-height: 1.8;
  color: var(--pa-ink);
  font-weight: 500;
}
.pa-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.pa-services-card {
  background: var(--pa-white);
  border: 1px solid rgba(28,31,38,0.08);
  border-radius: var(--pa-r3);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
  position: relative;
}
.pa-services-card:hover {
  box-shadow: 0 20px 56px -12px rgba(0,0,0,0.12);
  border-color: rgba(200,169,126,0.35);
  transform: translateY(-3px);
}
/* 本命プランの強調 */
.pa-services-card--featured {
  border-color: var(--pa-gold);
  box-shadow: 0 12px 48px -10px rgba(200,169,126,0.28);
}
.pa-services-card--featured:hover {
  box-shadow: 0 24px 64px -12px rgba(200,169,126,0.38);
}
.pa-services-featured-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pa-gold);
  color: var(--pa-dark);
  font-family: var(--pa-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.pa-services-tag {
  font-family: var(--pa-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--pa-gold);
  margin-bottom: 14px;
}
.pa-services-card-title {
  font-family: var(--pa-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--pa-dark);
  margin: 0 0 14px;
  line-height: 1.45;
}
.pa-services-card-desc {
  font-size: 13px;
  line-height: 1.85;
  color: var(--pa-ink);
  margin-bottom: 28px;
  flex: 1;
}
.pa-services-price {
  border-top: 1px solid rgba(28,31,38,0.07);
  padding-top: 20px;
}
.pa-services-price-main {
  font-family: var(--pa-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--pa-dark);
  line-height: 1.25;
  margin-bottom: 4px;
}
.pa-services-price-sub {
  font-family: var(--pa-mono);
  font-size: 10px;
  color: var(--pa-ink-lt);
  letter-spacing: 0.1em;
}
.pa-services-footer {
  text-align: center;
}
.pa-services-footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--pa-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--pa-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(28,31,38,0.25);
  padding-bottom: 2px;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.pa-services-footer a:hover {
  color: var(--pa-gold);
  border-color: var(--pa-gold);
}
.pa-services-footer a svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.pa-services-footer a:hover svg {
  transform: translateX(3px);
}

@media (max-width: 1024px) {
  .pa-services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pa-services-card--featured {
    grid-column: span 2;
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }
}
@media (max-width: 640px) {
  .pa-services-grid {
    grid-template-columns: 1fr;
  }
  .pa-services-card--featured {
    grid-column: span 1;
    max-width: none;
  }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes pa-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes pa-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.pa-mock { animation: pa-float 8s ease-in-out infinite; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .pa-hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .pa-problems-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pa-problems-left { position: static; }
  .pa-bento { grid-template-columns: 1fr 1fr; }
  .pa-bento-white { grid-column: span 2; }
  .pa-bento-gold { grid-column: span 2; }
}

@media (max-width: 768px) {
  .pa-problems-grid { grid-template-columns: 1fr; }
  .pa-bento { grid-template-columns: 1fr; }
  .pa-bento-white { grid-column: span 1; }
  .pa-bento-gold { grid-column: span 1; }
  .pa-step { flex-direction: column; gap: 12px; padding: 24px 28px; }
  .pa-step-num { font-size: 36px; }
  .pa-process-head { flex-direction: column; align-items: flex-start; }
  .pa-process-head-note { text-align: left; }
}

@media (max-width: 640px) {
  /* ── Hero ── */
  .pa-hero { min-height: auto; padding-top: 96px; padding-bottom: 48px; }
  .pa-btn { width: 100%; justify-content: center; }

  /* ── Hero: single-column layout ── */
  .pa-hero { overflow-x: hidden; }
  .pa-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .pa-hero-inner > div:first-child {
    text-align: left;
  }
  .pa-hero-inner > div:first-child .pa-eyebrow {
    justify-content: flex-start;
  }
  .pa-h1 {
    text-align: left;
  }
  .pa-hero-sub {
    text-align: left;
    max-width: 100%;
    font-size: 14px;
    word-break: keep-all;
    overflow-wrap: break-word;
  }
  .pa-hero-sub br { display: none; }

  /* ── CTA button full width ── */
  .pa-btn { width: 100%; justify-content: center; }

  /* ── Mock UI: phone frame ── */
  .pa-hero-inner > div:last-child {
    display: flex;
    justify-content: center;
    padding: 0 8px;
  }
  #dv-mock-wrap {
    width: 100%;
    max-width: 340px;
    flex-shrink: 0;
  }
  /* ── Mock UI: fit content within card ── */
  .pa-mock {
    overflow: hidden;
    width: 100%;
  }
  .pa-mock-body {
    padding: 16px 14px;
    gap: 14px;
    max-height: 320px;
    overflow: hidden;
  }
  .pa-mock-user-row {
    gap: 10px;
  }
  .pa-mock-ai-row {
    gap: 10px;
  }
  .pa-mock-avatar-u,
  .pa-mock-avatar-ai {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
  }
  .pa-mock-ai-card {
    padding: 14px 16px;
    overflow: hidden;
    min-width: 0;
    flex: 1;
  }
  .pa-mock-table {
    font-size: 11px;
    width: 100%;
    min-width: 0 !important;
    table-layout: fixed;
  }
  .pa-mock-table thead tr th {
    font-size: 8px;
    padding-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .pa-mock-table tbody td {
    padding: 7px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
  }
  .pa-mock-table tbody tr:last-child td:not(:first-child) {
    font-size: 12px;
  }
  .pa-mock-bubble-user {
    font-size: 13px;
    padding: 12px 14px;
    min-width: 0;
  }

  /* ── Mock header ── */
  .pa-mock-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 130px;
    font-size: 9px;
  }

  /* ── CTA section ── */
  .pa-cta-sub br { display: none; }
  .pa-cta-title { text-align: center; }
  .pa-cta-sub { text-align: center; }

  /* ── Section spacing: tighten on mobile ── */
  .pa-section { padding: clamp(48px, 8vw, 80px) 0; }

  /* ── Step cards: reduce padding on mobile ── */
  .pa-step { padding: 20px 20px; }

  /* ── Services grid (already 1col at 640, but remove badge clip) ── */
  .pa-services-card { padding: 28px 24px; }
  .pa-services-card--featured { margin-top: 16px; }
}

@media (max-width: 480px) {
  .pa-container { padding: 0 16px; }
  .pa-mock-body { padding: 20px 16px; }
  .pa-bento-card { padding: 28px; min-height: 280px; }

  /* ── Mock UI table overflow ── */
  .pa-mock-ai-card { overflow-x: auto; }
  .pa-mock-table { min-width: 260px; }

  /* ── CTA inner ── */
  .pa-cta-inner { padding: 0 20px; }
}
