/* Custom Figure Studio - Clean, Familiar, High-Converting Collector Theme */
:root {
  --bg-page: #121316;
  --bg-surface: #1a1c23;
  --bg-surface-hover: #22252e;
  --bg-card: #181a20;
  --bg-input: #131418;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-focus: #3b82f6;
  --border-card: #262933;

  --text-main: #f1f3f7;
  --text-muted: #9ba1b0;
  --text-sub: #6b7280;

  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --accent: #06b6d4;
  --accent-amber: #f59e0b;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-page);
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: #60a5fa;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: #fff;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-light);
  color: var(--text-main);
}

.btn-outline:hover {
  background-color: var(--bg-surface);
  border-color: #4b5563;
  color: #fff;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  background-color: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.badge-amber {
  background-color: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.25);
}

.badge-parent {
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  border-color: var(--border-light);
}

/* ==========================================================================
   Site Header
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 19, 22, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.logo-text span {
  color: var(--primary);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-link:hover {
  color: #fff;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 50px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-title {
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero-lead {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.hero-checks {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 12px;
}

.hero-checks span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #d1d5db;
}

.check-icon {
  color: #10b981;
  font-weight: bold;
}

/* Hero Figure Preview Card */
.hero-figure-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-surface);
  overflow-x: auto;
}

.hero-tab-btn {
  background: transparent;
  border: none;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-sub);
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.15s ease;
}

.hero-tab-btn:hover {
  color: #fff;
}

.hero-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: rgba(59, 130, 246, 0.08);
}

.hero-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #000;
}

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

.hero-card-info {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
}

.hero-card-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.hero-card-info p {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   Section Layouts
   ========================================================================== */
.section {
  padding: 70px 0;
}

.section-alt {
  background: #16181f;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 45px;
}

.section-head h2 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  margin-top: 10px;
  margin-bottom: 10px;
}

.section-head p {
  font-size: 15px;
  color: var(--text-muted);
}

/* ==========================================================================
   How It Works (4 Steps)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.8;
  font-family: var(--font-mono);
}

.step-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.step-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Specializations / Services
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Portfolio Gallery & Filters
   ========================================================================== */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-btn:hover {
  color: #fff;
  border-color: #4b5563;
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

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

.gallery-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.gallery-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #000;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-thumb img {
  transform: scale(1.04);
}

.gallery-info {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gallery-category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.04em;
}

.gallery-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.gallery-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   Real Collector Displays Grid
   ========================================================================== */
.displays-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.display-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.display-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
}

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

.display-caption {
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.display-caption strong {
  display: block;
  color: #fff;
  font-size: 14px;
  margin-bottom: 2px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-wrap {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  background: transparent;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background: var(--bg-surface);
}

.faq-icon {
  font-size: 18px;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* ==========================================================================
   Quote Form
   ========================================================================== */
.form-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: #d1d5db;
}

.form-control {
  background: var(--bg-input);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 14px;
  color: #fff;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease;
}

.form-control:focus {
  border-color: var(--border-focus);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

/* ==========================================================================
   Atelier Heritage Section
   ========================================================================== */
.heritage-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
  align-items: center;
}

.heritage-text h3 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.heritage-text p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.heritage-badge-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.heritage-pill {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #d1d5db;
}

.heritage-pill strong {
  color: #fff;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #0f1013;
  border-top: 1px solid var(--border-light);
  padding: 50px 0 25px;
}

.footer-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  font-size: 12px;
  color: var(--text-sub);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid, .heritage-box {
    grid-template-columns: 1fr;
  }
  .steps-grid, .services-grid, .displays-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav-list {
    display: none;
  }
  .steps-grid, .services-grid, .displays-grid, .gallery-grid {
    grid-template-columns: 1fr;
  }
  .form-row, .footer-row {
    grid-template-columns: 1fr;
  }
  .form-box, .heritage-box {
    padding: 20px;
  }
}

/* ==========================================================================
   Guides & Editorial Hub Styles
   ========================================================================== */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 24px;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: #fff;
}

.breadcrumbs span.current {
  color: var(--text-main);
  font-weight: 500;
}

.guide-article {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 0 80px;
}

.guide-hero {
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 28px;
}

.guide-hero h1 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  margin: 12px 0 16px;
}

.guide-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
}

.guide-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 14px;
}

.guide-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 40px 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 8px;
}

.guide-content h3 {
  font-size: 19px;
  font-weight: 600;
  color: #f1f3f7;
  margin: 28px 0 12px;
}

.guide-content p {
  margin-bottom: 18px;
  color: #d1d5db;
  line-height: 1.7;
}

.guide-content ul, .guide-content ol {
  margin: 0 0 20px 24px;
  color: #d1d5db;
  line-height: 1.7;
}

.guide-content li {
  margin-bottom: 8px;
}

.guide-content strong {
  color: #fff;
}

.guide-table-wrap {
  overflow-x: auto;
  margin: 24px 0 32px;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.guide-table th {
  background-color: #20242e;
  color: #fff;
  font-weight: 600;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-card);
}

.guide-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #d1d5db;
}

.guide-table tr:last-child td {
  border-bottom: none;
}

.guide-table tr:hover td {
  background-color: rgba(255, 255, 255, 0.02);
}

.guide-table .highlight {
  color: var(--accent);
  font-weight: 600;
}

/* Callout Blocks */
.guide-callout {
  margin: 28px 0;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  border-left: 4px solid var(--primary);
}

.guide-callout.callout-amber {
  border-left-color: var(--accent-amber);
  background-color: rgba(245, 158, 11, 0.06);
}

.guide-callout.callout-atelier {
  border-left-color: #d4a843;
  background: linear-gradient(145deg, rgba(212, 168, 67, 0.08) 0%, rgba(26, 28, 35, 0.9) 100%);
  border: 1px solid rgba(212, 168, 67, 0.25);
  border-left: 4px solid #d4a843;
}

.guide-callout h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.guide-callout p:last-child {
  margin-bottom: 0;
}

/* Escalation Banner */
.atelier-escalation {
  margin: 48px 0 24px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #181b22 0%, #13151a 100%);
  border: 1px solid rgba(212, 168, 67, 0.3);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.atelier-escalation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.atelier-escalation h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.badge-gold {
  background-color: rgba(212, 168, 67, 0.15);
  color: #f1c96b;
  border: 1px solid rgba(212, 168, 67, 0.4);
}

.btn-gold {
  background-color: #d4a843;
  color: #0b0c10;
  font-weight: 700;
}

.btn-gold:hover {
  background-color: #e5b955;
  color: #000;
}

