/* ==========================================================================
   HOME PAGE — css/pages/home.css
   Page-specific styles for index.html only.
   ========================================================================== */

/* Hero Section — homepage-specific dialectic hero */
.hero { padding: 160px 0 80px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse at 30% 20%, rgba(139,158,107,0.06) 0%, transparent 60%), radial-gradient(ellipse at 70% 80%, rgba(180,167,214,0.06) 0%, transparent 60%); pointer-events: none; }
.hero-content { position: relative; z-index: 1; }
.hero-dialectic { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 32px; flex-wrap: wrap; }
.hero-truth { flex: 1; min-width: 280px; max-width: 420px; }
.hero-truth h1 { color: var(--text-primary); font-weight: 500; font-style: italic; }
.hero-truth:first-child { text-align: right; padding-right: 40px; }
.hero-truth:last-child { text-align: left; padding-left: 40px; }
.hero-connector { display: flex; flex-direction: column; align-items: center; gap: 0; flex-shrink: 0; }
.hero-connector .connector-line { width: 2px; height: 40px; background: linear-gradient(to bottom, var(--sage), var(--lilac)); border-radius: 2px; }
.hero-connector .connector-dot { width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, var(--sage), var(--lilac)); }
.hero-tagline { text-align: center; font-size: 0.92rem; color: var(--text-light); font-style: italic; margin-bottom: 36px; }
.hero-cta-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* Services Preview */
.services-preview { background: var(--warm-white); padding: 80px 0; }
/* Upside-down triangle layout: 3 cards on top row, 4th card centred below */
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.service-card { background: var(--cream); border-radius: var(--radius-md); padding: 36px 28px; border: 1px solid var(--border-light); transition: all var(--transition); text-align: center; }
.service-card:nth-child(4) { grid-column: 2; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sage-light); }
.service-card__icon { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, rgba(139,158,107,0.15), rgba(180,167,214,0.15)); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.5rem; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 12px; color: var(--text-primary); }
.service-card p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.6; }
.service-card__link { display: inline-block; margin-top: 16px; font-size: 0.88rem; font-weight: 600; color: var(--sage-dark); }
.service-card__link:hover { color: var(--lilac-dark); }

/* Home responsive */
@media (max-width: 768px) {
  .hero { padding: 130px 0 60px; }
  .hero-dialectic { flex-direction: column; gap: 0; }
  .hero-truth:first-child, .hero-truth:last-child { text-align: center; padding: 0; max-width: 100%; }
  .hero-truth h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); }
  .hero-connector { transform: rotate(0deg); }
  .hero-connector .connector-line { height: 30px; }
  .service-cards { grid-template-columns: 1fr; }
  .service-card:nth-child(4) { grid-column: 1; }
}

@media (max-width: 480px) {
  .hero-cta-row { flex-direction: column; align-items: center; }
  .hero-cta-row .btn { width: 100%; justify-content: center; }
}
