/* ════════════════════════════════════════
   MCAS — Pages Shared CSS
   Used by: success-stories, life-at-mcas, about, people,
            parents-students, news-events, contact
════════════════════════════════════════ */

/* ── Page Hero (reused across all pages) ── */
.pg-hero {
  background: var(--navy-deep);
  padding: 9rem 4rem 6rem;
  position: relative; overflow: hidden;
  text-align: center;
}
.pg-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
}
.pg-hero-inner { max-width: 900px; margin: 0 auto; position: relative; z-index: 2; }
.pg-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 1.5rem;
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--red);
}
.pg-hero-eyebrow span { width: 24px; height: 1.5px; background: var(--red); display: block; }
.pg-hero-title {
  font-family: var(--f-display);
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 800; line-height: 1.08; color: var(--white);
  margin-bottom: 1.25rem;
}
.pg-hero-title em { font-style: italic; color: #a87cff; }
.pg-hero-sub {
  font-size: 16px; font-weight: 300; line-height: 1.8;
  color: rgba(255,255,255,0.65);
  max-width: 580px; margin: 0 auto 2.5rem;
}
.pg-hero-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: var(--white);
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 14px 30px; border-radius: 4px; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.pg-hero-btn:hover { background: var(--red-light); transform: translateY(-2px); }

/* ── Section wrapper ── */
.pg-section { padding: 6rem 4rem; }
.pg-section.bg-mist { background: var(--mist-warm); }
.pg-section.bg-navy { background: var(--navy-deep); }
.pg-section.bg-white { background: var(--white); }
.pg-inner { max-width: 1200px; margin: 0 auto; }

/* ── Section heading ── */
.pg-section-label {
  display: flex; align-items: center; gap: 12px; margin-bottom: 0.75rem;
}
.pg-section-bar { width: 30px; height: 2.5px; background: var(--red); border-radius: 2px; }
.pg-section-tag {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--red);
}
.pg-section-h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 3.5vw, 48px);
  color: var(--navy-dark); line-height: 1.15;
  margin-bottom: 1rem;
}
.pg-section-h2 em { font-style: italic; color: var(--purple); }
.pg-section-h2.white { color: var(--white); }
.pg-section-body {
  font-size: 15px; font-weight: 300; line-height: 1.85;
  color: var(--ink-mid); max-width: 620px;
}
.pg-section-body.white { color: rgba(255,255,255,0.65); }
.pg-section-head-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: end; margin-bottom: 4rem;
}

/* ── Story cards (Success Stories) ── */
.story-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: 320px 260px;
  gap: 16px; margin-bottom: 2rem;
}
.story-card {
  position: relative; border-radius: 16px; overflow: hidden;
  background: var(--navy-dark);
  transition: transform 0.4s ease;
}
.story-card:hover { transform: scale(1.015); }
.story-card.tall { grid-row: 1 / 3; }
.story-card-img { position: absolute; inset: 0; }
.story-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.story-card-grad {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,15,56,0.95) 0%, rgba(8,15,56,0.4) 50%, transparent 80%);
}
.story-card-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.75rem; }
.story-badge {
  display: inline-block; margin-bottom: 0.75rem;
  background: var(--red); color: var(--white);
  font-family: var(--mono); font-size: 9px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px;
}
.story-name { font-family: var(--serif); font-size: 22px; color: var(--white); line-height: 1.1; margin-bottom: 3px; }
.story-role { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); margin-bottom: 0.75rem; }
.story-quote { font-size: 13px; font-weight: 300; line-height: 1.65; color: rgba(255,255,255,0.7); font-style: italic; }
.story-card.small .story-name { font-size: 18px; }
.story-card.small .story-quote { display: none; }

/* Video testimonial */
.video-placeholder {
  border-radius: 16px; overflow: hidden; position: relative;
  background: var(--navy-deep); min-height: 420px;
  display: flex; align-items: center; justify-content: center;
  border: 2px dashed rgba(232,62,49,0.3);
}
.video-placeholder-inner { text-align: center; }
.video-play-btn {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--red); display: flex; align-items: center;
  justify-content: center; margin: 0 auto 1.5rem;
  box-shadow: 0 0 0 16px rgba(232,62,49,0.15);
}
.video-label {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* ── Gallery grid (Life at MCAS) ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 12px; margin-bottom: 3rem;
}
.gallery-item {
  border-radius: 12px; overflow: hidden;
  background: var(--navy-dark);
  position: relative;
}
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--navy-mid), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
}

/* ── About — Values bento ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-bottom: 3rem;
}
.value-card {
  padding: 2rem; border-radius: 12px;
  border: 1px solid rgba(13,27,94,0.08);
  background: var(--white);
  transition: transform 0.3s, box-shadow 0.3s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(13,27,94,0.08); }
.value-icon { font-size: 32px; margin-bottom: 1rem; }
.value-title {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--red); margin-bottom: 0.5rem;
}
.value-body { font-size: 13.5px; font-weight: 300; line-height: 1.7; color: var(--ink-mid); }

/* Vision/Mission cards */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 3rem; }
.vm-card { padding: 2.5rem; border-radius: 16px; }
.vm-card.vision { background: var(--navy-deep); }
.vm-card.mission { background: var(--purple); }
.vm-label {
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 1rem;
}
.vm-text {
  font-family: var(--serif); font-size: 20px;
  color: var(--white); line-height: 1.5;
}

