/* ============================================================
   NERJA SAPPHIRE — style.css
   Estilos específicos de la página de promoción
   ============================================================ */

/* ── HERO PROMOCIÓN ───────────────────────────────────────── */
.promo-hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: 80px;
}

.promo-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0D1B2A 0%, #1E3249 50%, #0D1B2A 100%);
  z-index: 0;
}

.promo-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.promo-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13,27,42,0.92) 0%,
    rgba(13,27,42,0.55) 50%,
    rgba(13,27,42,0.25) 100%
  );
  z-index: 1;
}

.promo-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.promo-hero-content h1 {
  color: var(--white);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.promo-hero-content p {
  color: rgba(248,245,240,0.75);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.promo-hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.badge-pill {
  display: inline-block;
  background: rgba(201,169,110,0.15);
  border: 1px solid rgba(201,169,110,0.35);
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

/* ── STATS PROMOCIÓN ──────────────────────────────────────── */
.promo-stats {
  background: var(--navy);
  padding: 0;
  border-bottom: 1px solid rgba(201,169,110,0.2);
}

.promo-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.promo-stat {
  text-align: center;
  padding: 36px 20px;
  border-right: 1px solid rgba(201,169,110,0.12);
  transition: background var(--transition);
}

.promo-stat:last-child { border-right: none; }

.promo-stat:hover { background: rgba(201,169,110,0.04); }

.promo-stat-icon {
  font-size: 1.4rem;
  margin-bottom: 10px;
  opacity: 0.8;
}

.promo-stat-value {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 4px;
}

.promo-stat-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(248,245,240,0.45);
}

/* ── DESCRIPCIÓN ──────────────────────────────────────────── */
.promo-desc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.promo-desc-img {
  height: 520px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(145deg, var(--navy-mid), var(--navy-light));
  border: 1px solid rgba(201,169,110,0.15);
  position: sticky;
  top: 100px;
}

.promo-desc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── FEATURES LIST ────────────────────────────────────────── */
.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.83rem;
  color: var(--grey-text);
  line-height: 1.5;
}

.feature-icon {
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── GALERÍA ──────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  background: linear-gradient(145deg, var(--navy-mid), var(--navy-light));
}

.gallery-item:first-child {
  grid-column: 1 / 3;
  aspect-ratio: 16/9;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  opacity: 0;
  transition: all var(--transition);
}

.gallery-item:hover .gallery-overlay {
  background: rgba(13,27,42,0.4);
  opacity: 1;
}

/* ── TIPOLOGÍAS ───────────────────────────────────────────── */
.tipologias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tipologia-card {
  background: var(--white-pure);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.tipologia-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.tipologia-img {
  position: relative;
  height: 220px;
  background: var(--grey-light);
  overflow: hidden;
}

.tipologia-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}

.tipologia-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius);
}

.tipologia-body {
  padding: 24px;
}

.tipologia-body h4 {
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.tipologia-specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--grey-light);
}

.spec-item:last-child { border-bottom: none; padding-bottom: 0; }

.spec-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-text);
}

.spec-value {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--navy);
  font-weight: 600;
}

/* ── UBICACIÓN ────────────────────────────────────────────── */
.ubicacion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.mapa-placeholder {
  height: 400px;
  background: linear-gradient(145deg, var(--navy-mid), var(--navy-light));
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(201,169,110,0.15);
}

.mapa-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.pois {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.poi-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--grey-light);
}

.poi-item:last-child { border-bottom: none; }

.poi-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}

.poi-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 2px;
}

.poi-item span {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .promo-stats-grid { grid-template-columns: repeat(3, 1fr); }
  .promo-stat:nth-child(3) { border-right: none; }

  .promo-desc-grid { grid-template-columns: 1fr; gap: 48px; }
  .promo-desc-img { height: 360px; position: static; }

  .tipologias-grid { grid-template-columns: 1fr 1fr; }

  .ubicacion-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .promo-hero { padding-bottom: 60px; align-items: flex-end; }
  .promo-hero-content h1 { font-size: 2.4rem; }

  .promo-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-stat { border-right: none; border-bottom: 1px solid rgba(201,169,110,0.12); }
  .promo-stat:nth-child(even) { border-right: none; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:first-child { grid-column: 1 / 3; }

  .features-list { grid-template-columns: 1fr; }

  .tipologias-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .promo-stats-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: 1; }
  .promo-hero-content h1 { font-size: 2rem; }
}
