/* =============================================
   GRUPO SALVADOR — CSS MATERIAL PUBLICITARIO (Phase 4)
   ============================================= */

/* ── HERO ── */
.gs-mat-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #ddd;
}
.gs-mat-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Velo oscuro para legibilidad del texto sobre la imagen */
.gs-mat-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.30) 60%, rgba(0,0,0,.12) 100%);
  z-index: 1;
}
.gs-mat-hero__overlay {
  position: relative;
  z-index: 2;
  padding: 56px 24px;
  max-width: 900px;
}
.gs-mat-hero__title {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 18px;
}
.gs-mat-hero__sub {
  font-size: 16px;
  color: #f0f0f0;
  line-height: 1.65;
  max-width: 700px;
}

/* ── PLANES ── */
.gs-planes {
  background: #fff;
  padding: 56px 0 72px;
}
.gs-planes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.gs-plan {
  border: 1.5px solid #E5E5E5;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  transition: box-shadow .2s, transform .2s;
}
.gs-plan:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.10);
  transform: translateY(-3px);
}
.gs-plan--featured {
  box-shadow: 0 6px 24px rgba(0,0,0,.10);
  border-color: #d5d5d5;
}

/* Cabecera del plan */
.gs-plan__head {
  padding: 32px 24px 28px;
  text-align: center;
}
.gs-plan__head--silver {
  background: linear-gradient(160deg, #c9c9c9 0%, #e8e8e8 55%, #d4d4d4 100%);
}
.gs-plan__head--red {
  background: var(--gs-red, #8B1A1A);
}
.gs-plan__name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #6b6b6b;
  line-height: 1.25;
  margin-bottom: 8px;
}
.gs-plan__name--light { color: #fff; }
.gs-plan__from {
  font-size: 14px;
  color: #7a7a7a;
  margin-bottom: 2px;
}
.gs-plan__price {
  font-size: 38px;
  font-weight: 700;
  color: #4a4a4a;
  line-height: 1.1;
}
.gs-plan__price--light { color: #fff; }

/* Cuerpo del plan */
.gs-plan__body {
  padding: 28px 24px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.gs-plan__list {
  list-style: none;
  flex: 1;
  margin-bottom: 26px;
}
.gs-plan__list li {
  font-size: 14.5px;
  color: #444;
  line-height: 1.55;
  padding-left: 18px;
  margin-bottom: 14px;
  position: relative;
}
.gs-plan__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #999;
  font-size: 16px;
}

/* CTA del plan */
.gs-plan__cta {
  display: block;
  text-align: center;
  padding: 14px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .04em;
  transition: background .2s, color .2s, box-shadow .2s;
}
.gs-plan__cta--red {
  background: var(--gs-red, #8B1A1A);
  color: #fff !important;
}
.gs-plan__cta--red:hover {
  background: var(--gs-red-hover, #6E1414);
  box-shadow: 0 4px 14px rgba(139,26,26,.28);
}
.gs-plan__cta--silver {
  background: linear-gradient(160deg, #d6d6d6 0%, #ececec 55%, #cfcfcf 100%);
  color: #3a3a3a !important;
}
.gs-plan__cta--silver:hover {
  background: linear-gradient(160deg, #c8c8c8 0%, #e0e0e0 55%, #c2c2c2 100%);
  box-shadow: 0 4px 14px rgba(0,0,0,.16);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .gs-planes__grid { grid-template-columns: repeat(2, 1fr); }
  .gs-plan--featured { grid-column: span 2; }
}
@media (max-width: 768px) {
  .gs-mat-hero { min-height: 280px; }
  .gs-mat-hero__sub { font-size: 15px; }
}
@media (max-width: 700px) {
  .gs-planes__grid { grid-template-columns: 1fr; }
  .gs-plan--featured { grid-column: auto; }
}
@media (max-width: 480px) {
  .gs-mat-hero__title { font-size: 24px; }
  .gs-plan__price { font-size: 32px; }
  .gs-plan__name { font-size: 19px; }
}

/* ── BENEFICIOS ── */
.gs-mat-beneficios { background: #fafafa; padding: 48px 0 56px; }
.gs-mat-beneficios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gs-mat-beneficio h3 { font-size: 16px; font-weight: 700; color: #111; margin-bottom: 8px; }
.gs-mat-beneficio p { font-size: 14px; color: #666; line-height: 1.55; }

@media (max-width: 700px) { .gs-mat-beneficios__grid { grid-template-columns: 1fr; } }
