@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700;9..144,800&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --navy: #062b55;
  --navy-dark: #041f3d;
  --green: #147a63;
  --green-dark: #0b604d;
  --green-bright: #20c997;
  --gold: #ffc600;
  --gold-dark: #f2b800;
  --coral: #ff4f68;
  --blue: #4d8dff;
  --cream: #fffaf0;
  --page: #f7fafc;
  --soft-blue: #eef5fa;
  --text: #102033;
  --muted: #65758b;
  --border: #e5edf5;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(6, 43, 85, 0.12);
  --soft-shadow: 0 10px 26px rgba(6, 43, 85, 0.08);
  --radius: 8px;
  --image-radius: 26px;
  --primary: var(--navy);
  --primary-dark: var(--navy-dark);
  --secondary: var(--gold);
  --accent: var(--green);
  --text-dark: var(--text);
  --text-light: var(--muted);
  --light-bg: var(--page);
  --line: var(--border);
  --bg: var(--page);
  --blue-bg: var(--soft-blue);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(180deg, rgba(238, 245, 250, 0.96) 0, rgba(247, 250, 252, 0.92) 420px, var(--white) 880px),
    linear-gradient(90deg, rgba(6, 43, 85, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(6, 43, 85, 0.04) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
  color: var(--text);
  font-family: "Manrope", Arial, Helvetica, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul,
ol {
  padding-left: 1.2rem;
}

:focus-visible {
  outline: 3px solid rgba(255, 198, 0, 0.72);
  outline-offset: 4px;
}

.container {
  margin: 0 auto;
  width: min(1180px, calc(100% - 32px));
}

.section {
  padding: 54px 0;
  position: relative;
}

.section-tight {
  padding: 58px 0;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(238, 245, 250, 0.92), rgba(247, 250, 252, 0.98));
  border-bottom: 1px solid rgba(229, 237, 245, 0.72);
  border-top: 1px solid rgba(229, 237, 245, 0.72);
}

.section-navy {
  background: var(--navy-dark);
  color: var(--white);
}

.section-head {
  margin: 0 0 34px;
  max-width: 780px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  align-items: center;
  color: var(--green);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  gap: 9px;
  letter-spacing: 0;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.eyebrow:before {
  background: var(--gold);
  border-radius: 999px;
  content: "";
  height: 8px;
  width: 8px;
}

h1,
h2,
h3 {
  color: var(--navy-dark);
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: 4.15rem;
  max-width: 900px;
}

h2 {
  font-size: 2.85rem;
}

h3 {
  font-size: 1.28rem;
}

.card h2,
.form-field + h2 {
  font-size: 1.75rem;
}

p {
  color: var(--muted);
}

.lead {
  color: #43546b;
  font-size: 1.12rem;
  margin-top: 18px;
  max-width: 720px;
}

.small-copy {
  color: var(--muted);
  font-size: 0.94rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.btn:hover {
  box-shadow: var(--soft-shadow);
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}

.btn-primary:hover {
  background: var(--gold-dark);
}

.btn-secondary {
  background: var(--navy);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--green);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.split {
  align-items: center;
  display: grid;
  gap: 58px;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(229, 237, 245, 0.98);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  padding: 28px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  border-color: rgba(20, 122, 99, 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card h3 {
  margin-bottom: 10px;
}

.card ul {
  color: var(--muted);
  margin-top: 12px;
}

.card .photo-card {
  aspect-ratio: 4 / 3;
  margin: -10px 0 20px;
  min-height: 0;
}

.card-navy {
  background: var(--navy);
  border-color: rgba(255, 255, 255, 0.12);
}

.card-navy h2,
.card-navy h3,
.card-navy p,
.card-navy li {
  color: var(--white);
}

.card-gold {
  background: var(--gold);
  border-color: rgba(6, 43, 85, 0.12);
}

.card-gold h3,
.card-gold p {
  color: var(--navy-dark);
}

.icon {
  align-items: center;
  background: var(--soft-blue);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--green-dark);
  display: inline-flex;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  margin-bottom: 16px;
  width: 46px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(229, 237, 245, 0.96);
  border-radius: 999px;
  color: var(--navy);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 900;
  padding: 9px 14px;
}

.photo-card,
.image-panel img,
.gallery-tile img {
  filter: saturate(1.02) contrast(1.02);
  transition: transform 0.45s ease;
}

.photo-card {
  border-radius: var(--image-radius);
  box-shadow: var(--soft-shadow);
  display: block;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  width: 100%;
}

.image-panel {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--image-radius);
  box-shadow: var(--shadow);
  min-height: 380px;
  overflow: hidden;
  position: relative;
}

.image-panel img {
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  width: 100%;
}

.image-panel:hover img,
.gallery-tile:hover img,
.card:hover .photo-card {
  transform: scale(1.04);
}

.image-panel:after,
.gallery-tile:after {
  background: linear-gradient(180deg, rgba(4, 31, 61, 0.02), rgba(4, 31, 61, 0.76));
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.image-caption {
  bottom: 22px;
  color: var(--white);
  font-weight: 900;
  left: 22px;
  line-height: 1.25;
  max-width: 78%;
  position: absolute;
  right: 22px;
  z-index: 1;
}

.page-banner {
  background:
    linear-gradient(115deg, rgba(4, 31, 61, 0.96), rgba(20, 122, 99, 0.82)),
    url("../images/folder-3/2.jpeg") center / cover;
  color: var(--white);
  overflow: hidden;
  padding: 92px 0 98px;
  position: relative;
}

.page-banner h1,
.page-banner p {
  color: var(--white);
}

.page-banner p {
  max-width: 780px;
  opacity: 0.92;
}

.cta-block {
  background:
    linear-gradient(135deg, rgba(4, 31, 61, 0.97), rgba(6, 43, 85, 0.94)),
    url("../images/folder-3/19.jpeg") center / cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--white);
  overflow: hidden;
  padding: 54px;
  position: relative;
}

.cta-block:before {
  background: linear-gradient(90deg, var(--gold), var(--green-bright), var(--blue));
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.cta-block h2,
.cta-block h3,
.cta-block p,
.cta-block li {
  color: var(--white);
  max-width: 780px;
  position: relative;
}

.list-clean {
  list-style: none;
  padding-left: 0;
}

.list-clean li {
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  padding: 10px 0;
}

.timeline {
  counter-reset: step;
  display: grid;
  gap: 18px;
}

.timeline-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  padding: 24px 24px 24px 82px;
  position: relative;
}

.timeline-item:before {
  align-items: center;
  background: var(--gold);
  border-radius: 50%;
  color: var(--navy-dark);
  content: counter(step);
  counter-increment: step;
  display: flex;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  left: 24px;
  position: absolute;
  top: 24px;
  width: 44px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  color: var(--navy-dark);
  font-weight: 900;
}

.form-field input,
.form-field textarea,
.form-field select {
  background: var(--page);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font: inherit;
  min-height: 48px;
  padding: 12px 14px;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-message {
  color: var(--green);
  display: block;
  font-weight: 900;
  margin-top: 14px;
}

.fade-up {
  animation: fadeUp 0.7s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* ===== PRELOADER ===== */
.preloader {
  align-items: center;
  background:
    radial-gradient(circle at 50% 42%, #ffffff 0%, #fbf6ec 70%);
  display: flex;
  flex-direction: column;
  gap: 24px;
  inset: 0;
  justify-content: center;
  position: fixed;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  z-index: 9999;
}

.preloader.is-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.preloader-inner {
  display: grid;
  height: 132px;
  place-items: center;
  position: relative;
  width: 132px;
}

.preloader-ring {
  animation: pl-spin 1s linear infinite;
  border: 4px solid rgba(6, 43, 85, 0.12);
  border-radius: 50%;
  border-right-color: var(--gold);
  border-top-color: var(--gold);
  inset: 0;
  position: absolute;
}

.preloader-logo {
  animation: pl-pulse 1.6s ease-in-out infinite;
  height: 96px;
  object-fit: contain;
  width: 96px;
}

.preloader-text {
  animation: pl-fade 1.6s ease-in-out infinite;
  color: var(--navy-dark);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-align: center;
}

@keyframes pl-spin {
  to { transform: rotate(360deg); }
}

@keyframes pl-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.09); }
}

@keyframes pl-fade {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .preloader-ring,
  .preloader-logo,
  .preloader-text {
    animation: none !important;
  }
}


/* ===== Inner-page banner: clear image, centered page name, no overlay ===== */
.page-banner {
  align-items: center;
  background-color: var(--navy-dark);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  min-height: clamp(280px, 31vw, 400px);
  padding: 40px 20px;
  position: relative;
  text-align: center;
}

/* Very light tint so the page name stays legible */
.page-banner::before {
  background: rgba(0, 0, 0, 0.34);
  content: "";
  inset: 0;
  position: absolute;
}

.page-banner .page-banner-title {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 0.5px;
  margin: 0;
  max-width: none;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.55);
}

/* ===== Justify descriptive paragraphs site-wide ===== */
p {
  text-align: justify;
  text-justify: inter-word;
}

/* Keep centered intros / centered components centered */
.center p,
[class*="center"] p,
[class*="-head"] p,
.leader-card-body p,
.foundation-top p,
.page-banner p,
.footer-bottom p,
[style*="text-align: center"] p {
  text-align: center;
}



/* ============ Inner pages: welcome marquee + livelier hover micro-interactions ============ */
.welcome-marquee {
  background: var(--gold);
  border-bottom: 3px solid var(--navy-dark);
  border-top: 3px solid var(--navy-dark);
  overflow: hidden;
  white-space: nowrap;
}

.welcome-marquee-track {
  align-items: center;
  animation: aboutMarquee 30s linear infinite;
  display: inline-flex;
  gap: 30px;
  padding: 12px 15px;
  will-change: transform;
}

.welcome-marquee-track span {
  color: var(--navy-dark);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.welcome-marquee-track em {
  color: var(--navy-dark);
  font-size: 0.85rem;
  opacity: 0.7;
}

.welcome-marquee:hover .welcome-marquee-track {
  animation-play-state: paused;
}

@keyframes aboutMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Card hover energy (existing palette only) */
.foundation-timeline article,
.growth-journey-item {
  border-radius: 16px;
  position: relative;
  transition: background 0.28s ease, transform 0.28s ease;
}

.foundation-timeline article::before,
.growth-journey-item::before {
  background: var(--gold);
  border-radius: 0 4px 4px 0;
  bottom: 14px;
  content: '';
  left: 0;
  position: absolute;
  top: 14px;
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.32s ease;
  width: 4px;
}

.foundation-timeline article:hover,
.growth-journey-item:hover {
  background: rgba(255, 198, 0, 0.1);
  transform: translateY(-3px);
}

.foundation-timeline article:hover::before,
.growth-journey-item:hover::before {
  transform: scaleY(1);
}

/* Number-badge pop on hover */
.foundation-timeline article > span,
.growth-journey-item > span,
.profile-rail article span {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.foundation-timeline article:hover > span,
.growth-journey-item:hover > span {
  transform: scale(1.1) rotate(-6deg);
}

.profile-rail article:hover span {
  transform: scale(1.16);
}

@media (prefers-reduced-motion: reduce) {
  .welcome-marquee-track { animation: none; }
}


/* ============ Inner pages: stats band (count-up) ============ */
.about-stats-band {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 198, 0, 0.16), transparent 42%),
    radial-gradient(circle at 88% 90%, rgba(32, 201, 151, 0.12), transparent 46%),
    linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 48px 0;
}

.about-stats-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-stat-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 28px 18px;
  text-align: center;
  transition: background 0.26s ease, box-shadow 0.26s ease, transform 0.26s ease;
}

.about-stat-card:hover {
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34);
  transform: translateY(-6px);
}

