/* ============================================================
   DESERT SAGE DRAFTING — Interior Page Components
   Used by: services, process, gallery, about, contact, blog, why-us
   Builds on global.css design tokens.
   ============================================================ */

/* ── Generic content prose ── */
.prose { max-width: 760px; }
.prose p { margin-bottom: 1.2rem; }
.prose h3 { margin: 2.2rem 0 0.8rem; }
.lead { font-size: 1.15rem; color: var(--charcoal-mid); }

/* ── Split (text + media) ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split.reverse .split-media { order: -1; }
.split-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 50px rgba(0,0,0,0.14);
  object-fit: cover;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split.reverse .split-media { order: 0; }
}

/* ── Feature / value cards ── */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--trans);
  height: 100%;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.10); }
.feature-card .feature-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--sage-mist);
  margin-bottom: 1.2rem;
}
.feature-card .feature-icon svg { width: 26px; height: 26px; stroke: var(--sage-dark); }
.feature-card h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }

/* ── Pricing panel ── */
.pricing-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.pricing-panel.highlight { border: 2px solid var(--sage); position: relative; }
.pricing-panel .price-tag { display: block; margin-bottom: 0.25rem; }
.pricing-note { font-size: 0.85rem; color: var(--charcoal-light); margin-bottom: 1.5rem; }
.pricing-panel hr { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }

/* ── Process timeline ── */
.timeline { position: relative; max-width: 820px; margin: 0 auto; }
.timeline::before {
  content: ''; position: absolute; left: 27px; top: 8px; bottom: 8px;
  width: 2px; background: var(--border);
}
.timeline-step {
  position: relative;
  padding: 0 0 2.5rem 5rem;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-num {
  position: absolute; left: 0; top: 0;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--sage); color: var(--white);
  font-family: var(--font-display); font-size: 1.5rem;
  box-shadow: 0 6px 18px rgba(92,122,92,0.3);
  z-index: 1;
}
.timeline-step h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }

/* ── FAQ accordion ── */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.4rem 0;
  font-family: var(--font-display); font-size: 1.25rem; color: var(--charcoal);
}
.faq-q .faq-icon { flex-shrink: 0; transition: transform var(--trans); color: var(--sage); font-size: 1.5rem; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-a p { padding: 0 0 1.4rem; }

/* ── Gallery grid ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: var(--cream-dark);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(42,42,40,0.45), transparent 55%);
  opacity: 0; transition: opacity var(--trans);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1rem; color: #fff; font-size: 0.85rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px);
  transition: var(--trans); z-index: 1;
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }
@media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; } }

/* ── Lightbox ── */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(20,20,18,0.94);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw; max-height: 86vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: #fff;
  font-size: 1.6rem; display: flex; align-items: center; justify-content: center;
  transition: background var(--trans);
}
.lightbox-btn:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }
.lightbox-close { position: absolute; top: 1.5rem; right: 2rem; font-size: 2rem; color: #fff; background: none; }
@media (max-width: 768px) { .lightbox-prev { left: 0.5rem; } .lightbox-next { right: 0.5rem; } }

/* ── Gallery category cards (hub) ── */
.cat-card { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/2; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.cat-card:hover img { transform: scale(1.07); }
.cat-card-label {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(42,42,40,0.42); color: #fff; text-align: center;
  transition: background var(--trans);
}
.cat-card:hover .cat-card-label { background: rgba(42,42,40,0.28); }
.cat-card-label h3 { color: #fff; font-size: 2rem; }
.cat-card-label span { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 0.3rem; }

/* ── Contact layout ── */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; align-items: start; }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.8rem; }
.contact-info-item svg { width: 22px; height: 22px; stroke: var(--sage); flex-shrink: 0; margin-top: 3px; }
.contact-info-item h4 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--charcoal-light); margin-bottom: 0.2rem; }
.contact-info-item p, .contact-info-item a { color: var(--charcoal); font-size: 1.05rem; }
.contact-info-item a:hover { color: var(--sage); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ── CTA payment buttons row ── */
.cta-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }

/* ── Stat row ── */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat .stat-num { font-family: var(--font-display); font-size: 3rem; color: var(--sage); line-height: 1; }
.stat .stat-label { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--charcoal-light); margin-top: 0.4rem; }
@media (max-width: 768px) { .stat-row { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
