/* SolutionsGrands Mall
   Diseño responsive con Bootstrap 5 + CSS personalizado
*/

:root {
  --sg-blue: #0647a9;
  --sg-cyan: #00bce8;
  --sg-dark: #062b68;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #16325c;
  background: #fff;
}

.sg-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--sg-blue) !important;
  font-size: 1.2rem;
  line-height: 1;
}

.sg-brand span span,
.footer span {
  color: var(--sg-cyan);
}

.sg-logo {
  font-size: 1.7rem;
  font-weight: 900;
  width:10%;
  align-content:center ;
  font-style: italic;
  letter-spacing: -3px;
}

/* ---------------- HERO ---------------- */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #eaf8ff;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
}

/* Letreros clickeables sobre la imagen */
.store-hotspot {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .45rem .75rem;
  color: white;
  background: rgba(2, 37, 78, .86);
  border: 2px solid rgba(255,255,255,.65);
  border-radius: .35rem;
  font-size: clamp(.55rem, 1.05vw, 1.15rem);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: .02em;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .25);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.store-hotspot:hover,
.store-hotspot:focus {
  color: white;
  background: var(--sg-blue);
  transform: scale(1.06);
  box-shadow: 0 8px 28px rgba(0, 94, 210, .45);
}

.hotspot-moda {
  left: 4.8%;
  top: 29%;
}

.hotspot-tecnologia {
  left: 17%;
  top: 37%;
}

.hotspot-gastronomia {
  right: 4.5%;
  top: 28%;
}

.hotspot-belleza {
  right: 22%;
  top: 38%;
}

.hotspot-hogar {
  right: 5%;
  top: 50%;
}

/* Botones que están en la zona central del diseño */
.hero-actions {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 24%;
  transform: translateX(-50%);
  display: flex;
  gap: .9rem;
  justify-content: center;
  width: min(720px, 85%);
}

.hero-actions .btn {
  min-width: 280px;
  font-weight: 700;
}

.btn-primary {
  background: var(--sg-blue);
  border-color: var(--sg-blue);
}

.btn-primary:hover {
  background: #00377f;
  border-color: #00377f;
}

.border-primary {
  border-width: 2px !important;
}

/* ---------------- CONTENIDO ---------------- */
.welcome-text {
  max-width: 850px;
}

.store-card {
  height: 100%;
  display: block;
  padding: 1.8rem;
  background: white;
  border-radius: 1.2rem;
  text-decoration: none;
  color: #17345e;
  border: 1px solid #d9e8f5;
  box-shadow: 0 .5rem 1.4rem rgba(13, 61, 112, .08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.store-card:hover {
  color: #17345e;
  transform: translateY(-7px);
  border-color: var(--sg-cyan);
  box-shadow: 0 1rem 2rem rgba(13, 94, 170, .16);
}

.store-card h3 {
  color: var(--sg-blue);
  font-weight: 800;
}

.store-card p {
  color: #60738e;
}

.store-card span {
  color: #008fc2;
  font-weight: 700;
}

.store-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--sg-blue), var(--sg-cyan));
  font-size: 1.5rem;
}

.category-link {
  min-height: 130px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  text-align: center;
  text-decoration: none;
  color: var(--sg-blue);
  border: 1px solid #dceaf5;
  border-radius: 1rem;
  background: white;
  transition: .2s ease;
}

.category-link:hover {
  color: white;
  background: linear-gradient(135deg, var(--sg-blue), var(--sg-cyan));
  transform: translateY(-4px);
}

.category-link i {
  font-size: 2rem;
}

.footer {
  color: white;
  background: #03265c;
}

.footer span {
  color: var(--sg-cyan);
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 992px) {
  .hero-actions {
    bottom: 18%;
    width: 90%;
  }

  .hero-actions .btn {
    min-width: 220px;
    font-size: .9rem;
  }
}

@media (max-width: 768px) {
  /*
    En móvil la imagen se muestra como banner.
    Los locales aparecen inmediatamente debajo como botones reales,
    evitando que los hotspots se vuelvan pequeños o difíciles de tocar.
  */
  .hero-image {
    min-height: 300px;
    object-fit: cover;
    object-position: center;
  }

  .store-hotspot {
    display: none;
  }

  .hero-actions {
    position: absolute;
    bottom: 8%;
    width: 92%;
    flex-direction: column;
    align-items: center;
    gap: .55rem;
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0;
    font-size: .82rem;
    padding: .55rem .75rem;
  }

  .welcome {
    padding-top: 2.5rem !important;
  }

  .welcome h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-image {
    min-height: 270px;
  }

  .hero-actions {
    bottom: 5%;
  }

  .hero-actions .btn {
    font-size: .72rem;
  }

  .store-card {
    padding: 1.35rem;
  }
}
