@charset "UTF-8";
/* =========================================================
   SECCIÓN: NEED CARD REDESIGN (Slug: need-card)
   Diseño moderno con glassmorphism y animaciones suaves
========================================================= */
.page2 {
  position: relative;
  min-height: 100vh;
  padding: 10vh 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 80vw;
  margin-inline: auto;
}
.page2 h2 {
  color: #E6DBBF;
  font-family: "kepler-std", serif;
  font-size: 2rem;
  margin-bottom: 8vh;
  letter-spacing: 1.2px;
}

.p2topics {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  z-index: 200;
}
@media (min-width: 768px) {
  .p2topics {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  .p2topics {
    grid-template-columns: repeat(3, 1fr);
  }
}

.topic {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--color-back);
  border: 2px solid rgba(194, 255, 100, 0.3);
}
.topic .image-container {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}
.topic .image-container .topicdecor {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.topic .image-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(39, 49, 84, 0.5) 60%, rgba(39, 49, 84, 0.9) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.topic .nec {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  text-decoration: none;
  background: var(--color-back);
  min-height: 150px;
}
.topic .service-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-type);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 0.5rem;
}
.topic .service-subtitle {
  color: var(--color-font-night);
  font-family: var(--font-headline);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  transition: all 0.3s ease;
}
.topic .service-name {
  color: var(--color-font-night);
  font-family: var(--font-main);
  font-size: 0.875rem;
  font-weight: 400;
  opacity: 0.7;
  line-height: 1.4;
  margin: 0;
  transition: all 0.3s ease;
}
.topic:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 0 3px var(--color-type) inset, 0 0 50px rgba(194, 255, 100, 0.5);
  border-color: var(--color-type);
}
.topic:hover .image-container .topicdecor {
  transform: scale(1.1);
}
.topic:hover .image-container::after {
  opacity: 1;
}
.topic:hover .service-subtitle {
  color: var(--color-type);
}
.topic:hover .service-name {
  opacity: 1;
}

.extmargin {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 20000;
  background-color: rgba(39, 49, 84, 0.85);
  backdrop-filter: blur(10px);
}
.extmargin.active {
  display: grid;
  place-items: center;
  animation: fadeIn 0.3s ease;
}
.extmargin .cross {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: rgba(194, 255, 100, 0.1);
  border: 2px solid var(--color-focus);
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
}
.extmargin .cross img {
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
}
.extmargin .cross:hover {
  background: var(--color-focus);
  transform: rotate(90deg) scale(1.1);
}
.extmargin .cross:hover img {
  filter: brightness(0);
}
.extmargin .ext {
  display: grid;
  width: min(95vw, 1100px);
  max-height: 90vh;
  min-height: 70vh;
  background: var(--color-back2);
  border-radius: 24px;
  overflow: hidden;
  grid-template-columns: 50% 1fr;
  grid-template-areas: "img desc";
  animation: slideUp 0.4s ease;
}
.extmargin .ext .decor {
  grid-area: img;
  overflow: hidden;
}
.extmargin .ext .decor .decext {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.extmargin .ext .extd {
  grid-area: desc;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
  gap: 1.5rem;
  overflow-y: auto;
}
.extmargin .ext .extd h4 {
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-focus);
  margin: 0;
  letter-spacing: 3px;
}
.extmargin .ext .extd .desc {
  font-family: var(--font-main);
  font-size: clamp(0.95rem, 1.5vw, 1.125rem);
  line-height: 1.7;
  color: var(--color-font-night);
}
.extmargin .ext .extd .desc p {
  margin: 0;
}
.extmargin .ext .extd .cta {
  margin-top: 1rem;
}
.extmargin .ext .extd .cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--color-focus);
  color: var(--color-font-night);
  text-decoration: none;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.extmargin .ext .extd .cta a::after {
  content: "→";
  font-size: 1.25rem;
}
.extmargin .ext .extd .cta a:hover {
  background: transparent;
  border-color: var(--color-focus);
  color: var(--color-focus);
  transform: translateX(5px);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media screen and (max-width: 768px) {
  .p2topics {
    grid-template-columns: 1fr;
  }
  .topic .image-container {
    height: 200px;
  }
  .extmargin .ext {
    grid-template-columns: 1fr;
    grid-template-rows: 40% 1fr;
    grid-template-areas: "img" "desc";
  }
  .extmargin .ext .extd {
    padding: 2rem 1.5rem;
  }
}
.need-card {
  background: var(--bg-card, rgba(255, 255, 255, 0.05)) !important;
  border: 1px solid var(--border-card, #053c76) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.need-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--card-shadow);
  border-color: var(--color-type) !important;
}
.need-card .need-card__title {
  color: var(--color-type) !important;
  font-weight: 700;
}
.need-card .need-card__description {
  color: var(--text-main) !important;
  opacity: 0.9;
}/*# sourceMappingURL=need-card.css.map */