/* ===== PORTFOLIO PAGE STYLES ===== */

/* ===== WORK MODAL ===== */
.wm-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(12px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.wm-backdrop.open { opacity: 1; pointer-events: all; }

.wm {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(860px, 100vw);
  background: #0e0e0e;
  border-left: 1px solid var(--border);
  z-index: 201;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.wm.open { transform: translateX(0); }

.wm__close {
  position: sticky;
  top: 24px;
  float: right;
  margin: 24px 24px 0 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s;
  flex-shrink: 0;
}
.wm__close:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
.wm__close svg { width: 16px; }

.wm__inner { padding: 0 0 80px; clear: both; }

/* Modal Hero Preview */
.wm__preview {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: relative;
}
.wm__preview .mock {
  transform-origin: top left;
  transform: scale(1.8);
  width: 55%;
  height: 55%;
  pointer-events: none;
}

/* Modal Body */
.wm__body { padding: 40px 48px 0; }

.wm__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.wm__num {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 3px;
}
.wm__tags { display: flex; gap: 8px; flex-wrap: wrap; }

.wm__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 28px;
}

/* KPI Bar */
.wm__kpi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 48px;
}
.wm__kpi-item {
  background: #111;
  padding: 20px 24px;
  text-align: center;
}
.wm__kpi-val {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -1px;
  line-height: 1;
}
.wm__kpi-val small { font-size: 0.5em; opacity: 0.7; }
.wm__kpi-label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.3px;
}

/* Sections */
.wm__section { margin-bottom: 40px; }
.wm__section-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.wm__section-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}
.wm__section p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
}

/* Challenge / Solution cards */
.wm__cs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 40px;
}
.wm__cs-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.wm__cs-card h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wm__cs-dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0;
}
.wm__cs-card--challenge .wm__cs-dot { background: #ef4444; }
.wm__cs-card--solution .wm__cs-dot { background: #10b981; }
.wm__cs-card p {
  font-size: 13px;
  color: var(--text);
  line-height: 1.7;
}

/* Process Steps */
.wm__steps { display: flex; flex-direction: column; gap: 0; margin-bottom: 40px; }
.wm__step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.wm__step:last-child { border-bottom: 1px solid var(--border); }
.wm__step-num {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  flex-shrink: 0;
  padding-top: 2px;
  width: 28px;
}
.wm__step-body h5 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.wm__step-body p { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* CTA */
.wm__cta {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
}
.wm__cta p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.wm__cta-demo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--accent);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--accent);
  transition: all 0.3s;
  margin-bottom: 12px;
}
.wm__cta-demo:hover { background: rgba(198,255,0,0.08); }
.wm__cta-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--bg);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 50px;
  transition: all 0.3s;
}
.wm__cta-contact:hover { background: #fff; }

@media (max-width: 768px) {
  .wm { width: 100vw; border-left: none; }
  .wm__body { padding: 32px 24px 0; }
  .wm__kpi { grid-template-columns: 1fr 1fr 1fr; }
  .wm__kpi-val { font-size: 20px; }
  .wm__cs { grid-template-columns: 1fr; }
  .wm__preview { height: 280px; }
}

/* Active nav link */
.nav__link--active {
  color: var(--text) !important;
}
.nav__link--active::after {
  width: 100% !important;
}

/* ===== PF HERO ===== */
.pf-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 48px 160px;
  overflow: hidden;
}
.pf-hero__content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}
.pf-hero__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(80px, 14vw, 200px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -6px;
  color: var(--text);
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
}
.pf-hero__sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 2;
  max-width: 360px;
}
.pf-hero__sub span {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  color: var(--accent);
}

