/* ============================================
   SMART STAY — Proyectos Page (prefijo ss-pr-)
   Premium & Innovative Design
   ============================================ */

/* === IMMERSIVE HEADER (50vh) === */
.ss-pr-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.ss-pr-hero-bg {
  position: absolute;
  inset: 0;
}

.ss-pr-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ss-pr-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,26,59,0.9) 0%, rgba(10,26,59,0.4) 60%, rgba(0,0,0,0.1) 100%);
}

.ss-pr-breadcrumb {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 120px 88px 0;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}

.ss-pr-breadcrumb a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.3s;
}

.ss-pr-breadcrumb a:hover { color: #3FA3DD; }

.ss-pr-breadcrumb span:last-child {
  color: rgba(255,255,255,0.8);
}

.ss-pr-hero-bottom {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 88px 60px;
}


.ss-pr-hero-bottom h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 56px;
  color: #FFFFFF;
  margin: 0 0 8px;
  line-height: 1.1;
}

.ss-pr-hero-bottom p {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

/* === BENTO GRID === */
.ss-pr-bento {
  padding: 100px 52px;
  background: #FFFFFF;
}
.ss-pr-bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
}

/* Card Grande: col 1, span 2 rows */
.ss-pr-card--large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  height: 600px;
}

/* Cards medianas: col 2-3, row 1 and row 2 */
.ss-pr-card--medium {
  height: 288px;
}
.ss-pr-card--medium:nth-child(2) {
  grid-column: 2 / 4;
  grid-row: 1 / 2;
}
.ss-pr-card--medium:nth-child(3) {
  grid-column: 2 / 4;
  grid-row: 2 / 3;
}

/* Cards normales: row 3, 3 columns */
.ss-pr-card--normal {
  height: 320px;
}

/* === PROJECT CARD === */
.ss-pr-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
}
.ss-pr-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.ss-pr-card:hover img {
  transform: scale(1.08);
}
.ss-pr-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,26,59,0.92) 0%, rgba(10,26,59,0.3) 45%, transparent 100%);
  transition: background 0.4s ease;
}
.ss-pr-card:hover .ss-pr-card-overlay {
  background: linear-gradient(to top, rgba(10,26,59,0.96) 0%, rgba(10,26,59,0.5) 55%, rgba(10,26,59,0.15) 100%);
}
.ss-pr-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.ss-pr-card-tag {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 100px;
  background: rgba(63,163,221,0.2);
  backdrop-filter: blur(8px);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: #3FA3DD;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid rgba(63,163,221,0.3);
}
.ss-pr-card-tag--corp {
  background: rgba(255,180,50,0.15);
  color: #FFB432;
  border-color: rgba(255,180,50,0.3);
}
.ss-pr-card-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: #FFFFFF;
  margin: 4px 0 0;
  line-height: 1.25;
}
.ss-pr-card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.ss-pr-card-location i {
  color: #3FA3DD;
  font-size: 15px;
}
.ss-pr-card-btn {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  margin-top: 12px;
  padding: 14px 32px;
  font-size: 13px;
}
.ss-pr-card:hover .ss-pr-card-btn {
  opacity: 1;
  transform: translateY(0);
}

/* === STATS === */
.ss-pr-stats {
  background: #0A1A3B;
  padding: 88px 52px;
}
.ss-pr-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 0;
}
.ss-pr-stat {
  flex: 1;
  text-align: center;
  padding: 24px 20px;
}
.ss-pr-stat-divider {
  width: 1px;
  height: 80px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.ss-pr-stat-number {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 64px;
  color: #3FA3DD;
  line-height: 1;
  margin-bottom: 12px;
}
.ss-pr-stat-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* === TESTIMONIAL === */
.ss-pr-testimonial {
  background: #F6F6F6;
  padding: 100px 52px;
}
.ss-pr-testimonial-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.ss-pr-testimonial-quote {
  margin-bottom: 32px;
}
.ss-pr-testimonial-quote i {
  font-size: 72px;
  color: #3FA3DD;
  line-height: 1;
}
.ss-pr-testimonial-text {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 28px;
  line-height: 1.6;
  color: #0A1A3B;
  margin: 0 0 40px;
  font-style: normal;
}
.ss-pr-testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.ss-pr-testimonial-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #0A1A3B;
  margin: 0;
}
.ss-pr-testimonial-role {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 15px;
  color: #474747;
  margin: 0;
}


