/* ===== Base ===== */
.homePage {
  --primary: #C9A227;
  --primary-dark: #A8841F;
  --accent: #B11226;
  --accent-hover: #8E0E1F;

  --bg: #ffffff;
  --surface: #F8F9FA;

  --text: #1F2933;
  --muted: #4B5563;

  --border: #E5E7EB;
  --shadow: 0 20px 60px rgba(2, 6, 23, 0.18);

  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
}

.homePage .page {
  width: 100%;
}

.homePage .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== Buttons ===== */
.homePage .btn {
  border: none;
  cursor: pointer;
  border-radius: 10px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease,
    color 0.2s ease, border-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.homePage .btn:hover {
  transform: translateY(-1px);
}

.homePage .btnPrimary {
  background: var(--accent);
  border: 1px solid var(--primary);
  color: #fff;
  padding: 10px 18px;
  box-shadow: 0 10px 22px rgba(14, 42, 71, 0.2);
}

.homePage .btnPrimary:hover {
  background: var(--accent-hover);
}

.homePage .btnAccent {
  background: var(--accent);
  border: 1px solid var(--primary);
  color: #fff;
  box-shadow: 0 12px 26px rgba(220, 38, 38, 0.28);
}

.homePage .btnAccent:hover {
  background: var(--accent-hover);
}

.homePage .btnGhost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.homePage .btnGhost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.homePage .btnLarge {
  height: 48px;
  padding: 0 22px;
  font-size: 16px;
}

.homePage .btnWhite {
  background: #fff;
  color: var(--primary);
  padding: 12px 18px;
  border-radius: 10px;
  box-shadow: 0 12px 26px rgba(2, 6, 23, 0.18);
}

.homePage .btnWhite:hover {
  color: var(--accent);
}

.homePage .btnOutlineWhite {
  background: transparent;
  color: #fff;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 10px;
}

.homePage .btnOutlineWhite:hover {
  background: rgba(255, 255, 255, 0.1);
}

.homePage .iconXs {
  font-size: 16px;
}
.homePage .iconSm {
  font-size: 20px;
}
.homePage .iconMd {
  font-size: 28px;
}

/* ===== Sections ===== */
.homePage .main {
  width: 100%;
}

.homePage .section {
  padding: 48px 0;
}

.homePage .sectionAlt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ===== Hero ===== */
.homePage .heroSection {
  padding: 0 0 32px;
}

.homePage .heroCard {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  min-height: 560px;
  background: var(--accent);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
}

.homePage .heroBg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.homePage .heroImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  mix-blend-mode: overlay;
}

.homePage .heroOverlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    rgba(142, 14, 31, 0.88) 55%,
    rgba(142, 14, 31, 0.12) 100%
  );
}

.homePage .heroContent {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 780px;
  padding: 0 32px 0 56px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.homePage .heroRightVisual {
  position: absolute;
  right: 98px;
  bottom: 78px;
  width: min(38%, 520px);
  height: 86%;
  z-index: 1;
  pointer-events: none;
  display: none;
}

.homePage .heroRightImage {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  opacity: 0.92;
  filter: drop-shadow(0 20px 36px rgba(17, 24, 39, 0.2));
}

.homePage .heroInstitute {
  margin: 0;
  font-size: 3rem;
  line-height: 1;
  font-weight: 900;
  color: #111827;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .homePage .heroSection {
    padding: 10px 0 28px;
  }

  .homePage .heroCard {
    min-height: 620px;
  }

  .homePage .heroContent {
    padding: 34px 22px 20px;
    gap: 16px;
  }

  .homePage .heroInstitute {
    font-size: 2.25rem;
    margin-top: 8px;
  }

  .homePage .heroTitle {
    font-size: 3rem;
    line-height: 1.08;
  }

  .homePage .heroDesc {
    font-size: 1.05rem;
    line-height: 1.65;
  }

  .homePage .rankAvatar {
    width: 110px;
    height: 110px;
  }
}

@media (max-width: 420px) {
  .homePage .heroContent {
    padding-top: 38px;
  }

  .homePage .heroInstitute {
    font-size: 2rem;
    margin-top: 10px;
  }

  .homePage .heroTitle {
    font-size: 2.65rem;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.25);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
}

.homePage .heroTitle {
  margin: 0;
  color: #f7f0d9;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-size: 42px;
}

.homePage .heroTitleHighlight {
  color: #E6D8A8;
  background: #fff;
  padding: 2px 10px;
  border-radius: 10px;
  display: inline-block;
  transform: none;
  box-shadow: 0 10px 20px rgba(2, 6, 23, 0.22);
}

.homePage .heroDesc {
  margin: 0;
  color: rgba(247, 240, 217, 0.95);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.7;
  max-width: 520px;
}