.about-stat-ic {
  align-items: center;
  background: rgba(255, 198, 0, 0.16);
  border-radius: 16px;
  color: var(--gold);
  display: inline-flex;
  height: 52px;
  justify-content: center;
  margin-bottom: 8px;
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
  width: 52px;
}

.about-stat-ic svg { height: 26px; width: 26px; }
.about-stat-card:hover .about-stat-ic { transform: scale(1.12) rotate(-6deg); }

.about-stat-num {
  color: var(--gold);
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.05;
}

.about-stat-label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* ============ Inner pages: culture-note icon badges ============ */
.culture-notes article { grid-template-columns: 58px minmax(0, 1fr); }

.culture-notes article > span.culture-note-ic {
  align-items: center;
  background: linear-gradient(140deg, var(--gold), var(--green-bright));
  border-radius: 18px;
  color: var(--navy-dark);
  display: inline-flex;
  height: 58px;
  justify-content: center;
  min-height: 0;
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
  width: 58px;
}

.culture-notes article:nth-child(2) > span.culture-note-ic {
  background: linear-gradient(140deg, var(--blue), var(--coral));
}

.culture-note-ic svg { height: 28px; width: 28px; }
.culture-notes article:hover > span.culture-note-ic { transform: scale(1.1) rotate(-6deg); }

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


