/* ==========================================================================
   Bellmont Cabinet Co. — Modern Rebuild
   Premium luxury aesthetic, light/clean theme
   ========================================================================== */

/* ---------- Custom Properties ---------- */
:root {
  --color-primary: #2c2c2c;
  --color-secondary: #c8a86e;
  --color-accent: #3d6b5e;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f5f2;
  --color-bg-dark: #2c2c2c;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-on-dark: #f0ece6;
  --color-border: #e5e1db;
  --color-overlay: rgba(0, 0, 0, 0.45);

  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1280px;
  --nav-height: 72px;
  --section-pad: clamp(3rem, 8vw, 7rem);
  --gap: clamp(1rem, 3vw, 2rem);

  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: clamp(0.938rem, 1vw, 1.063rem);
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 400; line-height: 1.2; color: var(--color-primary); }

/* ---------- Utility ---------- */
.container { width: 90%; max-width: var(--max-width); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.text-center { text-align: center; }

/* ---------- Typography ---------- */
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
.subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-secondary);
  font-weight: 500;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover { background: #444; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary {
  background: var(--color-secondary);
  color: #fff;
}
.btn-secondary:hover { background: #b89858; transform: translateY(-1px); }
.btn-outline {
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }
.btn-white {
  background: #fff;
  color: var(--color-primary);
}
.btn-white:hover { background: var(--color-bg-alt); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn svg, .btn .arrow { transition: transform var(--transition); }
.btn:hover svg, .btn:hover .arrow { transform: translateX(3px); }

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  display: flex; align-items: center;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all var(--transition);
  overflow: visible;
}
.nav-inner { overflow: visible; }
.nav-links { overflow: visible; }
.nav-dropdown { overflow: visible; }
.site-nav.scrolled {
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  width: 90%; max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 40px; width: auto; }
.nav-logo svg { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(0.75rem, 2vw, 2rem); }
.nav-links a {
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text);
  transition: color var(--transition);
  position: relative;
}
.nav-links a:hover { color: var(--color-secondary); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px; background: var(--color-secondary);
  transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { cursor: pointer; display: flex; align-items: center; gap: 4px; font-size: 0.8125rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; }
.nav-dropdown-trigger::after {
  content: ''; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 4px solid currentColor; transition: transform var(--transition);
}
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 200px;
  padding-top: 8px;
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding-bottom: 0.75rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: all var(--transition);
  z-index: 9999;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px; left: 0; right: 0;
  height: 8px;
  background: transparent;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.nav-dropdown:hover .nav-dropdown-trigger::after,
.nav-dropdown.open .nav-dropdown-trigger::after { transform: rotate(180deg); }
.nav-dropdown-menu a {
  display: block; padding: 0.5rem 1.25rem;
  font-size: 0.8125rem; text-transform: none; letter-spacing: 0.02em;
}
.nav-dropdown-menu a:hover { background: var(--color-bg-alt); color: var(--color-secondary); }
.nav-dropdown-menu a::after { display: none; }

.nav-cta .btn { padding: 0.625rem 1.5rem; font-size: 0.75rem; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; width: 28px; padding: 4px 0; }
.hamburger span {
  display: block; height: 2px; width: 100%;
  background: var(--color-primary); border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav overlay */
.mobile-nav {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 999;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: all var(--transition-slow);
}
.mobile-nav.active { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-nav a {
  display: block; padding: 0.75rem 0;
  font-family: var(--font-heading);
  font-size: 1.75rem; color: var(--color-primary);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--color-secondary); }
.mobile-nav-sub { font-size: 1rem !important; font-family: var(--font-body) !important; color: var(--color-text-light) !important; padding: 0.4rem 0 !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 90vh;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}
.hero.in-view .hero-bg img { transform: scale(1); }
.hero-overlay {
  display: none;
}
.hero-bottom-bar {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  padding: 3rem 0 2.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 2; color: #fff;
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
}
.hero-content h1 { color: #fff; margin: 0; font-size: clamp(1.5rem, 3vw, 2.5rem); white-space: nowrap; }
.hero-content p { color: rgba(255,255,255,0.85); font-size: clamp(0.8rem, 1vw, 0.95rem); line-height: 1.5; margin: 0; max-width: 420px; }
.hero-content .btn { margin: 0; white-space: nowrap; }

/* Page Hero (inner pages) */
.page-hero {
  position: relative; height: 50vh; min-height: 360px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  margin-top: var(--nav-height);
}
.page-hero .hero-bg { position: absolute; inset: 0; }
.page-hero .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.4);
}
.page-hero-content { position: relative; z-index: 2; color: #fff; }
.page-hero-content .subtitle { color: rgba(255,255,255,0.8); }
.page-hero-content h1 { color: #fff; margin-top: 0.5rem; }

/* ---------- Sections ---------- */
section { padding: var(--section-pad) 0; }
.section-header { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.section-header .subtitle { margin-bottom: 0.75rem; }
.section-header p { color: var(--color-text-light); margin-top: 1rem; }
.bg-alt { background: var(--color-bg-alt); }
.bg-dark { background: var(--color-bg-dark); color: var(--color-text-on-dark); }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-accent { background: var(--color-secondary); color: #fff; }
.bg-accent h2, .bg-accent h3 { color: #fff; }

/* ---------- Series Cards (Homepage) ---------- */
.series-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.series-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  transition: transform var(--transition);
}
.series-card:hover { transform: translateY(-4px); }
.series-card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.series-card:hover img { transform: scale(1.05); }
.series-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem;
}
.series-card-overlay h3 { color: #fff; font-size: clamp(1rem, 1.5vw, 1.25rem); margin-bottom: 0.25rem; }
.series-card-overlay .series-tagline { color: rgba(255,255,255,0.85); font-size: 0.8125rem; }
.series-card-overlay .btn { margin-top: 0.75rem; padding: 0.5rem 1.25rem; font-size: 0.6875rem; }

/* ---------- Split Section (Image + Text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }
.split-image {
  position: relative; overflow: hidden;
  min-height: 400px;
}
.split-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--transition-slow);
}
.split:hover .split-image img { transform: scale(1.03); }
.split-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
}
.split-text .subtitle { margin-bottom: 0.75rem; }
.split-text h3 { margin-bottom: 1rem; font-size: clamp(1.5rem, 2.5vw, 2.25rem); }
.split-text p { color: var(--color-text-light); margin-bottom: 1.5rem; line-height: 1.8; }

/* ---------- Three Column Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  text-align: center;
}
.feature-card { padding: 2rem 1rem; }
.feature-card h3 { margin-bottom: 1rem; font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-body); font-weight: 600; }
.feature-card p { color: var(--color-text-light); font-size: 0.9375rem; line-height: 1.8; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  position: relative; overflow: hidden;
  padding: clamp(3rem, 6vw, 5rem) 0;
  text-align: center;
}
.cta-banner .container { position: relative; z-index: 2; }
.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner p { max-width: 560px; margin: 0 auto 2rem; color: var(--color-text-light); }
.cta-banner.bg-dark p { color: rgba(255,255,255,0.8); }

/* ---------- Resource Cards (Bottom Grid) ---------- */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.resource-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
}
.resource-card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.resource-card:hover img { transform: scale(1.05); }
.resource-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 50%);
  display: flex; align-items: flex-end; padding: 1.5rem;
}
.resource-card-overlay .btn { font-size: 0.6875rem; padding: 0.5rem 1.25rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-bg-dark);
  padding: 4rem 0 2rem;
  color: rgba(255,255,255,0.7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: 3rem;
}
.footer-brand img { height: 60px; width: auto; margin-bottom: 1.25rem; filter: brightness(10); }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; }
.footer-brand a { color: var(--color-secondary); }
.footer-brand a:hover { text-decoration: underline; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-col a {
  display: block; padding: 0.25rem 0;
  font-size: 0.875rem; color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--color-secondary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8125rem; color: rgba(255,255,255,0.4);
}
.footer-social { display: flex; gap: 1rem; }
.footer-social a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-social a:hover { color: var(--color-secondary); }
.footer-social svg { width: 20px; height: 20px; }

/* ---------- Sticky Dealer CTA ---------- */
.sticky-cta {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 900;
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: all var(--transition);
}
.sticky-cta.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.sticky-cta .btn {
  box-shadow: var(--shadow-lg);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: all var(--transition);
}
.lightbox.active { opacity: 1; visibility: visible; pointer-events: auto; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius); }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem; cursor: pointer;
  background: rgba(255,255,255,0.1); border-radius: 50%;
  transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ---------- About Page Specifics ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  text-align: center;
  padding: 2rem 0;
}
.value-item h3 { font-size: 1.125rem; text-transform: uppercase; letter-spacing: 0.12em; font-family: var(--font-body); font-weight: 600; margin-bottom: 0.75rem; }
.value-item p { color: var(--color-text-light); font-size: 0.9375rem; line-height: 1.8; }

