@charset "UTF-8";
/* ======================
   RESET & BASE
   ====================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #ffffff;
  background-image: radial-gradient(#e5e5e5 2px, transparent 2px);
  background-size: 20px 20px;
  font-family: "Montserrat", sans-serif;
  color: #1a1a1a;
  overflow-x: hidden;
}

/* ======================
   NAV PILLS
   ====================== */
.pill-nav-container {
  position: fixed;
  top: 25px;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 5px 30px;
  z-index: 1000;
}

.pill-item {
  background: rgba(28, 28, 30, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  padding: 10px 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: 100px;
  font-size: 0.85em;
}

.pill-filters {
  height: 50px;
}

.pill-link,
.filter-btn {
  text-decoration: none;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.filter-btn {
  opacity: 0.4;
  transition: opacity 0.25s ease;
}

.filter-btn.active,
.filter-btn:hover {
  opacity: 1;
}

/* ======================
   GRID
   ====================== */
.bento-container {
  max-width: 1250px;
  margin: 180px auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* ======================
   SPLIT CARD
   ====================== */
.card.card-split {
  height: 580px;
  border-radius: 40px;
  overflow: hidden;
  background: #1c1c1e;
  display: flex;
  flex-direction: column;
  transform: scale(0.92);
  opacity: 0;
  transition: transform 0.45s ease, opacity 0.45s ease;
  will-change: transform, opacity;
}

.card.card-split.is-visible {
  transform: scale(1);
  opacity: 1;
}

/* image 35% */
.card-media {
  flex: 0 0 35%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;
}

.card.card-split:hover .card-media {
  transform: scale(1.04);
}

/* panel */
.card-panel {
  flex: 1;
  padding: 26px;
  padding-bottom: 110px;
  color: #fff;
  position: relative;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.95));
}

.card-pill {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.card-title {
  font-size: 2.6rem;
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: 12px;
}

.card-desc {
  font-size: 1.15rem;
  line-height: 1.25;
  opacity: 0.86;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-cta {
  position: absolute;
  left: 26px;
  bottom: 26px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  text-decoration: none;
  font-size: 1.9rem;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.card-cta:hover {
  transform: scale(1.06);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

/* filter hide */
.card.is-hidden {
  display: none;
}

/* ======================
   PAGE TRANSITION
   ====================== */
.page-transition {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 10000;
  pointer-events: none;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.page-transition.is-active {
  opacity: 1;
  transform: translateY(0);
}

.page-transition.is-reveal {
  opacity: 0;
  transform: translateY(-100%);
}

@media (prefers-reduced-motion: reduce) {
  .page-transition {
    transition: none;
  }
}
/* ======================
   CONTACT POPUP (copiado del index, pero solo lo necesario)
   ====================== */
.contact-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.contact-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.contact-popup-content {
  width: 100%;
  max-width: 400px;
  background: white;
  border-radius: 35px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  transform: translateY(30px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.contact-popup-overlay.active .contact-popup-content {
  transform: translateY(0) scale(1);
}

.popup-close-btn {
  position: absolute;
  top: 25px;
  left: 25px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.3s ease, transform 0.2s ease;
  z-index: 10;
}

.popup-close-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: rotate(90deg);
}

.popup-header {
  background-color: #243b33;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
}

.popup-avatar {
  width: auto;
  height: 180px;
  position: relative;
  bottom: -5px;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
}

.popup-body {
  padding: 40px 30px;
  text-align: center;
  background: white;
}

.popup-body h2 {
  font-weight: 800;
  font-size: 2.8rem;
  line-height: 1;
  margin: 0 0 35px 0;
  color: #1a1a1a;
}

.contact-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-option-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 25px;
  background: white;
  border: 2px solid #eaeaea;
  border-radius: 50px;
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-option-btn i {
  font-size: 1.4rem;
  margin-right: 15px;
  width: 25px;
  text-align: center;
}

.whatsapp-icon {
  color: #25D366;
}

.contact-option-btn:hover {
  border-color: #1a1a1a;
  background: #f9f9f9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* ======================
   RESPONSIVE
   ====================== */
@media (max-width: 1024px) {
  .bento-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  /* móvil: SOLO filtros en el nav */
  .pill-left,
  .pill-right {
    display: none;
  }
  .pill-nav-container {
    top: 20px;
    padding: 5px 16px;
    justify-content: center;
  }
  .pill-filters {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .pill-filters::-webkit-scrollbar {
    display: none;
  }
  .bento-container {
    grid-template-columns: 1fr;
    margin-top: 140px;
    padding: 0 20px;
  }
  .card.card-split {
    height: 420px;
    border-radius: 34px;
  }
  .card-panel {
    padding: 22px;
    padding-bottom: 96px;
  }
  .card-title {
    font-size: 2.2rem;
  }
  .card-desc {
    font-size: 1.05rem;
  }
  .card-cta {
    width: 56px;
    height: 56px;
    font-size: 1.7rem;
  }
}
/* FAB contacto */
.contact-fab {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(28, 28, 30, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  color: white;
  place-items: center;
  z-index: 1200;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .contact-fab {
    display: grid;
  }
}
@media (prefers-reduced-motion: reduce) {
  .card.card-split,
  .card-media {
    transform: none !important;
    transition: none !important;
    opacity: 1 !important;
  }
}/*# sourceMappingURL=proyectos.css.map */