.homePage .heroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 8px;
}

.homePage .heroStats {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
}

.homePage .statValue {
  margin: 0;
  color: #f7f0d9;
  font-size: 28px;
  font-weight: 900;
}

.homePage .statLabel {
  margin: 0;
  font-size: 13px;
  color: rgba(230, 216, 168, 0.95);
}

.homePage .statDivider {
  width: 1px;
  height: 40px;
  background: rgba(230, 216, 168, 0.4);
}

/* ===== Grid helpers ===== */
.homePage .grid12 {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}

.homePage .col4,
.homePage .col8 {
  width: 100%;
}

/* ===== Headings ===== */
.homePage .h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.homePage .h2lg {
  margin: 0;
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.homePage .h2xl {
  margin: 8px 0 0;
  font-size: 34px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.homePage .muted {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 720px;
}

.homePage .sectionHeadRow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.homePage .badgeIcon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(220, 38, 38, 0.1);
  color: var(--accent);
}

/* ===== Rank cards ===== */
.homePage .rankCard {
  display: flex;
  gap: 18px;
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(2, 6, 23, 0.05);
  transition: box-shadow 0.2s ease;
  margin-top: 14px;
}

.homePage .rankCard:hover {
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.1);
}

.homePage .rankAvatar {
  width: 140px;
  height: 140px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  flex: 0 0 auto;
  background: #fff;
}

.homePage .rankAvatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.homePage .rankYear {
  position: absolute;
  right: -8px;
  bottom: -8px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(2, 6, 23, 0.2);
}