/* =====================================================================
   VIBRANT CARD KIT — brand-filled, varied hover animations
   Use on inner pages. Brand colors only. Not pastel.
   Color modifiers: vcard--gold | --green | --blue | --coral | --navy
   Hover styles:     hx-up | hx-left | hx-corner | hx-fade | hx-diag
   Extra variants:   vcard.solid (always filled) | vcard-photo (image top)
   ===================================================================== */
.vgrid { display: grid; gap: 22px; }
.vgrid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vgrid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vgrid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.vcard {
  --c: var(--gold);
  --cFill: var(--gold);
  --cText: var(--navy-dark);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  isolation: isolate;
  overflow: hidden;
  padding: 26px;
  position: relative;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.38s ease, border-color 0.38s ease;
}

.vcard > * { position: relative; z-index: 1; }

.vcard h3 { margin-bottom: 8px; transition: color 0.35s ease; }
.vcard p, .vcard li { transition: color 0.35s ease; }
.vcard ul { color: var(--muted); margin: 10px 0 0; }

.vcard .vic {
  align-items: center;
  background: color-mix(in srgb, var(--c) 16%, #fff);
  border-radius: 14px;
  color: var(--c);
  display: inline-flex;
  height: 54px;
  justify-content: center;
  margin-bottom: 14px;
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  width: 54px;
}
.vcard .vic svg { height: 26px; width: 26px; }

/* fill layer */
.vcard::before {
  background: var(--cFill);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 0;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}

.vcard:hover {
  border-color: var(--cFill);
  box-shadow: 0 26px 56px rgba(6, 43, 85, 0.24);
  transform: translateY(-7px);
}
.vcard:hover h3, .vcard:hover p, .vcard:hover li { color: var(--cText); }
.vcard:hover ul { color: var(--cText); }
.vcard:hover .vic { background: rgba(255, 255, 255, 0.22); color: var(--cText); transform: scale(1.1) rotate(-6deg); }

/* Keep eyebrow + badge chips readable on filled cards (solid or hover) */
.vcard.solid .eyebrow, .vcard:hover .eyebrow,
.vcard.solid .atlas-stage-range, .vcard:hover .atlas-stage-range,
.vcard.solid .courses-kicker, .vcard:hover .courses-kicker { color: var(--cText); }
.vcard.solid .eyebrow::before, .vcard:hover .eyebrow::before { background: currentColor; }
.vcard.solid .badge, .vcard:hover .badge {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--cText);
}
.vcard.solid.vcard--gold .badge, .vcard--gold:hover .badge { background: rgba(6, 43, 85, 0.1); border-color: rgba(6, 43, 85, 0.2); }

