/* =========================================================
   PROYECTO EDUCATIVO / PROGRAMAS DE ESTUDIO
   ========================================================= */

.proy-page {
  --siv-blue: var(--navy, #003d71);
  --siv-blue-dark: var(--navy-dark, #00305f);
  --siv-gold: var(--gold, #b9985a);
  --siv-red: #b51f2f;
  --siv-soft: #f7f7f7;
  --siv-border: #e4e9ef;
  --siv-text: #173b63;
  --siv-muted: #5c6b7a;

  color: var(--siv-text);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

.proy-page *,
.proy-page *::before,
.proy-page *::after {
  box-sizing: border-box;
}

.proy-wide {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
}

.proy-inner {
  width: 100%;
  max-width: 1130px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.proy-section {
  padding: 70px 0;
}

.proy-section-soft {
  background: var(--siv-soft);
}

.proy-section-blue {
  background: var(--siv-blue);
  color: #fff;
}

.proy-page .row {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* Typography */

.proy-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--siv-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.proy-eyebrow::before {
  content: "";
  display: inline-block;
  width: 48px;
  height: 2px;
  background: var(--siv-gold);
}

.proy-title,
.proy-title-small,
.proy-final h2 {
  color: var(--siv-blue-dark);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.08;
  text-transform: none;
}

.proy-title {
  max-width: 640px;
  margin: 0 0 28px;
  font-size: clamp(40px, 4.2vw, 56px);
}

.proy-title em {
  color: var(--siv-gold);
  font-style: italic;
  font-weight: 400;
}

.proy-title-small {
  max-width: 720px;
  margin: 0 0 20px;
  font-size: clamp(30px, 3.1vw, 42px);
}

.proy-lead {
  max-width: 760px;
  margin-bottom: 22px;
  color: var(--siv-muted);
  font-size: 17px;
  line-height: 1.65;
}

.proy-text {
  margin-bottom: 16px;
  color: var(--siv-muted);
  font-size: 15px;
  line-height: 1.75;
}

.proy-text strong {
  color: var(--siv-blue-dark);
  font-weight: 700;
}

.proy-section-blue .proy-title-small,
.proy-section-blue .proy-text,
.proy-section-blue .proy-lead {
  color: #fff;
}

.proy-section-blue .proy-text,
.proy-section-blue .proy-lead {
  color: rgba(255, 255, 255, .88);
}

/* Intro and notes */

.proy-intro-card {
  position: relative;
  max-width: 570px;
  padding: 30px 34px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--siv-border);
  border-left: 3px solid var(--siv-red);
  border-radius: 0 10px 10px 0;
  box-shadow: 0 8px 24px rgba(0, 48, 95, .06);
}

.proy-intro-card::after {
  content: "Curricula";
  position: absolute;
  right: 14px;
  bottom: -5px;
  color: rgba(0, 61, 113, .045);
  font-size: 60px;
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: 1;
  pointer-events: none;
}

.proy-note {
  height: 100%;
  padding: 26px 28px;
  background: #fff;
  border: 1px solid var(--siv-border);
  border-top: 2px solid var(--siv-gold);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 48, 95, .045);
}

.proy-note span {
  display: block;
  margin-bottom: 12px;
  color: var(--siv-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.proy-note p {
  margin: 0;
  color: var(--siv-blue-dark);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.45;
}

/* Image panel */

.proy-photo {
  position: relative;
  display: block;
  width: 100%;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  background: #e9eef3;
  border: 1px solid var(--siv-border);
}

.proy-photo img {
  display: block;
  width: 100%;
  height: 360px;
  margin: 0;
  object-fit: cover;
}

.proy-photo-blue {
  min-height: 500px;
  height: 100%;
  border: 0;
  border-radius: 0;
}

.proy-img-blue {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.proy-image-link {
  cursor: zoom-in;
}

.proy-image-link img {
  transition: transform .35s ease;
}

.proy-image-link:hover img,
.proy-image-link:focus-within img {
  transform: scale(1.025);
}

.proy-photo-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 16px 20px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 48, 95, .82));
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.4;
  text-transform: uppercase;
}

.proy-photo-caption span {
  display: inline-block;
  margin-top: 4px;
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

/* Focus cards */

.proy-card {
  position: relative;
  height: 100%;
  min-height: 180px;
  padding: 26px 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--siv-border);
  border-bottom: 3px solid var(--siv-gold);
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 48, 95, .045);
  transition: transform .25s ease, box-shadow .25s ease;
}

.proy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0, 48, 95, .08);
}

.proy-card::before {
  content: attr(data-number);
  position: absolute;
  top: 18px;
  right: 20px;
  color: rgba(0, 61, 113, .06);
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
}

.proy-card h3 {
  position: relative;
  max-width: 230px;
  margin: 0 0 12px;
  color: var(--siv-blue-dark);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.2;
  text-transform: none;
}

.proy-card p {
  position: relative;
  margin: 0;
  color: var(--siv-muted);
  font-size: 14px;
  line-height: 1.65;
}

/* Blue panel */

.proy-blue-panel {
  overflow: hidden;
  background: var(--siv-blue);
}

.proy-blue-content {
  max-width: 650px;
  padding: 58px 56px;
}

/* Competencies */

.proy-competence {
  height: 100%;
  padding: 19px 20px 19px 22px;
  background: #fff;
  border: 1px solid var(--siv-border);
  border-left: 3px solid var(--siv-gold);
  border-radius: 8px;
  color: var(--siv-blue);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

/* Process */

.proy-step {
  position: relative;
  padding: 24px 0 24px 70px;
  border-bottom: 1px solid var(--siv-border);
}

.proy-step:first-child {
  padding-top: 0;
}

.proy-step:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.proy-step-number {
  position: absolute;
  top: 24px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--siv-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.proy-step:first-child .proy-step-number {
  top: 0;
}

.proy-step h3 {
  margin: 0 0 8px;
  color: var(--siv-blue-dark);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.25;
  text-transform: none;
}

.proy-step p {
  margin: 0;
  color: var(--siv-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* Documents */

.proy-doc-group {
  height: 100%;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--siv-border);
  border-radius: 10px;
}

.proy-doc-group h3 {
  margin: 0 0 16px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--siv-border);
  color: var(--siv-blue-dark);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.25;
  text-transform: none;
}

.proy-doc-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.proy-doc-list-espanol {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 12px;
}

.proy-doc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--siv-border);
  border-radius: 7px;
  color: var(--siv-blue);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.proy-doc span {
  display: block;
}

.proy-doc-action {
  flex: 0 0 auto;
  color: var(--siv-gold);
  font-size: 14px;
  line-height: 1;
  transition: transform .2s ease, color .2s ease;
}

.proy-doc:hover,
.proy-doc:focus-visible {
  background: #fcfbf7;
  border-color: rgba(185, 152, 90, .7);
  color: var(--siv-blue-dark);
}

.proy-doc:hover .proy-doc-action,
.proy-doc:focus-visible .proy-doc-action {
  color: var(--siv-gold);
  transform: translateX(2px);
}

.proy-doc-disabled {
  cursor: default;
  opacity: .55;
}

.proy-doc-status {
  margin-left: auto;
  color: #777;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .04em;
  white-space: nowrap;
}

/* Closing block */

.proy-final {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(0, 61, 113, .96), rgba(0, 48, 95, .96));
  color: #fff;
}

.proy-final h2 {
  max-width: 800px;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(32px, 3.6vw, 48px);
}

.proy-final p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: 17px;
  line-height: 1.65;
}