.homePage .rankTag {
  display: inline-block;
  color: var(--accent);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.homePage .rankTitle {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  color: var(--primary);
}

.homePage .rankSub {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.homePage .textLink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 900;
  color: var(--primary);
  transition: color 0.2s ease;
}

.homePage .textLink:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* ===== Features ===== */
.homePage .whyHead {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.homePage .whyHead .muted {
  font-size: 18px;
  line-height: 1.75;
}

.homePage .whyGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.homePage .featureCard {
  padding: 22px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid #F8F9FA;
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.homePage .featureCard:hover {
  background: #fff;
  border-color: rgba(14, 42, 71, 0.2);
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.08);
}

.homePage .featureIcon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(14, 42, 71, 0.06);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.homePage .featureCard:hover .featureIcon {
  background: var(--primary);
  color: #fff;
}

.homePage .featureTitle {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 900;
  color: var(--primary);
}

.homePage .featureText {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

/* ===== Programs ===== */
.homePage .programHead {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.homePage .eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.homePage .linkBtn {
  border: none;
  background: transparent;
  font-weight: 900;
  color: var(--primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  width: fit-content;
}

.homePage .linkBtn:hover {
  color: var(--accent);
}

.homePage .cards3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.homePage .courseCard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.homePage .courseCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.1);
}

.homePage .courseImgWrap {
  height: 192px;
  overflow: hidden;
  position: relative;
}

.homePage .courseImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.homePage .courseCard:hover .courseImg {
  transform: scale(1.05);
}

.homePage .courseTag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 12px;
  border-radius: 999px;
}

.homePage .courseBody {
  padding: 20px 22px;
}

.homePage .courseTitle {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 900;
  color: var(--accent);
}

.homePage .courseText {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;

  /* line-clamp 2 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.homePage .courseMeta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #F8F9FA;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.homePage .metaItem {
  font-size: 12px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.homePage .metaLink {
  font-size: 14px;
  font-weight: 900;
  color: var(--accent);
}

.homePage .metaLink:hover {
  color: var(--accent);
}

/* ===== CTA ===== */
.homePage .cta {
  position: relative;
  border-radius: var(--radius-2xl);
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  overflow: hidden;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow);
}

.homePage .ctaDots {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(circle at 2px 2px, #fff 1px, transparent 0);
  background-size: 24px 24px;
}

.homePage .ctaGlow {
  position: absolute;
  right: -64px;
  top: -64px;
  width: 256px;
  height: 256px;
  border-radius: 999px;
  background: rgba(196, 22, 28, 0.28);
  filter: blur(48px);
}

.homePage .ctaText {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 720px;
  text-align: center;
}

.homePage .ctaTitle {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 900;
}

.homePage .ctaDesc {
  margin: 0;
  color: rgba(253, 235, 237, 0.92);
  font-size: 16px;
  line-height: 1.7;
}

.homePage .ctaHighlight {
  font-weight: 900;
  color: #fff;
  background: var(--accent);
  padding: 2px 8px;
  border-radius: 6px;
}

.homePage .ctaActions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

/* ===== Testimonials ===== */
.homePage .centerHead {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.homePage .quoteCard {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(2, 6, 23, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.homePage .quoteIcon {
  color: var(--accent);
  margin-bottom: 10px;
}

.homePage .quoteIcon .material-symbols-outlined {
  font-size: 42px;
}

.homePage .quoteText {
  margin: 0 0 18px;
  color: rgba(15, 23, 42, 0.86);
  font-size: 13px;
  line-height: 1.75;
  flex: 1;
}

.homePage .quoteUser {
  display: flex;
  align-items: center;
  gap: 12px;
}

.homePage .avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  overflow: hidden;
  background: #E5E7EB;
}

.homePage .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.homePage .quoteName {
  margin: 0;
  font-size: 13px;
  font-weight: 900;
  color: var(--primary);
}

.homePage .quoteMeta {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.homePage .testimonialImageCard {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(2, 6, 23, 0.05);
  align-self: start;
}

.homePage .testimonialsGrid {
  align-items: start;
}

.homePage .testimonialImage {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: top center;
  background: #fff;
}

/* ===== Responsive ===== */
@media (min-width: 640px) {
  .homePage .container {
    padding: 0 24px;
  }
  .homePage .heroInstitute {
    font-size: 3.4rem;
  }
  .homePage .heroTitle {
    font-size: 52px;
  }
  .homePage .ctaActions {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .homePage .heroTitle {
    white-space: nowrap;
  }

  .homePage .cards3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .homePage .whyGrid {
    grid-template-columns: repeat(3, 1fr);
  }
  .homePage .programHead {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .homePage .grid12 {
    grid-template-columns: repeat(12, 1fr);
    gap: 40px;
  }
  .homePage .col4 {
    grid-column: span 4;
  }
  .homePage .col8 {
    grid-column: span 8;
  }

  .homePage .heroSection {
    padding: 28px 0 48px;
  }
  .homePage .heroContent {
    padding: 0 64px 0 200px;
  }

  .homePage .heroRightVisual {
    display: block;
  }
}

.shellNav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #1f2933;
  border-bottom: 1px solid #e6d8a8;
  margin: 0;
}

.shellNavInner {
  max-width: 100%;
  margin: 0 auto;
  padding: 10px 12px 10px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.shellBrand {
  color: #f8f9fa;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  min-width: 0;
  flex: 0 0 auto;
}

.shellBrandLogoFrame {
  width: 80px;
  height: 80px;
  flex: 0 0 64px;
  display: inline-block;
  margin-left: 0;
}

.shellBrandLogo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}



.shellBrandText {
  font-size: 1.2rem;
  line-height: 1;
  color: #f7f0d9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shellLinks {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1;
  justify-content: center;
  align-items: center;
}

.shellLink {
  color: #f7f0d9;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid transparent;
}

.shellLinkDost {
  background: #8e0e1f;
  border-color: #e6d8a8;
  color: #f7f0d9;
  font-weight: 700;
  min-width: 74px;
  min-height: 38px;
  padding: 8px 16px;
}

.shellLinkDost:hover {
  background: #b11226;
}

.shellLinkActive {
  color: #111827;
  background: #f7f0d9;
  border-color: #e6d8a8;
  font-weight: 700;
}

.shellLinkDost.shellLinkActive {
  color: #f7f0d9;
  background: #b11226;
  border-color: #e6d8a8;
}

.shellMenuBtn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(230, 216, 168, 0.5);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.shellMenuBtn span {
  width: 18px;
  height: 2px;
  background: #f7f0d9;
  border-radius: 4px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.shellDostQuick {
  display: none;
  text-decoration: none;
  background: #8e0e1f;
  border: 1px solid #e6d8a8;
  color: #f7f0d9;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 12px;
  line-height: 1;
}

.shellDrawerBackdrop {
  display: none;
}

.shellDrawer {
  display: none;
}

@media (max-width: 720px) {
  .shellNavInner {
    padding: 10px 12px;
    align-items: center;
  }

  .shellBrand {
    gap: 10px;
    min-width: 0;
  }

  .shellBrandText {
    font-size: 1rem;
    white-space: nowrap;
    padding-top: 4px;
  }

  .shellLinks {
    display: none;
  }

  .shellMenuBtn {
    display: inline-flex;
    margin-left: 0;
    order: 3;
  }

  .shellDostQuick {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 2;
    margin-left: auto;
  }

  .shellDrawerBackdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 998;
  }

  .shellDrawerBackdropOpen {
    opacity: 1;
    pointer-events: auto;
  }

  .shellDrawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 300px);
    background: #1f2933;
    border-left: 1px solid rgba(230, 216, 168, 0.4);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 999;
    padding: 16px 14px;
  }

  .shellDrawerOpen {
    transform: translateX(0);
  }

  .shellDrawerHead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #f7f0d9;
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(230, 216, 168, 0.3);
  }

  .shellDrawerClose {
    border: none;
    background: transparent;
    color: #f7f0d9;
    font-size: 1.2rem;
    cursor: pointer;
  }

  .shellDrawerLinks {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .shellDrawerLink {
    color: #f7f0d9;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-weight: 600;
  }

  .shellDrawerLinkActive {
    color: #111827;
    background: #f7f0d9;
    border-color: #e6d8a8;
  }

  .shellDrawerLinkDost {
    background: #8e0e1f;
    border-color: #e6d8a8;
    color: #f7f0d9;
    font-weight: 700;
    min-height: 44px;
    padding: 12px 14px;
  }

  .shellDrawerLinkDost.shellDrawerLinkActive {
    color: #f7f0d9;
    background: #b11226;
  }

  .shellBrandLogo {
    transform: scale(1.08);
  }

  .shellBrandLogoFrame {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
    margin-left: 0;
  }
}

@media (max-width: 400px) {
  .shellBrandText {
    font-size: 0.88rem;
    white-space: nowrap;
    padding-top: 3px;
  }

  .shellDrawer {
    width: 84vw;
  }

  .shellBrandLogoFrame {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }
}

:root {
  font-family: "Manrope", sans-serif;
  --theme-white: #ffffff;
  --theme-soft-bg: #f8f9fa;
  --theme-card: #ffffff;
  --theme-border: #e5e7eb;
  --theme-red: #b11226;
  --theme-red-hover: #8e0e1f;
  --theme-cta-red: #c4161c;
  --theme-gold: #c9a227;
  --theme-gold-dark: #a8841f;
  --theme-gold-soft: #f7f0d9;
  --theme-gold-border: #e6d8a8;
  --theme-text: #1f2933;
  --theme-text-strong: #111827;
}

* {
  box-sizing: border-box;
}

html,
body,
#root {
  margin: 0;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--theme-text);
  background: var(--theme-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--theme-white);
}

.appContent {
  flex: 1;
}

.appLoading {
  min-height: 30vh;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--theme-text);
}

.shellFooter {
  margin-top: auto;
  background: var(--theme-text);
  color: var(--theme-gold-soft);
  border-top: 1px solid rgba(230, 216, 168, 0.4);
}

.shellFooterInner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 18px 18px;
}

.shellFooterGrid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 28px;
}

