/* ── Home Page Styles ── */

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: var(--clr-forest);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(30,48,32,0.8) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(200,136,12,0.06) 0%, transparent 60%);
}

/* Wood grain lines */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -8deg,
    transparent 0px,
    transparent 28px,
    rgba(42,64,48,0.12) 28px,
    rgba(42,64,48,0.12) 29px
  );
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, var(--clr-forest));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  width: 100%;
  padding: 0 var(--container-pad);
  padding-top: 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  min-height: 100vh;
}

.hero-text {}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out) 0.1s forwards;
}

.hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--clr-gold);
}

.hero-eyebrow span {
  font-family: var(--font-condensed);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-gold);
}

.hero h1 {
  opacity: 0;
  animation: fadeInUp 0.9s var(--ease-out) 0.25s forwards;
  margin-bottom: var(--space-lg);
}

.hero h1 em {
  color: var(--clr-gold-pale);
  font-style: italic;
  display: block;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--clr-text-dim);
  max-width: 44ch;
  margin-bottom: var(--space-2xl);
  opacity: 0;
  animation: fadeInUp 0.9s var(--ease-out) 0.4s forwards;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.9s var(--ease-out) 0.55s forwards;
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 0.7s forwards;
}

.hero-stat {
  background: rgba(23,36,25,0.7);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.hero-stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--clr-gold), transparent);
}
.hero-stat .stat-number { font-size: clamp(2rem, 3.5vw, 3rem); }

/* ── Scroll indicator ── */
.hero-scroll {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 1.2s forwards;
}
.hero-scroll span {
  font-family: var(--font-condensed);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--clr-gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ── Services / Features ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.service-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: var(--space-2xl) var(--space-xl);
  transition: all var(--dur-mid) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-mid) var(--ease-out);
}
.service-card:hover { border-color: rgba(200,136,12,0.3); transform: translateY(-6px); box-shadow: var(--shadow-gold); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px; height: 52px;
  background: rgba(200,136,12,0.1);
  border: 1px solid rgba(200,136,12,0.2);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-lg);
  color: var(--clr-gold);
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.4rem; margin-bottom: var(--space-sm); }
.service-card p { font-size: 0.9rem; color: var(--clr-text-dim); }
.service-link {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-family: var(--font-condensed); font-size: 0.8rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--clr-gold); margin-top: var(--space-lg);
  transition: gap var(--dur-fast);
}
.service-link:hover { gap: 0.7em; color: var(--clr-gold-pale); }

/* ── About Strip ── */
.about-strip {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-visual {
  position: relative;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--clr-surface-2);
}

/* Decorative wood rings SVG placeholder */
.about-visual-art {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}

.about-text h2 { margin-bottom: var(--space-md); }
.about-text .accent-line { margin-bottom: var(--space-xl); }
.about-text p { margin-bottom: var(--space-lg); font-size: 0.97rem; }
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}
.about-feature {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}
.about-feature-check {
  width: 20px; height: 20px;
  background: rgba(200,136,12,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.about-feature-check svg { width: 11px; height: 11px; color: var(--clr-gold); }
.about-feature-text {
  font-size: 0.88rem;
  color: var(--clr-text-dim);
  line-height: 1.4;
}
.about-feature-text strong { color: var(--clr-text); display: block; }

/* ── Stats Banner ── */
.stats-banner {
  background: var(--clr-dark);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding: var(--space-3xl) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--clr-border);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.stats-grid .stat {
  background: var(--clr-dark);
  padding: var(--space-2xl);
}

/* ── Products Preview ── */
.products-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.product-preview-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--dur-mid) var(--ease-out);
}
.product-preview-card:hover { transform: translateY(-4px); border-color: rgba(200,136,12,0.3); box-shadow: var(--shadow-gold); }
.product-thumb {
  height: 200px;
  background: var(--clr-surface-2);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
}
.product-thumb-art { width: 100%; height: 100%; }
.product-info { padding: var(--space-lg); }
.product-info h4 { font-size: 1.15rem; margin-bottom: var(--space-sm); }
.product-info p { font-size: 0.85rem; color: var(--clr-text-dim); max-width: none; }
.product-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--clr-border);
}
.product-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--clr-gold-pale);
}
.product-price small {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--clr-text-muted);
  display: block;
  line-height: 1;
}

/* ── CTA Section ── */
.cta-section {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4xl) var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -40%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(200,136,12,0.08), transparent 70%);
  pointer-events: none;
}
.cta-section h2 { margin-bottom: var(--space-md); }
.cta-section p { color: var(--clr-text-dim); margin: 0 auto var(--space-2xl); font-size: 1.05rem; }
.cta-actions { display: flex; gap: var(--space-md); justify-content: center; flex-wrap: wrap; }

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: var(--space-3xl); padding-top: 120px; }
  .hero-stats { max-width: 400px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .about-visual { height: 320px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .products-preview { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero-content { min-height: auto; padding-top: 100px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .products-preview { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-section { padding: var(--space-2xl) var(--space-xl); }
}