/* ---- hover animation variants (distinct UI) ---- */
.hx-up::before { transform: translateY(101%); }
.hx-up:hover::before { transform: translateY(0); }
.hx-left::before { transform: translateX(-101%); }
.hx-left:hover::before { transform: translateX(0); }
.hx-diag::before { transform: translate(-101%, -101%); }
.hx-diag:hover::before { transform: translate(0, 0); }
.hx-corner::before { border-radius: 50%; transform: scale(0); transform-origin: bottom right; }
.hx-corner:hover::before { border-radius: 0; transform: scale(2.6); }
.hx-fade::before { opacity: 0; }
.hx-fade:hover::before { opacity: 1; }

/* ---- color modifiers (deeper fill shade for legible white text) ---- */
.vcard--gold { --c: var(--gold); --cFill: var(--gold); --cText: var(--navy-dark); }
.vcard--green { --c: var(--green-bright); --cFill: #0e9e77; --cText: #ffffff; }
.vcard--blue { --c: var(--blue); --cFill: #2f6fe0; --cText: #ffffff; }
.vcard--coral { --c: var(--coral); --cFill: #ed3b55; --cText: #ffffff; }
.vcard--navy { --c: var(--navy); --cFill: var(--navy); --cText: #ffffff; }

/* ---- always-filled solid variant (for visual variety) ---- */
.vcard.solid { background: var(--cFill); border-color: transparent; }
.vcard.solid::before { display: none; }
.vcard.solid h3, .vcard.solid p, .vcard.solid li, .vcard.solid ul { color: var(--cText); }
.vcard.solid .vic { background: rgba(255, 255, 255, 0.2); color: var(--cText); }
.vcard.solid:hover { box-shadow: 0 26px 56px rgba(6, 43, 85, 0.28); transform: translateY(-7px) scale(1.015); }
.vcard.solid.vcard--gold .vic { background: rgba(6, 43, 85, 0.12); }

/* ---- image-top card ---- */
.vcard-photo {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.38s ease, border-color 0.38s ease;
}
.vcard-photo .vcp-media { height: 200px; overflow: hidden; }
.vcard-photo .vcp-media img { height: 100%; object-fit: cover; transition: transform 0.6s ease; width: 100%; }
.vcard-photo .vcp-body { border-top: 4px solid var(--cFill, var(--gold)); padding: 22px; transition: background 0.38s ease; }
.vcard-photo .vcp-body h3, .vcard-photo .vcp-body p { transition: color 0.35s ease; }
.vcard-photo:hover { border-color: var(--cFill); box-shadow: 0 26px 56px rgba(6, 43, 85, 0.22); transform: translateY(-7px); }
.vcard-photo:hover .vcp-media img { transform: scale(1.09); }
.vcard-photo:hover .vcp-body { background: var(--cFill); }
.vcard-photo:hover .vcp-body h3, .vcard-photo:hover .vcp-body p { color: var(--cText); }
.vcard-photo.vcard--gold { --cFill: var(--gold); --cText: var(--navy-dark); }
.vcard-photo.vcard--green { --cFill: #0e9e77; --cText: #fff; }
.vcard-photo.vcard--blue { --cFill: #2f6fe0; --cText: #fff; }
.vcard-photo.vcard--coral { --cFill: #ed3b55; --cText: #fff; }
.vcard-photo.vcard--navy { --cFill: var(--navy); --cText: #fff; }

/* ---- vibrant feature row (image + colored panel) ---- */
.vfeature {
  align-items: stretch;
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.vfeature .vf-media { min-height: 300px; overflow: hidden; }
.vfeature .vf-media img { height: 100%; object-fit: cover; transition: transform 0.6s ease; width: 100%; }
.vfeature:hover .vf-media img { transform: scale(1.06); }
.vfeature .vf-body {
  --cFill: var(--navy);
  --cText: #fff;
  background: var(--cFill);
  color: var(--cText);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}
.vfeature .vf-body h2, .vfeature .vf-body h3 { color: var(--cText); }
.vfeature .vf-body p { color: rgba(255, 255, 255, 0.86); }
.vfeature.vcard--gold .vf-body { --cFill: var(--gold); --cText: var(--navy-dark); }
.vfeature.vcard--gold .vf-body p { color: rgba(6, 43, 85, 0.82); }
.vfeature.vcard--green .vf-body { --cFill: #0e9e77; }
.vfeature.vcard--blue .vf-body { --cFill: #2f6fe0; }
.vfeature.vcard--coral .vf-body { --cFill: #ed3b55; }
.vfeature.rev .vf-media { order: 2; }

@media (max-width: 760px) {
  .vgrid-2, .vgrid-3, .vgrid-4 { grid-template-columns: 1fr; }
  .vfeature { grid-template-columns: 1fr; }
  .vfeature.rev .vf-media { order: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .vcard, .vcard::before, .vcard .vic, .vcard-photo, .vcard-photo .vcp-media img, .vfeature .vf-media img { transition: none; }
}

/* ===== Inner-page polish: icon rendering, centered chip rows, feature spacing ===== */
.vic svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.container > .badge-row { justify-content: center; margin-bottom: 30px; }
.section-head .badge-row { justify-content: center; margin-top: 20px; }
.vfeature { margin-bottom: 38px; }
.vcard-photo .vcp-media img { object-position: top; }
/* Photo cards size to their content (no stretched whitespace in grids) */
.vgrid .vcard-photo { align-self: start; }
/* Constrain grids/features placed directly in a section (outside .container) */
.section > .vgrid, .section > .vfeature { margin-left: auto; margin-right: auto; width: min(1180px, calc(100% - 32px)); }
