/* ═══════════════════════════════════════════════
   FURSIFEX — Proyectos Realizados
   Prefijo: prz-
   ═══════════════════════════════════════════════ */

/* ══════════════ HERO ══════════════ */
.prz-hero {
  position: relative;
  min-height: 88vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding-top: var(--fx-hh);
}
.prz-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,27,42,.92) 45%, rgba(13,27,42,.65) 100%);
}
.prz-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 740px;
  padding-top: 48px;
  padding-bottom: 72px;
}
.prz-hero__title {
  font-family: var(--fx-font-h);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 600;
  color: var(--fx-white);
  line-height: 1.08;
  margin-bottom: 22px;
}
.prz-hero__sub {
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 620px;
}
.prz-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ══════════════ INTRO ══════════════ */
.prz-intro {
  padding: 80px 0;
  background: var(--fx-white);
}
.prz-intro__text-wrap {
  max-width: 820px;
  margin: 0 auto 52px;
  text-align: center;
}
.prz-intro__text-wrap p {
  font-size: 1rem;
  color: var(--fx-text-muted);
  line-height: 1.8;
  margin-top: 16px;
}
.prz-intro__text-wrap strong { color: var(--fx-principal); font-weight: 600; }
.prz-intro__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.prz-intro__img {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.prz-intro__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.prz-intro__img:hover img { transform: scale(1.04); }

/* ══════════════ SECCIONES PROYECTO ══════════════ */
.prz-proj {
  padding: 88px 0;
}
.prz-proj--light { background: var(--fx-off-white); }
.prz-proj--dark  { background: var(--fx-navy); }

.prz-proj__layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: center;
}
.prz-proj__layout--reverse {
  direction: rtl;
}
.prz-proj__layout--reverse > * { direction: ltr; }

/* Panel visual */
.prz-proj__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.prz-proj__icon-wrap {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prz-proj--light .prz-proj__icon-wrap {
  background: rgba(61,155,232,.08);
  color: var(--fx-principal);
}
.prz-proj--dark .prz-proj__icon-wrap {
  background: rgba(61,155,232,.12);
  color: var(--fx-principal-light, #7ec3f5);
}
.prz-proj__icon-wrap svg {
  width: 96px;
  height: 96px;
}
.prz-proj__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.prz-proj__cat {
  font-family: var(--fx-font-h);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 4px;
  background: rgba(61,155,232,.12);
  color: var(--fx-principal);
  border: 1px solid rgba(61,155,232,.25);
}
.prz-proj--dark .prz-proj__cat {
  background: rgba(61,155,232,.15);
  color: #7ec3f5;
  border-color: rgba(61,155,232,.3);
}
.prz-proj__loc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
}
.prz-proj--light .prz-proj__loc { color: var(--fx-text-muted); }
.prz-proj--dark .prz-proj__loc  { color: rgba(255,255,255,.55); }
.prz-proj__loc svg { width: 13px; height: 13px; flex-shrink: 0; }

/* Contenido texto */
.prz-proj__title {
  font-family: var(--fx-font-h);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.prz-proj--light .prz-proj__title { color: var(--fx-navy); }
.prz-proj--dark  .prz-proj__title { color: var(--fx-white); }

.prz-proj__desc {
  font-size: 0.94rem;
  line-height: 1.78;
  margin-bottom: 0;
}
.prz-proj--light .prz-proj__desc { color: var(--fx-text-muted); }
.prz-proj--dark  .prz-proj__desc { color: rgba(255,255,255,.65); }

/* Ventajas */
.prz-proj__ventajas {
  margin-top: 28px;
  padding: 22px 24px;
  background: rgba(61,155,232,.07);
  border-left: 3px solid var(--fx-principal);
  border-radius: 0 6px 6px 0;
}
.prz-proj__ventajas--dark {
  background: rgba(61,155,232,.1);
}
.prz-proj__vtj-title {
  font-family: var(--fx-font-h);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fx-principal);
  margin-bottom: 14px;
}
.prz-proj__vtj-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  list-style: none;
}
.prz-proj--light .prz-proj__vtj-list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.85rem;
  color: var(--fx-text);
}
.prz-proj--dark .prz-proj__vtj-list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,.72);
}
.prz-proj__vtj-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fx-principal);
}

