:root {
  --black: #111111;
  --white: #ffffff;
  --grey: #6b6558;
  --grey-light: #d9d4c9;
  --off-white: #f2f0ec;
  --red: #c8102e;
  --red-dark: #9c0c23;
  --max-width: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.55;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--grey-light);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo img { height: 48px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active { color: var(--red); }

.nav-cta {
  background: var(--black);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 800 !important;
}

.nav-cta:hover { background: var(--red); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--black);
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--grey-light);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 16px 24px; width: 100%; border-top: 1px solid var(--grey-light); }
  .nav-cta { border-radius: 0; text-align: center; }
}

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--red);
  color: var(--white);
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  padding: 8px 16px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  padding: 110px 0 90px;
}

.hero .skyline {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 260px;
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-inner { max-width: 640px; min-width: 0; flex: 1 1 320px; }

.hero-scholarship-cta {
  flex-shrink: 0;
  white-space: normal;
  text-align: center;
  margin-top: 4px;
  display: inline-block;
  padding: 26px 42px;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 8px;
  border: none;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 10px 30px rgba(200, 16, 46, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-scholarship-cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 40px rgba(200, 16, 46, 0.65);
}

@media (max-width: 900px) {
  .hero-scholarship-cta { width: 100%; }
}

.hero .mark {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--red);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  margin: 0 0 20px;
  font-weight: 900;
}

.hero p.lead {
  font-size: 18px;
  color: #d9d9d9;
  margin: 0 0 32px;
  max-width: 520px;
}

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }

.btn-outline { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--black); }

.btn-outline-dark { border-color: var(--black); color: var(--black); background: transparent; }
.btn-outline-dark:hover { background: var(--black); color: var(--white); }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
section.tight { padding: 56px 0; }
section.off-white { background: var(--off-white); }
section.black { background: var(--black); color: var(--white); }

.eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 12px;
}

h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 900;
  margin: 0 0 16px;
}

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p { color: var(--grey); font-size: 17px; }
section.black .section-head p { color: #c9c9c9; }

/* ---------- Grid / Cards ---------- */
.grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: 8px;
  padding: 32px 28px;
}

.card .num {
  font-size: 40px;
  font-weight: 900;
  color: var(--red);
  margin-bottom: 12px;
}

.card h3 { font-size: 20px; margin: 0 0 10px; font-weight: 800; }
.card p { margin: 0; color: var(--grey); font-size: 15px; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 780px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }

.lightbox-trigger { cursor: zoom-in; }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
}
.lightbox-close:hover { color: var(--red); }

.photo-slot {
  aspect-ratio: 4/3;
  border-radius: 8px;
  background: var(--off-white);
  border: 2px dashed var(--grey-light);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: var(--grey);
  font-size: 14px;
  font-weight: 600;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  border: 1px solid var(--grey-light);
  border-radius: 8px;
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--black);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  position: relative;
}

.price-card.featured::before {
  content: "MOST POPULAR";
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 999px;
}

.price-card h3 { font-size: 20px; font-weight: 800; margin: 8px 0 4px; }
.price-card .price { font-size: 36px; font-weight: 900; margin: 12px 0; }
.price-card .price span { font-size: 14px; font-weight: 600; color: var(--grey); }
.price-card ul { list-style: none; padding: 0; margin: 0 0 28px; text-align: left; flex-grow: 1; }
.price-card li { padding: 8px 0; border-top: 1px solid var(--grey-light); font-size: 14px; color: var(--grey); }
.price-note { font-size: 13px; color: var(--grey); margin-top: 24px; text-align: center; }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--grey-light);
  padding: 20px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--red); font-size: 22px; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--grey); margin: 14px 0 0; }

/* ---------- Contact Form ---------- */
.contact-form {
  background: var(--off-white);
  border: 1px solid var(--grey-light);
  border-radius: 8px;
  padding: 32px;
}

.contact-form h3 { margin: 0 0 6px; font-size: 20px; font-weight: 800; }
.contact-form > p { margin: 0 0 24px; color: var(--grey); font-size: 14px; }

.form-row { margin-bottom: 18px; }

.form-row label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 6px;
}

.form-row input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--grey-light);
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
  background: var(--white);
  color: var(--black);
}

.form-row input:focus {
  outline: none;
  border-color: var(--red);
}

