:root {
  --cnu-blue: #1B69A1;
  --text: #24313d;
  --muted: #667586;
  --border: #dbe4ec;
  --soft-blue: #edf6fc;
  --shadow: 0 14px 34px rgba(25, 61, 89, 0.11);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

.brand-logo {
  width: min(190px, 52vw);
  max-height: 50px;
  object-fit: contain;
}

main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0 8px;
}

.hero-brand {
  display: grid;
  justify-items: end;
  gap: 2px;
  text-align: right;
}

.hero-brand p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  color: var(--cnu-blue);
  line-height: 1.2;
}

h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3.4vw, 2.65rem);
}

.subtitle {
  margin: 6px 0 0;
  color: var(--cnu-blue);
  font-size: clamp(0.98rem, 1.5vw, 1.14rem);
  font-weight: 700;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1.35fr) minmax(250px, 0.78fr);
  gap: 16px;
  align-items: center;
  padding: 8px 0 14px;
}

.team-photo-wrap {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.team-photo {
  display: block;
  width: 100%;
  max-height: 320px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.intro-text {
  display: grid;
  gap: 10px;
}

.intro-text article {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-left: 5px solid var(--cnu-blue);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(27, 105, 161, 0.08);
}

.intro-text h2,
.auth-card h2,
.programs-section h2 {
  margin: 0 0 6px;
  font-size: 1.18rem;
}

.intro-text p,
.program-card p {
  margin: 0;
  color: var(--muted);
}

.auth-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 4px 0 8px;
}

.auth-card {
  display: grid;
  gap: 3px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

label {
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 700;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  min-height: 26px;
  padding: 3px 8px;
  border: 1px solid #cbd8e3;
  border-radius: 8px;
  color: var(--text);
  font: inherit;
}

input:focus {
  border-color: var(--cnu-blue);
  box-shadow: 0 0 0 3px rgba(27, 105, 161, 0.14);
  outline: none;
}

.form-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 2px;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text);
  font-weight: 600;
}

.checkbox-label input {
  width: 13px;
  height: 13px;
  accent-color: var(--cnu-blue);
}

.terms {
  margin: 0 0 2px;
}

.text-link {
  color: var(--cnu-blue);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

button {
  min-height: 28px;
  border: 0;
  border-radius: 8px;
  background: var(--cnu-blue);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  filter: brightness(0.95);
}

.status-message {
  min-height: 18px;
  margin: 2px 0 4px;
  color: var(--cnu-blue);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.programs-section {
  padding: 0;
}

.programs-section > h2 {
  text-align: left;
}

.program-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 8px;
}

.program-card {
  position: relative;
  display: block;
  min-height: 80px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(25, 61, 89, 0.1);
  color: var(--text);
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.program-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  filter: none;
}

.program-card h3 {
  margin: 5px 0 3px;
  font-size: 0.98rem;
}

.program-card p {
  font-size: 0.76rem;
  line-height: 1.3;
}

.lock-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--cnu-blue);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.program-card.locked {
  opacity: 0.64;
}

.program-card.locked::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: repeating-linear-gradient(
    135deg,
    rgba(27, 105, 161, 0.06),
    rgba(27, 105, 161, 0.06) 10px,
    transparent 10px,
    transparent 20px
  );
  pointer-events: none;
}

.program-card.unlocked {
  border-color: rgba(27, 105, 161, 0.38);
}

.program-card.unlocked .lock-icon {
  background: #e8f7ef;
  color: #207a4a;
}

footer {
  flex-shrink: 0;
  padding: 8px 18px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

@media (min-width: 881px) {
  html,
  body {
    height: 100vh;
    overflow: hidden;
  }

  body {
    display: flex;
    flex-direction: column;
  }

  main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: start;
    min-height: 0;
    overflow: hidden;
  }
}

@media (min-width: 881px) and (max-height: 760px) {
  .brand-logo {
    max-height: 42px;
    width: min(165px, 44vw);
  }

  .hero {
    padding: 8px 0 4px;
  }

  h1 {
    font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  }

  .subtitle {
    margin-top: 3px;
    font-size: 0.96rem;
  }

  .intro-section {
    padding: 4px 0 8px;
    gap: 12px;
  }

  .team-photo {
    max-height: 280px;
  }

  .intro-text article {
    padding: 10px 12px;
  }

  .intro-text h2,
  .auth-card h2,
  .programs-section h2 {
    font-size: 1.05rem;
  }

  .auth-card {
    gap: 2px;
    padding: 7px 10px;
  }

  input[type="text"],
  input[type="email"],
  input[type="password"] {
    min-height: 23px;
    padding-top: 2px;
    padding-bottom: 2px;
  }

  button {
    min-height: 25px;
  }

  .program-card {
    min-height: 72px;
    padding: 8px 10px;
  }

  .program-card h3 {
    margin-top: 4px;
  }

  .program-card p {
    font-size: 0.7rem;
  }

  footer {
    padding-top: 5px;
    padding-bottom: 5px;
  }
}

@media (max-width: 880px) {
  .intro-section,
  .auth-section,
  .program-grid {
    grid-template-columns: 1fr;
  }

  .intro-section {
    gap: 24px;
  }
}

@media (max-width: 560px) {
  main {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 18px;
  }

  .hero-brand {
    justify-items: start;
    text-align: left;
  }

  .auth-card,
  .intro-text article,
  .program-card {
    padding: 20px;
  }
}
.program-card.unlocked {
  text-decoration: none;
  background: #ffffff;
  border-left: 5px solid #1B69A1;
  opacity: 1;
  cursor: pointer;
}

.program-card.unlocked .lock-icon {
  color: #1B69A1;
  font-weight: 700;
}

.program-card.unlocked:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(27, 105, 161, 0.18);
}

.wellness-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 24px 70px;
}

.wellness-header {
  text-align: center;
  margin-bottom: 28px;
}

.wellness-header h1 {
  color: #1B69A1;
  font-size: 42px;
  margin: 12px 0 6px;
}

.video-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.video-card {
  background: #ffffff;
  border: 1px solid #d7e4ef;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(27, 105, 161, 0.08);
}

.video-card h2 {
  color: #1B69A1;
  font-size: 20px;
  margin-bottom: 14px;
}

.video-placeholder {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #eaf4fb, #ffffff);
  border: 2px dashed #9fc3df;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #456;
  padding: 20px;
}

@media (max-width: 900px) {
  .video-gallery {
    grid-template-columns: 1fr;
  }
}
.program-card *,
.program-card:link *,
.program-card:visited *,
.program-card:hover *,
.program-card:active * {
  text-decoration: none;
}