/* ============================================================
   SOMOS MÁS QUE ELLOS SINALOA - ESTILOS PERSONALIZADOS
   ============================================================ */

:root {
  --color-logo-primario: #53111f;
  --color-logo-secundario: #a4272d;
  --color-acento-claro: #fdfdfd;
  --color-negro: #000000;
  --color-fondo: #fdfdfd;
  --color-titulos: #53111f;
  --color-texto: #000000;
  --color-alt-bg: #f8f5f5;  /* fondo ligeramente gris para secciones alternas */
  --sidebar-width: 280px;
  --font-principal: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-titulos: 'Playfair Display', 'Times New Roman', Georgia, serif;
  --transition-suave: 0.25s ease-in-out;
}

/* RESET Y BASE */
body {
  margin: 0;
  font-family: var(--font-principal);
  background-color: var(--color-fondo);
  color: var(--color-texto);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ============= BARRA LATERAL ============= */
.sidebar {
  width: var(--sidebar-width);
  min-width: var(--sidebar-width);
  height: 100vh;
  position: sticky;
  top: 0;
  left: 0;
  background: linear-gradient(175deg, #53111f 0%, #3a0c16 100%);
  color: #fdfdfd;
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.08);
  z-index: 1030;
  transition: transform var(--transition-suave);
  border-right: 2px solid #a4272d;
}

.sidebar-top {
  flex: 1;
}

.sidebar-logo {
  border-bottom: 1px solid rgba(253, 253, 253, 0.15);
  padding: 1.5rem 1rem;
}

.logo-img {
  max-height: 85px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Enlaces de navegación */
.sidebar .nav-link {
  color: rgba(253, 253, 253, 0.8);
  font-weight: 500;
  padding: 0.8rem 1.5rem;
  border-left: 4px solid transparent;
  transition: all var(--transition-suave);
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
}

.sidebar .nav-link i {
  font-size: 1.1rem;
  transition: transform var(--transition-suave);
}

.sidebar .nav-link:hover {
  color: #fdfdfd;
  background-color: rgba(253, 253, 253, 0.08);
  border-left-color: #a4272d;
}

.sidebar .nav-link:hover i {
  transform: translateX(3px);
}

.sidebar .nav-link.active {
  color: #fdfdfd;
  background-color: rgba(164, 39, 45, 0.25);
  border-left-color: #fdfdfd;
  font-weight: 600;
}

/* Botones inferiores del sidebar */
.sidebar-btn {
  border-color: rgba(253, 253, 253, 0.5);
  color: #fdfdfd;
  transition: all var(--transition-suave);
  font-weight: 500;
  font-size: 0.85rem;
}

.sidebar-btn:hover {
  background-color: #fdfdfd;
  color: #53111f;
  border-color: #fdfdfd;
}

.sidebar-footer-text {
  color: rgba(253, 253, 253, 0.6);
  font-size: 0.7rem;
  word-break: break-all;
}

/* ============= CONTENIDO PRINCIPAL ============= */
.main-content {
  margin-left: 0;
  width: calc(100% - var(--sidebar-width));
  background-color: var(--color-fondo);
}

/* Cabecera móvil */
.mobile-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  border-bottom: 2px solid #eee;
}

.mobile-logo {
  max-height: 45px;
}

/* ============= SECCIONES ============= */
.section-block {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.section-alt {
  background-color: var(--color-alt-bg);
}

/* Sección hero (inicio) */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #fdfdfd 0%, #f7f2f2 100%);
}

.hero-title {
  font-family: var(--font-titulos);
  color: var(--color-titulos);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  color: #a4272d;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 1px;
}

.hero-description {
  color: var(--color-texto);
  font-size: 1.05rem;
  max-width: 650px;
}

.hero-logo-img {
  border-radius: 24px !important;
}

.hero-btn {
  background-color: #53111f;
  border: 2px solid #53111f;
  font-weight: 600;
  padding: 0.75rem 2rem;
  transition: all var(--transition-suave);
}

.hero-btn:hover {
  background-color: #a4272d;
  border-color: #a4272d;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(164, 39, 45, 0.25);
}

.hero-btn-outline {
  border: 2px solid #53111f;
  color: #53111f;
  font-weight: 600;
  padding: 0.75rem 2rem;
  transition: all var(--transition-suave);
}

.hero-btn-outline:hover {
  background-color: #53111f;
  color: #fdfdfd;
  transform: translateY(-2px);
}

/* Títulos de sección */
.section-title {
  font-family: var(--font-titulos);
  color: var(--color-titulos);
  font-weight: 700;
  line-height: 1.2;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 70px;
  height: 3px;
  background-color: #a4272d;
  margin-top: 0.5rem;
  border-radius: 4px;
}

/* Texto ordinario */
.section-text {
  font-size: 1rem;
  color: var(--color-texto);
  margin-bottom: 1rem;
}

/* Imágenes de sección */
.section-image {
  border-radius: 20px !important;
  transition: transform var(--transition-suave), box-shadow var(--transition-suave);
}

.section-image:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* Sección de cierre */
.closing-section {
  background: linear-gradient(180deg, var(--color-alt-bg) 0%, #fdfdfd 100%);
}

.divider {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, #a4272d, transparent);
  opacity: 0.6;
}

.closing-actions {
  margin-bottom: 2rem;
}

/* ============= FOOTER ============= */
.main-footer {
  background-color: #1a1a1a;
  color: #ccc;
  font-size: 0.9rem;
}

.footer-logo {
  max-height: 35px;
}

.footer-brand {
  font-family: var(--font-titulos);
  font-weight: 600;
  color: #fdfdfd;
  vertical-align: middle;
}

.footer-icon {
  display: inline-block;
  transition: color var(--transition-suave), transform var(--transition-suave);
}

.footer-icon:hover {
  color: #a4272d !important;
  transform: translateY(-3px);
}

/* ============= RESPONSIVE ============= */
@media (max-width: 991.98px) {
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    width: 280px;
    z-index: 1050;
    transition: transform 0.35s ease;
    box-shadow: 2px 0 20px rgba(0,0,0,0.3);
  }

  .sidebar.show {
    transform: translateX(0);
  }

  .main-content {
    width: 100%;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .section-image {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .hero-btn, .hero-btn-outline {
    width: 100%;
    text-align: center;
  }
}