/* Hero numbers */
.pf-hero__numbers {
  position: absolute;
  bottom: 80px;
  right: 48px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 48px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 40px;
  backdrop-filter: blur(20px);
}
.pf-num { text-align: center; }
.pf-num__val {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -2px;
  line-height: 1;
}
.pf-num__val small { font-size: 0.5em; opacity: 0.6; }
.pf-num__label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.5px;
}
.pf-num__div {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ===== PF WORKS ===== */
.pf-works {
  padding: 80px 48px 120px;
  max-width: 1400px;
  margin: 0 auto;
}

/* FILTER */
.pf-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.pf-filter__btn {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: none;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}
.pf-filter__btn:hover {
  border-color: rgba(255,255,255,0.2);
  color: var(--text);
}
.pf-filter__btn.active {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

/* GRID */
.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* CARD */
.pf-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s,
              opacity 0.4s;
  cursor: none;
}
.pf-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255,255,255,0.15);
}
.pf-card.hidden {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  display: none;
}

/* CARD THUMB */
.pf-card__thumb {
  height: 300px;
  position: relative;
  overflow: hidden;
}
.pf-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.pf-card:hover .pf-card__overlay { opacity: 1; }
.pf-card__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.pf-tag {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  background: var(--accent);
  color: var(--bg);
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.3px;
}
.pf-card__arrow {
  align-self: flex-end;
  width: 44px;
  height: 44px;
  background: var(--text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}
.pf-card:hover .pf-card__arrow { transform: rotate(45deg) scale(1.1); }
.pf-card__arrow svg { width: 18px; color: var(--bg); }

.pf-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1px;
  z-index: 1;
}