/* Partners grid */
.partners-grid {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem;
}
.partner-logo-box {
  display: flex; align-items: center; justify-content: center;
  padding: 1rem 2rem; border-radius: 10px;
  background: var(--mist-warm);
  border: 1px solid rgba(13,27,94,0.08);
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  color: var(--navy); transition: border-color 0.2s, background 0.2s;
  min-width: 140px;
}
.partner-logo-box:hover { border-color: var(--navy); background: var(--white); }

/* ── People grid ── */
.people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.person-card {
  text-align: center;
  transition: transform 0.3s;
}
.person-card:hover { transform: translateY(-6px); }
.person-photo {
  width: 100%; aspect-ratio: 1;
  border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-mid), var(--purple));
  margin-bottom: 1.25rem; position: relative;
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.person-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: rgba(255,255,255,0.2);
}
.person-name {
  font-family: var(--serif); font-size: 18px;
  color: var(--navy-dark); margin-bottom: 4px;
}
.person-role {
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red);
}
.person-bio {
  font-size: 12.5px; font-weight: 300; line-height: 1.65;
  color: var(--ink-mid); margin-top: 0.75rem;
}

/* ── FAQ (Parents & Students) ── */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid rgba(13,27,94,0.08);
}
.faq-item:first-child { border-top: 1px solid rgba(13,27,94,0.08); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 0; cursor: pointer;
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  color: var(--navy-dark); gap: 1rem;
  user-select: none; list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(232,62,49,0.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--red);
  transition: background 0.2s, transform 0.3s;
  font-size: 18px; font-weight: 300;
}
details[open] .faq-icon { background: var(--red); color: var(--white); transform: rotate(45deg); }
.faq-a {
  padding: 0 0 1.5rem;
  font-size: 14px; font-weight: 300; line-height: 1.8;
  color: var(--ink-mid);
}

/* ── Blog / News cards ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(13,27,94,0.08);
  background: var(--white);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(13,27,94,0.1); }
.blog-img {
  height: 200px; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-mid), var(--purple));
}
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
}
.blog-body { padding: 1.5rem; }
.blog-cat {
  font-family: var(--mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 0.75rem;
}
.blog-title {
  font-family: var(--serif); font-size: 20px;
  color: var(--navy-dark); line-height: 1.25;
  margin-bottom: 0.75rem;
}
.blog-excerpt {
  font-size: 13px; font-weight: 300; line-height: 1.65;
  color: var(--ink-mid); margin-bottom: 1.25rem;
}
.blog-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: 10px;
  color: rgba(13,27,94,0.3);
}
.blog-read-more {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--red); font-weight: 700;
  transition: gap 0.2s;
}
.blog-card:hover .blog-read-more { gap: 10px; }

/* ── Contact form ── */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 420px;
  gap: 5rem; align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(13,27,94,0.5);
}
.form-input, .form-select, .form-textarea {
  padding: 13px 16px;
  background: var(--mist-warm);
  border: 1.5px solid rgba(13,27,94,0.1);
  border-radius: 8px;
  font-family: var(--sans); font-size: 14px; font-weight: 400;
  color: var(--navy-dark);
  transition: border-color 0.2s, background 0.2s;
  outline: none; width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--red);
  background: var(--white);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-select { appearance: none; cursor: pointer; }
.form-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--red); color: var(--white);
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 15px 36px; border-radius: 8px;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 24px rgba(232,62,49,0.35);
  align-self: flex-start;
}
.form-submit:hover { background: var(--red-light); transform: translateY(-2px); }

/* Contact sidebar */
.contact-sidebar { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card {
  background: var(--navy-deep); border-radius: 16px; padding: 2rem;
}
.contact-info-title {
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 1.5rem;
}
.contact-detail {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 1.25rem;
}
.contact-detail:last-child { margin-bottom: 0; }
.contact-detail-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(232,62,49,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 16px;
}
.contact-detail-label {
  font-family: var(--mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); margin-bottom: 3px;
}
.contact-detail-val {
  font-size: 13.5px; font-weight: 400;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  display: block;
}
.contact-detail-val:hover { color: var(--red); }
.map-embed {
  border-radius: 16px; overflow: hidden;
  height: 240px; background: var(--mist-warm);
  border: 1px solid rgba(13,27,94,0.08);
}
.map-embed iframe { width: 100%; height: 100%; border: none; }
.contact-wa-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #25d366; color: var(--white);
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 14px; border-radius: 10px; text-decoration: none;
  transition: background 0.2s; width: 100%;
}
.contact-wa-btn:hover { background: #1db954; }
