
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f6f8;
  color: #1f2933;
}

/* HEADER */


.header {
    width: 100%;
    background: #fff;
    border-bottom: 3px solid #0f4c81;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    overflow: hidden;
}

.header-full {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}



/* HEADER RESPONSIVE */

@media (max-width: 850px) {


  .event {
    grid-template-columns: 1fr;
  }

  .time {
    text-align: left;
  }
}

/* NAV */

.nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 18px 15px;
  background: #0f4c81;
}

.nav button {
  border: none;
  padding: 12px 26px;
  border-radius: 999px;
  background: #ffffff;
  color: #0f4c81;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.nav button:hover,
.nav button.active {
  background: #f6c343;
  color: #1f2933;
}

/* CONTENIDO */

.container {
  max-width: 1050px;
  margin: 35px auto;
  padding: 0 18px;
}

.day {
  display: none;
}

.day.active {
  display: block;
}

.day h2 {
  font-size: 30px;
  margin-bottom: 28px;
  color: #0f4c81;
  border-bottom: 3px solid #f6c343;
  padding-bottom: 10px;
}

.timeline {
  position: relative;
}

.event {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 22px;
  margin-bottom: 22px;
  align-items: start;
}

.time {
  background: #0f4c81;
  color: #ffffff;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 700;
  text-align: center;
  font-size: 14px;
  line-height: 1.35;
}

.content {
  background: #ffffff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #f6c343;
}

.content h3 {
  margin: 0 0 8px;
  color: #0f4c81;
  font-size: 22px;
  text-transform: uppercase;
}

.subtitle {
  margin: 0 0 15px;
  color: #4b5563;
  font-weight: 600;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.btn {
  display: inline-block;
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.btn.primary {
  background: #0f4c81;
  color: #ffffff;
}

.btn.secondary {
  background: #e5e7eb;
  color: #1f2933;
}

.btn.primary:hover {
  background: #0b3a63;
}

.btn.secondary:hover {
  background: #d1d5db;
}

.details {
  display: none;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #e5e7eb;
}

.details.open {
  display: block;
}

.details p {
  margin: 8px 0;
  line-height: 1.5;
}

/* FOOTER */

.footer {
    background: #fff;
    text-align: center;
    padding: 0;
}

.footer-img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
}


/* RESPONSIVE */

@media (max-width: 850px) {
  .header-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 10px;
    min-height: 280px;
  }


}
  .header-logo img {
    margin: 0 auto;
    max-width: 180px;
  }

  .header-banner img {
    max-height: 80px;
  }

  .header-date {
    text-align: center;
    font-size: 13px;
  }

  .event {
    grid-template-columns: 1fr;
  }

  .time {
    text-align: left;
  }


@media (max-width: 560px) {
  .nav {
    flex-direction: column;
    align-items: stretch;
  }

  .nav button {
    width: 100%;
  }

  .content {
    padding: 18px;
  }

  .content h3 {
    font-size: 19px;
  }

  .day h2 {
    font-size: 25px;
  }
}

