/* sections.css — content section layouts */

.block { padding: 64px 0; }
.block--tight { padding: 48px 0; }
.block--night {
  background:
    radial-gradient(700px 420px at 85% 0%, rgba(123,47,247,.3), transparent 60%),
    var(--night);
  color: #e6dbfb;
}
.block--night h2, .block--night h3 { color: #fff; }
.block--night p { color: #cdbff0; }

.section-head { max-width: 60ch; margin-bottom: 36px; }
.section-head h2 { margin-bottom: 12px; }

/* reveal */
.appear {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.appear.shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .appear { opacity: 1; transform: none; }
}

/* grids */
.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 880px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
}

/* feature tiles with image */
.tile {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--divider);
  box-shadow: var(--shadow-soft);
}
.tile img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.tile__body { padding: 22px 24px 26px; }
.tile__body h3 { color: var(--brand-deep); margin-bottom: 8px; }
.tile__body p { margin-bottom: 0; font-size: .98rem; color: var(--fg-soft); }

/* steps */
.steps { counter-reset: st; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps li {
  position: relative;
  padding: 22px 24px 22px 70px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
}
.block:not(.block--night) .steps li { background: #fff; border-color: var(--divider); box-shadow: var(--shadow-soft); }
.steps li::before {
  counter-increment: st;
  content: counter(st);
  position: absolute;
  left: 22px; top: 20px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-family: var(--ff-display);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(130deg, var(--brand), var(--accent));
}
.steps h3 { margin: 0 0 5px; font-size: 1.12rem; }
.steps p { margin: 0; }

/* price table */
.ptable { width: 100%; border-collapse: collapse; font-size: .98rem; }
.ptable caption { text-align: left; color: var(--fg-soft); margin-bottom: 12px; font-size: .9rem; }
.ptable th, .ptable td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--divider); }
.ptable thead th { font-family: var(--ff-display); color: var(--brand-deep); border-bottom: 2px solid var(--brand); }
.ptable td:last-child, .ptable th:last-child { text-align: right; font-weight: 600; color: var(--brand); }

/* stats */
.stats { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 22px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.stat b { font-family: var(--ff-display); font-size: 2rem; display: block; color: #fff; line-height: 1; }
.stat span { font-size: .9rem; color: #c5b6e9; }

/* faq */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details {
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  background: #fff;
  padding: 4px 22px;
  box-shadow: var(--shadow-soft);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-family: var(--ff-display);
  font-size: 1.08rem;
  color: var(--brand-deep);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details[open] summary { border-bottom: 1px solid var(--divider); }
.faq details p { padding: 16px 0 6px; margin: 0; }

/* team */
.member { text-align: left; }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 16px; box-shadow: var(--shadow-soft); }
.member h3 { margin-bottom: 2px; color: var(--brand-deep); }
.member .role { color: var(--accent); font-weight: 600; font-size: .92rem; margin-bottom: 10px; }
.member p { font-size: .96rem; color: var(--fg-soft); }

/* cta band */
.cta-band {
  background:
    radial-gradient(600px 320px at 15% 120%, rgba(255,61,174,.3), transparent 60%),
    linear-gradient(120deg, var(--brand-deep), var(--night));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  text-align: center;
  box-shadow: var(--shadow-glow);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #d8caf3; max-width: 52ch; margin-inline: auto; }
.cta-band .btn { margin-top: 10px; }

/* contact info */
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 820px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.info-list h3 { font-size: 1rem; margin-bottom: 3px; color: var(--brand-deep); }
.info-list a { font-weight: 600; }
.map-note { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--divider); background: #fff; padding: 26px; box-shadow: var(--shadow-soft); }

/* prose for legal pages */
.prose { max-width: 760px; }
.prose h2 { margin-top: 38px; }
.prose h3 { margin-top: 26px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose address { font-style: normal; }