/* ===== MOCK UI THUMBNAILS ===== */
.mock {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

/* Shared mock parts */
.mock__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.mock__nav--dark { background: #111; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mock__logo { font-size: 11px; font-weight: 800; color: #111; letter-spacing: -0.3px; }
.mock__logo--white { color: #fff; }
.mock__logo--dark { color: #1a1a2e; font-size: 9px; }
.mock__navlinks { display: flex; gap: 6px; }
.mock__navlinks i { display: block; width: 22px; height: 3px; background: #ccc; border-radius: 2px; }
.mock__navlinks--white i { background: rgba(255,255,255,0.4); }

.mock__btn {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.mock__btn--pink { background: #e91e8c; color: #fff; }
.mock__btn--blue { background: #0066ff; color: #fff; width: 100%; text-align: center; padding: 7px 10px; }
.mock__btn--lime { background: #c8ff00; color: #000; }
.mock__btn--purple { background: #7c3aed; color: #fff; width: 100%; text-align: center; padding: 6px; }
.mock__btn--navy { background: #1a1a2e; color: #fff; width: 100%; text-align: center; padding: 6px 10px; font-size: 8px; margin-top: 6px; }
.mock__btn--outline-sm { background: transparent; border: 1px solid rgba(255,255,255,0.4); color: #fff; font-size: 8px; padding: 4px 8px; }
.mock__btn--outline-dark { background: transparent; border: 1px solid #1a1a2e; color: #1a1a2e; font-size: 8px; padding: 4px 8px; }

/* --- BEAUTY SALON (01) --- */
.mock--beauty { background: #fff5f8; display: flex; flex-direction: column; }
.mock__hero { display: flex; flex: 1; overflow: hidden; }
.mock__hero-img { width: 45%; flex-shrink: 0; }
.mock__hero-img--beauty {
  background: linear-gradient(160deg, rgba(180,60,100,0.25) 0%, rgba(120,20,60,0.35) 100%),
    url('https://images.unsplash.com/photo-1487412947147-5cebf100ffc2?w=400&q=80&auto=format&fit=crop') center top/cover;
  position: relative;
}
.mock__hero-img--beauty::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(0deg, #fff5f8, transparent);
}
.mock__hero-text {
  flex: 1;
  padding: 12px 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff5f8;
}
.mock__tag-pill {
  display: inline-block;
  background: #ffe0ee;
  color: #c0407a;
  font-size: 8px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  width: fit-content;
}
.mock__h1 { font-size: 15px; font-weight: 900; color: #2a1020; line-height: 1.2; letter-spacing: -0.8px; font-style: italic; }
.mock__sub { font-size: 8px; color: #999; letter-spacing: 0.03em; }
.mock__stats-row {
  display: flex;
  border-top: 1px solid rgba(0,0,0,0.06);
  background: #fff;
}
.mock__stat {
  flex: 1;
  text-align: center;
  padding: 6px 4px;
  border-right: 1px solid rgba(0,0,0,0.06);
}
.mock__stat:last-child { border-right: none; }
.mock__stat span { display: block; font-size: 10px; font-weight: 800; color: #e91e8c; }
.mock__stat small { font-size: 7px; color: #aaa; }

/* --- EC / SUPPLEMENT (02) --- */
.mock--ec { background: #0a0a1a; display: flex; flex-direction: column; }
.mock__ec-layout {
  display: flex;
  flex: 1;
  gap: 10px;
  padding: 10px 12px;
}
.mock__ec-img {
  width: 44%;
  flex-shrink: 0;
  border-radius: 8px;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(255,255,255,0.15) 0%, transparent 60%),
    linear-gradient(160deg, rgba(5,5,16,0.88) 0%, rgba(5,5,16,0.75) 100%),
    url('https://images.unsplash.com/photo-1549060279-7e168fcee0c2?w=400&q=80&auto=format&fit=crop') center/cover;
  position: relative;
  overflow: hidden;
}
.mock__ec-img::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 50px; height: 80px;
  background: linear-gradient(180deg, #4a90d9 0%, #2060a0 100%);
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(74,144,217,0.4);
}
.mock__ec-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mock__ec-badge {
  background: #ff4444;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 4px;
  width: fit-content;
}
.mock__ec-title { font-size: 14px; font-weight: 900; color: #fff; line-height: 1.1; letter-spacing: -0.8px; }
.mock__ec-price { font-size: 10px; color: #aaa; }
.mock__ec-price s { font-size: 8px; }
.mock__ec-price strong { color: #fff; font-size: 14px; font-weight: 900; }
.mock__ec-stars { font-size: 9px; color: #ffa500; }
.mock__ec-stars small { color: #666; }
.mock__trust-bar {
  display: flex;
  justify-content: space-around;
  padding: 6px 12px;
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.mock__trust-bar span { font-size: 8px; color: #888; }

/* --- RESTAURANT (03) --- */
.mock--restaurant { background: #1a1008; display: flex; flex-direction: column; }
.mock__rest-hero {
  flex: 1;
  background:
    linear-gradient(160deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 100%),
    url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=600&q=80&auto=format&fit=crop') center/cover;
  position: relative;
  display: flex;
  align-items: center;
  padding: 12px;
  min-height: 130px;
}
.mock__rest-overlay { width: 100%; }
.mock__rest-logo { font-size: 9px; font-weight: 800; color: rgba(255,255,255,0.5); letter-spacing: 2px; margin-bottom: 4px; }
.mock__rest-copy { font-size: 16px; font-weight: 900; color: #fff; letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 8px; }
.mock__rest-nav { display: flex; gap: 10px; }
.mock__rest-nav span { font-size: 8px; color: rgba(255,255,255,0.6); padding-bottom: 2px; border-bottom: 1px solid rgba(255,196,0,0.5); }
.mock__rest-cards { display: flex; gap: 4px; padding: 6px 8px; }
.mock__rest-card {
  flex: 1;
  height: 48px;
  border-radius: 6px;
  display: flex;
  align-items: flex-end;
  padding: 4px 6px;
  overflow: hidden;
}
.mock__rest-card--1 { background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1547592180-85f173990554?w=200&q=80&auto=format&fit=crop') center/cover; }
.mock__rest-card--2 { background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?w=200&q=80&auto=format&fit=crop') center/cover; }
.mock__rest-card--3 { background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1470337458703-46ad1756a187?w=200&q=80&auto=format&fit=crop') center/cover; }
.mock__rest-card span { font-size: 8px; font-weight: 700; color: rgba(255,255,255,0.8); }
.mock__rest-reserve {
  padding: 6px;
  text-align: center;
  background: #c8a000;
}
.mock__rest-reserve span { font-size: 9px; font-weight: 800; color: #1a1008; }

/* --- GYM (04) --- */
.mock--gym { display: flex; flex-direction: column; }
.mock__gym-hero {
  flex: 1;
  background:
    linear-gradient(160deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.45) 100%),
    url('https://images.unsplash.com/photo-1581009146145-b5ef050c2e1e?w=600&q=80&auto=format&fit=crop') center/cover;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  position: relative;
  overflow: hidden;
}
.mock__gym-hero::before {
  content: '';
  position: absolute;
  right: -20px; top: 20px;
  width: 120px; height: 200px;
  background: linear-gradient(160deg, rgba(200,255,0,0.1), transparent);
  border-radius: 50%;
}
.mock__gym-nav { display: flex; align-items: center; }
.mock__gym-tag { display: inline-block; background: rgba(200,255,0,0.15); color: #c8ff00; border: 1px solid rgba(200,255,0,0.3); font-size: 8px; font-weight: 700; padding: 3px 8px; border-radius: 20px; width: fit-content; margin-bottom: 6px; }
.mock__gym-h1 { font-size: 22px; font-weight: 900; color: #fff; letter-spacing: -1.5px; line-height: 1.0; margin-bottom: 10px; font-style: italic; }
.mock__gym-badges { display: flex; gap: 6px; margin-top: 8px; }
.mock__gym-badge { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 5px 8px; font-size: 7px; color: rgba(255,255,255,0.5); text-align: center; line-height: 1.4; }
.mock__gym-badge strong { display: block; color: #c8ff00; font-size: 11px; }

/* --- SCHOOL (05) --- */
.mock--school { background: #f8f9ff; display: flex; flex-direction: column; }
.mock__school-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.mock__school-header .mock__logo { font-size: 9px; color: #7c3aed; }
.mock__school-hero {
  flex: 1;
  background:
    linear-gradient(160deg, rgba(100,40,200,0.82) 0%, rgba(40,20,120,0.88) 100%),
    url('https://images.unsplash.com/photo-1515879218367-8466d910aaa4?w=600&q=80&auto=format&fit=crop') center/cover;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.mock__school-label { display: inline-block; background: rgba(255,255,255,0.2); color: #fff; font-size: 8px; font-weight: 800; padding: 3px 8px; border-radius: 4px; width: fit-content; }
.mock__school-h1 { font-size: 16px; font-weight: 900; color: #fff; line-height: 1.2; letter-spacing: -0.5px; }
.mock__school-sub { font-size: 9px; color: rgba(255,255,255,0.65); }
.mock__school-btns { margin-top: 4px; }
.mock__school-logos {
  padding: 6px 12px;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 8px;
}
.mock__school-logos > span { font-size: 7px; color: #bbb; white-space: nowrap; }
.mock__logo-pills { display: flex; gap: 4px; }
.mock__logo-pills i { background: #f0f0f0; color: #888; font-size: 7px; font-style: normal; font-weight: 700; padding: 2px 6px; border-radius: 3px; }

/* --- REAL ESTATE (06) --- */
.mock--realestate { background: #f4f5f7; display: flex; flex-direction: column; }
.mock__re-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.mock__re-hero { flex: 1; position: relative; overflow: hidden; }
.mock__re-photo {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(160deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.05) 100%),
    url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=600&q=80&auto=format&fit=crop') center/cover;
  position: absolute; inset: 0;
}
.mock__re-photo::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(0deg, rgba(26,26,46,0.9), transparent);
}
.mock__re-card {
  position: absolute;
  right: 10px; bottom: 10px;
  background: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  width: 120px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.mock__re-tag { font-size: 7px; font-weight: 700; color: #1a5fb4; background: #e8f0ff; padding: 2px 6px; border-radius: 3px; width: fit-content; margin-bottom: 4px; }
.mock__re-title { font-size: 9px; font-weight: 800; color: #1a1a2e; margin-bottom: 2px; }
.mock__re-price { font-size: 10px; font-weight: 900; color: #1a5fb4; margin-bottom: 4px; }
.mock__re-detail { display: flex; gap: 4px; margin-bottom: 4px; }
.mock__re-detail span { font-size: 7px; background: #f4f5f7; padding: 2px 5px; border-radius: 3px; color: #666; }

/* ── NEW BUTTON VARIANTS ─────────────────────────── */
.mock__btn--teal { background: #0d9488; color: #fff; width: 100%; text-align: center; padding: 6px 10px; }
.mock__btn--rose { background: #c2185b; color: #fff; width: 100%; text-align: center; padding: 6px 10px; }
.mock__btn--skyblue { background: #0284c7; color: #fff; width: 100%; text-align: center; padding: 6px 10px; }
.mock__btn--orange { background: #f97316; color: #fff; width: 100%; text-align: center; padding: 6px 10px; }
.mock__btn--brown { background: #3d2b1f; color: #e8d5a3; width: 100%; text-align: center; padding: 6px 10px; }
.mock__btn--red { background: #dc2626; color: #fff; width: 100%; text-align: center; padding: 6px 10px; }

/* ── MOCK: 整体・整骨院 (07) ─────────────────────── */
.mock--seitai { background: #f0f9f8; display: flex; flex-direction: column; }
.mock__seitai-hero {
  flex: 1; padding: 12px 12px 8px;
  background:
    linear-gradient(160deg, rgba(247,250,249,0.9) 0%, rgba(204,251,241,0.85) 100%),
    url('https://images.unsplash.com/photo-1540555700478-4be289fbecef?w=600&q=80&auto=format&fit=crop') center/cover;
}
.mock__seitai-pains { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }
.mock__seitai-pain {
  font-size: 7px; font-weight: 600; color: #134e4a;
  background: #fff; border-left: 3px solid #0d9488;
  padding: 4px 8px; border-radius: 0 4px 4px 0;
}
.mock__seitai-title {
  font-size: 11px; font-weight: 900; color: #134e4a; line-height: 1.3; margin-bottom: 8px;
}
.mock__seitai-title span { color: #0d9488; }
.mock__stats-row--teal .mock__stat span { color: #0d9488; }

/* ── MOCK: 税理士事務所 (08) ─────────────────────── */
.mock--zeirishi { background: #1c2a4a; display: flex; flex-direction: column; }
.mock__zei-hero {
  flex: 1; padding: 12px 12px 8px;
  background:
    linear-gradient(160deg, rgba(28,42,74,0.92) 0%, rgba(45,64,128,0.88) 100%),
    url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=600&q=80&auto=format&fit=crop') center/cover;
  text-align: center;
}
.mock__zei-badge {
  font-size: 7px; color: rgba(255,255,255,0.75); margin-bottom: 5px;
  border: 1px solid rgba(255,255,255,0.2); padding: 3px 8px;
  border-radius: 20px; display: inline-block;
}
.mock__zei-title {
  font-size: 11px; font-weight: 900; color: #fff; line-height: 1.3; margin-bottom: 8px;
}
.mock__zei-title span { color: #f0c040; }
.mock__zei-checks { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; text-align: left; }
.mock__zei-check {
  font-size: 7px; font-weight: 600; color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.08); padding: 4px 8px; border-radius: 4px;
}

/* ── MOCK: 結婚相談所 (09) ─────────────────────── */
.mock--kekkon { background: #fff8f5; display: flex; flex-direction: column; }
.mock__kek-hero {
  flex: 1; padding: 12px 12px 8px;
  background:
    linear-gradient(160deg, rgba(255,248,245,0.88) 0%, rgba(253,232,228,0.85) 100%),
    url('https://images.unsplash.com/photo-1519741497674-611481863552?w=600&q=80&auto=format&fit=crop') center/cover;
  text-align: center;
}
.mock__kek-eyebrow { font-size: 7px; color: #a06058; letter-spacing: 0.08em; margin-bottom: 4px; }
.mock__kek-title {
  font-size: 12px; font-weight: 900; color: #5a1a14; line-height: 1.3; margin-bottom: 8px;
}
.mock__kek-title em { color: #c2185b; font-style: italic; }
.mock__kek-proof { display: flex; justify-content: center; gap: 16px; margin-bottom: 8px; }
.mock__kek-stat { text-align: center; }
.mock__kek-stat b { display: block; font-size: 13px; font-weight: 900; color: #c2185b; }
.mock__kek-stat small { font-size: 7px; color: #a06058; }

/* ── MOCK: 歯科クリニック (10) ─────────────────────── */
.mock--dental { background: #f0f8ff; display: flex; flex-direction: column; }
.mock__den-hero {
  flex: 1; display: flex; overflow: hidden;
  background: #fff;
}
.mock__den-left {
  flex: 1; padding: 14px 12px 10px; background: #fff;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
}
.mock__den-right {
  width: 42%; background: linear-gradient(160deg, #e0f2fe 0%, #bae6fd 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.mock__den-right::before {
  content: '';
  position: absolute;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(255,255,255,0.6), transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.mock__den-right svg { width: 72px; height: 72px; position: relative; z-index: 1; }
.mock__den-badge {
  font-size: 7px; color: #0369a1; background: #bae6fd;
  padding: 3px 8px; border-radius: 20px; display: inline-block; width: fit-content;
}
.mock__den-title {
  font-size: 12px; font-weight: 900; color: #0c2a4a; line-height: 1.3;
}
.mock__den-title span { color: #0284c7; }
.mock__den-features {
  display: flex; gap: 4px; flex-wrap: wrap;
}
.mock__den-features span {
  font-size: 7px; font-weight: 700; color: #0369a1;
  background: #f0f9ff; border: 1px solid #bae6fd;
  padding: 3px 7px; border-radius: 20px;
}

/* ── MOCK: 採用LP (11) ─────────────────────── */
.mock--saiyo { background: #0a0a0f; display: flex; flex-direction: column; }
.mock__sai-hero {
  flex: 1; padding: 12px 12px 8px;
  background:
    linear-gradient(160deg, rgba(20,5,0,0.88) 0%, rgba(10,10,15,0.85) 100%),
    url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=600&q=80&auto=format&fit=crop') center/cover;
  text-align: center;
}
.mock__sai-tag {
  font-size: 7px; font-weight: 700; color: #f97316; letter-spacing: 0.08em; margin-bottom: 5px;
}
.mock__sai-title {
  font-size: 11px; font-weight: 900; color: #fff; line-height: 1.3; margin-bottom: 8px;
}
.mock__sai-title em { color: #f97316; font-style: normal; }
.mock__sai-perks { display: flex; gap: 6px; margin-bottom: 8px; justify-content: center; }
.mock__sai-perk {
  background: rgba(249,115,22,0.12); border: 1px solid rgba(249,115,22,0.3);
  border-radius: 5px; padding: 5px 8px; text-align: center;
}
.mock__sai-perk b { display: block; font-size: 8px; font-weight: 900; color: #f97316; }
.mock__sai-perk small { font-size: 6px; color: rgba(255,255,255,0.6); }

/* ── MOCK: カフェ (12) ─────────────────────── */
.mock--cafe { background: #3d2b1f; display: flex; flex-direction: column; }
.mock__cafe-hero {
  flex: 1; padding: 12px 12px 8px;
  background:
    linear-gradient(160deg, rgba(60,28,8,0.75) 0%, rgba(30,18,8,0.82) 100%),
    url('https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?w=600&q=80&auto=format&fit=crop') center/cover;
  text-align: center;
}
.mock__cafe-eyebrow { font-size: 7px; color: rgba(232,213,163,0.65); letter-spacing: 0.08em; margin-bottom: 4px; }
.mock__cafe-title {
  font-size: 13px; font-weight: 700; color: #e8d5a3; font-style: italic; line-height: 1.3; margin-bottom: 8px;
}
.mock__cafe-title em { color: #f0c878; }
.mock__cafe-info { display: flex; flex-direction: column; gap: 3px; margin-bottom: 8px; }
.mock__cafe-info span { font-size: 7px; color: rgba(232,213,163,0.75); text-align: left; }

/* ── MOCK: SaaS (13) ─────────────────────── */
.mock--saas { background: #0d1117; display: flex; flex-direction: column; }
.mock__saas-hero {
  flex: 1; padding: 10px 12px 6px;
  background:
    linear-gradient(160deg, rgba(13,17,23,0.92) 0%, rgba(22,27,39,0.88) 100%),
    url('https://images.unsplash.com/photo-1537432376769-00f5c2f4c8d2?w=600&q=80&auto=format&fit=crop') center/cover;
  text-align: center;
}
.mock__saas-badge {
  font-size: 6px; font-weight: 700; color: #818cf8;
  border: 1px solid rgba(99,102,241,0.4); padding: 2px 8px;
  border-radius: 20px; display: inline-block; margin-bottom: 5px;
}
.mock__saas-title {
  font-size: 11px; font-weight: 900; color: #fff; line-height: 1.3; margin-bottom: 8px;
}
.mock__saas-title span { color: #6366f1; }
.mock__saas-app {
  border: 1px solid rgba(99,102,241,0.25); border-radius: 5px; overflow: hidden;
  margin: 0 4px;
}
.mock__saas-app-bar {
  display: flex; align-items: center; gap: 4px;
  padding: 5px 8px; background: #161b27;
  border-bottom: 1px solid rgba(99,102,241,0.15);
}
.mock__saas-app-bar span {
  width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0;
}
.mock__saas-app-bar span:nth-child(1) { background: #f87171; }
.mock__saas-app-bar span:nth-child(2) { background: #fbbf24; }
.mock__saas-app-bar span:nth-child(3) { background: #34d399; }
.mock__saas-kanban {
  display: flex; gap: 4px; padding: 5px; background: #0d1117; min-height: 50px;
}
.mock__saas-col { flex: 1; }
.mock__saas-card {
  height: 14px; background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.2); border-radius: 3px;
  margin-bottom: 3px;
}
.mock__saas-card--active { background: rgba(99,102,241,0.35); border-color: rgba(99,102,241,0.5); }

/* ── MOCK: リフォーム (14) ─────────────────────── */
.mock--reform { background: #f7f7f7; display: flex; flex-direction: column; }
.mock__ref-hero {
  flex: 1; padding: 12px 12px 8px;
  background:
    linear-gradient(160deg, rgba(20,20,20,0.88) 0%, rgba(8,8,8,0.85) 100%),
    url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=600&q=80&auto=format&fit=crop') center/cover;
  text-align: center;
}
.mock__ref-urgent {
  display: inline-block; font-size: 7px; font-weight: 700;
  color: #fff; background: #dc2626; padding: 2px 10px;
  border-radius: 2px; margin-bottom: 5px;
}
.mock__ref-title {
  font-size: 11px; font-weight: 900; color: #fff; line-height: 1.3; margin-bottom: 8px;
}
.mock__ref-title span { color: #f87171; }
.mock__ref-checks { display: flex; flex-direction: column; gap: 3px; margin-bottom: 8px; text-align: left; }
.mock__ref-checks div {
  font-size: 7px; font-weight: 600; color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.08); padding: 4px 8px; border-radius: 4px;
}

/* ── MOCK: テックブランド (tech) ────────────────── */
.mock--tech { background: #000; display: flex; flex-direction: column; }
.mock__tech-hero {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 14px 12px 8px; gap: 10px;
  background: radial-gradient(ellipse at 50% 30%, rgba(0,113,227,0.22) 0%, transparent 65%),
              radial-gradient(ellipse at 75% 80%, rgba(80,40,180,0.12) 0%, transparent 55%);
}
.mock__tech-phone {
  width: 54px; height: 106px;
  background: linear-gradient(145deg, #2c2c30, #101014);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  position: relative; overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,0.7), 0 0 20px rgba(0,113,227,0.15);
}
.mock__tech-screen {
  position: absolute; inset: 4px; border-radius: 12px;
  background: radial-gradient(ellipse at 40% 40%, rgba(0,113,227,0.55), rgba(0,0,0,0.92));
}
.mock__tech-notch {
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 6px; background: #0a0a0e; border-radius: 10px; z-index: 1;
}
.mock__tech-copy {
  font-size: 11px; font-weight: 900; color: #fff;
  text-align: center; letter-spacing: -0.3px; line-height: 1.3;
}
.mock__tech-copy span { color: rgba(255,255,255,0.4); }
.mock__btn--pill {
  font-size: 8px; font-weight: 700; color: #fff;
  background: #0071e3; padding: 5px 14px; border-radius: 20px;
}
.mock__tech-bar {
  display: flex; justify-content: space-around; align-items: center;
  padding: 7px 12px; background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: auto;
}
.mock__tech-bar span { font-size: 7px; color: rgba(255,255,255,0.4); font-weight: 500; }

/* CARD INFO */
.pf-card__info {
  padding: 24px;
  border-top: 1px solid var(--border);
}
.pf-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}
.pf-card__head h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}
.pf-card__industry {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* METRICS */
.pf-card__metrics { }
.pf-metric {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.pf-metric__before {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
}
.pf-metric__arrow {
  width: 14px;
  color: var(--accent);
  flex-shrink: 0;
}
.pf-metric__after {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.5px;
}
.pf-metric__label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.5px;
}

/* META (industry / plan info, replaces fake metrics) */
.pf-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  margin-top: 4px;
}
.pf-card__plan {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.pf-card__sep {
  color: var(--muted);
  opacity: 0.5;
}
.pf-card__industry-tag {
  color: var(--muted);
  font-weight: 500;
}

/* DISCLAIMER (portfolio hero) */
.pf-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
  padding: 14px 18px;
  background: rgba(255, 200, 100, 0.08);
  border: 1px solid rgba(255, 200, 100, 0.25);
  border-radius: 10px;
  max-width: 580px;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 220, 180, 0.85);
}
.pf-disclaimer svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: rgba(255, 200, 100, 0.8);
}

/* ===== FEATURED CASE STUDY ===== */
.pf-case {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pf-case__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}
.pf-case__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.1;
  margin: 16px 0 24px;
}
.pf-case__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 2;
  margin-bottom: 28px;
}
.pf-case__tags { display: flex; gap: 8px; flex-wrap: wrap; }

.pf-case__thumb {
  width: 100%;
  height: 320px;
  border-radius: 16px;
  margin-bottom: 20px;
}
.pf-case__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.pf-case__stat {
  background: var(--bg);
  padding: 24px;
  text-align: center;
}
.pf-case__stat-num {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -1px;
  line-height: 1;
}
.pf-case__stat-num small { font-size: 0.55em; }
.pf-case__stat-label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.5px;
}

/* ===== PROCESS ===== */
.pf-process__list {
  max-width: 1400px;
  margin: 0 auto;
}
.pf-process__item {
  display: grid;
  grid-template-columns: 80px 1fr 100px;
  gap: 40px;
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  transition: all 0.3s;
}
.pf-process__item:last-child { border-bottom: 1px solid var(--border); }
.pf-process__item:hover { padding-left: 12px; }
.pf-process__num {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 2px;
}
.pf-process__body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.pf-process__body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.pf-process__time {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}

/* ===== CTA ===== */
.pf-cta {
  padding: 140px 48px;
  position: relative;
  overflow: hidden;
}
.pf-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(200,255,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.pf-cta__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.pf-cta__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1.1;
  margin: 16px 0 24px;
  color: var(--text);
}
.pf-cta__desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 2;
  margin-bottom: 48px;
}
.pf-cta__btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .pf-hero { padding: 140px 32px 200px; }
  .pf-works { padding: 60px 32px 100px; }
  .pf-grid { grid-template-columns: 1fr 1fr; }
  .pf-hero__numbers {
    position: static;
    margin: 48px auto 0;
    width: fit-content;
  }
  .pf-hero__content { margin-bottom: 0; }
  .pf-case__inner { grid-template-columns: 1fr; gap: 48px; }
  .pf-cta { padding: 100px 32px; }
}
@media (max-width: 768px) {
  .pf-hero { padding: 120px 24px 80px; }
  .pf-hero__title { letter-spacing: -4px; }
  .pf-works { padding: 48px 24px 80px; }
  .pf-grid { grid-template-columns: 1fr; }
  .pf-hero__numbers {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    padding: 20px;
    margin-top: 40px;
  }
  .pf-num__div { width: 1px; height: auto; }
  .pf-process__item { grid-template-columns: 60px 1fr; gap: 20px; }
  .pf-process__time { display: none; }
  .pf-case__stats { grid-template-columns: 1fr; }
  .pf-cta { padding: 80px 24px; }
  .pf-cta__btns { flex-direction: column; align-items: center; }
}
