/* =============================================
   GRUPO SALVADOR — CSS INICIO (Phase 2)
   Solo estilos de la página home.
   ============================================= */

/* ── HERO ── */
.gs-hero {
  background: #fff;
  padding: 64px 0 0;
  overflow: hidden;
}
.gs-hero__inner {
  display: flex;
  align-items: flex-end;
  gap: 0;
  min-height: 480px;
}
.gs-hero__text {
  flex: 0 0 54%;
  padding-bottom: 64px;
  padding-right: 40px;
}
.gs-hero__title {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  color: #111;
  margin-bottom: 24px;
}
.gs-hero__sub {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
  max-width: 420px;
}

/* Media + acento rojo */
.gs-hero__media {
  flex: 0 0 46%;
  position: relative;
  align-self: stretch;
  min-height: 460px;
}
.gs-hero__accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 78%;
  height: 68%;
  background: var(--gs-red, #8B1A1A);
  clip-path: polygon(28% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 0;
}
.gs-hero__img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 0;
}
/* Cuando sea una imagen real en lugar de placeholder */
.gs-hero__img:not(.gs-placeholder-img) {
  background: transparent;
}

/* ── FEATURE CARDS ── */
.gs-features {
  background: #fff;
  padding: 56px 0 64px;
}
.gs-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gs-feature-card {
  border: 1.5px solid #E5E5E5;
  border-radius: 12px;
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow .2s, border-color .2s;
}
.gs-feature-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border-color: #d0d0d0;
}
.gs-feature-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.gs-feature-card__icon--red { color: var(--gs-red, #8B1A1A); }
.gs-feature-card__icon--dark { color: #2a3a5c; }

.gs-feature-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
  margin-bottom: 12px;
}
.gs-feature-card__desc {
  font-size: 15px;
  color: #666;
  line-height: 1.55;
  flex: 1;
  margin-bottom: 24px;
}
.gs-feature-card__cta {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .03em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: opacity .2s;
}
.gs-feature-card__cta:hover { opacity: .75; }
.gs-feature-card__cta--red { color: var(--gs-red, #8B1A1A); }
.gs-feature-card__cta--dark { color: #1a2c50; }

/* ── MURO DE COMUNIDAD ── */
.gs-muro {
  background: #fff;
  padding: 64px 0 72px;
}
.gs-muro__title {
  text-align: center;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
}
.gs-muro__sub {
  text-align: center;
  font-size: 16px;
  color: #777;
  margin-bottom: 40px;
}
.gs-muro__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.gs-muro__post {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gs-muro__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.gs-muro__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gs-muro__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #E1306C;  /* Instagram pink por defecto */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
/* El default es Instagram; los modificadores cubren las otras redes. */
.gs-muro__badge--fb       { background: #1877F2; }
.gs-muro__badge--linkedin { background: #0A66C2; }
.gs-muro__badge--tiktok   { background: #000; }

.gs-muro__quote {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
  font-style: italic;
}
.gs-muro__handle {
  font-size: 13px;
  color: #999;
  font-weight: 500;
}

/* Botón outline */
.gs-muro__cta-wrap {
  text-align: center;
}

/* ── VIDEO INSTITUCIONAL ── */
.gs-inicio-video { background: #fff; padding: 48px 0 56px; text-align: center; }
.gs-inicio-video__wrap { max-width: 400px; margin: 0 auto; }
.gs-inicio-video__eyebrow {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--gs-red, #8B1A1A);
  margin-bottom: 10px;
}
.gs-inicio-video__title {
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 700;
  color: #111;
  line-height: 1.35;
  margin-bottom: 24px;
}
.gs-inicio-video__frame { position: relative; width: 100%; aspect-ratio: 9/16; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.12); }
.gs-inicio-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .gs-hero__title { font-size: 32px; }
  .gs-muro__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .gs-muro__grid { grid-template-columns: 1fr; }
  .gs-hero__inner {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
  }
  .gs-hero__text {
    flex: none;
    padding: 48px 0 32px;
    order: 1;
  }
  .gs-hero__media {
    flex: none;
    order: 2;
    min-height: 320px;
    height: 320px;
  }
  .gs-features__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .gs-features__grid { grid-template-columns: 1fr; }
  .gs-hero__title { font-size: 26px; }
  .gs-hero__sub { font-size: 16px; }
}
