@charset "UTF-8";
.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: 16px;
}
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

.cumpleanos {
  background: #fff;
  padding-top: 50px !important;
}
.cumpleanos .cards {
  display: grid;
  gap: 24px;
}
@media (min-width: 992px) {
  .cumpleanos .cards {
    grid-template-columns: 50% 50%;
  }
}
.cumpleanos .cards.fullwidth {
  grid-template-columns: 100% !important;
}
.cumpleanos .cards.fullwidth .birthdays__list {
  grid-template-columns: 50% 50% !important;
}
.cumpleanos .card {
  background: #ffffff;
  border: 1px solid rgba(10, 58, 141, 0.12);
  border-radius: 24px;
  padding: 25px 15px;
  box-shadow: 0 6px 24px rgba(6, 24, 44, 0.06);
}
.cumpleanos .card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: clamp(14px, 2vw, 22px);
}
.cumpleanos .card__head .title {
  color: #0a3a8d;
  font-weight: 800;
  line-height: 1.1;
  font-size: 18px;
  letter-spacing: 0.2px;
}
.cumpleanos .card__head .see-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b6267c;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.cumpleanos .card__head .see-all::before {
  content: "→";
  font-size: 18px;
  translate: 0 1px;
}
.cumpleanos .card__head .see-all:hover {
  opacity: 0.85;
}

/* ===== Cumpleaños (30/70) ===== */
.birthdays {
  background: url(ico-cumple.svg) !important;
  background-repeat: no-repeat !important;
  background-position: right 5% bottom 5% !important;
}
.birthdays .card__head {
  display: flex;
  grid-template-columns: 1fr;
  row-gap: 4px;
}
.birthdays .title {
  text-align: left;
}
.birthdays .see-all {
  text-align: right;
  justify-self: end;
}
.birthdays__list {
  display: grid;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.birthdays__item {
  display: grid;
  grid-template-columns: 15% 85%;
  align-items: center;
  gap: 12px;
  padding: 10px 6px;
  border-radius: 16px;
}
.birthdays__item:hover {
  background: rgba(10, 58, 141, 0.04);
}
.birthdays__day {
  display: grid;
  place-items: center;
  color: #c51780;
  font-weight: 800;
  font-size: 24px;
  width: 60px;
  height: 60px;
  background: rgba(198, 0, 126, 0.1);
  border-radius: 50px;
}
.birthdays__person {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
}
.birthdays__avatar {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  overflow: hidden;
}
.birthdays__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.birthdays__info .name {
  font-weight: 500;
  color: #062a87;
  font-size: 16px;
  line-height: 17px;
}
.birthdays__info .role {
  color: #6b7280;
  font-size: 13px;
}

/* ===== Nuevos integrantes ===== */
.newbies {
  /* Flecha derecha */
  /* ===== Carrusel CSS-only ===== */
}
.newbies__rail {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(10px, 2vw, 18px);
}
.newbies .nav {
  inline-size: 56px;
  block-size: 56px;
  border-radius: 50%;
  border: 0;
  background: #00c389;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 195, 137, 0.28);
}
.newbies .nav::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(225deg);
}
.newbies .nav--next::before {
  transform: rotate(45deg);
}
.newbies__track {
  /* layout */
  --gap: clamp(10px, 2vw, 22px);
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-block: 4px; /* mejora el scroll en iOS */
  /* ocultar scrollbars (opcional) */
  scrollbar-width: none; /* Firefox */
  /* WebKit */
}
.newbies__track::-webkit-scrollbar {
  display: none;
}
.newbies__item {
  /* 4 en desktop, 2 en tablet, 1 en móvil */
  flex: 0 0 25%;
  scroll-snap-align: start;
  scroll-margin-left: 0.5px; /* previene saltos subpíxel */
  text-align: center;
  padding: clamp(8px, 1.6vw, 12px);
  box-sizing: border-box;
}
@media (max-width: 992px) {
  .newbies__item {
    flex-basis: 50%;
  }
}
@media (max-width: 576px) {
  .newbies__item {
    flex-basis: 100%;
  }
}
.newbies__item .photo {
  width: 128px;
  height: 128px;
  margin-inline: auto;
  border-radius: 20px;
  overflow: hidden;
  background: #f1f5f9;
}
.newbies__item .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.newbies__item .name {
  margin-top: 25px;
}
.newbies__item .name a {
  font-weight: 500;
  color: #0f172a;
  font-size: 16px;
}
.newbies__item .job {
  color: #6b7280;
  font-size: 13px;
  margin-top: 4px;
}

/* ===== Resets finos ===== */
h1, h2, h3 {
  margin: 0;
}
