/* ═══════════════════════════════════════════════
   RBRIDGE – INNER PAGES CSS
   ═══════════════════════════════════════════════ */

/* Page hero (all inner pages) */
.page-hero {
  background: var(--navy);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 50%, rgba(192,57,43,0.1) 0%, transparent 60%),
    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: auto, 60px 60px, 60px 60px;
  pointer-events: none;
}
.page-hero .section-eyebrow { position: relative; }
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}
.page-hero-desc {
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  font-size: 1rem;
  line-height: 1.7;
  position: relative;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.5rem;
  position: relative;
}
.breadcrumb a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.25); }

/* ── About page ─────────────────────────────── */
.about-body { max-width: 780px; }
.about-body p {
  color: var(--grey-text);
  margin-bottom: 1.1rem;
  font-size: 0.975rem;
  line-height: 1.8;
}
.about-body p:first-of-type { color: var(--text); font-size: 1.05rem; }

.about-values {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.value-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.value-icon {
  color: var(--red);
  font-size: 0.7rem;
  margin-top: 0.35rem;
  flex-shrink: 0;
}
.value-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.value-item p {
  font-size: 0.875rem;
  color: var(--grey-text);
  margin: 0;
}

/* ── Directors ──────────────────────────────── */
.directors-section .container { max-width: 900px; }
.director-card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: 12px;
  padding: 2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 1.5rem;
  transition: box-shadow 0.22s ease;
}
.director-card:hover { box-shadow: var(--shadow-md); }
.director-card.featured { border-color: var(--navy); border-left: 4px solid var(--red); }

.director-avatar {
  width: 72px; height: 72px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.director-avatar.small { width: 56px; height: 56px; font-size: 0.9rem; }

.director-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.director-role {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.85rem;
}
.director-bio {
  font-size: 0.875rem;
  color: var(--grey-text);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

/* ── Service inner page ─────────────────────── */
.service-page-body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3.5rem;
  align-items: start;
}
.service-page-content h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 1rem;
}
.service-page-content p {
  color: var(--grey-text);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.service-page-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 1.75rem 0 0.75rem;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.service-list li {
  font-size: 0.875rem;
  color: var(--grey-text);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}
.service-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 0.7rem;
}

/* Sidebar */
.service-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.sidebar-box {
  background: var(--grey-bg);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.sidebar-box h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1rem;
}
.sidebar-links { display: flex; flex-direction: column; gap: 0.4rem; }
.sidebar-links a {
  font-size: 0.85rem;
  color: var(--grey-text);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--grey-mid);
  transition: color 0.2s;
}
.sidebar-links a:hover { color: var(--red); }
.sidebar-links a:last-child { border-bottom: none; }

.sidebar-cta {
  background: var(--navy);
  border: none;
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.sidebar-cta h4 { color: var(--white); margin-bottom: 0.5rem; }
.sidebar-cta p { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-bottom: 1.25rem; }
.sidebar-cta .btn { width: 100%; justify-content: center; }

/* ── Updates page ───────────────────────────── */
.updates-page-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
}
.updates-list { display: flex; flex-direction: column; gap: 1rem; }
.update-card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.22s;
}
.update-card:hover { box-shadow: var(--shadow); }
.update-card .update-source {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.4rem;
}
.update-card .update-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
  line-height: 1.4;
}
.update-card .update-summary {
  font-size: 0.85rem;
  color: var(--grey-text);
  line-height: 1.65;
  margin-bottom: 0.5rem;
}
.update-card .update-date { font-size: 0.75rem; color: var(--grey-text); }
.updates-loading {
  text-align: center;
  padding: 3rem;
  color: var(--grey-text);
  font-size: 0.9rem;
}
.updates-loading::after {
  content: '';
  display: block;
  width: 32px; height: 32px;
  border: 3px solid var(--grey-mid);
  border-top-color: var(--navy);
  border-radius: 50%;
  margin: 1rem auto 0;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Contact page ───────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.contact-info p {
  font-size: 0.9rem;
  color: var(--grey-text);
  margin-bottom: 1.75rem;
  line-height: 1.65;
}
.contact-info a { color: var(--red); }
.contact-info a:hover { text-decoration: underline; }
.contact-form-box {
  background: var(--grey-bg);
  border: 1px solid var(--grey-mid);
  border-radius: 12px;
  padding: 2.5rem;
}
.contact-form-box h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.form-field { margin-bottom: 1.25rem; }
.form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--navy); }
.form-field textarea { resize: vertical; min-height: 120px; }

/* Responsive inner pages */
@media (max-width: 768px) {
  .service-page-body,
  .updates-page-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .director-card { grid-template-columns: 1fr; }
  .director-avatar { width: 52px; height: 52px; font-size: 0.85rem; }
}
