/* Homepage-only styles. Shared components live in site.css. */

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; display: flex; align-items: center;
  min-height: 100vh; min-height: 100svh; padding: calc(var(--header-h) + 40px) 0 64px;
  color: #fff; background: #3B463D;
}
.hero__bg {
  position: absolute; inset: 0;
  background: url('/images/site/hero-bg.webp') center / cover no-repeat;
  filter: brightness(0.5);
}
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(44, 44, 44, 0.5) 0%, rgba(94, 113, 94, 0.45) 100%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.hero h1 {
  font-family: var(--font-display); font-weight: 600; line-height: 1.12;
  font-size: clamp(2.5rem, 5vw, 3.9rem); margin-bottom: 24px; text-wrap: balance;
}
.hero__kicker {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--clay-light); line-height: 1.4;
}
.hero__kicker::before { content: ''; width: 32px; height: 1.5px; background: currentColor; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--sage-light); }
.hero__lead { font-size: 1.08rem; line-height: 1.8; color: rgba(255, 255, 255, 0.88); max-width: 500px; }
.hero .btn-primary { background: #fff; color: var(--sage-ink); }
.hero .btn-primary:hover { background: var(--cream); }
.hero__photo { position: relative; justify-self: center; width: 100%; max-width: 420px; }
.hero__photo img { width: 100%; border-radius: var(--radius-lg); box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32); aspect-ratio: 900 / 1273; object-fit: cover; }
.hero__badge {
  position: absolute; left: -24px; bottom: 28px; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 16px; background: #fff; color: var(--text-light);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.16); font-size: 0.78rem; line-height: 1.35;
}
.hero__badge strong { display: block; color: var(--charcoal); font-size: 0.88rem; }
.hero__badge-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--sage-light); color: var(--sage-ink); }
.hero__badge-icon svg { width: 20px; height: 20px; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-card { position: relative; background: #fff; border: 1px solid rgba(0, 0, 0, 0.05); border-radius: 20px; padding: 34px 24px 30px; text-align: center; }
.process-card::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 16px; left: 18px; font-family: var(--font-display); font-size: 0.95rem; color: var(--clay-dark);
}
.process-icon { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-mist); color: var(--sage-ink); }
.process-card:nth-child(even) .process-icon { background: #F2E9DF; color: #9A5F45; }
.process-icon svg { width: 32px; height: 32px; }
.process-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--charcoal); margin-bottom: 8px; }
.process-card p { font-size: 0.9rem; color: var(--text-light); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(0, 0, 0, 0.05); border-radius: 20px; padding: 32px; }
.service-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; }
.service-icon svg { width: 24px; height: 24px; }
.service-icon.green { background: var(--sage-light); color: var(--sage-ink); }
.service-icon.warm { background: var(--clay-light); color: #8F5640; }
.service-icon.blush { background: var(--blush); color: #8A5263; }
.service-icon.sand { background: var(--sand); color: #6E5A47; }
.service-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; color: var(--charcoal); margin-bottom: 8px; }
.service-card p { font-size: 0.92rem; color: var(--text-light); }
.service-card .text-link { margin-top: auto; padding-top: 16px; align-self: flex-start; }

/* ---------- Service area ---------- */
.area-band {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr); gap: 44px; align-items: center;
  padding: clamp(28px, 5vw, 48px); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(197, 212, 192, 0.32), rgba(232, 213, 191, 0.38));
  border: 1px solid rgba(94, 113, 94, 0.14);
}
.area-band p { color: var(--text-light); max-width: 680px; }
.area-band p + p { margin-top: 12px; }
.area-band__check { background: rgba(255, 255, 255, 0.75); border-radius: 18px; padding: 26px; border: 1px solid rgba(94, 113, 94, 0.12); }
.area-band__check h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--sage-ink); margin-bottom: 6px; }
.area-band__check p { font-size: 0.92rem; margin-bottom: 18px; }

/* ---------- Gallery reel ---------- */
.gallery { overflow: hidden; }
.gallery-reel { display: flex; overflow: hidden; }
.gallery-track { display: flex; gap: 16px; padding-right: 16px; flex-shrink: 0; animation: reel 48s linear infinite; }
.gallery-reel:hover .gallery-track, .gallery-reel:focus-within .gallery-track { animation-play-state: paused; }
.gallery-track img { width: 280px; height: 220px; flex-shrink: 0; object-fit: cover; border-radius: 16px; background: var(--sand); }
@keyframes reel { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .gallery-reel { overflow-x: auto; }
  .gallery-track { animation: none; }
  .gallery-track[aria-hidden] { display: none; }
}
.gallery__more { text-align: center; margin-top: 36px; }

/* ---------- Closing CTA ---------- */
.home-cta { position: relative; overflow: hidden; padding: clamp(80px, 11vw, 120px) 0; text-align: center; color: #fff; background: #3B463D; }
.home-cta__bg { position: absolute; inset: 0; background: url('/images/site/cta-bg.webp') center / cover no-repeat; filter: brightness(0.38); }
.home-cta .container { position: relative; }
.home-cta h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.home-cta p { max-width: 540px; margin: 0 auto; color: rgba(255, 255, 255, 0.88); }
.home-cta .button-row { justify-content: center; }
.home-cta .subtext { margin-top: 22px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); }
.home-cta .subtext a { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .area-band { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero__kicker { justify-content: center; }
  .hero__lead { margin-inline: auto; }
  .hero .button-row { justify-content: center; }
  .hero__photo { max-width: 340px; }
  .hero__badge { display: none; }
}
@media (max-width: 620px) {
  .services-grid, .process-grid { grid-template-columns: 1fr; }
  .gallery-track img { width: 220px; height: 180px; }
}