/* ---------- Image Lazy Load ---------- */
img[loading="lazy"] { background: var(--color-bg-alt); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .series-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; }
  .split-reverse { direction: ltr; }
  .split-image { min-height: 300px; }
  .features-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .values-grid { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: 1fr; gap: 1rem; }
  .resource-card { aspect-ratio: 16/9; }
  .hero { min-height: 75vh; }
  .hero-content { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .hero-content h1 { font-size: 1.5rem; white-space: normal; }
  .hero-content p { font-size: 0.8rem; max-width: 100%; }
  .hero-content .btn { padding: 0.65rem 1.5rem; font-size: 0.7rem; }
  .page-hero { height: 40vh; min-height: 280px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
  .series-grid { grid-template-columns: 1fr; }
  .series-card { aspect-ratio: 16/10; }
}

/* ---------- WIP Overlay (CSS-based watermark for generated images) ---------- */
.wip-overlay { position: relative; overflow: hidden; }
.wip-overlay::after,
img.wip-img { position: relative; }
.wip-overlay::after {
  content: 'WIP';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-35deg);
  font-family: var(--font-body);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.3em;
  pointer-events: none;
  z-index: 5;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
/* For inline images without a wrapper, use a container with wip-overlay class */

/* ---------- Trending Cards ---------- */
.trending-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.trending-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.trending-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.trending-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}
.trending-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--transition-slow);
}
.trending-card:hover .trending-card-img img { transform: scale(1.05); }
.trending-card-body {
  padding: 1.5rem;
}
.trending-card-body .subtitle { margin-bottom: 0.5rem; }
.trending-card-body h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.trending-card-body p { color: var(--color-text-light); font-size: 0.9rem; line-height: 1.7; }

