:root {
  --navy: #18223a;
  --navy-soft: #26324f;
  --gold: #ba9964;
  --gold-light: #d8c29d;
  --white: #ffffff;
  --off-white: #f7f5f1;
  --text: #4d4d4d;
  --border: rgba(24, 34, 58, 0.14);
  --shadow: 0 24px 60px rgba(24, 34, 58, 0.13);
  --radius: 28px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family:
    Inter,
    Montserrat,
    Arial,
    sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.program-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.program-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-right: auto;
  text-decoration: none;
}

.brand-symbol {
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
}

.metis-symbol {
  font-family: Arial, sans-serif;
}

.brand-separator {
  width: 1px;
  height: 34px;
  background: var(--gold);
}

.program-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.program-nav a {
  color: var(--navy);
  font-size: 0.93rem;
  font-weight: 650;
  text-decoration: none;
}

.program-nav a:hover {
  color: var(--gold);
}

.btn {
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 750;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary,
.btn-gold {
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 16px 30px rgba(186, 153, 100, 0.24);
}

.btn-primary:hover,
.btn-gold:hover {
  background: #c7a873;
}

.btn-secondary {
  color: var(--navy);
  border-color: rgba(24, 34, 58, 0.22);
  background: var(--white);
}

.btn-outline {
  color: var(--navy);
  border-color: var(--navy);
  background: transparent;
}

.btn-large {
  min-height: 58px;
  padding: 0 32px;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: calc(100vh - 86px);
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(186, 153, 100, 0.16), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f7f5f1 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 11px;
  background: linear-gradient(90deg, var(--navy) 0 50%, var(--gold) 50%);
}

.hero-inner {
  min-height: calc(100vh - 86px);
  padding-block: 90px 110px;
  display: grid;
  grid-template-columns: 1.1fr 0.8fr;
  align-items: center;
  gap: 76px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--gold-light);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.08;
}

h1 {
  max-width: 780px;
  margin-bottom: 28px;
  font-size: clamp(3.3rem, 7vw, 6.7rem);
  letter-spacing: -0.06em;
}

h1 span {
  display: block;
  color: var(--gold);
}

.hero-lead {
  max-width: 700px;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 650;
  line-height: 1.4;
}

.hero-description {
  max-width: 680px;
  margin-bottom: 36px;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-panel {
  position: relative;
  z-index: 2;
  padding: 42px;
  color: var(--white);
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel h2 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 2.25rem;
}

.hero-panel p {
  color: rgba(255, 255, 255, 0.75);
}

.panel-label {
  display: inline-block;
  margin-bottom: 24px;
  padding: 8px 14px;
  color: var(--navy);
  background: var(--gold);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-list {
  margin-top: 30px;
  display: grid;
  gap: 14px;
}

.panel-list div {
  padding: 17px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
}

.panel-list span {
  color: var(--gold);
  font-weight: 800;
}

.hero-decoration {
  position: absolute;
  border: 1px solid rgba(186, 153, 100, 0.25);
  border-radius: 50%;
}

.decoration-left {
  width: 370px;
  height: 370px;
  left: -220px;
  bottom: -90px;
}

.decoration-right {
  width: 620px;
  height: 620px;
  top: -330px;
  right: -320px;
}

.section {
  padding-block: 110px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 54px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.proposal-grid h2,
.cta-inner h2 {
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 4.5vw, 4.5rem);
  letter-spacing: -0.045em;
}

.section-heading p {
  font-size: 1.08rem;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.audience-card {
  min-height: 250px;
  padding: 30px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 22px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.audience-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card-number {
  display: block;
  margin-bottom: 42px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
}

.audience-card h3 {
  margin-bottom: 14px;
  font-size: 1.45rem;
}

.audience-card p {
  margin-bottom: 0;
}

.section-dark {
  color: rgba(255, 255, 255, 0.76);
  background: var(--navy);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.proposal-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 72px;
}

.proposal-lead {
  margin-bottom: 32px;
  font-size: 1.13rem;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.topics-grid article {
  min-height: 215px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
}

.topics-grid span {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
}

.topics-grid h3 {
  margin: 35px 0 13px;
  font-size: 1.3rem;
}

.topics-grid p {
  margin-bottom: 0;
}

.coordinators-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.coordinator-card {
  padding: 42px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-top: 7px solid var(--gold);
  border-radius: 24px;
}

.coordinator-role {
  margin-bottom: 34px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.coordinator-card h3 {
  font-size: 1.9rem;
}

.coordinator-card a {
  color: var(--navy);
  font-weight: 800;
}

.cta-section {
  padding-block: 90px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy);
  border-top: 8px solid var(--gold);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
}

.cta-inner h2 {
  color: var(--white);
}

.cta-inner p {
  max-width: 720px;
  margin-bottom: 0;
}

.program-footer {
  padding-block: 32px;
  color: rgba(255, 255, 255, 0.7);
  background: #10182b;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-inner > div:first-child {
  display: grid;
}

.footer-inner strong {
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a {
  color: var(--gold-light);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 980px) {
  .program-nav {
    display: none;
  }

  .hero-inner,
  .proposal-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 48px;
  }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 32px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: 74px;
  }

  .header-inner > .btn {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    padding-block: 70px 92px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.7rem);
  }

  .hero-panel {
    padding: 28px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding-block: 76px;
  }

  .audience-grid,
  .topics-grid,
  .coordinators-grid {
    grid-template-columns: 1fr;
  }

  .audience-card {
    min-height: auto;
  }

  .coordinator-card {
    padding: 30px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
}
/* Ajuste del encabezado en escritorio */
.site-header .nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-header .brand {
  flex: 0 0 auto;
}

.site-header .nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-header .btn-programa,
.site-header .btn-finanzas,
.site-header .btn-outline {
  min-height: 52px;
  padding: 0 22px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.site-header .btn-outline {
  min-width: 170px;
}

/* Ajuste para pantallas de escritorio medianas */
@media (max-width: 1350px) {
  .site-header .nav {
    gap: 12px;
  }

  .site-header .nav-links {
    gap: 18px;
  }

  .site-header .btn-programa,
  .site-header .btn-finanzas,
  .site-header .btn-outline {
    padding: 0 17px;
    font-size: 0.88rem;
  }

  .site-header .btn-outline {
    min-width: 150px;
  }
}

/* Tablet y celular */
@media (max-width: 1050px) {
  .site-header .nav-links,
  .site-header .btn-outline {
    display: none;
  }

  .site-header .nav {
    gap: 10px;
  }

  .site-header .brand {
    margin-right: auto;
  }

  .site-header .btn-programa,
  .site-header .btn-finanzas {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.76rem;
  }
}

@media (max-width: 520px) {
  .site-header .brand-text {
    display: none;
  }

  .site-header .brand-mark {
    width: 46px;
    height: 46px;
  }

  .site-header .btn-programa {
    padding: 0 12px;
    font-size: 0.7rem;
  }

  .site-header .btn-finanzas {
    padding: 0 16px;
    font-size: 0.76rem;
  }
}