/* ============================================================
   BETA Social — shared styles for content sub-pages
   (services, about, contact, faq, portfolio)
   Extends style.css; relies on its :root variables.
   ============================================================ */

body.subpage {
  background: #243148;
  min-height: 100vh;
}
body.subpage main {
  position: relative;
  z-index: 10;
}

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 2rem; }

/* Make the nav logo a proper link */
.navbar a.nav-logo { display: inline-flex; align-items: center; text-decoration: none; }
.footer-top a.logo { display: inline-flex; text-decoration: none; }

/* ---- Page hero ---- */
.page-hero {
  padding: 10rem 2rem 4rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.page-hero .inner { max-width: 780px; margin: 0 auto; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero .lede {
  color: var(--text-secondary);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto 2rem;
}
.page-hero .hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- Breadcrumbs ---- */
.breadcrumbs {
  max-width: 1100px;
  margin: 0 auto;
  padding: 7rem 2rem 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.breadcrumbs a { color: var(--text-secondary); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs .sep { color: rgba(255, 255, 255, 0.35); margin: 0 0.5rem; }
.page-hero.with-crumbs { padding-top: 2.5rem; }

/* ---- Content blocks ---- */
.block { padding: 4.5rem 0; }
.block.tint { background: rgba(255, 255, 255, 0.015); }
.block .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}
.block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.block h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 0.5rem; }
.block p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.1rem;
  font-size: 1.05rem;
}
.block p:last-child { margin-bottom: 0; }
.block .lead-answer {
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.7;
  font-weight: 500;
  max-width: 760px;
}

/* ---- Grids & cards ---- */
.grid { display: grid; gap: 1.5rem; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.2); }
.card h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.6rem; }
.card p { color: var(--text-secondary); line-height: 1.6; font-size: 0.98rem; margin: 0; }
.card .card-link { color: #fff; text-decoration: none; font-size: 0.9rem; display: inline-block; margin-top: 1rem; opacity: 0.85; }
.card .card-link:hover { opacity: 1; }
a.card-block { text-decoration: none; color: inherit; display: block; }

/* ---- Checklist ---- */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }
.check-list li { display: flex; gap: 0.75rem; color: var(--text-secondary); line-height: 1.6; font-size: 1.02rem; }
.check-list li::before { content: '✓'; color: #fff; font-weight: 700; flex-shrink: 0; }

/* ---- Inline numbered steps ---- */
.steps-inline { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); }
.step-i {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.75rem;
}
.step-i .num { font-family: var(--font-display); font-weight: 700; color: rgba(255, 255, 255, 0.25); font-size: 1.5rem; display: block; margin-bottom: 0.5rem; }
.step-i h3 { margin-bottom: 0.35rem; }
.step-i p { color: var(--text-secondary); font-size: 0.98rem; line-height: 1.6; margin: 0; }

/* ---- CTA strip ---- */
.cta-strip {
  text-align: center;
  padding: 5rem 2rem;
  background: #243148;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.cta-strip h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 5vw, 2.8rem); margin-bottom: 1rem; }
.cta-strip p { color: var(--text-secondary); margin-bottom: 2rem; font-size: 1.1rem; }

/* ---- FAQ (native <details>) ---- */
.faq-list { display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 1.4rem 1.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.6rem; color: var(--text-secondary); transition: transform 0.3s; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 1.6rem 1.5rem; color: var(--text-secondary); line-height: 1.75; }
.faq-item .faq-a p { margin-bottom: 0.8rem; }
.faq-item .faq-a p:last-child { margin-bottom: 0; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: start; }
.form-field { margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-field label { font-size: 0.9rem; color: var(--text-secondary); }
.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  width: 100%;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: none; border-color: rgba(255, 255, 255, 0.5); }
.form-field select option { color: #243148; }
.contact-info {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 2rem;
}
.contact-info h3 { font-family: var(--font-display); margin-bottom: 1rem; }
.contact-info p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 1rem; font-size: 0.98rem; }
.contact-info a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.25); }
.contact-info a:hover { border-color: #fff; }
.map-embed {
  border-radius: 20px;
  overflow: hidden;
  margin-top: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 0;
}
.map-embed iframe { width: 100%; height: 340px; border: 0; }

/* ---- Portfolio ---- */
.brand-cloud { display: flex; flex-wrap: wrap; gap: 2rem 3.5rem; justify-content: center; align-items: center; max-width: 900px; margin: 0 auto; }
.brand-cloud span {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}
.brand-cloud span:hover { color: rgba(255, 255, 255, 0.8); }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .grid.cols-2, .grid.cols-3, .steps-inline, .contact-grid, .form-row { grid-template-columns: 1fr; }
  .page-hero { padding: 8rem 1.5rem 3rem; }
  .page-hero.with-crumbs { padding-top: 2rem; }
  .breadcrumbs { padding: 6.5rem 1.5rem 0; }
  .block { padding: 3.25rem 0; }
  .wrap, .wrap-narrow { padding: 0 1.5rem; }
}