/* === SCROLL ANIMATIONS === */
.ss-pr-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.ss-pr-visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE 1200px === */
@media (max-width: 1200px) {
  .ss-pr-hero-bottom h1 { font-size: 48px; }
  .ss-pr-bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .ss-pr-card--large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    height: 520px;
  }
  .ss-pr-card--medium:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }
  .ss-pr-card--medium:nth-child(3) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }
  .ss-pr-card--medium { height: 248px; }
  .ss-pr-card--normal { height: 280px; }
  .ss-pr-stats-row { flex-wrap: wrap; }
  .ss-pr-stat { flex: 0 0 50%; }
  .ss-pr-stat-divider { display: none; }
  .ss-pr-stat-number { font-size: 52px; }
}

/* === RESPONSIVE 991px === */
@media (max-width: 991px) {
  .ss-pr-hero { min-height: 400px; }
  .ss-pr-breadcrumb { padding: 100px 40px 0; flex-wrap: wrap; }
  .ss-pr-hero-bottom { padding: 0 40px 48px; 
  text-align: center;}
  .ss-pr-hero-bottom h1 { font-size: 42px; }
  .ss-pr-bento { padding: 64px 28px; }
  .ss-pr-bento-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ss-pr-card--large {
    grid-column: 1 / -1;
    grid-row: auto;
    height: 400px;
  }
  .ss-pr-card--medium:nth-child(2),
  .ss-pr-card--medium:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }
  .ss-pr-card--medium { height: 260px; }
  .ss-pr-card--normal { height: 260px; }
  .ss-pr-stats { padding: 64px 28px; }
  .ss-pr-testimonial { padding: 72px 28px; }
  .ss-pr-testimonial-text { font-size: 22px; }
  .ss-pr-testimonial-quote i { font-size: 56px; }
}

/* === RESPONSIVE 768px === */
@media (max-width: 768px) {
  .ss-pr-hero {
    min-height: 380px;
  }
  .ss-pr-breadcrumb {
    padding: 100px 24px 0;
    font-size: 12px;
    flex-wrap: wrap;
    gap: 6px;
  }
  .ss-pr-hero-bottom h1 { font-size: 36px; }
  .ss-pr-bento { padding: 52px 20px; }
  .ss-pr-bento-grid { grid-template-columns: 1fr; }
  .ss-pr-card--large { grid-column: auto; grid-row: auto; height: 360px; }
  .ss-pr-card--medium:nth-child(2),
  .ss-pr-card--medium:nth-child(3) { grid-column: auto; grid-row: auto; }
  .ss-pr-card--medium { height: 280px; }
  .ss-pr-card--normal { height: 280px; }
  .ss-pr-card-btn { opacity: 1; transform: translateY(0); }
  .ss-pr-stat-number { font-size: 44px; }
  .ss-pr-testimonial-text { font-size: 20px; }
  .ss-pr-testimonial-quote i { font-size: 48px; }
}

/* === RESPONSIVE 576px === */
@media (max-width: 576px) {
  .ss-pr-hero { min-height: 360px; }
  .ss-pr-breadcrumb { padding: 90px 16px 0; font-size: 11px; flex-wrap: wrap; gap: 5px; }
  .ss-pr-hero-bottom { padding: 0 20px 36px; 
  text-align: center;}
  .ss-pr-hero-bottom h1 { font-size: 32px; }
  .ss-pr-hero-bottom p { font-size: 15px; }
  .ss-pr-bento { padding: 48px 20px; }
  .ss-pr-bento-grid { grid-template-columns: 1fr; }
  .ss-pr-card--large { height: 360px; }
  .ss-pr-card--medium:nth-child(2),
  .ss-pr-card--medium:nth-child(3) { grid-column: auto; }
  .ss-pr-card--medium { height: 280px; }
  .ss-pr-card--normal { height: 280px; }
  .ss-pr-card-title { font-size: 20px; }
  .ss-pr-card-btn { opacity: 1; transform: translateY(0); }
  .ss-pr-stats { padding: 48px 20px; }
  .ss-pr-stat { flex: 0 0 50%; padding: 20px 12px; }
  .ss-pr-stat-number { font-size: 40px; }
  .ss-pr-stat-label { font-size: 13px; }
  .ss-pr-testimonial { padding: 56px 20px; }
  .ss-pr-testimonial-text { font-size: 18px; }
  .ss-pr-testimonial-quote i { font-size: 44px; }
  .ss-pr-testimonial-name { font-size: 16px; }
  .ss-pr-card-content { padding: 24px; }
  .ss-pr-card-tag { font-size: 10px; padding: 5px 14px; }
  .ss-pr-card-location { font-size: 13px; }
}