@media (max-width: 991.98px) {
  .proy-section {
    padding: 55px 0;
  }

  .proy-title {
    font-size: 44px;
  }

  .proy-title-small {
    font-size: 34px;
  }

  .proy-intro-card {
    max-width: none;
  }

  .proy-photo,
  .proy-photo-blue {
    min-height: 320px;
    height: 320px;
  }

  .proy-photo img,
  .proy-img-blue {
    min-height: 320px;
    height: 320px;
  }

  .proy-blue-content {
    max-width: none;
    padding: 46px 34px;
  }

  .proy-card {
    min-height: 0;
  }

  .proy-doc-list-espanol {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .proy-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .proy-section {
    padding: 45px 0;
  }

  .proy-title {
    font-size: 36px;
  }

  .proy-title-small {
    font-size: 29px;
  }

  .proy-lead {
    font-size: 16px;
  }

  .proy-text {
    font-size: 15px;
  }

  .proy-intro-card,
  .proy-note {
    padding: 23px 22px;
  }

  .proy-intro-card::after {
    font-size: 44px;
  }

  .proy-photo,
  .proy-photo-blue,
  .proy-photo img,
  .proy-img-blue {
    min-height: 250px;
    height: 250px;
  }

  .proy-blue-content {
    padding: 38px 22px;
  }

  .proy-step {
    padding: 23px 0;
  }

  .proy-step-number,
  .proy-step:first-child .proy-step-number {
    position: static;
    display: inline-flex;
    width: auto;
    height: auto;
    margin-bottom: 10px;
    background: transparent;
    color: var(--siv-gold);
    font-family: var(--serif);
    font-size: 23px;
    line-height: 1;
  }

  .proy-doc-group {
    padding: 23px 18px;
  }

  .proy-doc {
    font-size: 13px;
  }

  .proy-photo-caption {
    padding: 13px 16px;
    font-size: 10px;
  }

  .proy-photo-caption span {
    font-size: 11px;
  }

  .proy-final {
    padding: 58px 0;
  }
}
