/* ============================================================
   INNER PAGES — supplemental styles
   Loaded in addition to style.css on all inner pages
   ============================================================ */

/* === BREADCRUMBS === */
.breadcrumbs {
  background: var(--clr-bg-alt);
  border-bottom: 1px solid var(--clr-border);
  padding: var(--s3) 0;
  font-size: var(--t-sm);
  color: var(--clr-muted);
}
.breadcrumbs .container {
  display: flex;
  align-items: center;
  gap: var(--s2);
  flex-wrap: wrap;
}
.breadcrumbs a {
  color: var(--clr-muted);
  transition: color 0.18s;
}
.breadcrumbs a:hover { color: var(--clr-primary); }
.breadcrumbs [aria-current="page"] { color: var(--clr-primary-dark); font-weight: 500; }

/* === PAGE HEADER === */
.page-header {
  background: linear-gradient(135deg, var(--clr-primary-dark) 0%, var(--clr-primary) 100%);
  color: #fff;
  padding: var(--s16) 0;
  text-align: center;
}
.page-header h1 {
  font-size: clamp(var(--t-3xl), 5vw, var(--t-4xl));
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--s4);
}
.page-header p {
  font-size: var(--t-lg);
  opacity: 0.92;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}
@media (max-width: 767px) {
  .page-header { padding: var(--s12) 0; }
  .page-header p { font-size: var(--t-base); }
}

/* === SECTION PRIMARY (CTA sections with teal background) === */
.section-primary {
  background: linear-gradient(135deg, var(--clr-primary-dark) 0%, var(--clr-primary) 100%);
  color: #fff;
}
.section-primary .section-header h2 { color: #fff; }
.section-primary .section-header h2::after { background: rgba(255,255,255,0.55); }
.section-primary .section-header p { color: rgba(255,255,255,0.88); }

/* === BUTTON VARIANTS === */
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}
.btn-whatsapp:hover, .btn-whatsapp:focus-visible {
  background: #1da851;
  border-color: #1da851;
  box-shadow: 0 4px 14px rgba(37,211,102,0.40);
}

.btn-white {
  background: #fff;
  color: var(--clr-primary-dark);
  border-color: #fff;
}
.btn-white:hover, .btn-white:focus-visible {
  background: var(--clr-primary-light);
  border-color: var(--clr-primary-light);
}

/* === UTILITIES === */
.text-center { text-align: center; }

/* === CARD p text === */
.card p {
  font-size: var(--t-sm);
  color: var(--clr-muted);
  line-height: 1.7;
  margin-top: var(--s3);
}

/* === SERVICE CARD body p text === */
.service-card-body p {
  font-size: var(--t-sm);
  color: var(--clr-muted);
  line-height: 1.6;
  margin-top: var(--s2);
  margin-bottom: var(--s4);
}
.service-card-body .btn {
  margin-top: auto;
}

/* === TEAM GRID === */
.team-grid {
  display: grid;
  gap: var(--s5);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

.team-member {
  background: var(--clr-white);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform 0.22s, box-shadow 0.22s;
  display: flex;
  flex-direction: column;
}
.team-member:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh);
}
.team-member img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0;
  display: block;
}
.team-member-info {
  padding: var(--s4) var(--s5) var(--s5);
  flex: 1;
}
.team-member-info h3 {
  font-size: var(--t-base);
  font-weight: 600;
  margin-bottom: var(--s2);
}
.team-member-info p {
  font-size: var(--t-sm);
  color: var(--clr-muted);
  line-height: 1.6;
}

/* === RELATED SERVICES (no images) === */
.related-services .service-card-body {
  padding: var(--s6) var(--s5);
}

/* === CONTENT BLOCK (prose sections) === */
.content-block p {
  color: var(--clr-muted);
  line-height: 1.8;
  margin-bottom: var(--s4);
}
.content-block p:last-child { margin-bottom: 0; }
.content-block h2 {
  font-size: var(--t-2xl);
  font-weight: 700;
  margin-bottom: var(--s5);
}

/* === CARD GRID COLS-3 === */
@media (min-width: 640px) {
  .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}

/* === LEGAL PROSE === */
.legal-prose {
  max-width: 820px;
  margin: 0 auto;
}
.legal-prose > p,
.legal-prose > ul,
.legal-prose > ol {
  color: var(--clr-muted);
  line-height: 1.85;
  margin-bottom: var(--s5);
}
.legal-prose h2 {
  font-size: var(--t-xl);
  font-weight: 700;
  color: var(--clr-text);
  margin-top: var(--s10);
  margin-bottom: var(--s4);
}
.legal-prose h3 {
  font-size: var(--t-lg);
  font-weight: 600;
  color: var(--clr-text);
  margin-top: var(--s6);
  margin-bottom: var(--s3);
}
.legal-prose ul,
.legal-prose ol {
  list-style: disc;
  padding-left: var(--s6);
}
.legal-prose li {
  color: var(--clr-muted);
  line-height: 1.8;
  margin-bottom: var(--s2);
}
.legal-prose a {
  color: var(--clr-primary-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-prose a:hover { color: var(--clr-primary); }
.legal-prose .legal-update {
  margin-top: var(--s10);
  padding-top: var(--s5);
  border-top: 1px solid var(--clr-border);
  font-size: var(--t-sm);
  color: var(--clr-light-text);
  font-style: italic;
}

/* === MISSION QUOTE === */
.mission-quote {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-style: italic;
  color: var(--clr-text);
  line-height: 1.8;
  text-align: center;
}
.mission-quote::before,
.mission-quote::after { color: var(--clr-primary); font-style: normal; }