/* Badges */
.prz-proj__sgs,
.prz-proj__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
}
.prz-proj__sgs {
  color: var(--fx-principal);
  background: rgba(61,155,232,.1);
  border: 1px solid rgba(61,155,232,.2);
}
.prz-proj--dark .prz-proj__sgs {
  color: #7ec3f5;
  background: rgba(61,155,232,.12);
}
.prz-proj__sgs svg { width: 16px; height: 16px; }
.prz-proj__badge {
  background: rgba(61,155,232,.07);
  border: 1px solid rgba(61,155,232,.18);
  color: var(--fx-principal);
}
.prz-proj__badge strong { font-size: 1rem; }

/* ══════════════ STATS BAND ══════════════ */
.prz-stats {
  padding: 60px 0;
  background: var(--fx-navy-mid);
}
.prz-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.prz-stats__num {
  display: block;
  font-family: var(--fx-font-h);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--fx-principal);
  line-height: 1;
  margin-bottom: 10px;
}
.prz-stats__label {
  font-size: 0.82rem;
  color: rgba(255,255,255,.6);
  line-height: 1.4;
}

/* ══════════════ CTA ══════════════ */
.prz-cta {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 88px 0;
}
.prz-cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,.88);
}
.prz-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.prz-cta__title {
  font-family: var(--fx-font-h);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--fx-white);
  margin-bottom: 10px;
}
.prz-cta__sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,.7);
}

/* ══════════════ RESPONSIVE ══════════════ */
@media (max-width: 1024px) {
  .prz-proj__layout,
  .prz-proj__layout--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .prz-proj__visual {
    flex-direction: row;
    justify-content: flex-start;
  }
  .prz-proj__meta { align-items: flex-start; }
  .prz-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .prz-cta__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  .prz-hero { min-height: 70vh; }
  .prz-hero__actions { flex-direction: column; align-items: flex-start; }
  .prz-intro { padding: 60px 0; }
  .prz-intro__images { grid-template-columns: 1fr; }
  .prz-intro__text-wrap { text-align: left; }
  .prz-proj { padding: 60px 0; }
  .prz-proj__visual { flex-direction: column; align-items: flex-start; }
  .prz-proj__icon-wrap { width: 120px; height: 120px; }
  .prz-proj__icon-wrap svg { width: 64px; height: 64px; }
  .prz-proj__vtj-list { grid-template-columns: 1fr; }
  .prz-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .prz-cta { padding: 60px 0; }
}


/* ══════════════ OPTION 1 OVERRIDES FOR SEO/ALT IMAGES ══════════════ */
.prz-hero {
  overflow: hidden !important;
}
.prz-hero__bg-img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 1 !important;
}
.prz-hero__overlay {
  z-index: 2 !important;
}
.prz-hero__inner {
  position: relative !important;
  z-index: 3 !important;
}

.prz-cta {
  overflow: hidden !important;
}
.prz-cta__bg-img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 1 !important;
}
.prz-cta__overlay {
  z-index: 2 !important;
}
.prz-cta__inner {
  position: relative !important;
  z-index: 3 !important;
}


/* ==========================================================================
   ESTÁNDAR DE DISEÑO MÓVIL (GUÍA DE ESTILO - EDITOR IA v2.2)
   ========================================================================== */
@media (max-width: 768px) {
  /* Altura del banner superior al 60% del viewport mínimo con safety padding */
  .prz-hero {
    min-height: 60vh !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding-top: calc(var(--fx-hh) + 20px) !important;
    padding-bottom: 48px !important; /* Estricto: previene que el botón toque el borde inferior */
  }
  .prz-hero__inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important; /* Reset padding-bottom to prevent extra tall banner */
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    width: 100% !important;
  }
  /* Tamaño de texto estandarizado para títulos de banner */
  .prz-hero__title {
    font-size: 1.85rem !important;
    line-height: 1.25 !important;
    text-align: left !important;
  }
  .prz-hero__sub {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }
  /* Espaciado uniforme y reducido entre el banner y el siguiente bloque de texto */
  .prz-intro {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
}