@media (max-width: 768px) {
  .trending-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* ---------- Named Gallery Items ---------- */
.named-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.named-gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.named-gallery-item::after {
  content: 'WIP';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-35deg);
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.3em;
  pointer-events: none;
  z-index: 3;
}
.named-gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--transition-slow);
}
.named-gallery-item:hover img { transform: scale(1.05); }
.named-gallery-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  padding: 2.5rem 1rem 1rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.named-gallery-item:hover .named-gallery-overlay { opacity: 1; }
.named-gallery-overlay h4 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}
.named-gallery-overlay span {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
}

/* ---------- Process Preview (Homepage) ---------- */
.process-preview {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.process-preview-step {
  text-align: center;
  flex: 0 0 auto;
  padding: 1rem;
}
.process-step-number {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin: 0 auto 0.5rem;
}
.process-preview-step h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--color-text-light);
}

/* ---------- Process Timeline (Process Page) ---------- */
.process-timeline {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--color-border);
}
.process-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
  position: relative;
}
.process-step-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.process-step-content {
  padding-top: 0.75rem;
}
.process-step-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.process-step-content p {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}
.process-timeline-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--color-text-light);
}
.process-timeline-meta a {
  color: var(--color-secondary);
}
.process-timeline-meta a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .process-timeline::before { left: 24px; }
  .process-step-icon { width: 48px; height: 48px; font-size: 1rem; }
}

/* ---------- Triple CTA ---------- */
.triple-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Style Quiz ---------- */
.quiz-question {
  display: none;
}
.quiz-question.active {
  display: block;
}
.quiz-question h2 {
  text-align: center;
  margin-bottom: 2rem;
}
.quiz-progress {
  text-align: center;
  margin-bottom: 2rem;
}
.quiz-progress span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-light);
}
.quiz-progress-bar {
  width: 100%;
  height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  margin-top: 0.5rem;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  background: var(--color-secondary);
  border-radius: 2px;
  transition: width 0.5s ease;
}
.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (max-width: 600px) {
  .quiz-options { grid-template-columns: 1fr; }
}
.quiz-option {
  cursor: pointer;
}
.quiz-option input { display: none; }
.quiz-option-card {
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: center;
  transition: all var(--transition);
}
.quiz-option input:checked + .quiz-option-card {
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.quiz-option-card:hover {
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-sm);
}
.quiz-option-swatch {
  width: 100%; height: 80px;
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
}
.quiz-option-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.quiz-option-card p {
  font-size: 0.8rem;
  color: var(--color-text-light);
}
.quiz-mood-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
}
.quiz-mood-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}
.quiz-mood-item img {
  width: 100%; height: 100%; object-fit: cover;
}
@media (max-width: 600px) {
  .quiz-mood-grid { grid-template-columns: 1fr; max-width: 320px; }
}

/* ---------- Sample Selector ---------- */
.sample-cart {
  position: sticky;
  top: calc(var(--nav-height) + 1rem);
  z-index: 50;
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--shadow-md);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 2rem;
}
.swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
}
.swatch-item {
  text-align: center;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  transition: all var(--transition);
}
.swatch-item:hover {
  border-color: var(--color-border);
}
.swatch-item.selected {
  border-color: var(--color-secondary);
  background: rgba(200, 168, 110, 0.05);
}
.swatch-item.selected::after {
  content: '✓';
  display: block;
  color: var(--color-secondary);
  font-weight: 700;
  margin-top: 0.25rem;
}
.swatch-color {
  width: 80px; height: 80px;
  border-radius: var(--radius);
  margin: 0 auto 0.5rem;
}
.swatch-item span {
  font-size: 0.8rem;
  color: var(--color-text-light);
}