.shellFooterBrandCol {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shellFooterDesc {
  margin: 0;
  color: #f8f9fa;
  line-height: 1.5;
  max-width: 320px;
}

.shellFooterTitle {
  margin: 14px 0 4px;
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 800;
  color: #ffffff;
}

.shellFooterCol .shellFooterTitle {
  margin-top: 0;
  font-size: 2rem;
}

.shellFooterContact p {
  margin: 0;
  color: #e5e7eb;
  line-height: 1.5;
}

.shellFooterLogo {
  width: 86px;
  height: 86px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  border: none;
  padding: 0;
  margin: 0;
  display: block;
  margin-bottom: 6px;
}

.shellFooterContact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.shellFooterLinks {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.shellFooterContact a,
.shellFooterLinks a {
  color: #e5e7eb;
  text-decoration: none;
  transition: color 0.2s ease;
}

.shellFooterContact a:hover,
.shellFooterLinks a:hover {
  color: var(--theme-gold);
}

.shellFooterBottom {
  margin-top: 28px;
  border-top: 1px solid rgba(230, 216, 168, 0.35);
  padding-top: 14px;
  text-align: center;
}

.shellFooterBottom p {
  margin: 0;
  color: #e5e7eb;
}

@media (max-width: 980px) {
  .shellFooterGrid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .shellFooterInner {
    padding: 32px 16px 16px;
  }

  .shellFooterGrid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .shellFooterTitle {
    font-size: 1.35rem;
  }

  .shellFooterCol .shellFooterTitle {
    font-size: 1.3rem;
  }
}

/* Hide page-level navbars/footers since shell provides shared ones */
.appContent > .page > .topbar,
.appContent > .page > .header,
.appContent > .page > .footer,
.appContent > .facPage > .facHeader,
.appContent > .facPage > .facFooter,
.appContent > .galPage > .galHeader,
.appContent > .galPage > .galFooter,
.appContent > .ssPage > .ssHeader,
.appContent > .ssPage > .ssFooter,
.appContent > .ssPage > .ssMobileNav,
.appContent > .schPage > .schHeader,
.appContent > .schPage > .schFooter,
.appContent > .tcPage > .tcHeader,
.appContent > .tcPage > .tcFooter {
  display: none !important;
}

