/* ══════════════════════════════════════════
   Practice Smarts — Home Page Styles
   ══════════════════════════════════════════ */

/* ── HERO ── */
#hero {
  min-height: 100vh;
  background: var(--navy-dark);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,133,58,0.08) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 140px 60px 100px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s ease 0.2s forwards;
}

.hero-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.15;
  color: var(--white);
  max-width: 780px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero-headline em {
  font-style: italic;
  color: rgba(255,255,255,0.6);
}

.hero-body {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin-bottom: 52px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.8s forwards;
}

.hero-rule {
  position: absolute;
  bottom: 0; left: 60px;
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, var(--amber), transparent);
  opacity: 0;
  animation: fadeIn 1s ease 1.2s forwards;
}

/* ── WHO WE HELP ── */
#who {
  padding: 120px 0;
  background: var(--grey-light);
  border-top: 4px solid var(--grey-soft);
}

.who-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.who-body {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 28px;
}

.pain-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pain-card {
  background: var(--white);
  border-left: 3px solid var(--grey-soft);
  padding: 24px 28px;
  border-radius: 2px;
  transition: border-color 0.3s;
}

.pain-card:hover { border-left-color: var(--amber); }

.pain-card p {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-body);
  font-style: italic;
}

.pain-card .pain-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 8px;
  font-style: normal;
}

/* ── PRACTICE FLOW ── */
#services {
  padding: 120px 0 0;
  background: var(--white);
}

.pf-header { max-width: 600px; margin-bottom: 48px; }

.pf-intro {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 80px;
}

.pf-line {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-body);
}

/* ── HOW WE WORK ── */
#how {
  padding: 120px 0;
  background: var(--navy);
}

#how .section-title { color: var(--white); margin-bottom: 72px; }

.how-body-intro {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  max-width: 100%;
  margin-bottom: 72px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.07);
}

.step {
  background: var(--navy);
  padding: 48px 36px;
  position: relative;
  border-top: 2px solid transparent;
  transition: border-color 0.3s;
}

.step:hover { border-top-color: var(--amber); }

.step-num {
  font-family: 'DM Serif Display', serif;
  font-size: 0.85rem;
  color: var(--amber);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.step-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 16px;
}

.step-body {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
}

.step-connector {
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

/* ── WHY PRACTICE SMARTS ── */
#why {
  padding: 120px 0;
  background: var(--grey-light);
}

.why-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 100px;
  align-items: start;
}

.why-left {
  position: sticky;
  top: 100px;
}

.why-body {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-body);
  margin-top: 24px;
}

.differentiator {
  padding: 40px 0;
  border-bottom: 1px solid var(--grey-soft);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 28px;
  align-items: start;
}

.differentiator:first-child { border-top: 1px solid var(--grey-soft); }

.diff-icon {
  width: 44px;
  height: 44px;
  border-radius: 2px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
}

.diff-icon svg { width: 20px; height: 20px; stroke: var(--amber); fill: none; stroke-width: 1.5; }

.diff-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.diff-body {
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-body);
}

/* ── ABOUT ── */
#about {
  padding: 120px 0;
  background: var(--white);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-body {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-body);
  margin-top: 24px;
}

.about-body + .about-body { margin-top: 16px; }

.about-right {
  background: var(--navy-dark);
  padding: 60px;
  position: relative;
  overflow: hidden;
}

.about-right::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--amber);
}

.about-quote {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 28px;
}

.about-quote-attr {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
}

/* ── CONTACT ── */
#contact {
  padding: 120px 0;
  background: var(--navy-dark);
  text-align: center;
}

#contact .section-label { text-align: center; }

.contact-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  max-width: 640px;
  margin: 0 auto 20px;
  line-height: 1.2;
}

.contact-sub {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  max-width: 480px;
  margin: 0 auto 52px;
  line-height: 1.75;
}

.contact-form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field { display: flex; flex-direction: column; }

.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  padding: 14px 18px;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.form-field textarea { height: 110px; resize: none; }

.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,0.3); }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--amber);
  background: rgba(255,255,255,0.09);
}

.form-field select {
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  appearance: none;
}

.form-field select option { background: var(--navy-dark); color: var(--white); }

.form-submit {
  background: var(--amber);
  color: var(--white);
  border: none;
  border-radius: 2px;
  padding: 16px 40px;
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}

.form-submit:hover { background: var(--amber-light); }

/* ── CTA SECTION (shared across pages) ── */
.cta-section {
  background: var(--navy-dark);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.cta-inner { position: relative; z-index: 2; }

.cta-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

.cta-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  line-height: 1.2;
  max-width: 600px;
  margin: 0 auto 20px;
}

.cta-body {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  max-width: 460px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

.cta-details {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 36px;
}

.cta-detail { text-align: center; }

.cta-detail-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 6px;
}

.cta-detail-value {
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
}

.hero-cta {
  display: inline-block;
  background: var(--amber);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.hero-cta:hover {
  background: var(--amber-light);
  transform: translateY(-1px);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner { padding-left: 28px; padding-right: 28px; }
  .who-layout, .about-layout, .why-layout { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .why-left { position: static; }
  .cta-details { flex-direction: column; gap: 20px; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