.form-status {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
}
.form-status.success { color: #1a7a34; }
.form-status.error { color: var(--red); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

.info-row { display: flex; gap: 14px; margin-bottom: 22px; }
.info-row .label { font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; color: var(--red); width: 100px; flex-shrink: 0; }
.info-row .value { color: var(--black); font-size: 15px; }

.map-frame {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 8px;
  border: 0;
}

.social-row { display: flex; gap: 14px; margin-top: 8px; }
.social-row a {
  border: 1px solid var(--grey-light);
  border-radius: 6px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 14px;
}
.social-row a:hover { border-color: var(--red); color: var(--red); }

/* ---------- Book CTA banner ---------- */
.cta-banner {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 64px 24px;
}
.cta-banner h2 { margin-bottom: 10px; }
.cta-banner p { color: #c9c9c9; margin: 0 0 28px; }

/* ---------- Footer ---------- */
footer {
  background: var(--black);
  color: #bdbdbd;
  padding: 56px 0 28px;
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 2;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
footer h4 { color: var(--white); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 16px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 10px; font-size: 14px; }
footer a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid #2a2a2a;
  margin-top: 40px;
  padding-top: 24px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 2;
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Chat Widget ---------- */
.chat-bubble-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 200;
  font-size: 26px;
}
.chat-bubble-btn:hover { background: var(--red); }

.chat-panel {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 340px;
  max-width: calc(100vw - 32px);
  height: 480px;
  max-height: calc(100vh - 140px);
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.28);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 200;
  border: 1px solid var(--grey-light);
}
.chat-panel.open { display: flex; }

.chat-header {
  background: var(--black);
  color: var(--white);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.chat-header strong { font-size: 14px; letter-spacing: 0.3px; }
.chat-header button {
  background: none;
  border: none;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--off-white);
}

.chat-msg {
  max-width: 85%;
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.4;
  white-space: pre-wrap;
}
.chat-msg.assistant {
  background: var(--white);
  border: 1px solid var(--grey-light);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}
.chat-msg.user {
  background: var(--black);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}
.chat-msg.system {
  background: transparent;
  color: var(--grey);
  align-self: center;
  font-size: 12px;
  text-align: center;
  max-width: 100%;
}

.chat-input-row {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--grey-light);
  flex-shrink: 0;
  background: var(--white);
}
.chat-input-row input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--grey-light);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
}
.chat-input-row input:focus { outline: none; border-color: var(--red); }
.chat-input-row button {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 0 16px;
  font-weight: 800;
  cursor: pointer;
  font-size: 13px;
}
.chat-input-row button:disabled { opacity: 0.5; cursor: default; }

.chat-human-link {
  text-align: center;
  padding: 8px 12px 0;
  flex-shrink: 0;
}
.chat-human-link button {
  background: none;
  border: none;
  color: var(--grey);
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
  padding: 4px;
}

.chat-handoff {
  padding: 14px 16px;
  border-top: 1px solid var(--grey-light);
  background: var(--white);
  flex-shrink: 0;
}
.chat-handoff p { margin: 0 0 10px; font-size: 13px; color: var(--grey); }
.chat-handoff .form-row { margin-bottom: 8px; }
.chat-handoff input {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--grey-light);
  border-radius: 5px;
  font-size: 13px;
  font-family: inherit;
}
.chat-handoff input:focus { outline: none; border-color: var(--red); }
.chat-handoff button[type="submit"] {
  width: 100%;
  margin-top: 4px;
}

/* ---------- Featured program ---------- */
.feature {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-top: 4px solid var(--red);
  border-radius: 8px;
  padding: 40px;
}
.feature-head h2 { margin-bottom: 8px; }
.feature-by {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 16px;
}
.feature-lead { font-size: 18px; max-width: 62ch; margin: 0 0 20px; }
.pill-row { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 32px; }
.pill-row li {
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
}
.feature-grid {
  display: grid;
  gap: 28px;
  padding: 24px 0;
  border-top: 1px solid var(--grey-light);
}
.feature-grid.three { grid-template-columns: repeat(3, 1fr); }
.feature-grid.two { grid-template-columns: repeat(2, 1fr); }
.feature-grid h4 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
}
.feature-grid p { margin: 0 0 6px; font-size: 15px; }
.feature-grid .big { font-size: 38px; font-weight: 900; line-height: 1.1; margin-bottom: 4px; }
.plain-list { margin: 0; padding-left: 18px; font-size: 15px; }
.plain-list li { margin-bottom: 4px; }
.feature .btn { margin-top: 8px; }
@media (max-width: 820px) {
  .feature { padding: 28px 22px; }
  .feature-grid.three, .feature-grid.two { grid-template-columns: 1fr; gap: 20px; }
}
