/* =============================================
   INDEX.CSS – homepage styles
   ============================================= */

/* ---- Reveal animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}



/* =============================================
   HERO
   ============================================= */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 4.5rem var(--content-pad) 4rem;
  border-bottom: 1px solid var(--color-border);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin: 10px 0 18px;
}

.hero-title-italic {
  font-style: italic;
  font-weight: 400;
  color: var(--color-accent-mid);
}

.hero-desc {
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--color-text-muted);
  max-width: 440px;
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 540 / 380;
}

.hero-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: var(--shadow-sm);
}

.hero-badge-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.hero-badge span {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  background: var(--color-bg-secondary);
  border-bottom: 1px solid var(--color-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 1.75rem 2rem;
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.stat-label {
  font-size: 12.5px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* =============================================
   INTRO SECTION
   ============================================= */
.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.intro-text p {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.intro-text p:last-of-type {
  margin-bottom: 0;
}

.intro-quote {
  background: var(--color-bg-secondary);
  border-left: 3px solid var(--color-accent-mid);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 2rem 1.75rem;
  margin-top: 2rem;
}

.intro-quote-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.55;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.intro-quote-author {
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* =============================================
   SERVICES GRID
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: var(--color-text);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  min-height: 170px;
}

.service-card:hover {
  border-color: var(--color-accent-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-card-body {
  flex: 1;
}

.service-icon {
  color: var(--color-accent-mid);
  margin-bottom: 0.85rem;
}

.service-name {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 5px;
}

.service-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.service-arrow {
  display: block;
  text-align: right;
  color: var(--color-accent-mid);
  font-size: 16px;
  margin-top: 1rem;
  transition: transform 0.2s;
}

.service-card:hover .service-arrow {
  transform: translateX(4px);
}

/* =============================================
   WOOD TEASER
   ============================================= */
.wood-teaser-section {
  background: var(--color-bg-secondary);
}

.wood-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.wood-teaser-text p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-top: 1rem;
}

.swatch-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.swatch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.swatch {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  transition: transform 0.2s, border-color 0.2s;
  display: block;
}
.swatch-item:hover .swatch {
  transform: scale(1.1);
  border-color: var(--color-accent-mid);
}

.swatch-item:hover .swatch {
  transform: scale(1.1);
  border-color: var(--color-accent-mid);
}

.swatch-note {
  margin-top: 1.25rem;
  font-size: 13px;
  color: var(--color-accent-mid);
  font-weight: 500;
  text-align: right;
}

.swatch-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =============================================
   RECOMMEND SECTION
   ============================================= */
.recommend-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.recommend-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 12.5px;
  color: var(--color-text-muted);
  font-weight: 400;
}

.form-group input,
.form-group textarea {
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--color-bg-card);
  color: var(--color-text);
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent-mid);
  box-shadow: 0 0 0 3px rgba(139,107,61,0.12);
}

.form-msg {
  font-size: 13px;
  min-height: 18px;
}

/* ---- SERVICE CARD IMAGES ---- */
.service-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: block;
  margin: -1.4rem -1.4rem 1rem -1.4rem;
  width: calc(100% + 2.8rem);
}
